1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 20:39:28 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
c3d3de7677 Remove dangling commas 2022-04-19 00:22:23 +00:00
52c44f298e Added generalised handlebars context 2022-04-19 00:21:40 +00:00
9f9354fcb1 Refactor loadRoutes 2022-04-18 14:59:41 +00:00
5cbd2831d1 Added priority system for route loading 2022-04-18 14:49:35 +00:00
d965405c8b Allow handlebars to use prototype properties and methods 2022-04-18 12:54:23 +00:00
6406cd5a5c Added redirect_to to login page when auth forces re-authentication 2022-04-12 00:34:32 +00:00
4c2a078530 Refactored database connection system to use a shared pool per-request 2022-03-28 08:01:05 +00:00
e1de67266c Cleanup extra newline 2022-03-14 09:40:34 +00:00
c9e826d016 Lint cleanup with new rules 2022-03-03 09:21:43 +00:00
67d15db4ee Made auth middleware more readable 2022-02-24 13:52:38 +00:00
ced35b41ca Add middleware to prevent unauthorised user from accessing private pages 2022-02-24 13:33:13 +00:00
4731d362a5 Fix bug where multiple route files can't have the same root 2022-02-08 21:49:15 +00:00
2c64ac3dd8 Added handlebars equality helper 2022-02-08 20:20:23 +00:00
e07e323bd8 Added dashboard page 2022-02-04 23:44:05 +00:00
15fd143477 Added admin layout and route to switch layouts 2022-02-04 23:43:31 +00:00
a28862c9f1 Added seperate routes folder and dynamic route loader 2022-01-31 10:15:46 +00:00
5857ed46f4 Migrated from ejs to handlebars 2022-01-25 20:05:20 +00:00
fc00ecd2c5 Set up homepage template and route 2022-01-24 10:15:17 +00:00
7502c189a1 Added error page and handling 2022-01-24 01:23:38 +00:00
dc881fcfa9 Configured express to use ejs templating language 2022-01-23 23:57:32 +00:00
fb419c3692 Added middleware to serve static files, and parse incoming bodies 2022-01-23 23:32:37 +00:00
8278a68d41 Added session middleware 2022-01-23 23:16:24 +00:00
1212358e92 Set up expressjs framework 2022-01-23 22:57:48 +00:00