Commit Graph

255 Commits

Author SHA1 Message Date
mikestefanello
b4c4fae66b Organized home template markup. 2021-12-24 18:54:25 -05:00
mikestefanello
b29de840f9 Added HTMX paging example. 2021-12-24 17:58:53 -05:00
mikestefanello
677193ccba Added HTMX attributes to auth forms. 2021-12-24 15:38:14 -05:00
mikestefanello
1dd8eb0cd7 Added tests or htmx package. 2021-12-24 09:03:10 -05:00
mikestefanello
6f50552a15 Refactored all forms to follow new pattern. 2021-12-24 08:42:42 -05:00
mikestefanello
d5adf010db Updated login form and controller. 2021-12-23 23:04:00 -05:00
mikestefanello
576caf217c HTMX error handling. 2021-12-23 20:58:49 -05:00
mikestefanello
8860b981e6 Support CSRF in HTMX non-form posts. 2021-12-23 19:29:12 -05:00
mikestefanello
b2f64b62f4 Added HTMX partial support template rendering. 2021-12-23 17:09:44 -05:00
mikestefanello
f115fcb602 Added htmx package. 2021-12-23 17:09:23 -05:00
mikestefanello
d6ef2b0b73 Added form field statuses during validation. 2021-12-23 08:57:27 -05:00
mikestefanello
57159c4fba Initial commit of form submission struct. 2021-12-22 23:40:08 -05:00
mikestefanello
b61077dac9 Started on HTMX support. 2021-12-22 21:51:18 -05:00
mikestefanello
3b41e1dfd8 Misc cleanup. 2021-12-22 19:18:33 -05:00
mikestefanello
00515185cd Use alpine to dismiss flash messages. 2021-12-22 14:56:51 -05:00
mikestefanello
fcf1800ac0 Use nil error response for testing middleware execution. 2021-12-22 14:38:00 -05:00
mikestefanello
4b91ed2f70 Added test coverage for msg package. 2021-12-21 21:42:53 -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
0e2625bf51 Provide combined parse and execute method for the template renderer. 2021-12-21 11:00:32 -05:00
mikestefanello
92bb2d9d7b Removed unnecessary user load during registration validation. 2021-12-20 12:48:46 -05:00
mikestefanello
502e146f92 Added HTTPS support. 2021-12-20 12:33:14 -05:00
mikestefanello
337ebb67b4 Add template parsing and execution to mail service. 2021-12-19 20:37:51 -05:00
mikestefanello
15974c9b77 Clean up param names. 2021-12-19 20:14:00 -05:00
mikestefanello
38cf009b70 Added template renderer service. 2021-12-19 20:09:01 -05:00
mikestefanello
d2ce5c34c4 Minor cleanup. 2021-12-19 16:34:19 -05:00
mikestefanello
28bda89863 Moved mail to services package. 2021-12-19 16:22:55 -05:00
mikestefanello
af645ee2e4 Added tests for funcmap. 2021-12-19 16:08:09 -05:00
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