Commit Graph

66 Commits

Author SHA1 Message Date
mikestefanello
5805afe947 Split up services test files. 2021-12-18 16:57:34 -05:00
mikestefanello
d28f02f8d6 Moved pager to the controller package. Added additional documentation. 2021-12-18 16:55:35 -05:00
mikestefanello
1fb4d83e0d Documentation and tests for config package. 2021-12-18 10:15:31 -05:00
mikestefanello
1fe906a6f9 Renamed container package services. 2021-12-18 10:07:12 -05:00
mikestefanello
195d572036 Fixed container tests and import 2021-12-17 21:14:43 -05:00
mikestefanello
0c8c3cc41e Finished auth tests. 2021-12-17 21:10:35 -05:00
mikestefanello
27e34024f1 Moved auth to container. Added tests for auth. 2021-12-17 20:58:51 -05:00
mikestefanello
774f0b0858 Documentation and started tests for auth package. 2021-12-17 19:58:44 -05:00
mikestefanello
ed9413ee17 Finished password reset workflow. Remove all password tokens upon successful reset. 2021-12-16 21:27:52 -05:00
mikestefanello
bd5bbab47c Validate if the email address is already in use during registration. 2021-12-16 20:58:38 -05:00
mikestefanello
b383be5dac Use user ID in password reset route in order to properly compare token hashes. 2021-12-16 19:49:33 -05:00
mikestefanello
e6a5fa58c7 Initial commit of password reset workflow. 2021-12-16 07:29:16 -05:00
mikestefanello
b4de8e58f9 Generate password reset tokens upon submission. 2021-12-15 21:17:39 -05:00
mikestefanello
aa42451611 Added basic test coverage for container initialization. 2021-12-15 09:32:27 -05:00
mikestefanello
a33a76f8bc Added auth to the container. 2021-12-15 09:29:43 -05:00
mikestefanello
c9d50cb3d4 Added password token entity. 2021-12-15 08:48:51 -05:00
mikestefanello
1ac68b7d9f Removed form data from route structs. 2021-12-14 22:14:39 -05:00
mikestefanello
0546a1b089 Added forgot password form. 2021-12-14 21:59:56 -05:00
mikestefanello
6ec1b77684 Added email field to user. 2021-12-14 21:16:48 -05:00
mikestefanello
dee7a13cba Add support for better validation error messages. 2021-12-14 20:54:47 -05:00
mikestefanello
b7f5704b2b Cleanup environment naming. 2021-12-14 20:17:09 -05:00
mikestefanello
0a8d08d8bd Added helper to switch environments. 2021-12-14 20:14:11 -05:00
mikestefanello
6b537c5626 Added favicon. 2021-12-14 20:10:48 -05:00
mikestefanello
299774c0c7 Renamed views directory to templates. 2021-12-14 11:30:31 -05:00
mikestefanello
d0caa8119e Added mock mail client. 2021-12-14 11:29:45 -05:00
mikestefanello
869c507737 Renamed controllers package to routes. 2021-12-14 11:13:53 -05:00
mikestefanello
60dedc0944 Support separate database for testing. 2021-12-13 12:51:00 -05:00
mikestefanello
4e2f186dad Move controller and page to new package. 2021-12-12 22:09:13 -05:00
mikestefanello
c48f6bb9f4 Code cleanup. 2021-12-12 21:28:53 -05:00
mikestefanello
eb98a600e8 Finished login handling. 2021-12-12 19:02:25 -05:00
mikestefanello
9986ca627d Added auth middleware. 2021-12-12 17:04:11 -05:00
mikestefanello
25e5119dd5 Initial commit of auth package. 2021-12-11 23:17:12 -05:00
mikestefanello
5582bb6acd Variable naming cleanup. 2021-12-11 19:32:34 -05:00
mikestefanello
bbf27d1b04 Prevent duplicate error responses. 2021-12-11 19:32:27 -05:00
mikestefanello
58e75cf7a6 Combine error templates. 2021-12-11 16:06:28 -05:00
mikestefanello
3a9f0d1879 Added additional makefile commands. 2021-12-11 14:00:10 -05:00
mikestefanello
527721486a Added ent make commands. 2021-12-11 13:46:01 -05:00
mikestefanello
acf03dfd8f Rename cache expiration config fields in controllers. 2021-12-11 13:41:57 -05:00
mikestefanello
57f3620aae Rename cache expiration config fields. 2021-12-11 13:37:35 -05:00
mikestefanello
e5038f7bbf Cleanup container init. 2021-12-11 13:18:32 -05:00
mikestefanello
8657380530 Handle user creation upon registration. 2021-12-11 13:03:10 -05:00
mikestefanello
79d2db3c1f Added Ent and user model. 2021-12-10 20:44:23 -05:00
mikestefanello
259c666548 Added database config and docker image. 2021-12-10 08:49:15 -05:00
mikestefanello
590910bc41 Moved app consts to config package. 2021-12-10 08:33:49 -05:00
mikestefanello
959eeda35f Include secure middleware. 2021-12-08 22:21:07 -05:00
mikestefanello
26e456eae3 Add middleware to include the request ID in all logs. 2021-12-08 21:55:30 -05:00
mikestefanello
4096691df0 Group middleware between static and non-static file routes. 2021-12-08 18:58:55 -05:00
mikestefanello
30dced6315 Added page cache middleware. 2021-12-07 21:36:57 -05:00
mikestefanello
855d67409f Added timeout middleware and config. 2021-12-06 21:51:21 -05:00
mikestefanello
3a45695083 Added gocache as a cache wrapper. 2021-12-06 14:53:28 -05:00