cameronapak
7b86611f35
bun run format
2025-07-22 08:58:30 -05:00
cameronapak
9e316a92f6
refactor: use AppTheme type and handle empty admin_basepath
...
Replace literal theme union with AppTheme type in AdminController options and
make path helpers resilient when admin_basepath is empty.
2025-07-22 08:57:06 -05:00
cameronapak
12ef72d595
test: add comprehensive tests for AppReduced utility and path normalization
2025-07-22 08:52:32 -05:00
cameronapak
f0551f50d1
fix: set default admin_basepath and logo_return_path in constructor
...
Move default option values into the constructor parameter initializer to
prevent them from being overwritten by the spread operator in
`get options()`.
2025-07-22 08:36:38 -05:00
cameronapak
03aac3437b
refactor: unify theme type and admin options from AdminController
2025-07-22 08:33:42 -05:00
cameronapak
f07f3d1007
refactor: rename basepath to admin_basepath and normalize admin paths
2025-07-22 08:28:23 -05:00
dswbx
2b32a836cd
auth error should not redirect to parameter, adapter app function should fire correctly
2025-07-09 08:00:52 +02:00
dswbx
e939debba5
auth: add delete auth after flash in case only one is picked up
2025-07-05 09:43:14 +02:00
dswbx
b35ee36fb1
admin: fix back behavior to not rely on history object
2025-07-05 09:42:53 +02:00
dswbx
a5959acb34
fix admin's assetPath for remote static assets
2025-07-03 15:06:21 +02:00
dswbx
2f684765de
libsql: update typings to allow minimal client fns (execute, batch)
2025-07-03 14:11:58 +02:00
dswbx
22b54862e8
admin: fix theme flash
2025-07-02 18:14:35 +02:00
dswbx
45138c25f0
refactor auth/media entities to separate files, suppress node:sqlite warning
2025-07-02 16:36:06 +02:00
dswbx
80034b9b0a
fix plugins imports
2025-07-02 16:13:22 +02:00
dswbx
e6ee75c712
update edge sqlite import (libsql)
2025-07-02 16:08:33 +02:00
dswbx
56287eb05e
fixing sqlite imports, clean up bun and cf examples
2025-07-02 15:46:57 +02:00
dswbx
d1378c6c51
fix cloudflare r2 adapter range requests
2025-07-02 14:07:26 +02:00
dswbx
70737c04cd
refactor console imports, added config update event
2025-07-02 14:02:50 +02:00
dswbx
d41fd5541f
rewrite libsql and cloudflare sqlite's to use the generic adapter
2025-07-02 14:02:33 +02:00
dswbx
a9f3a582eb
fix tests and imports
2025-06-25 09:42:25 +02:00
dswbx
57ae2f333c
inlined libsql dialect, rewrote d1 to use generic sqlite
2025-06-25 09:35:47 +02:00
dswbx
b2086c4da7
fix: plugin schema reconciliation
2025-06-18 10:31:40 +02:00
dswbx
c86f4c12b7
admin: add options such as logo return path when served static
2025-06-18 07:56:58 +02:00
dswbx
aaa97ed113
finalize initial app resources/drivers
2025-06-17 19:51:12 +02:00
dswbx
f5ceffd80e
fix tests
2025-06-17 13:34:31 +02:00
dswbx
b87696a0db
init app resources
2025-06-14 16:59:03 +02:00
dswbx
3338804c34
simplify and export generic sqlite functions
2025-06-14 16:58:38 +02:00
dswbx
6b3ac9e6e2
fix toDriver mutation convertion not respecting default values, react re-renders on navigation, mutator result logging
2025-06-14 08:06:05 +02:00
dswbx
8e1ecfcfe3
change app plugins to be a map to prevent duplicates and provide easier access
2025-06-14 07:22:44 +02:00
dswbx
6e2596fb77
fixing tests
2025-06-14 07:08:46 +02:00
dswbx
2ada4e9f20
various fixes: refactored imports, introduced fromDriver/toDriver to improve compat
2025-06-13 21:15:29 +02:00
dswbx
96ae8f9d63
Merge remote-tracking branch 'origin/release/0.15' into feat/plugin-improvements
...
# Conflicts:
# app/package.json
# app/src/App.ts
2025-06-13 17:24:54 +02:00
dswbx
c09d1d53b3
Merge pull request #186 from bknd-io/feat/unify-connections
...
feat/unify-connections
2025-06-13 17:20:05 +02:00
dswbx
2239333f08
updated docs on databases
2025-06-13 17:18:29 +02:00
dswbx
03c4c41d2d
cli now uses adapter logic, require node v22
2025-06-13 15:58:06 +02:00
dswbx
f8d2a9090e
fixing tests, move node tests to vitest
2025-06-13 14:38:30 +02:00
dswbx
bbb7bfb7a1
feat: adding env aware endpoint to obtain sqlite connection, remove libsql hard dependency
2025-06-13 11:09:47 +02:00
dswbx
28e277afe1
updated cf image optimization plugin
2025-06-13 08:30:54 +02:00
dswbx
8517c9b90b
added a few initial plugins
2025-06-12 19:58:18 +02:00
dswbx
fe5ccd4206
refactor and move cloudflare image transformation plugin
2025-06-12 17:00:06 +02:00
dswbx
8b4b63b3cd
feat: improved abilities of plugins, moved schema fns to ctx
2025-06-12 15:29:53 +02:00
dswbx
d5bb6ffa61
fix adapters, handle entity enum more gracefully
2025-06-12 10:24:50 +02:00
dswbx
4162b9878a
fix admin controller to only serve if defined, and only from specified endpoints
2025-06-12 09:45:14 +02:00
dswbx
c75f8d0937
reduce schema manager query log to debug, fix useSearch
2025-06-12 09:23:31 +02:00
dswbx
6c2e579596
connection: rewrote query execution, batching, added generic sqlite, added node/bun sqlite, aligned repo/mutator results
2025-06-12 09:02:18 +02:00
dswbx
88419548c7
admin: fix useSearch
2025-06-10 08:38:10 +02:00
dswbx
12c955155d
bump rc
2025-06-09 20:27:02 +02:00
dswbx
15af9f5261
fix use-search
2025-06-09 20:25:57 +02:00
dswbx
39efb911e9
admin header: added links to docs and version
2025-06-09 07:29:20 +02:00
dswbx
4729203d47
fix useSearch and admin path registration
2025-06-09 07:21:32 +02:00