dswbx
11a6f5c9b9
hide rerender scanner
2025-02-07 16:12:39 +01:00
dswbx
02e7e1ca95
initially reduced form rerenders
2025-02-06 17:12:43 +01:00
dswbx
0a5cc2ad98
fix bknd theme
2025-02-06 15:00:54 +01:00
dswbx
c2b3316fcb
updated API instantiation, and update user on verify
2025-01-29 14:44:32 +01:00
dswbx
39c419c320
add built state and skip auth cookie if not signed in for local calls
2025-01-25 19:30:03 +01:00
dswbx
2d6d83ccb2
add fetcher option to api to allow local calls
2025-01-25 19:29:36 +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
a20b6b64a9
updated ui/client components, refactored deps
2025-01-18 15:25:12 +01:00
dswbx
db10188945
strengthened schema ensuring for system entities
2025-01-18 12:39:34 +01:00
dswbx
a6fd9f0d96
fix system entity registration by re-applying configs to modules
2025-01-17 15:46:05 +01:00
dswbx
b61634e261
introduced auth strategy actions to allow user creation in UI
2025-01-17 10:19:26 +01:00
dswbx
c7bd0a636b
fix admin redirection on default role matched only
2025-01-14 11:55:24 +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
d8671355a6
exposed bknd middlewares to be used for custom routes
2025-01-11 15:45:32 +01:00
dswbx
bd4bc14282
reworked authentication and permission handling
2025-01-11 15:27:58 +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
87e07570d4
Refactor admin theme handling and optimize initialization.
...
Simplified theme detection logic and improved the loading screen for better performance on slower networks. Adjusted styles, reorganized imports, and removed unnecessary rendering logic in `main.tsx`.
2025-01-10 18:33:12 +01:00
dswbx
c7d983942f
Add loading indicator for admin asset initialization
...
Introduced a "loading" div to indicate when admin assets are being fetched. Updated rendering logic and styles in related components to account for this state. Prepared groundwork for potential view transitions.
2025-01-10 18:04:40 +01:00
dswbx
bb756548a6
Fix entity referencing issue during post-seeded relational fetch
2025-01-10 17:28:43 +01:00
dswbx
e94e8d8bd1
Refactor entity handling to preserve config while overriding type
...
Reworked `ensureEntity` to replace entities while maintaining their configuration and allowing type adjustments. Updated tests to verify type persistence and synchronization of entity properties.
2025-01-10 15:51:47 +01:00
dswbx
a8c20d3675
Refactor module schema handling and add sync mechanism
...
Redesigned entity and index management with methods to streamline schema updates and added a sync flag to signal required DB syncs post-build. Enhanced test coverage and functionality for schema modifications, including support for additional fields.
2025-01-10 14:43:39 +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
7d3d1e811f
refactor: extracted auth as middleware to be added manually to endpoints
2025-01-07 13:32:50 +01:00
dswbx
06125f1afe
added fallback route to server, created extensive setup instructions in docs
2024-12-24 16:01:42 +01:00
dswbx
c1e92e503b
update & fix typing, updated examples
2024-12-23 19:28:31 +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
c4138ef823
updated plasmic package to work with new hooks + added example
2024-12-18 08:41:11 +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
d81b3acb94
mm: disable console as it might error trying to fetch config
2024-12-11 18:25:31 +01:00
dswbx
2395d7fe97
fix: only sync config table once certain it has to happen
2024-12-11 15:51:00 +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
c25abd4a48
Merge remote-tracking branch 'origin/refactor/admin-basepath' into release/0.2.3
2024-12-07 09:30:32 +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
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
c31bc2ccb0
changed build workflow – for auth it's required to have better control over html and assets
2024-11-27 16:19:37 +01:00
dswbx
d36c4b07e0
verified cloudflare workers + added configs where to navigate after login/logout
2024-11-26 13:26:11 +01:00
dswbx
9d896a6ab1
improved nextjs/remix adapters and docs, confirmed remix ssr working
2024-11-26 11:15:38 +01:00
dswbx
eea76ebc28
confirmed SSR support with Remix
2024-11-25 19:59:46 +01:00
dswbx
1c94777317
switched to hono/jwt to save some kb
2024-11-25 17:54:26 +01:00
dswbx
16a6a3315d
added cookie to config + fixed config set endpoint
2024-11-25 16:57:12 +01:00