Commit Graph

255 Commits

Author SHA1 Message Date
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
mikestefanello
70d9d0f8fa Chain test http requests. 2021-12-06 10:38:55 -05:00
mikestefanello
58c72c0705 Added additional http response helpers. 2021-12-06 09:40:37 -05:00
mikestefanello
a5d8d2ea35 Easier get request controller testing. 2021-12-06 07:42:20 -05:00
mikestefanello
e499257686 Added cache options and config. 2021-12-05 21:56:57 -05:00
mikestefanello
bccb538d19 Added redis integration. 2021-12-05 20:56:38 -05:00
mikestefanello
5e384c8a4e Added controller testing. 2021-12-05 20:22:45 -05:00
mikestefanello
7f93fa7f6c Added alpinejs. 2021-12-03 21:47:12 -05:00
mikestefanello
d40244b3d1 Added easier setter funcs for flash messages. 2021-12-03 16:44:04 -05:00
mikestefanello
fc1d3cdc33 Added register route and template. 2021-12-03 16:35:11 -05:00
mikestefanello
fe0fb8c801 Added auth layout and route for login. 2021-12-03 15:41:40 -05:00
mikestefanello
869fa82f14 Switch to Bulma. 2021-12-03 08:49:07 -05:00