Commit Graph

38 Commits

Author SHA1 Message Date
c68d82c385 Simplify providing layout component in page 2024-07-27 12:28:45 -07:00
9b057ae87e Remove unused Page properties 2024-07-27 12:17:30 -07:00
48dd3433a7 Switched to backlite for task queues
Ported from
f54d9f8b37
2024-07-27 11:52:05 -07:00
1cf2971bdc Remove old RenderPage 2024-07-25 20:37:19 -07:00
ef719f74da Most tests passing except templating ones 2024-07-19 20:44:09 -07:00
792707cd70 Convert cache page to Templ 2024-07-17 20:10:04 -07:00
0343581099 Convert task page to Templ 2024-07-17 19:59:38 -07:00
6d72f5ad9b Convert search page to Templ 2024-07-17 19:59:38 -07:00
1e3ee29802 Convert error page to Templ 2024-07-17 19:59:38 -07:00
b7db6a57c0 Convert about page to Templ 2024-07-17 19:59:38 -07:00
9356062b54 Convert contact page to Templ 2024-07-17 19:59:38 -07:00
59740c499c Convert auth pages to Templ 2024-07-17 19:59:38 -07:00
3c9911da03 First step towards converting to use templ for rendering 2024-07-14 16:13:42 -07:00
56383939ed Move database client into services package 2024-07-11 22:22:02 -07:00
bd54486fb3 Migrate from ent to sqlc 2024-07-11 22:22:02 -07:00
d08f5f55aa Rename package 2024-07-09 17:57:25 -07:00
mikestefanello
73098499dd Upgrade to HTMX 2.0. 2024-06-22 11:07:43 -04:00
Mike Stefanello
62c53a6b4d
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
11def45666 Log request URI rather than path. 2024-06-19 09:32:22 -04:00
mikestefanello
ca22f54c89 Added redirect package. 2024-06-16 11:30:11 -04:00
mikestefanello
6730b6a319 Added redirect support with query params. 2024-06-16 10:53:43 -04:00
mikestefanello
71f7de8771 Removed echo-contrib dependency. 2024-06-15 16:56:47 -04:00
Mike Stefanello
5531e0bec2
Move controller to the template renderer (#68) 2024-06-15 15:34:24 -04:00
mikestefanello
6a7070a729 Misc cleanup. 2024-06-15 09:09:36 -04:00
Mike Stefanello
9acf73a4d9
Replace Echo logger with slog. (#67)
* Replace Echo logger with slog.
2024-06-14 21:01:48 -04:00
Mike Stefanello
5ebd42d8f9
Improve form and template usage (#66)
* Improve form and template usage.
2024-06-14 12:35:35 -04:00
mikestefanello
28abc92e74 Easier form and form submission handling. 2024-06-09 21:39:04 -04:00
mikestefanello
2c635b5c75 Switch from routes to self-registering handlers to group related routes. 2024-06-09 12:31:30 -04:00
mikestefanello
30389de16f Added radio form element example. 2024-05-18 16:19:27 -04:00
Stefan Aurori
15739cc82e Rename lib_store and redis_store imports. Cache get remove redundant nil check. 2024-03-14 20:43:27 -04:00
Stefan Aurori
e8952e964c Update go-redis to v9 and gocache to v4 2024-03-10 17:23:03 -04:00
mikestefanello
97cd9d0fee Move htmx template into layouts. 2023-12-18 20:59:40 -05:00
mikestefanello
c2b6928fb4 Use consts for route names and templates. 2023-12-16 11:07:20 -05:00
mikestefanello
81c65fcc30 Restore local live reloading of templates. 2023-12-12 20:07:58 -05:00
mikestefanello
3df20c01a7 Replace template dir file path hack with embed directive. 2023-12-10 09:33:34 -05:00
mikestefanello
0879aaf21d Fix flaky context error test. 2023-11-15 20:14:00 -05:00
guoguangwu
3026ec218e chore: remove refs to deprecated io/ioutil 2023-07-26 11:08:24 +08:00
mikestefanello
72ce41c828 Reorganized directories and packages. 2022-11-02 19:23:26 -04:00