* fix(widget-secrets): add missing widget_secret migration and add error notifications
The widget_secret table was defined in all three Drizzle schema files but
no SQL migration was ever generated to create it, causing setSecret to
fail with 'no such table: widget_secret' in production (drizzle-kit push
in development hid the problem).
- Add migration SQL for sqlite (0040), mysql (0042), postgresql (0008)
- Update journal entries for all three dialects
- Add onError handlers to setSecret/deleteSecret mutations so errors
are shown as red notifications instead of silently swallowed
Fixes#6186
* fix(widget-secrets): add missing drizzle snapshots for merge-url and widget_secret migrations
The merge_custom_widget_url migration (0039/0041/0007) was committed
without a corresponding snapshot, breaking drizzle-kit generate for
all future migrations. This adds:
- 0039/0041/0007 snapshots reflecting the merge-url changes
(base_url+endpoint -> url, add enabled column)
- 0040/0042/0008 snapshots reflecting the widget_secret table
All snapshot chains now match journal entries (41/43/9 entries each).
* feat(board): add mobile home board
* fix: add missing translations
* fix: mysql key reference with other datatype
* fix: format issue
* fix: missing trpc context arguments in tests
* fix: missing trpc context arguments in tests
* feat: add media management
* feat: add missing page search item
* fix: medias should be hidden for anonymous users
* chore: rename show-all to include-from-all-users
* fix: inconsistent table column for creator-id of media
* fix: schema check not working because of custom type for blob in mysql
* chore: temporarily remove migrations
* chore: readd removed migrations
* feat: add everyone group through seed
* feat: add reserved group name check in group router actions
* feat: improve user interface for everyone group
* fix: reserved group alert is a server component
* feat: add all users to everyone group
* chore: update lockfile
* fix: format issues
* fix: lint issues
* fix: lint format issues
* test: add unit tests for everyone group
* refactor: add codegen for documentation urls by sitemap
* refactor: change group query to count
* chore: remove migrations temporarily
* chore: add migrations again
* chore: add lint rule to prevent usage of raw documentation links
* fix: format issues
* feat: add first day of week user setting
* fix: add missing migrations
* fix: format and test issues
* fix: deepsource issue
* refactor: rename first-day-of-week procedure
* fix: mysql migration not working
* test: add system integration test for mysql migration
* fix: format issues
* fix: deepsource issues
* chore: address bad name for mysql migration test
* chore: add parent_section_id and change position to x and y_offset for sqlite section table
* chore: rename existing positions to x_offset and y_offset
* chore: add related mysql migration
* chore: add missing height and width to section table
* fix: missing width and height in migration copy script
* fix: typecheck issues
* fix: test not working caused by unsimilar schemas
* wip: add dynamic section
* refactor: improve structure of gridstack sections
* feat: add rendering of dynamic sections
* feat: add saving of moved sections
* wip: add static row count, restrict min-width and height
* chore: address pull request feedback
* fix: format issues
* fix: size calculation within dynamic sections
* fix: on resize not called when min width or height is reached
* fix: size of items while dragging is to big
* chore: temporarly remove migration files
* chore: readd migrations
* fix: format and deepsource issues
* chore: remove db_dev.sqlite file
* chore: add *.sqlite to .gitignore
* chore: address pull request feedback
* feat: add dynamic section actions for adding and removing them
* wip: add provider field to sqlite user table
* feat: disable invites when credentials provider is not used
* wip: add migration for provider field in user table with sqlite
* wip: remove fields that can not be modified by non credential users
* wip: make username, mail and avatar disabled instead of hidden
* wip: external users membership of group cannot be managed manually
* feat: add alerts to inform about disabled fields and managing group members
* wip: add mysql migration for provider on user table
* chore: fix format issues
* chore: address pull request feedback
* fix: build issue
* fix: deepsource issues
* fix: tests not working
* feat: restrict login to specific auth providers
* chore: address pull request feedback
* fix: deepsource issue
* feat: add integration access settings
* fix: typecheck and test issues
* fix: test timeout
* chore: address pull request feedback
* chore: add throw if action forbidden for integration permissions
* fix: unable to create new migrations because of duplicate prevId in sqlite snapshots
* chore: add sqlite migration for integration permissions
* test: add unit tests for integration access
* test: add permission checks to integration router tests
* test: add unit test for integration permissions
* chore: add mysql migration
* fix: format issues
* feat: add custom css for board and custom classes in advanced options for items
* chore: add mysql migration
* fix: test not working
* fix: format issues
* fix: typecheck issue
* fix: build issue
* chore: add missing translations
* fix: merge issues related to migrations
* fix: format issues
* fix: merge issue with migration
* fix: format issue
* fix: cache is not exportet from react
* fix: format issue
* wip: add usage of group permissions
* feat: show inherited groups and add manage group
* refactor: improve board access management
* chore: address pull request feedback
* fix: type issues
* fix: migrations
* test: add unit tests for board permissions, permissions and board router
* test: add unit tests for board router and get current user permissions method
* fix: format issues
* fix: deepsource issue
* feat: add user groups
* wip: add unit tests
* wip: add more tests and normalized name for creation and update
* test: add unit tests for group router
* fix: type issues, missing mysql schema, rename column creator_id to owner_id
* fix: lint and format issues
* fix: deepsource issues
* fix: forgot to add log message
* fix: build not working
* chore: address pull request feedback
* feat: add mysql migration and fix merge conflicts
* fix: format issue and test issue