* modify MediaApi to support custom fetch implementation, defaults to native fetch
added an optional `fetcher` parameter to allow usage of a custom fetch function in both `upload` and `fetcher` methods. Defaults to the standard `fetch` if none is provided.
* fix tests and improve api fetcher types
* reworked auth architecture with improved password handling and claims
Refactored password strategy to prepare supporting bcrypt, improving hashing/encryption flexibility. Updated authentication flow with enhanced user resolution mechanisms, safe JWT generation, and consistent profile handling. Adjusted dependencies to include bcryptjs and updated lock files accordingly.
* fix strategy forms handling, add register route and hidden fields
Refactored strategy forms to include hidden fields for type and name. Added a registration route with necessary adjustments to the admin controller and routes. Corrected field handling within relevant forms and components.
* refactored auth handling to support bcrypt, extracted user pool
* update email regex to allow '+' and '_' characters
* update test stub password for AppAuth spec
* update data exceptions to use HttpStatus constants, adjust logging level in AppUserPool
* rework strategies to extend a base class instead of interface
* added simple bcrypt test
* added permissions support for media module
introduced `MediaPermissions` for fine-grained access control in the media module, updated routes to enforce these permissions, and adjusted permission registration logic.
* fix: handle token absence in getUploadHeaders and add tests for transport modes
ensure getUploadHeaders does not set Authorization header when token is missing. Add unit tests to validate behavior for different token_transport options.
* remove console.log on DropzoneContainer.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix strategy forms handling, add register route and hidden fields
Refactored strategy forms to include hidden fields for type and name. Added a registration route with necessary adjustments to the admin controller and routes. Corrected field handling within relevant forms and components.
* fix admin access permissions and refactor routing structure
display a fixed error for unmet permissions when retrieving the schema. moved auth routes outside of BkndProvider and reorganized remaining routes to include BkndWrapper.
* fix: properly type BkndWrapper
* bump fix release version
* ModuleManager: update diff checking and AppData validation
Revised diff handling includes validation of diffs, reverting changes on failure, and enforcing module constraints with onBeforeUpdate hooks. Introduced `validateDiffs` and backup of stable configs. Applied changes in related modules, tests, and UI layer to align with updated diff logic.
* fix: cli: running from config file were using invalid args
* fix: cli: improve sequence of onBuilt trigger to allow custom routes from cli
* fix e2e tests
* refactored adapters to run test suites
* fix bun version for tests
* added missing adapter tests and refactored examples to use `bknd.config.ts` where applicable
* reorganized storage adapter and added test suites for adapter and fields
* added build command in ci pipeline
* updated workflow to also run node tests
* updated workflow: try with separate tasks
* updated workflow: try with separate tasks
* updated workflow: added tsx as dev dependency
* updated workflow: try with find instead of glob