List of commits:
Subject Hash Author Date (UTC)
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
Added new helper file d4d3fd48a15af64a3abaffee411ecf542670be9b EyadMohammedOsama 2019-08-04 23:13:20
Added new models 0af667e894277c7a08499ac0bb2a82650485ccb9 EyadMohammedOsama 2019-08-04 23:13:03
Added new views e4ba7fc0daf2c8a9200a76e8d122ea52a9e56972 EyadMohammedOsama 2019-08-04 23:12:09
Added a helper file 86cd8e39ae94a78b3caa4e5eedea0f465c5716dd EyadMohammedOsama 2019-08-04 23:11:00
Deleted some files 9c2486581af5e537a7f9ffa64b2b02e8c9d5f42e EyadMohammedOsama 2019-08-02 23:30:55
Updated to ignore Thumbs.db files 3baa87ecef6d298d4a8a2904baf08f7102f23074 EyadMohammedOsama 2019-08-01 21:27:32
Added SnackBar library 99f7cc6ce12deccc4c37ff89eb54d49e0e48d9c9 EyadMohammedOsama 2019-08-01 21:25:47
Added custom style file 99bb9924d4314c9e42be2f3be869b04aeaec134c EyadMohammedOsama 2019-08-01 21:25:28
Added Index view 667711e6118a09a284371bc12fc29c767ded5e9c EyadMohammedOsama 2019-08-01 21:25:18
Added layout views a2c90b3e7b9f5ff340ac8e59a5b48d89758681c1 EyadMohammedOsama 2019-08-01 21:25:08
Added Index controller 9dd0b66b1b62d562af373cfcc3bcf78d250f5ee3 EyadMohammedOsama 2019-08-01 21:24:43
Added Index router 3ff42e9e886700b0bde981bbe2e3c2252215b575 EyadMohammedOsama 2019-08-01 21:24:33
Added carousel images cb9537d5fcf4df2aa2d7ddddaeec4eacc179f84c EyadMohammedOsama 2019-08-01 21:24:03
Updated to skip /public/avatars 00aae37be4441d132f567125ac52dcbb7fea8173 EyadMohammedOsama 2019-08-01 21:23:26
Initial Commit 85fd17c94da1aae46dbd6c80b5376a4dcc4b15ef EyadMohammedOsama 2019-08-01 20:45:13
Commit ba3fca128d64c47fa0e9c8c08fd5e0a6635b08ae - Added several new routes
Author: EyadMohammedOsama
Author date (UTC): 2019-08-04 23:15
Committer name: EyadMohammedOsama
Committer date (UTC): 2019-08-04 23:15
Parent(s): 749fa85c728ab023aee73bff8f08677063edc70a
Signing key:
Tree: f361a061f8dc07b75542255a2c8bdd22b523cccd
File Lines added Lines deleted
routes/web.php 32 1
File routes/web.php changed (mode: 100644) (index 142f59e..53d5a65)
11 11 | |
12 12 */ */
13 13
14 Route::get("/", "Index");
14 Route::get("/", "Index");
15 Route::get("/fiddle", "Fiddle@Index");
16 Route::get("/fiddle/{id}", "Fiddle@Index")->where("id", "^[0-9a-f]{32}\-[0-9a-f]{32}$");
17 Route::get("/fiddles", "FiddlesList@Index");
18 Route::get("/fiddles/{page}", "FiddlesList@Index")->where("page", "^[0-9]+$");
19 Route::get("/about", "About");
20 Route::get("/terms-of-service", "TermsOfService");
21 Route::get("/users", "UsersList");
22 Route::get("/login", "Login");
23 Route::get("/logout", "Logout");
24 Route::get("/user", "User@Index");
25 Route::get("/user/{username}", "User@Index")->where("username", "^([A-Za-z0-9_]){6,20}$");
26
27 Route::get("/avatars/{avatar}", function($avatar) {
28 $path = storage_path($avatar);
29
30 if (!File::exists($path)) {
31 abort(404);
32 }
33
34 $file = File::get($path);
35 $type = File::mimeType($path);
36
37 $response = Response::make($file, 200);
38 $response->header("Content-Type", $type);
39
40 return $response;
41 });
42
43 Route::post("/login", "Login");
44 Route::post("/user/save-changes", "User@SaveChanges");
45 Route::post("/user/upload-avatar", "User@UploadAvatar");
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