Commit graph

23 commits

Author SHA1 Message Date
mikestefanello
5a6cec5294 Switched to backlite for task queues. 2024-07-24 21:04:32 -04:00
mikestefanello
12c5662cb9 Upgrade to HTMX 2.0. 2024-06-22 11:07:43 -04:00
Mike Stefanello
a096abd195 Default to SQLite rather than Postgres & Redis (#72)
* Initial rough draft switch to sqlite.

* Rewrote cache implemenation.

* Provide typed tasks.

* Task cleanup.

* Use same db for tasks.

* Provide task queue registration and service container injection.

* Added optional delay to tasks. Pool buffers when encoding.

* Added tests for the task client and runner.

* Added handler examples for caching and tasks.

* Cleanup and documentation.

* Use make in workflow.

* Updated documentation.

* Updated documentation.
2024-06-22 10:34:26 -04:00
mikestefanello
5e9e502b42 Log request URI rather than path. 2024-06-19 09:32:22 -04:00
mikestefanello
a70003d290 Added redirect package. 2024-06-16 11:30:11 -04:00
mikestefanello
8cae6e6beb Added redirect support with query params. 2024-06-16 10:53:43 -04:00
mikestefanello
75aefa8a0a Removed echo-contrib dependency. 2024-06-15 16:56:47 -04:00
Mike Stefanello
8eafb6b666 Move controller to the template renderer (#68) 2024-06-15 15:34:24 -04:00
mikestefanello
baa391fb20 Misc cleanup. 2024-06-15 09:09:36 -04:00
Mike Stefanello
c8a3d64918 Replace Echo logger with slog. (#67)
* Replace Echo logger with slog.
2024-06-14 21:01:48 -04:00
Mike Stefanello
97bef0257e Improve form and template usage (#66)
* Improve form and template usage.
2024-06-14 12:35:35 -04:00
mikestefanello
4540276472 Easier form and form submission handling. 2024-06-09 21:39:04 -04:00
mikestefanello
59c10f1874 Switch from routes to self-registering handlers to group related routes. 2024-06-09 12:31:30 -04:00
mikestefanello
8ca11c90e1 Added radio form element example. 2024-05-18 16:19:27 -04:00
Stefan Aurori
f718a6b798 Rename lib_store and redis_store imports. Cache get remove redundant nil check. 2024-03-14 20:43:27 -04:00
Stefan Aurori
472dc0c358 Update go-redis to v9 and gocache to v4 2024-03-10 17:23:03 -04:00
mikestefanello
203a856895 Move htmx template into layouts. 2023-12-18 20:59:40 -05:00
mikestefanello
60c8aefd49 Use consts for route names and templates. 2023-12-16 11:07:20 -05:00
mikestefanello
5f877c3d38 Restore local live reloading of templates. 2023-12-12 20:07:58 -05:00
mikestefanello
29fbadbadd Replace template dir file path hack with embed directive. 2023-12-10 09:33:34 -05:00
mikestefanello
11f5ddcee4 Fix flaky context error test. 2023-11-15 20:14:00 -05:00
guoguangwu
d815040397 chore: remove refs to deprecated io/ioutil 2023-07-26 11:08:24 +08:00
mikestefanello
dceb232cb2 Reorganized directories and packages. 2022-11-02 19:23:26 -04:00