Commit graph

275 commits

Author SHA1 Message Date
mikestefanello
65a9ac9fa5 Finished controller tests. 2021-12-19 15:50:50 -05:00
mikestefanello
40f0d7251d Added shutdown method to containers. 2021-12-19 14:56:00 -05:00
mikestefanello
85981e75a7 Added shutdown method to container. 2021-12-19 13:22:44 -05:00
mikestefanello
c6c9ed7fd2 Started on controller tests. 2021-12-19 13:11:23 -05:00
mikestefanello
098d1b7eb2 Skip serving cached page if the user is logged in or the request is not a GET. 2021-12-19 13:01:52 -05:00
mikestefanello
3ad6a5f87f Added documentation to controller. 2021-12-19 10:03:42 -05:00
mikestefanello
a1a54a7b7d Added pager tests. 2021-12-18 18:08:04 -05:00
mikestefanello
8eb8264d6e Added tests for page. 2021-12-18 17:24:46 -05:00
mikestefanello
3525d5d704 Updated func name to get route url in templates. 2021-12-18 17:02:29 -05:00
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