dswbx
0500d4fc8e
Merge remote-tracking branch 'origin/refactor/drop-cjs' into release/0.5
2025-01-10 08:50:13 +01:00
dswbx
5bccc910a3
Merge remote-tracking branch 'origin/feat/auth-components' into release/0.5
2025-01-10 08:24:33 +01:00
dswbx
da3f3d98d0
Merge remote-tracking branch 'origin/feat/vite-adapter-optimization' into release/0.5
2025-01-10 08:24:02 +01:00
dswbx
c8745b3464
Merge remote-tracking branch 'origin/feat/repo-query-sort' into release/0.5
...
# Conflicts:
# app/src/data/api/DataController.ts
2025-01-10 08:23:51 +01:00
dswbx
eabd57cb4e
Delete media files from filesystem in media controller
...
Updated the logic to ensure media files are deleted from the filesystem alongside database entries when exceeding the maximum allowed items and enabled overwrite. Replaced IDs with file paths for proper file deletion.
2025-01-09 15:58:35 +01:00
dswbx
d182640981
Add Media.Dropzone and Media.Preview as isolated elements
...
Introduce `Media.*` to modularize and customize file upload handling. Refactor media-related components to improve usability, add max item limits, overwrite support, and event callbacks.
2025-01-09 15:43:43 +01:00
dswbx
138a3579cb
Update test expectations and fix test utility usage
...
Replaced `console.log` with `expect` in crypto tests for proper validation. Wrapped a test case with `withDisabledConsole` to suppress expected log output. Fixed typo in data test field configuration (`max_length` to `maxLength`).
2025-01-09 11:23:23 +01:00
dswbx
99df7f1402
Handle missing app context in permission middleware to prevent errors.
2025-01-09 11:06:40 +01:00
dswbx
47f48be514
Refactor module middleware initialization logic.
...
Replaced `getMiddleware` with `onServerInit` for streamlined middleware registration. Updated `AppAuth` to automatically register its authentication middleware. Added a test case to verify middleware registration. Removed redundant cookie renewal logic from `AdminController` and made related adjustments across modules.
2025-01-09 10:59:48 +01:00
dswbx
5c7bfeab8f
Refactor authentication components for modularity
...
Replaced `LoginForm` with a more extensible `AuthForm` and `AuthScreen`, enabling support for multiple auth strategies (e.g., OAuth) and improved reusability. Updated imports, routes, and configurations accordingly.
2025-01-09 10:20:28 +01:00
dswbx
7f337e25bb
optimized vite adapter with better defaults
2025-01-08 17:10:00 +01:00
dswbx
fcab042e88
replaced hook form with json schema from
2025-01-08 17:03:50 +01:00
dswbx
aa86d54553
clean up data controller
2025-01-08 10:16:41 +01:00
dswbx
6026613d29
feat: allow data query to have single string as sort
2025-01-07 18:08:50 +01:00
dswbx
7d3d1e811f
refactor: extracted auth as middleware to be added manually to endpoints
2025-01-07 13:32:50 +01:00
dswbx
9f2c20ccee
refactor: remove cjs from build to reduce package size
2025-01-07 08:55:25 +01:00
dswbx
064bbba8aa
doc: nextjs swap edge
2025-01-07 07:42:49 +01:00
dswbx
d1aa05a9bb
chores: repo update
2025-01-07 07:05:45 +01:00
dswbx
ab46611839
app auth: fix missing email when creating user on seeding
2024-12-24 16:16:45 +01:00
dswbx
24226382e8
Merge pull request #33 from bknd-io/release/0.4.0
...
Release 0.4.0
2024-12-24 16:11:26 +01:00
dswbx
d04c4a6191
bump to 0.4.0
2024-12-24 16:10:55 +01:00
dswbx
06125f1afe
added fallback route to server, created extensive setup instructions in docs
2024-12-24 16:01:42 +01:00
dswbx
8ef11aa382
Merge pull request #34 from bknd-io/refactor/adapter-options
...
Refactor: Unified framework and runtime adapters
2024-12-24 09:45:03 +01:00
dswbx
76da14294c
unified runtime and framework adapters
2024-12-24 09:43:16 +01:00
dswbx
c1e92e503b
update & fix typing, updated examples
2024-12-23 19:28:31 +01:00
dswbx
70e42a02d7
updated examples: astro, nextjs, remix, bun, node
2024-12-23 16:50:26 +01:00
dswbx
a17fd2df67
Merge pull request #32 from bknd-io/feat/optimize-seeding
...
Feat: optimize seeding, adding api typing support
2024-12-23 11:45:15 +01:00
dswbx
0648f71a9e
Merge pull request #27 from bknd-io/feat/optimize-cf-adapter
...
improved cloudflare worker adapter
2024-12-23 11:44:52 +01:00
dswbx
131b7dd52e
Merge pull request #25 from bknd-io/feat/node-media-local
...
Feat: Node media local
2024-12-23 11:44:40 +01:00
dswbx
3a79ce2cf8
added a new mutate replacement for useEntityMutate to quickly update cache without revalidating
2024-12-21 15:03:14 +01:00
dswbx
deddf00c38
added pausing to event manager, added context aware entity schemas, fixed typings, first boot event, improved useEntityQuery mutation behavior
2024-12-20 20:11:49 +01:00
dswbx
a7e3ce878a
added chainable functions in em()
2024-12-19 16:12:30 +01:00
dswbx
d7ee13011f
isolated constructor functions for entities and relations from config
2024-12-19 08:16:47 +01:00
dswbx
1d1ebff64d
Merge remote-tracking branch 'origin/main' into feat/optimize-seeding
2024-12-19 07:59:51 +01:00
dswbx
ac2ae2657e
Merge pull request #31 from bknd-io/feat/optimize-api-and-replace-react-query
...
optimize client-side api & hooks
2024-12-19 07:59:16 +01:00
dswbx
8e987d58f2
to em() toJSON to match expected type
2024-12-19 07:58:41 +01:00
dswbx
386c0d3ff0
added new em() shorthand for prototyping, added insertMany mutator function for seeding
2024-12-19 07:38:40 +01:00
dswbx
602235b372
optimized module manager seeding, added type support for new api hooks and reduced amount of dist chunks
2024-12-18 18:22:01 +01:00
dswbx
c4138ef823
updated plasmic package to work with new hooks + added example
2024-12-18 08:41:11 +01:00
dswbx
1631bbb754
replaced all react-query usages with new hooks + removed react-query
2024-12-13 17:36:09 +01:00
dswbx
8c91dff94d
updated admin to use swr hooks instead of react-query
2024-12-13 16:24:55 +01:00
dswbx
50c5adce0c
added useEntity and useEntityQuery hooks
2024-12-12 17:00:10 +01:00
dswbx
9d9aa7b7a5
added useApi and useApiQuery to work seamlessly with SWR (tbc)
2024-12-12 10:37:52 +01:00
dswbx
43ec075a32
reworked api to return a custom promise to extract request info
2024-12-12 10:01:05 +01:00
dswbx
29ae6c6f9d
hotfix release 0.3.3
2024-12-11 18:49:57 +01:00
dswbx
bd86f8ef91
Merge pull request #30 from bknd-io/fix/admin-ui-fixes-3
...
admin ui: fixing condition where entity has been created with empty label
2024-12-11 18:49:22 +01:00
dswbx
25027429df
fixing condition where entity has been created with empty label
2024-12-11 18:48:57 +01:00
dswbx
35959aaf6d
hotfix release 3.0.2
2024-12-11 18:38:53 +01:00
dswbx
56fb779f99
Merge pull request #29 from bknd-io/fix/admin-ui-fixes-2
...
admin ui: fix initial entity state in create modal
2024-12-11 18:37:46 +01:00
dswbx
134fbd6d34
admin ui: fix initial entity state in create modal
2024-12-11 18:36:42 +01:00
dswbx
d2c75b1605
Merge pull request #26 from bknd-io/fix/mm-sync
...
fix: only sync config table once certain it has to happen
2024-12-11 18:29:22 +01:00
dswbx
a474e3fe3a
Merge pull request #28 from bknd-io/fix/admin-ui-fixes
...
Admin UI fixes
2024-12-11 18:29:05 +01:00
dswbx
d81b3acb94
mm: disable console as it might error trying to fetch config
2024-12-11 18:25:31 +01:00
dswbx
2ca66f4fc9
admin ui: fix "enter" on create new modal (inside fields)
2024-12-11 17:46:15 +01:00
dswbx
a8bbb6e760
admin ui: fix data erd layout
2024-12-11 17:30:33 +01:00
dswbx
32459a1562
improved cloudflare worker adapter + added docs about different modes
2024-12-11 17:09:28 +01:00
dswbx
2395d7fe97
fix: only sync config table once certain it has to happen
2024-12-11 15:51:00 +01:00
dswbx
b7ec4982dc
cli: automatically register local adapter
2024-12-10 15:50:41 +01:00
dswbx
10d606f8e9
docs: added docker instructions
2024-12-10 09:57:05 +01:00
dswbx
5cca911e9d
Merge remote-tracking branch 'origin/main' into feat/node-media-local
2024-12-10 08:53:09 +01:00
dswbx
13a88be8d1
Merge pull request #23 from bknd-io/release/0.2.3
...
Release 0.3
2024-12-10 08:52:20 +01:00
dswbx
a5264e22ee
bump version 0.3.0
2024-12-10 08:51:54 +01:00
dswbx
290498de6e
refactor registries to make registration more convenient
2024-12-10 08:47:23 +01:00
dswbx
847b08b505
fix createApp() fn doesn't require config, fix admin controller main entry
2024-12-10 08:44:50 +01:00
dswbx
86a7bee3d9
fix prototype tests
2024-12-07 19:35:34 +01:00
dswbx
3932396084
fixing imports and ssr support + updated remix/nextjs/astro examples
2024-12-07 19:31:12 +01:00
dswbx
94cc4042d3
small refactorings and cleanups, improved bun/node adapter, updated docs
2024-12-07 18:55:02 +01:00
dswbx
154703f873
added treeshake option to build + finalized package json (for now)
2024-12-07 17:19:27 +01:00
dswbx
71dbfc5469
moved main pkg back to deps to reduce tarball size + removed zod + cleanup old code + fixed tests
2024-12-07 10:11:26 +01:00
dswbx
e5924b33e5
exclude metafiles in npm package to reduce tarball size
2024-12-07 09:46:30 +01:00
dswbx
c25abd4a48
Merge remote-tracking branch 'origin/refactor/admin-basepath' into release/0.2.3
2024-12-07 09:30:32 +01:00
dswbx
7c58f20cca
Merge remote-tracking branch 'origin/refactor/ext-deps' into release/0.2.3
2024-12-07 09:30:06 +01:00
dswbx
ef18d8d955
Merge remote-tracking branch 'origin/misc/docker' into release/0.2.3
2024-12-07 09:29:48 +01:00
dswbx
c7c6aa7df8
Merge remote-tracking branch 'origin/refactor/module-manager' into release/0.2.3
2024-12-07 09:29:31 +01:00
dswbx
060af0a1e3
fix react peer dependency version constraint (to prevent ERESOLVE warns)
2024-12-07 09:03:31 +01:00
dswbx
44a427de67
moved almost all deps to dev to speed up installs, updated nextjs docs
2024-12-07 08:48:48 +01:00
dswbx
aa75355a69
use admin routes registering basepath from registration method instead of configuration
...
Signed-off-by: dswbx <dennis.senn@gmx.ch >
2024-12-07 06:34:40 +01:00
dswbx
110c7681b7
externalize libsql dependency to let installing env install the correct dep
...
Signed-off-by: dswbx <dennis.senn@gmx.ch >
2024-12-07 06:29:29 +01:00
dswbx
ba517feab5
fix typings for initial partial config
...
Signed-off-by: dswbx <dennis.senn@gmx.ch >
2024-12-05 20:48:49 +01:00
dswbx
7e990feb99
added new diffing method to module manager
...
Signed-off-by: dswbx <dennis.senn@gmx.ch >
2024-12-05 20:23:51 +01:00
dswbx
77a6b6e7f5
fix repository's findOne to allow offset and sort – fixes module manager's config retrieval
2024-12-05 10:37:05 +01:00
dswbx
a3348122e6
module manager: use json schema field for additional validation
2024-12-05 09:50:25 +01:00
dswbx
3757157a06
module manager: switched config table to use entity
2024-12-05 09:23:34 +01:00
dswbx
6c2f7b32e5
module manager: allow initial config without config as fallback
2024-12-05 08:12:46 +01:00
dswbx
067213ff60
docs: updated astro to add external example + added hint for astro db issues on v5
2024-12-04 15:54:33 +01:00
dswbx
a4079804c2
release 0.2.2
2024-12-04 14:49:55 +01:00
dswbx
2bd4b720bb
Merge pull request #18 from bknd-io/17-cannot-find-module-node_moduleslodash-esget
...
fix: lodash-es/* imports causing crash on astro
2024-12-04 14:49:19 +01:00
dswbx
f3619bee26
fix lodash-es/* imports causing crash on astro
2024-12-04 14:47:52 +01:00
dswbx
c54455870c
fix: docs logo
2024-12-03 19:34:14 +01:00
dswbx
20477a655e
update docs to navigate to web on logo click
2024-12-03 19:30:16 +01:00
dswbx
1497470d33
bump version for patch release 0.2.1
2024-12-03 17:21:06 +01:00
dswbx
abe38fe69d
Merge pull request #12 from bknd-io/chores/remove-deps
...
Remove unusued deps and fixing auth tests
2024-12-03 17:18:18 +01:00
dswbx
665c41f051
Merge pull request #16 from bknd-io/chores/export-data-prototype
...
export data prototype
2024-12-03 17:17:53 +01:00
dswbx
0184f47a41
added prototype to the list of exports from "bknd/data"
2024-12-03 17:15:53 +01:00
dswbx
5374afc9c8
remove the quick theme switcher if admin settings are overridden
2024-12-03 17:09:27 +01:00
dswbx
d6978f9873
fix auth tests
2024-12-03 09:16:00 +01:00
dswbx
3c5bd95988
removed unused deps
2024-12-03 09:15:39 +01:00
dswbx
b3e02394ac
added an initial docker image
2024-12-03 08:51:30 +01:00
dswbx
91470d530f
bump version for release 0.2.0
2024-12-01 09:02:32 +01:00
dswbx
0c8f3cd22a
Merge pull request #9 from bknd-io/feat/astro-adapter-2
...
improved astro adapter (serving api) + added documentation
2024-12-01 09:00:40 +01:00