List of commits:
Subject Hash Author Date (UTC)
Added login email notification 2b96127f976f20b1e2c7d3e8424dfbe75ad4459a EyadMohammedOsama 2019-08-23 00:07:37
Commented out the auth middleware 8273a3c85880473a9319f501d7454f2228ec6206 EyadMohammedOsama 2019-08-21 16:10:00
Changed fiddle favoriting notification position a1370e34fb01da691c7033722c6aab50c210b710 EyadMohammedOsama 2019-08-21 15:58:57
Fixed issue with existence check 69b0146025ef96e0ec11c9782cdbef0d8781a2fe EyadMohammedOsama 2019-08-21 15:58:23
Added new tables 9a77812ba8942ef3779ee5888c31a837634c92fe EyadMohammedOsama 2019-08-16 00:15:07
Added new routes 395a39cef88965ad208b1a1f41616ab003c277e5 EyadMohammedOsama 2019-08-16 00:06:31
Added confirmation alert 159468a8b95c5533fce13dbd51693ee0e5bbba76 EyadMohammedOsama 2019-08-16 00:06:00
Added link to password forgot page c5de10dc4742f3398ee06bc5a470381f88e724c2 EyadMohammedOsama 2019-08-16 00:05:33
Removed $is_confirmed aa345beb6ae8c0058dd5242b7d163f8c51df7e86 EyadMohammedOsama 2019-08-16 00:05:05
Initial Commit 15c32a418d14fba9a89e0a9dd5bfa283fb5811d4 EyadMohammedOsama 2019-08-16 00:04:14
Added several new methods 0bc95876af1041a053fbb426dfa3c5fb4600647b EyadMohammedOsama 2019-08-16 00:03:27
Initial Commit c1a0c0ceaf232bec3dd3faa0c5d49cf4f840f364 EyadMohammedOsama 2019-08-15 16:18:26
Initial Commit 34400f91e493a86b1a8e0a1e32bc74cfb546c681 EyadMohammedOsama 2019-08-13 23:04:27
Added download button b2778c1c6ed5e42de7bac6ae9223facf33469b8e EyadMohammedOsama 2019-08-08 22:17:29
Initial Commit 31265bb888791eb58829bdf07222d319a3387629 EyadMohammedOsama 2019-08-08 22:17:19
Added router for downloads 700b80e06b8b1809135fe32c0072beb7542570c6 EyadMohammedOsama 2019-08-08 22:17:08
Fiddle favoriting event implementation 5ea13953d8fdd949d122ff3d63bc427d2ac78a43 EyadMohammedOsama 2019-08-07 23:21:04
Added a trigger to fiddle favoriting 435bb1aacd90b540e822b68858a665955e7b6f35 EyadMohammedOsama 2019-08-07 23:20:20
Added Pusher.js ca81b2a591c04e678e415c3fdf10a41a3a11ac62 EyadMohammedOsama 2019-08-07 23:18:08
Configured broadcasting 61ad3285cfc37dfb4265874cf7b3496992846f7e EyadMohammedOsama 2019-08-07 23:17:36
Commit 2b96127f976f20b1e2c7d3e8424dfbe75ad4459a - Added login email notification
Author: EyadMohammedOsama
Author date (UTC): 2019-08-23 00:07
Committer name: EyadMohammedOsama
Committer date (UTC): 2019-08-23 00:07
Parent(s): 8273a3c85880473a9319f501d7454f2228ec6206
Signing key:
Tree: 9fbe7ccfd2f05439cedf8662ce27293a16039dd5
File Lines added Lines deleted
app/Http/Controllers/Login.php 15 0
File app/Http/Controllers/Login.php changed (mode: 100644) (index 64775a5..0f39a9e)
... ... namespace SICSF\Http\Controllers;
5 5 use Illuminate\Http\Request; use Illuminate\Http\Request;
6 6 use \Validator; use \Validator;
7 7 use SICSF\Users; use SICSF\Users;
8 use SICSF\UsersSettings;
9 use Illuminate\Support\Facades\Mail;
8 10
9 11 class Login extends Controller class Login extends Controller
10 12 { {
 
... ... class Login extends Controller
49 51
50 52 $request->session()->put("username", Users::GetUserByEmail($request->email)->Username); $request->session()->put("username", Users::GetUserByEmail($request->email)->Username);
51 53
54 if (UsersSettings::GetUserSettings(Users::GetUserByEmail($request->email)->Username)->SendLoginEmail) {
55 Mail::send("Mail/LoginNotification", [
56 "Username" => Users::GetUserByEmail($request->email)->Username,
57 "DateTime" => date("Y/m/d h:i:s a"),
58 "IPAddress" => $request->ip()
59 ], function($message) use ($request) {
60 $message
61 ->to($request->input("email"), $request->input("username"))
62 ->subject("Login Notification");
63 $message->from("noreply@sicsf.heliohost.org", "SICSF Syria");
64 });
65 }
66
52 67 return response()->json([ return response()->json([
53 68 "success" => "You've been successfully logged in.<br/>We're now redirecting you to your profile page.<script>setTimeout(function() { window.location.reload(); }, 3000);</script>" "success" => "You've been successfully logged in.<br/>We're now redirecting you to your profile page.<script>setTimeout(function() { window.location.reload(); }, 3000);</script>"
54 69 ]); ]);
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/EyadMohammedOsama/sicsf

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/EyadMohammedOsama/sicsf

Clone this repository using git:
git clone git://git.rocketgit.com/user/EyadMohammedOsama/sicsf

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main