dswbx
90f93caff4
refactor: enhance permission handling and introduce new Permission and Policy classes
...
- Updated the `Guard` class to improve permission checking by utilizing the new `Permission` class.
- Refactored tests in `authorize.spec.ts` to use `Permission` instances instead of strings for better type safety.
- Introduced a new `permissions.spec.ts` file to test the functionality of the `Permission` and `Policy` classes.
- Enhanced the `recursivelyReplacePlaceholders` utility function to support various object structures and types.
- Updated middleware and controller files to align with the new permission handling structure.
2025-10-03 20:22:42 +02:00
dswbx
6cea581e42
fix: update database sync warning to clarify behavior in code mode
...
Revised the warning message for database sync requests to indicate that sync requests are ignored in code mode, as system tables may not be fully represented in the provided configuration.
2025-09-29 17:28:43 +02:00
dswbx
1128ac500d
feat: add code-only tests and enhance CLI sync command with seeding option
...
Introduced a new test suite for code-only applications, validating app creation, database sync behavior, and seeding functionality. Enhanced the CLI sync command to include a seeding option, allowing for explicit seeding during database synchronization. Added error handling for unresolved config files in the run command.
2025-09-24 16:23:16 +02:00
dswbx
832eb6ac31
feat: add migration to version 10 and update tests
...
introduced a new config migration to version 10, updated related tests to validate migration.
2025-09-24 09:58:22 +02:00
dswbx
49aee37199
feat: lazy load mcp server
2025-09-23 13:46:39 +02:00
dswbx
54eee8cd34
feat: add schema marking and validation skip mechanism
2025-09-23 13:43:37 +02:00
dswbx
50e9be833b
chore: updated cf deps, improved vite dev
2025-09-20 13:59:41 +02:00
dswbx
17d4adbbfa
chore: bump version to 0.18.0-rc.4 and enhance test logging
...
Updated the package version to 0.18.0-rc.4. Improved test logging by disabling console output during tests to reduce noise and enhance readability. Adjusted various test files to implement console log management, ensuring cleaner test outputs.
2025-09-19 20:41:35 +02:00
dswbx
8c4a8d91a2
fix: secret handling and relation naming logic
...
Implemented improved handling for secrets in `DbModuleManager`, allowing secret merging and building before saving. Enhanced `ManyToManyRelation` naming to produce valid identifiers and ensured better testing coverage for both changes.
2025-09-18 09:47:47 +02:00
dswbx
a0b2dde034
fix: improve asset handling, logging, and ui conditions
...
Refactored asset handling to support multiple CSS entries and fixed context handling in authenticator when executed through mcp. Adjusted UI readonly conditions.
2025-09-16 16:04:09 +02:00
dswbx
70eaa22327
Merge remote-tracking branch 'origin/main' into release/0.18
...
# Conflicts:
# app/package.json
2025-09-15 16:29:15 +02:00
dswbx
a7f6d45ca9
fix raw node execution by making sure import attributes stick on builds
2025-09-14 13:43:45 +02:00
dswbx
3c5e3f9638
manager: fix secrets extraction for both modes
2025-09-05 14:14:12 +02:00
dswbx
bdcc81b2f1
improved module manager's secrets extraction, updated plugins
2025-09-05 13:31:20 +02:00
dswbx
d01058595f
update system info result, fix cloudflare export
2025-09-04 20:42:19 +02:00
dswbx
e8f2c70279
mm: added secrets extraction for db mode
2025-09-04 15:20:12 +02:00
dswbx
2c5371610b
fix types, refactor db manager to db
2025-09-04 13:00:27 +02:00
dswbx
758a89b5d7
fix tests: replace initialConfig with config
2025-09-04 10:44:14 +02:00
dswbx
e3888537f9
init code-first mode by splitting module manager
2025-09-04 09:21:35 +02:00
dswbx
bf521e2931
cloudflare: fixing multiple instances competing with configuration state by always serving fresh
2025-09-03 07:54:40 +02:00
dswbx
24eefa5357
mcp: added path config, register at /api path by default to work with frameworks
2025-08-30 14:06:13 +02:00
dswbx
09fdde1c5b
fix mcp auth, styling fixes
2025-08-30 13:31:48 +02:00
dswbx
fb0dbb9a51
fix system mcp notification console
2025-08-30 11:19:26 +02:00
dswbx
bc1ab0f6d3
mcp: sorting tools, fixed cloudflare example, fixed some styling
2025-08-20 18:26:48 +02:00
dswbx
deb8aacca4
added mcp ui as tool
2025-08-15 10:12:09 +02:00
dswbx
9ac5fa03c6
optimized performance
2025-08-14 10:05:15 +02:00
dswbx
70f0240da5
mcp: added auth tests, updated data tests
2025-08-12 22:13:09 +02:00
dswbx
a6ed74d904
added mcp tests for media
2025-08-12 20:57:13 +02:00
dswbx
bd3d2ea900
added data mcp tests
2025-08-12 20:22:38 +02:00
dswbx
871cec9251
Merge remote-tracking branch 'origin/release/0.17' into feat/mcp
...
# Conflicts:
# app/src/data/AppData.ts
# app/src/data/server/query.ts
# examples/cloudflare-worker/src/index.ts
2025-08-12 16:17:26 +02:00
dswbx
97d6af3792
cleaned up left over bknd/utils imports ( #235 )
2025-08-12 16:12:10 +02:00
dswbx
f40ea0ec5b
init mcp data tests, added crud for $record
2025-08-12 12:55:14 +02:00
dswbx
2e145bbf95
init mcp tools test
2025-08-12 08:51:32 +02:00
dswbx
822e6fd644
fix tools when auth is disabled + log notifications to console
2025-08-09 15:07:20 +02:00
dswbx
cb873381f1
auto generated tools docs, added stdio transport, added additional mcp config and permissions
2025-08-09 14:14:51 +02:00
dswbx
170ea2c45b
added additional permissions, implemented mcp authentication
2025-08-07 15:20:29 +02:00
dswbx
42db5f55c7
added authentication, $schema, fixed media adapter mcp
2025-08-07 11:33:46 +02:00
dswbx
1b02feca93
added mcp tools from routes
2025-08-07 08:36:12 +02:00
dswbx
3e2938f77d
added initial $record
2025-08-05 13:20:00 +02:00
dswbx
5e5f0ef70f
fixing jsonv-ts imports
2025-08-02 16:47:24 +02:00
dswbx
ffbb61d58a
initialized mcp support
2025-08-02 16:33:05 +02:00
dswbx
a298b65abf
Release 0.16 ( #196 )
...
* initial refactor
* fixes
* test secrets extraction
* updated lock
* fix secret schema
* updated schemas, fixed tests, skipping flow tests for now
* added validator for rjsf, hook form via standard schema
* removed @sinclair/typebox
* remove unneeded vite dep
* fix jsonv literal on Field.tsx
* fix schema import path
* fix schema modals
* fix schema modals
* fix json field form, replaced auth form
* initial waku
* finalize waku example
* fix jsonv-ts version
* fix schema updates with falsy values
* fix media api to respect options' init, improve types
* checking media controller test
* checking media controller test
* checking media controller test
* clean up mediacontroller test
* added cookie option `partitioned`, as well as cors `origin` to be array, option to enable `credentials` (#214 )
* added cookie option `partitioned`, as well as cors `origin` to be array, option to enable `credentials`
* fix server test
* fix data api (updated jsonv-ts)
* enhance cloudflare image optimization plugin with new options and explain endpoint (#215 )
* feat: add ability to serve static by using dynamic imports (#197 )
* feat: add ability to serve static by using dynamic imports
* serveStaticViaImport: make manifest optional
* serveStaticViaImport: add error log
* refactor/imports (#217 )
* refactored core and core/utils imports
* refactored core and core/utils imports
* refactored media imports
* refactored auth imports
* refactored data imports
* updated package json exports, fixed mm config
* fix tests
* feat/deno (#219 )
* update bun version
* fix module manager's em reference
* add basic deno example
* finalize
* docs: fumadocs migration (#185 )
* feat(docs): initialize documentation structure with Fumadocs
* feat(docs): remove home route and move /docs route to /route
* feat(docs): add redirect to /start page
* feat(docs): migrate Getting Started chapters
* feat(docs): migrate Usage and Extending chapters
* feat(callout): add CalloutCaution, CalloutDanger, CalloutInfo, and CalloutPositive
* feat(layout): add Discord and GitHub links to documentation layout
* feat(docs): add integration chapters draft
* feat(docs): add modules chapters draft
* refactor(mdx-components): remove unused Icon import
* refactor(StackBlitz): enhance type safety by using unknown instead of any
* refactor(layout): update navigation mode to 'top' in layout configuration
* feat(docs): add @iconify/react package
* docs(mdx-components): add Icon component to MDX components list
* feat(docs): update Next.js integration guide
* feat(docs): update React Router integration guide
* feat(docs): update Astro integration guide
* feat(docs): update Vite integration guide
* fix(docs): update package manager initialization commands
* feat(docs): migrate Modules chapters
* chore(docs): update package.json with new devDependencies
* feat(docs): migrate Integration Runtimes chapters
* feat(docs): update Database usage chapter
* feat(docs): restructure documentation paths
* chore(docs): clean up unused imports and files in documentation
* style(layout): revert navigation mode to previous state
* fix(docs): routing for documentation structure
* feat(openapi): add API documentation generation from OpenAPI schema
* feat(docs): add icons to documentation pages
* chore(dependencies): remove unused content-collections packages
* fix(types): fix type error for attachFile in source.ts
* feat(redirects): update root redirect destination to '/start'
* feat(search): add static search functionality
* chore(dependencies): update fumadocs-core and fumadocs-ui to latest versions
* feat(search): add Powered by Orama link
* feat(generate-openapi): add error handling for missing OpenAPI schema
* feat(scripts): add OpenAPI generation to build process
* feat(config): enable dynamic redirects and rewrites in development mode
* feat(layout): add GitHub token support for improved API rate limits
* feat(redirects): add 301 redirects for cloudflare pages
* feat(docs): add Vercel redirects configuration
* feat(config): enable standalone output for development environment
* chore(layout): adjust layout settings
* refactor(package): clean up ajv dependency versions
* feat(docs): add twoslash support
* refactor(layout): update DocsLayout import and navigation configuration
* chore(layout): clean up layout.tsx by commenting out GithubInfo
* fix(Search): add locale to search initialization
* chore(package): update fumadocs and orama to latest versions
* docs: add menu items descriptions
* feat(layout): add GitHub URL to the layout component
* feat(docs): add AutoTypeTable component to MDX components
* feat(app): implement AutoTypeTable rendering for AppEvents type
* docs(layout): switch callouts back to default components
* fix(config): use __filename and __dirname for module paths
* docs: add note about node.js 22 requirement
* feat(styles): add custom color variables for light and dark themes
* docs: add S3 setup instructions for media module
* docs: fix typos and indentation in media module docs
* docs: add local media adapter example for Node.js
* docs(media): add S3/R2 URL format examples and fix typo
* docs: add cross-links to initial config and seeding sections
* indent numbered lists content, clarified media serve locations
* fix mediacontroller tests
* feat(layout): add AnimatedGridPattern component for dynamic background
* style(layout): configure fancy ToC style ('clerk')
* fix(AnimatedGridPattern): correct strokeDasharray type
* docs: actualize docs
* feat: add favicon
* style(cloudflare): format code examples
* feat(layout): add Github and Discord footer icons
* feat(footer): add SVG social media icons for GitHub and Discord
* docs: adjusted auto type table, added llm functions
* added static deployment to cloudflare workers
* docs: change cf redirects to proxy *.mdx instead of redirecting
---------
Co-authored-by: dswbx <dennis.senn@gmx.ch >
Co-authored-by: cameronapak <cameronandrewpak@gmail.com >
* build: improve build script
* add missing exports, fix EntityTypescript imports
* media: Dropzone: add programmatic upload, additional events, loading state
* schema object: disable extended defaults to allow empty config values
* Feat/new docs deploy (#224 )
* test
* try fixing pm
* try fixing pm
* fix docs on imports, export events correctly
---------
Co-authored-by: Tim Seriakov <59409712+timseriakov@users.noreply.github.com >
Co-authored-by: cameronapak <cameronandrewpak@gmail.com >
2025-08-01 15:55:59 +02:00
dswbx
a5959acb34
fix admin's assetPath for remote static assets
2025-07-03 15:06:21 +02:00
dswbx
22b54862e8
admin: fix theme flash
2025-07-02 18:14:35 +02:00
dswbx
70737c04cd
refactor console imports, added config update event
2025-07-02 14:02:50 +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
8e1ecfcfe3
change app plugins to be a map to prevent duplicates and provide easier access
2025-06-14 07:22:44 +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