1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 15:59:25 +00:00

Commit Graph

  • 53ac018d40 Rewrite PasswordReset constructor to check for token in record matt 2022-02-14 10:28:16 +00:00
  • 179bd4ce93 Added route for POST password-reset matt 2022-02-14 00:24:21 +00:00
  • fc10725862 Implemented User generatePasswordReset matt 2022-02-14 00:23:58 +00:00
  • cad66f56f8 Implemented PasswordReset generatePasswordReset matt 2022-02-14 00:23:37 +00:00
  • 3e581b689e Implemented PasswordReset hashToken matt 2022-02-14 00:22:25 +00:00
  • e644ba25bd Implemented PasswordReset constructor matt 2022-02-14 00:21:55 +00:00
  • 1b2dfe5681 Rewrite User constructor to search all tables if no type given matt 2022-02-14 00:19:28 +00:00
  • ef7f3ddb28 Remove fk constraints from passwordReset matt 2022-02-14 00:04:36 +00:00
  • cf0c667075 Renamed passwordReset.accountId to passwordReset.userId matt 2022-02-13 22:56:17 +00:00
  • 655b54e305 Add login route matt 2022-02-13 22:19:07 +00:00
  • 588ca67745 Implement User.verifyPassword matt 2022-02-13 22:18:36 +00:00
  • 8e91966d4b Implemented Account.getUserByEmail matt 2022-02-13 22:17:38 +00:00
  • 2f00e30ca6 Add logout functionality matt 2022-02-13 22:16:46 +00:00
  • 401eaa56e1 Added route for registering an Account matt 2022-02-13 22:11:15 +00:00
  • cbdbc92807 Implemented Account.createAccount matt 2022-02-13 22:09:09 +00:00
  • 119445fd6e Implemented User.creareUser matt 2022-02-13 22:07:53 +00:00
  • 646c721128 Implement account constructor matt 2022-02-13 22:04:05 +00:00
  • 254a9b8006 Implement user constructor matt 2022-02-13 22:03:21 +00:00
  • 2de64cdf40 Added database query parameter sanitisation to replace nullish values with null matt 2022-02-13 21:58:30 +00:00
  • f059da2a09 Don't require middle names matt 2022-02-13 21:57:12 +00:00
  • 3081417a54 Use importJSON instead of hardcoded require matt 2022-02-13 21:54:54 +00:00
  • 7ce12f5ef4 Prepare for register and login functionality matt 2022-02-13 21:53:13 +00:00
  • 41930b450b Make all buttons have pointer cursors matt 2022-02-13 21:49:33 +00:00
  • 3acd448041 Remove license matt 2022-02-09 16:35:53 +00:00
  • f499380836 Added validator module and tests matt 2022-02-09 16:34:35 +00:00
  • 50fe760292 Jest should ignore routes/test matt 2022-02-09 16:30:11 +00:00
  • c7b3cd131f Added forgotten strict mode declarations matt 2022-02-09 15:26:49 +00:00
  • ae8d302d34 Move cssnano to dev dependencies, and add postcss-sort-media-queries to postcss matt 2022-02-08 23:52:00 +00:00
  • 549b8278d6 Splitting admin routes into pages to prepare for addition of functionality matt 2022-02-08 21:50:18 +00:00
  • 4731d362a5 Fix bug where multiple route files can't have the same root matt 2022-02-08 21:49:15 +00:00
  • 3af8bc9454 Added cssnano to gulp file, and disable minification unless in production matt 2022-02-08 21:26:01 +00:00
  • 408c3d8beb Fix lighthouse warnings matt 2022-02-08 21:11:39 +00:00
  • 4af91051a0 Fixed arbitrary heights using box-sizing, clean up more loose styling matt 2022-02-08 20:28:51 +00:00
  • ec6437e2bc Implement admin nav 'current' page display matt 2022-02-08 20:21:52 +00:00
  • 2a9e39f4a4 Cleanup admin nav and header styling matt 2022-02-08 20:21:18 +00:00
  • 2c64ac3dd8 Added handlebars equality helper matt 2022-02-08 20:20:23 +00:00
  • ba59030870 Move adminContent into admin component matt 2022-02-08 20:18:44 +00:00
  • 457e702267 Hide subject column on mobile screens matt 2022-02-06 23:22:06 +00:00
  • c7ca177cd8 Added mixins to show and hide columns in a table matt 2022-02-06 23:21:37 +00:00
  • e7278e6ad4 Bug fix on test page: column order, mobile spacing matt 2022-02-06 23:20:13 +00:00
  • b6e43df0e3 Added tests page matt 2022-02-06 20:31:29 +00:00
  • c0e1a770b3 Added classes page matt 2022-02-06 20:02:16 +00:00
  • 9e523f98cd Styling cleanups for admin pages matt 2022-02-06 19:44:42 +00:00
  • c0f4d567df Split admin nav script to layout level matt 2022-02-06 19:41:37 +00:00
  • c1da720add Split out dashboard content items into a seperate css component matt 2022-02-05 23:20:56 +00:00
  • 3a89709908 Added additional config files matt 2022-02-05 22:29:05 +00:00
  • e07e323bd8 Added dashboard page matt 2022-02-04 23:44:05 +00:00
  • 15fd143477 Added admin layout and route to switch layouts matt 2022-02-04 23:43:31 +00:00
  • b091555204 Added adminNav and adminNavItem components matt 2022-02-04 23:42:33 +00:00
  • 3c18abfea8 Added adminHeader component matt 2022-02-04 23:41:35 +00:00
  • 02c99d2c01 npm update matt 2022-02-03 14:12:52 +00:00
  • 1fd6c21ae4 Added gulp and postcss matt 2022-02-03 10:45:47 +00:00
  • 18a412d1fc Migrate to FA v6 matt 2022-02-03 10:12:10 +00:00
  • 9e58ec51d8 Fixed issues with not closing a tag, and used more semantically logical tag matt 2022-01-31 22:21:01 +00:00
  • cb4c32591d Style cleanups matt 2022-01-31 22:20:26 +00:00
  • 5946aeffb0 Added logout template and route matt 2022-01-31 21:47:18 +00:00
  • 68beca8e14 Added password reset template and route matt 2022-01-31 21:35:30 +00:00
  • 5e31c06f75 Added register template and route matt 2022-01-31 21:30:55 +00:00
  • 7335891a87 Refactor form styling matt 2022-01-31 21:20:38 +00:00
  • 4ca12b94cb Added login template and route matt 2022-01-31 15:08:56 +00:00
  • 877d3dcac3 Added mainForm component matt 2022-01-31 15:08:19 +00:00
  • cc9a1f595f Changed default link styling matt 2022-01-31 15:08:30 +00:00
  • 5528445731 Added mainPageHeader component matt 2022-01-31 15:06:40 +00:00
  • a28862c9f1 Added seperate routes folder and dynamic route loader matt 2022-01-31 10:15:46 +00:00
  • a41d0d37d8 Updated layouts to have one for front site, and will implement one for admin matt 2022-01-31 09:44:27 +00:00
  • 3248253a75 Add additional font weight matt 2022-01-25 23:12:49 +00:00
  • fc2a0d6988 Written up landing page matt 2022-01-25 22:58:59 +00:00
  • 74ad79ea31 Added form styles matt 2022-01-25 22:58:23 +00:00
  • 9443301420 Added title styles matt 2022-01-25 22:52:46 +00:00
  • 8ed2038bd7 Added font awesome scripts matt 2022-01-25 22:52:05 +00:00
  • 52d647ddfd Added testimonial component matt 2022-01-25 22:51:33 +00:00
  • ec62a8c8ae Added feature component matt 2022-01-25 22:51:09 +00:00
  • 24ca02a7a5 Added homeNav component matt 2022-01-25 20:11:27 +00:00
  • 6fe851c63a Add button component matt 2022-01-25 20:10:23 +00:00
  • d250ff859f Added sass helper functions and mixins matt 2022-01-25 20:08:35 +00:00
  • 5857ed46f4 Migrated from ejs to handlebars matt 2022-01-25 20:05:20 +00:00
  • 714da18c41 Add logos matt 2022-01-25 20:02:28 +00:00
  • 521623a2cd Add css normalise file matt 2022-01-25 11:20:53 +00:00
  • 6c114bd9c2 Added sass, and initial sass partials matt 2022-01-25 11:20:12 +00:00
  • fc00ecd2c5 Set up homepage template and route matt 2022-01-24 10:15:17 +00:00
  • e44f82cb50 Change test script params for faster execution matt 2022-01-24 09:52:55 +00:00
  • 3675533401 Rewrite jest config to json format matt 2022-01-24 09:51:51 +00:00
  • 51db80f04c Auto use jest-extended matchers in tests matt 2022-01-24 09:44:48 +00:00
  • 7502c189a1 Added error page and handling matt 2022-01-24 01:23:38 +00:00
  • 39185c3301 Created head partial matt 2022-01-24 00:11:34 +00:00
  • dc881fcfa9 Configured express to use ejs templating language matt 2022-01-23 23:57:32 +00:00
  • fb419c3692 Added middleware to serve static files, and parse incoming bodies matt 2022-01-23 23:32:37 +00:00
  • c191d74431 Added favicon matt 2022-01-23 23:28:40 +00:00
  • 8278a68d41 Added session middleware matt 2022-01-23 23:16:24 +00:00
  • d630af88f9 Added method to expose the mysql2 database connection matt 2022-01-23 23:14:55 +00:00
  • 1212358e92 Set up expressjs framework matt 2022-01-23 22:57:48 +00:00
  • e6813851bf Added new module for importing JSON files safely, along with test files matt 2022-01-23 22:35:31 +00:00
  • 3ab5ce703f Added more jest assertions via jest-extended matt 2022-01-23 22:34:27 +00:00
  • 80ce4608cb Rename db sample config file to more logical name matt 2022-01-23 22:33:27 +00:00
  • 0d8f10f061 Fixed indentation from autogenerated package.json matt 2022-01-21 21:20:12 +00:00
  • f6be2e37f6 Added class diagram for DatabaseConnectionPool matt 2022-01-21 21:15:29 +00:00
  • d3a631ee31 Updated plantuml, changed static/ to public/, and added new scripts to package.json matt 2022-01-21 21:13:32 +00:00
  • 9f4d947126 Added initial class skeletons matt 2022-01-20 23:29:26 +00:00
  • b14be8095e Restructure before adding class skeletons matt 2022-01-20 23:16:38 +00:00
  • 960575280b Added validation and sanitisation for sql queries passed into runQuery matt 2022-01-20 22:57:17 +00:00