Commit Graph

27 Commits

Author SHA1 Message Date
mikestefanello
acebcf0ba0 Let error handler handle all error logic, logging, and canceling. 2022-05-17 08:45:18 -04:00
mikestefanello
c43f62a570 Added asynq and a task client to the container to faciliate task queues. 2022-02-02 21:24:52 -05:00
mikestefanello
6546418052 Include password token entity ID in reset URL in order to prevent loading all tokens. 2022-01-27 08:44:12 -05:00
mikestefanello
e0a65ca007 Added custom cache client for much easier cache operations. 2022-01-13 21:13:41 -05:00
mikestefanello
10c0a23c0a Handle context cancellations and avoid logged errors. 2022-01-09 00:23:26 -05:00
mikestefanello
2ece37eb9c Changed module name. 2022-01-01 10:44:18 -05:00
mikestefanello
fcf1800ac0 Use nil error response for testing middleware execution. 2021-12-22 14:38:00 -05:00
mikestefanello
fc3fee1306 Added tests for entity and log middleware. 2021-12-21 21:02:25 -05:00
mikestefanello
ac93e0f366 Added tests for cache middleware. 2021-12-21 20:49:05 -05:00
mikestefanello
d395993338 Added tests for auth middleware. 2021-12-21 20:29:15 -05:00
mikestefanello
58ba9f6dcc Added tests package with helpers. Started on middleware tests. 2021-12-21 15:18:17 -05:00
mikestefanello
40f0d7251d Added shutdown method to containers. 2021-12-19 14:56:00 -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
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
ed9413ee17 Finished password reset workflow. Remove all password tokens upon successful reset. 2021-12-16 21:27:52 -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
a33a76f8bc Added auth to the container. 2021-12-15 09:29:43 -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
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
3a45695083 Added gocache as a cache wrapper. 2021-12-06 14:53:28 -05:00
mikestefanello
3c2c698269 Added cache control middleware. 2021-12-03 08:18:40 -05:00