Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
Installed PHP Pusher | 85bd7fa0401d69eff36ea21fa6bb60f28601ac14 | EyadMohammedOsama | 2019-08-07 23:16:31 |
Initial commit | 4a865759d403eda3854c69005a3cfdbd7d737096 | EyadMohammedOsama | 2019-08-05 21:13:21 |
Added several new routes | 85e08b7120e6ba249f3ecd523234c72f5c19c1cc | EyadMohammedOsama | 2019-08-05 21:12:53 |
Added several new routes | ba3fca128d64c47fa0e9c8c08fd5e0a6635b08ae | EyadMohammedOsama | 2019-08-04 23:15:44 |
Configured sessions table | 749fa85c728ab023aee73bff8f08677063edc70a | EyadMohammedOsama | 2019-08-04 23:15:19 |
Added a file system to store avatars | e260a81485424f72c8a5154a91d5f7c83e180af5 | EyadMohammedOsama | 2019-08-04 23:15:00 |
Added new validation rules | 42c291c0cbc2181e1fd9cf87991fded5550512cf | EyadMohammedOsama | 2019-08-04 23:14:36 |
Added new controllers | c7a9229044be1d910911b89a6a049c0e0b4bd3a9 | EyadMohammedOsama | 2019-08-04 23:14:08 |
File | Lines added | Lines deleted |
---|---|---|
app/Http/Controllers/User.php | 0 | 1 |
resources/views/User.blade.php | 0 | 9 |
File app/Http/Controllers/User.php changed (mode: 100644) (index a258af6..9d148a4) | |||
... | ... | class User extends Controller | |
39 | 39 | "view" => "User", | "view" => "User", |
40 | 40 | "username" => $username, | "username" => $username, |
41 | 41 | "show_authorized" => ($request->session()->has("username") && $request->session()->get("username") === $username), | "show_authorized" => ($request->session()->has("username") && $request->session()->get("username") === $username), |
42 | "is_confirmed" => (!($request->session()->has("username")) || ($request->session()->has("username") && Users::IsConfirmed($request->session()->get("username")))), | ||
43 | 42 | "UserSettings" => UsersSettings::GetUserSettings($username), | "UserSettings" => UsersSettings::GetUserSettings($username), |
44 | 43 | "FiddlesCount" => Fiddles::GetFiddlesCount($username), | "FiddlesCount" => Fiddles::GetFiddlesCount($username), |
45 | 44 | "FavoriteFiddlesCount" => FavoriteFiddles::GetFavoriteFiddlesCount($username), | "FavoriteFiddlesCount" => FavoriteFiddles::GetFavoriteFiddlesCount($username), |
File resources/views/User.blade.php changed (mode: 100644) (index 4aaf896..492b063) | |||
2 | 2 | <br/> | <br/> |
3 | 3 | <div class="container-fluid"> | <div class="container-fluid"> |
4 | 4 | <?php | <?php |
5 | if (!$is_confirmed) { | ||
6 | ?> | ||
7 | <div class="alert alert-danger"> | ||
8 | <b>Your account isn't confirmed.</b><br/> | ||
9 | <p>A confirmation e-mail was already sent to the e-mail you used to register, please check it and confirm your registeration.</p> | ||
10 | </div> | ||
11 | <?php | ||
12 | } | ||
13 | |||
14 | 5 | $Avatar = isset($UserSettings->Avatar) ? ($UserSettings->Avatar) : ("default.png"); | $Avatar = isset($UserSettings->Avatar) ? ($UserSettings->Avatar) : ("default.png"); |
15 | 6 | $Avatar = URL::to("avatars/" . $Avatar); | $Avatar = URL::to("avatars/" . $Avatar); |
16 | 7 | ?> | ?> |