Commit Graph

34 Commits

Author SHA1 Message Date
dswbx
aa7eac258b adapter(cloudflare): add supports for the new assets feature 2025-01-25 13:40:28 +01:00
dswbx
7dd42fbff3 fixed schema updates to fail in nextjs envs due to lodash's merge 2025-01-23 08:34:11 +01:00
dswbx
145b47e942 minimal popper implementation for context menu placement 2025-01-18 09:59:10 +01:00
dswbx
a6fd9f0d96 fix system entity registration by re-applying configs to modules 2025-01-17 15:46:05 +01:00
dswbx
c6cbd36231 fix RepoQuery typings 2025-01-16 16:21:32 +01:00
dswbx
6c9707d12c refactored mutator to listen for returned data from event listeners 2025-01-16 10:10:47 +01:00
dswbx
438e36f185 refactor event listener registration
unified listener creation logic under `createEventListener`, adding support for a flexible `RegisterListenerConfig`. Updated associated tests and improved error handling for unregistered events.
2025-01-15 17:46:41 +01:00
dswbx
6625c9bc48 Refactor event system to support returnable events
Added support for validating and managing return values in events. Implemented `validate` and `clone` methods in the event base class for event mutation and return handling. Additionally, enhanced error handling, introduced "once" listeners, and improved async execution management in the `EventManager`.
2025-01-15 17:21:28 +01:00
dswbx
6855e6f7e9 using vite for static bundling to solve external package's react resolution 2025-01-14 07:51:14 +01:00
dswbx
b1a32f3705 added nextjs detection and added exception for auth redirection to also work inside stackblitz 2025-01-11 16:23:20 +01:00
dswbx
bd4bc14282 reworked authentication and permission handling 2025-01-11 15:27:58 +01:00
dswbx
5823c2d245 fixed auth tests 2025-01-11 11:35:11 +01:00
dswbx
3bf92a8c65 Refactor asset handling and authentication logic (for node)
Updated asset path configuration and server-side logic to standardize asset serving. Introduced `shouldSkipAuth` to bypass authentication for asset requests. Added test coverage for the new asset path handling logic.
2025-01-10 20:58:03 +01:00
dswbx
bb756548a6 Fix entity referencing issue during post-seeded relational fetch 2025-01-10 17:28:43 +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
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
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
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
d81b3acb94 mm: disable console as it might error trying to fetch config 2024-12-11 18:25:31 +01:00
dswbx
32459a1562 improved cloudflare worker adapter + added docs about different modes 2024-12-11 17:09:28 +01:00
dswbx
b7ec4982dc cli: automatically register local adapter 2024-12-10 15:50:41 +01:00
dswbx
290498de6e refactor registries to make registration more convenient 2024-12-10 08:47:23 +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
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
3757157a06 module manager: switched config table to use entity 2024-12-05 09:23:34 +01:00
dswbx
d36c4b07e0 verified cloudflare workers + added configs where to navigate after login/logout 2024-11-26 13:26:11 +01:00
dswbx
824ff40133 reworked admin auth to use form and cookie + adjusted oauth to support API and cookie-based auth 2024-11-23 18:12:19 +01:00
dswbx
6077f0e64f added onBeforeUpdate listener + auto create a secret on auth enable 2024-11-21 16:24:33 +01:00
dswbx
4fd315da98 fix enum field causing issues when created in modal + changed data empty button text/target 2024-11-18 16:42:27 +01:00
dswbx
90f80c4280 public commit 2024-11-16 12:01:47 +01:00