Commit Graph

68 Commits

Author SHA1 Message Date
Andrew Kingston dc10bbf4c7
Account for JS current user bindings as well as HBS 2024-12-12 08:32:57 +00:00
Andrew Kingston 62e47cc268
Don't sync changes between users for views that are filtered by current user 2024-12-11 15:51:11 +00:00
Sam Rose 84d9f6816c
Enable a variety of useful looking lints. 2024-12-09 12:52:21 +00:00
Sam Rose b98571302a
Fix build. 2024-12-09 10:56:57 +00:00
Sam Rose 84927bbb98
Update to latest eslint, including new config file format. 2024-12-05 18:13:32 +00:00
Andrew Kingston dc7cc49410
Fix multiplayer collab for data 2024-11-01 15:38:18 +00:00
Andrew Kingston a120a9c97a
Add multi user sync for roles 2024-09-16 09:40:52 +01:00
Sam Rose 92957ede23
Merge master. 2024-08-29 12:12:29 +01:00
Adria Navarro 6d8b0881a1 Rename 2024-08-28 12:17:25 +02:00
Sam Rose 86717b536b
Use new feature flag API for SQS. 2024-08-15 14:58:11 +01:00
Adria Navarro ec93ea59c1 Remove // eslint-disable-next-line @typescript-eslint/no-unused-vars 2024-04-17 12:17:03 +02:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
mike12345567 ed0670a008 Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things. 2023-10-26 13:19:09 +01:00
mike12345567 455b26bac9 Making sure the source ID is always set when creating a table - the frontend expects this to be set for every table so making the type represent this correctly. 2023-10-25 19:00:25 +01:00
Sam Rose 007e919d0e
Spring cleaning before review. 2023-10-25 14:53:51 +01:00
Sam Rose 52f97fbd1f
Attempt to emit events that include the originator. 2023-10-25 11:38:31 +01:00
Adria Navarro 9cd7ef7827 Typing redis 2023-09-19 14:32:05 +02:00
Andrew Kingston b5546f8d9b Update server and builder to properly sync changes with tables and views across all users 2023-08-17 16:04:56 +01:00
Andrew Kingston e7c4ebea39 Persist source view ID in ctx when using a view ID in the rows API and support collab in views 2023-08-17 12:07:37 +01:00
Andrew Kingston a6da5fd2bb Update grid socket middleware to support V2 views 2023-08-15 16:55:05 +01:00
Andrew Kingston fdfedfdd92 Fix websocket error 2023-07-31 11:21:11 +01:00
Michael Drury 54bbe9e584 Merge pull request #11254 from Budibase/fix/mongodb-version-upgrade
Upgrade MongoDB version and quick fix for multi-tenancy mode without account portal
2023-07-18 11:33:15 +01:00
Andrew Kingston d3ab2a31d0 Merge pull request #11186 from Budibase/app-list-improvements
Show all users editing an app in the app list
2023-07-18 08:12:50 +01:00
mike12345567 d5a03bf5e3 Making sure tenant ID is always available to the builder websocket. 2023-07-17 18:03:09 +01:00
mike12345567 eebd9d2d7c Upgrading to latest version of MongoDB to attempt to solve the memory leak, as well as some minor changes to websocket integration to get the development environment to work without the account portal when running in multi-tenancy mode. 2023-07-17 17:52:39 +01:00
Andrew Kingston b335e492d7 Show all users editing an app in the app list 2023-07-10 17:42:27 +01:00
Dean db501fb10a Enabled collaboration behaviour in the automation section 2023-07-10 09:30:15 +01:00
Andrew Kingston aedd04b98a Fix issue with location of socket metadata 2023-07-05 09:02:10 +01:00
Andrew Kingston 99bf0ca03b Sync publish and unpublish events between all users 2023-07-04 13:18:38 +01:00
Andrew Kingston 7be2d6896e Add indicators to show selected state in data section 2023-07-04 08:58:14 +01:00
Andrew Kingston 4725faf8b5 Update websocket user metadata structures 2023-07-03 11:23:08 +01:00
Andrew Kingston d80cca9a11 Allow all users into the design section, enable multi dev collab on screens, improve routing 2023-07-03 11:14:07 +01:00
Andrew Kingston fe5d5ce075 Update tracking of collaboration events to only count unique users, and maybe fire in cloud envs 2023-06-30 15:55:28 +01:00
Andrew Kingston ee74900abb Update comments 2023-06-27 17:45:24 +01:00
Andrew Kingston f0c8cb82b2 Remove unused tenantId 2023-06-27 17:43:52 +01:00
Andrew Kingston cfdd6bafb7 Rewrite how middlewares are ran inside sockets, and fix collaboration 2023-06-27 11:33:23 +01:00
Andrew Kingston 1403ee59ce Use app ID as part of room key for grid websocket to fix issues with dev/prod tables having the same table ID but being different tables 2023-06-21 08:51:43 +01:00
Andrew Kingston 3f20a3a439 Enable collaboration for public users and fix collaboration for non-devs 2023-06-21 08:33:58 +01:00
Andrew Kingston d70e49d74f Add event for tracking user collaboration 2023-06-06 10:11:51 +01:00
Andrew Kingston 4a0e23a171 Transfer lock to next oldest session when disconnecting from the builder 2023-06-05 13:54:17 +01:00
Andrew Kingston f7e21c3348 Remove log from websocket heartbeat 2023-06-05 11:55:45 +01:00
Andrew Kingston d8d3d71523 Update websocket logic to ignore events trigger by API requests originating from the same session 2023-06-01 17:14:32 +01:00
Michael Drury a3f9759a47 Reverting ioredis-mock removal for test cases - will come back to this in future as it currently breaks pro tests. 2023-06-01 00:02:55 +01:00
mike12345567 16e929bd81 Removing checks around websockets as redis properly available in testing now. 2023-05-31 18:09:15 +01:00
mike12345567 969ee52c29 Fixing merge conflict. 2023-05-31 18:08:29 +01:00
mike12345567 fba3ec987e Merge branch 'develop' of github.com:Budibase/budibase into fix/datasource-info-endpoint 2023-05-31 17:37:17 +01:00
mike12345567 249625ad1a Updating backend tests to actually utilise the redis container which is spun up as part of the tests, doing away with the somewhat problematic ioredis-mock which was breaking some tests due to the addition of the changes for multi-dev collab. 2023-05-31 17:18:01 +01:00
Andrew Kingston 680e609b52 Remove plural forms of enums and use TS enum rather than JS const 2023-05-31 17:03:14 +01:00