Commit graph

57 commits

Author SHA1 Message Date
mikestefanello
5245c9484b Add make command to create an admin user. 2025-04-20 10:44:14 -04:00
mikestefanello
96fc0ea600 Switched to light theme. Fixed time parsing. 2025-04-19 16:31:23 -04:00
mikestefanello
db09b1db97 Move admin pages to primary layout. 2025-04-19 16:19:58 -04:00
mikestefanello
2c9cf2a21a Added admin bool field and middleware. 2025-04-19 16:13:12 -04:00
mikestefanello
dae9ea3ae1 Renamed hash field to token. 2025-04-19 16:08:43 -04:00
mikestefanello
cb5c3ad127 Support datetime-local form element. 2025-04-19 15:49:44 -04:00
mikestefanello
13ae07ae60 Added paging. 2025-04-19 10:55:21 -04:00
mikestefanello
36bc20b90f Make admin menu links dynamic. 2025-04-19 10:22:40 -04:00
mikestefanello
8a4dd9fb3b Clear empty optional fields. 2025-04-15 07:36:35 -04:00
mikestefanello
53113101c9 Added enum field support in the ui. 2025-04-14 20:34:31 -04:00
mikestefanello
8c3f04e859 Clean up. 2025-04-13 09:32:43 -04:00
mikestefanello
60afbb18c0 Support entity edits. 2025-04-12 21:26:54 -04:00
mikestefanello
b8d8184bda Support nillable fields. 2025-04-12 16:45:33 -04:00
mikestefanello
7ff1e3f9d2 Support auto-hashing fields via hooks. 2025-04-12 16:19:18 -04:00
mikestefanello
356cf21b3e Only bind form field values that are not empty. 2025-04-12 13:42:48 -04:00
mikestefanello
271e252c53 Use handler config. 2025-04-12 10:20:20 -04:00
mikestefanello
eaa37a0745 Expanded entity form support. 2025-04-12 10:04:15 -04:00
mikestefanello
cabf8b9cdb Merge branch 'main' of github.com:mikestefanello/pagoda into admin 2025-04-10 09:16:59 -04:00
mikestefanello
1b86097376 Switch to edge fields for passwordtoken. 2025-04-10 09:07:53 -04:00
mikestefanello
85271607d0 Support form state. 2025-04-08 14:22:44 -04:00
mikestefanello
ce9b58bf4a Use custom ent codegen plugin for admin. 2025-04-08 14:02:45 -04:00
mikestefanello
9139942794 Override ogent code to always return ent errors. 2025-04-01 19:21:21 -04:00
mikestefanello
4d7b780087 Fixed HTMX listeners. 2025-04-01 10:23:32 -04:00
mikestefanello
196d34cc1f Added ogent for entity code gen. 2025-04-01 10:20:14 -04:00
mikestefanello
9a92c4aad6 Started on dynamic entity add form. 2025-03-31 19:11:08 -04:00
mikestefanello
33e98f9a9e Initial commit of admin panel. 2025-03-30 14:46:46 -04:00
mikestefanello
c8db468292 Cleaned up conditional rendering. 2025-03-29 09:40:04 -04:00
mikestefanello
02236266f1 Log ui node cache failures. 2025-03-25 09:25:18 -04:00
Mike Stefanello
051d032038 Migrate from templates to Gomponents (#103) 2025-03-05 20:01:58 -05:00
mikestefanello
acbc5e4bf6 Upgrade to Bulma 1.0.2. 2025-02-18 19:19:09 -05:00
mikestefanello
3eab2f5562 Added file management. 2025-02-16 14:23:52 -05:00
mikestefanello
732e81f5a4 Move web/task shutdown to container. Shutdown web before tasks. Add shutdown timeouts to config. 2025-02-16 09:39:29 -05:00
mikestefanello
f8192d3ad6 Use more secure cookie settings. 2025-02-12 22:01:30 -05:00
mikestefanello
e4370e8ba0 Fixed pager page and pages value when no items present. 2024-09-13 09:16:20 -04:00
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