Commit Graph

5004 Commits

Author SHA1 Message Date
Andrew Kingston aef9ff06af Disable component validation for old app imports 2023-07-27 16:09:38 +01:00
mike12345567 ba9a3a6caf Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-27 11:13:04 +01:00
mike12345567 c2793ede4c Properly supporting the new global builder permission type to deny access to app creation. 2023-07-26 17:48:35 +01:00
mike12345567 64a5426d36 Updates to remove app builder concept, denying access to app creation for app builders. 2023-07-26 17:32:21 +01:00
Adria Navarro f02dee7806 Merge branch 'develop' into BUDI-7189/type_patching 2023-07-26 16:58:02 +01:00
Adria Navarro 2457bf1b37 Extract external getrow to sdk 2023-07-26 16:03:14 +02:00
mike12345567 62ace8a3ab Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-26 14:42:05 +01:00
mike12345567 8253ad0a2e Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-26 14:24:29 +01:00
Adria Navarro 508e30edae Fix sdk refs 2023-07-26 14:54:59 +02:00
Adria Navarro b0af0a287e Remove view tests 2023-07-26 14:53:51 +02:00
Adria Navarro 11f0569446 Move row.validate to the sdk 2023-07-26 14:12:58 +02:00
Adria Navarro af933bd158 More types 2023-07-26 13:55:02 +02:00
Adria Navarro f0f68f10d8 Add tests 2023-07-26 13:55:02 +02:00
Adria Navarro 97dcd3fb0a Add patch view test 2023-07-26 13:55:02 +02:00
Adria Navarro 77c2ce590c Use test api for patch 2023-07-26 13:55:02 +02:00
Adria Navarro f6e6243c81 Type patch 2023-07-26 13:55:02 +02:00
Adria Navarro b69e18ab70 Return _viewId when searching 2023-07-26 13:54:35 +02:00
Adria Navarro 2c6725404f Types 2023-07-26 13:54:35 +02:00
mike12345567 f2abcf581f Fixing issue with falsey composite keys, if one of the values used for a composite key is say an empty string, or a zero it would not be added to the _id field, stopping the field from being retrievable. 2023-07-26 12:31:46 +01:00
Adria Navarro aeeb69d80e Merge pull request #11352 from Budibase/BUDI-7189/return_default_row_data
Return default row data
2023-07-26 11:29:24 +01:00
Adria Navarro 17b394dba9 Increase timeouts 2023-07-26 12:12:32 +02:00
Adria Navarro d07f840559 Increase timeouts 2023-07-25 22:15:45 +02:00
Adria Navarro 1512ecd939 Merge pull request #11349 from Budibase/BUDI-7189/update_view_endpoint
Add endpoint to update views 2.0
2023-07-25 19:04:36 +01:00
Adria Navarro 3ce92e8034 Implement and test external field selector 2023-07-25 19:48:46 +02:00
Adria Navarro 67f502579e Test schema 2023-07-25 19:48:46 +02:00
Adria Navarro 3c28d112b5 Add internal sdk tests 2023-07-25 19:48:46 +02:00
Adria Navarro d93c99b947 Return data when schema is defined 2023-07-25 19:48:46 +02:00
Adria Navarro b2e0384f8a Check ui path vs body 2023-07-25 19:46:46 +02:00
Adria Navarro 783e8a5b08 Change url to include the id 2023-07-25 19:34:52 +02:00
Dean 211bab4cf6 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 16:18:05 +01:00
Andrew Kingston a1fe1150ab Merge pull request #11334 from Budibase/cheeks-fixes
Prevent parentheses in query names
2023-07-25 16:13:03 +01:00
Dean 85d3980bdc PR Feedback 2023-07-25 15:47:25 +01:00
Dean a5b81558b9 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 15:42:01 +01:00
Adria Navarro 9235afb5d9 Test updating v1 2023-07-25 15:49:32 +02:00
Adria Navarro 6e24bf41df More tests 2023-07-25 15:41:04 +02:00
Adria Navarro 97957e96bd Update test 2023-07-25 15:35:48 +02:00
Adria Navarro 2412056292 Update basic test 2023-07-25 15:34:25 +02:00
Adria Navarro 29bc87a47f Update view endpoint 2023-07-25 15:33:49 +02:00
Rory Powell 7236fb8141 Merge pull request #11305 from Budibase/feature/offline-license-master
Cherry-pick: Offline Licensing
2023-07-25 11:38:58 +01:00
Adria Navarro c9dc4006a1 Merge branch 'BUDI-7189-views-v2' into BUDI-7189/return_columns_based_on_schema 2023-07-24 16:47:46 +02:00
Adria Navarro 76d32b40fd Merge pull request #11286 from Budibase/BUDI-7189/create_view_schema_endpoint
Return schema from table endpoint
2023-07-24 15:42:03 +01:00
Adria Navarro 7465c04799 Fix controller 2023-07-24 16:35:22 +02:00
Adria Navarro c870039416 Refactor plus selector 2023-07-24 16:29:49 +02:00
Adria Navarro 5bd149f66f Use sdk to populate views 2023-07-24 16:13:15 +02:00
Adria Navarro 1cf4e6e85a Return full object from search 2023-07-24 16:13:15 +02:00
Adria Navarro 9cf401162b Add views 2023-07-24 16:13:15 +02:00
Adria Navarro d1d86b6803 Filter on the sdk 2023-07-24 16:13:15 +02:00
Adria Navarro 2186b0407a Honor schema on view search 2023-07-24 16:13:15 +02:00
Adria Navarro c58b145afd Test sdks 2023-07-24 16:12:42 +02:00
Adria Navarro d8b801e647 Remove wrong describe 2023-07-24 16:04:54 +02:00
Dean 0d8d96b911 PR Feedback 2023-07-24 15:03:13 +01:00
Adria Navarro 77a004f19a Remove wrong describe 2023-07-24 16:02:59 +02:00
Adria Navarro ff57b982f8 Move enrich view schemas to view sdk 2023-07-24 15:57:17 +02:00
Adria Navarro dceb51a08d Skip table order if defined on view 2023-07-24 15:17:05 +02:00
Adria Navarro 8e904cea13 Set order to the tests 2023-07-24 15:17:05 +02:00
Adria Navarro 0f53fa14ad Undo not required changes 2023-07-24 15:17:05 +02:00
Adria Navarro 559cb3d9e0 Test sdk calls 2023-07-24 15:17:05 +02:00
Adria Navarro 810bb41547 Add sdk tests 2023-07-24 15:17:04 +02:00
Adria Navarro d2020fd6bc Move enrich views to sdk 2023-07-24 15:17:04 +02:00
Adria Navarro 396c4ad439 Use new table schema 2023-07-24 15:17:04 +02:00
Adria Navarro ed02aa4d8b Enrich view schemas 2023-07-24 15:17:04 +02:00
Adria Navarro a65e69e614 Add tests 2023-07-24 15:17:04 +02:00
Adria Navarro 3f2fa1a8dc Remove view endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro 22dd218b1a Fetch schema 2023-07-24 15:17:04 +02:00
Adria Navarro 30138570d5 Typex 2023-07-24 15:17:04 +02:00
Adria Navarro 5fa7972564 Test returning views 2023-07-24 15:17:04 +02:00
Adria Navarro 46cb7c7117 Table tests to ts 2023-07-24 15:17:04 +02:00
Adria Navarro d12d6f5bef Add tests 2023-07-24 15:17:04 +02:00
Adria Navarro c747881d73 Allow selecting certain columns 2023-07-24 15:17:04 +02:00
Adria Navarro f3f0ee0959 Return view schema endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro 7d84deea1a Fix return code 2023-07-24 15:16:31 +02:00
Adria Navarro 1760980aad Allow overriding default sort 2023-07-24 15:16:31 +02:00
Adria Navarro 4e646bb463 Only ui metadata fields 2023-07-24 15:15:44 +02:00
Adria Navarro e068e62eb1 Change view columns for schema 2023-07-24 15:15:44 +02:00
Adria Navarro fbccec64c7 Renames 2023-07-24 15:15:44 +02:00
Adria Navarro 56e6d48ec7 Remove :tableid from view create 2023-07-24 15:15:44 +02:00
Adria Navarro 6d973ce99a Infer table on search 2023-07-24 15:15:44 +02:00
Adria Navarro 36b82681ff Remove tableid from remove view url 2023-07-24 15:15:44 +02:00
Adria Navarro fc831db06b Store ids containing table info 2023-07-24 15:15:44 +02:00
Adria Navarro ff3bbf6217 Allow ViewV2 types 2023-07-24 15:15:44 +02:00
Adria Navarro ac0ae34808 Fix search 2023-07-24 15:15:44 +02:00
Adria Navarro 21e17053c6 Don't persist the view as doc 2023-07-24 15:15:44 +02:00
Adria Navarro d6121d1504 Remove fetch view 2023-07-24 15:15:44 +02:00
Adria Navarro 56ee61d76c Remove get from delete tests 2023-07-24 15:15:44 +02:00
Adria Navarro 76f89e10d3 Create/delete, save to table 2023-07-24 15:15:44 +02:00
Adria Navarro b82876b147 Remove view fetch logic 2023-07-24 15:15:44 +02:00
Adria Navarro 49980dadf1 Fix merge conflicts 2023-07-24 15:15:43 +02:00
Adria Navarro 516b5691e8 DRY 2023-07-24 15:15:43 +02:00
Adria Navarro 582e0eb1dd Use types 2023-07-24 15:15:43 +02:00
Adria Navarro 12891456de Fix test 2023-07-24 15:15:43 +02:00
Adria Navarro 28f4aef07f Persist columns in views 2023-07-24 15:15:43 +02:00
Adria Navarro 82e2385099 Test different sort 2023-07-24 15:15:43 +02:00
Adria Navarro b778921028 Test sorting 2023-07-24 15:15:43 +02:00
Adria Navarro fde008f4d1 Persist sort 2023-07-24 15:15:43 +02:00
Adria Navarro 16d39c6fd2 Honor query on view search 2023-07-24 15:15:43 +02:00
Adria Navarro ebd93eb109 Persist queries on crud views 2023-07-24 15:15:43 +02:00
Adria Navarro 6809bb4510 Use api for view search tests 2023-07-24 15:15:43 +02:00
Adria Navarro 2feb22ef64 Use api for viewv2 tests 2023-07-24 15:15:43 +02:00
Adria Navarro 8478816eef Clean 2023-07-24 15:15:43 +02:00
Adria Navarro fcd0db8f57 Clean code 2023-07-24 15:15:43 +02:00
Adria Navarro b29e54e84c Lint 2023-07-24 15:15:43 +02:00
Adria Navarro 63f181649a Change url version path 2023-07-24 15:15:43 +02:00
Adria Navarro d981ad039d Typings 2023-07-24 15:15:43 +02:00
Adria Navarro 891ba4148b Clean 2023-07-24 15:15:43 +02:00
Adria Navarro a42f6753de Clean 2023-07-24 15:15:43 +02:00
Adria Navarro 9f36bdc6c1 Reuse config 2023-07-24 15:15:43 +02:00
Adria Navarro 97a538f5db Basic search 2023-07-24 15:15:43 +02:00
Adria Navarro e71d883dfd Change status codes 2023-07-24 15:15:43 +02:00
Adria Navarro 1e6a65d4e9 Extract viewapi to its own file 2023-07-24 15:15:43 +02:00
Adria Navarro 7140df6ed3 Better typing responses 2023-07-24 15:15:43 +02:00
Adria Navarro 160d949423 Catch 404s 2023-07-24 15:15:43 +02:00
Adria Navarro 5731b26079 Namespacing 2023-07-24 15:15:43 +02:00
Adria Navarro f7452aa7fa Extract test utils 2023-07-24 15:15:43 +02:00
Adria Navarro 7f3de5d40e Move view code to test config 2023-07-24 15:15:43 +02:00
Adria Navarro 8282fbb99b Type responses 2023-07-24 15:15:43 +02:00
Adria Navarro 03f84170b8 Use v2 as prefix 2023-07-24 15:15:43 +02:00
Adria Navarro e3c4930819 Undo renaming as lagacyViews 2023-07-24 15:15:43 +02:00
Adria Navarro 02bc1d2cdc Simplifying endpoints 2023-07-24 15:15:43 +02:00
Adria Navarro 4ca25ee065 Implement deletes 2023-07-24 15:15:43 +02:00
Adria Navarro 4bbb1b0289 Refactor paths 2023-07-24 15:15:43 +02:00
Adria Navarro 7155d75906 Implement get view 2023-07-24 15:15:43 +02:00
Adria Navarro 1187bd8fb2 Clean 2023-07-24 15:15:43 +02:00
Adria Navarro e2c1a549de Find by table 2023-07-24 15:15:43 +02:00
Adria Navarro f395b79cac Fix fetch 2023-07-24 15:15:43 +02:00
Adria Navarro 4a5a3e2c33 Implement and test fetch 2023-07-24 15:15:43 +02:00
Adria Navarro 899c8a14fb Implement and test create 2023-07-24 15:15:43 +02:00
Adria Navarro 81e847daeb Rename tests 2023-07-24 15:15:43 +02:00
Adria Navarro 6ff5c23cd6 Add controller scaffolding for views v2 2023-07-24 15:15:43 +02:00
Adria Navarro 7dbf71d477 Namespace 2023-07-24 15:15:43 +02:00
mike12345567 c375f860ba Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-24 13:46:49 +01:00
Andrew Kingston cf178808bf Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-24 12:03:28 +01:00
Andrew Kingston 869cb0777b Validate query names to avoid parentheses 2023-07-24 12:02:24 +01:00
Dean 4091dff6d3 PR Feedback 2023-07-24 10:30:29 +01:00
Rory Powell 5c4d29e349 Merge branch 'develop' into feature/offline-license 2023-07-24 10:06:04 +01:00
Dean f0c498cedb Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-24 09:52:59 +01:00
Dean 3b36970c58 Review updates 2023-07-24 09:08:10 +01:00
mike12345567 87d80e08f5 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-21 17:34:27 +01:00
mike12345567 bb032852e5 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-21 16:26:34 +01:00
Michael Drury ec402587b0 Merge pull request #11297 from Budibase/fix/budi-7304
Fix duplicate dynamic variables when creating new REST queries
2023-07-21 13:03:48 +01:00
mike12345567 7673673db2 Updating RelationshipTypes -> RelationshipType. 2023-07-21 12:57:47 +01:00
Rory Powell 6aeb31c355 Move OFFLINE_MODE to backend-core environment 2023-07-20 21:21:39 +01:00
mike12345567 3abe5d4cb2 Frontend work to support logging in as an app builder - also making sure when a new app is created that the user is assigned app access to it. 2023-07-20 18:34:12 +01:00
mike12345567 b84b8dd988 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-20 14:25:04 +01:00
Andrew Kingston 08920f8015 Remove invalid columns from display column selection and fix schema failure handling 2023-07-20 14:06:31 +01:00
mike12345567 40b4943766 Fix for dynamic variables being duplicated when creating new REST queries - also moved some stuff to backend SDK to make a bit re-usable, allowing backend to detect duplicate dynamic variables and error. 2023-07-20 13:07:19 +01:00
Dean ca6737b77b Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-20 12:39:49 +01:00
Rory Powell 5ac024a655 Merge branch 'develop' into feature/offline-license 2023-07-20 12:27:04 +01:00
Andrew Kingston 5d0918a6cb Prevent invalid characters in column names when importing tables 2023-07-20 12:21:09 +01:00
Dean 794ed5a29a Merge remote-tracking branch 'origin/new-design-nav-component' into screen-theme-rightpanel 2023-07-20 11:35:17 +01:00
Dean d94fe7c2eb Moved screen settings/theme into the new rightpanel structure. Refactord the color picker to help with positioning. Removed dead home link 2023-07-20 11:32:48 +01:00
Rory Powell 76f61cfd3a Lint 2023-07-20 11:21:34 +01:00
Rory Powell b60794d73a Update pro reference to latest develop and fix compile errors 2023-07-20 11:13:57 +01:00
mike12345567 cddd0d80f2 Making sure tenant ID is always available to the builder websocket. 2023-07-20 10:43:30 +01:00
mike12345567 5447404431 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-20 10:43:17 +01:00
mike12345567 85dea47a31 Moving user admin/builder functions to shared-core for frontend to use. 2023-07-19 16:19:34 +01:00
Dean 052f60b94c Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-19 09:05:52 +01:00
mike12345567 91847504c8 Adding test cases for admin/builder checking middlewares. 2023-07-18 18:10:15 +01:00
mike12345567 39746e0bf0 Main body of work to handle the new approach of per app builders support. 2023-07-18 16:57:48 +01:00
Martin McKeaveney 8c5177facb Merge pull request #10858 from Budibase/labday/debug-panel
Labday/debug panel
2023-07-18 12:25:37 +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
Adria Navarro 58c59eba5e Remove unused db usages 2023-07-18 12:00:02 +02:00
Adria Navarro 2698e47ec4 Type internal db.get 2023-07-18 11:41:51 +02: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
Martin McKeaveney fb1ecbb5c9 code review and test 2023-07-17 22:33:37 +01:00
Adria Navarro a1226180f1 Merge pull request #11253 from Budibase/BUDI-7189-views-v2-prerefactor
View V2 prerefactor
2023-07-17 20:11:19 +01:00
Adria Navarro 37c1c1c9b0 Merge pull request #11250 from Budibase/BUDI-7189/clean_ctx_dependencies_from_sdk
Clean ctx dependencies from rows SDK
2023-07-17 19:01:40 +01:00
Adria Navarro deb256a013 Refactor and clean export tests 2023-07-17 19:50:06 +02:00
Adria Navarro 07607c0fd2 Fix tests 2023-07-17 19:07:54 +02: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
Adria Navarro ccb5143383 Remove context from search 2023-07-17 18:45:40 +02:00
Adria Navarro 13ef7b8858 Merge branch 'develop' into backmerge-20230717 2023-07-17 17:13:26 +01:00
Andrew Kingston 9271210b48 Update application.ts 2023-07-17 16:41:48 +01:00
Adria Navarro 90bf4655ea Remove ctx from export rows (search not implemented) 2023-07-17 15:57:12 +02:00
Andrew Kingston 1a8da1c0af Move app enrichment of user sessions to users SDK 2023-07-17 14:56:09 +01:00
Andrew Kingston 1584ee4c95 Use shorthand typing 2023-07-17 14:45:13 +01:00
Adria Navarro 1bd8bdf84c Clean ctx from fetchview 2023-07-17 15:29:41 +02:00
Adria Navarro 9ca2848c05 Merge pull request #11245 from Budibase/BUDI-7189/clean_controller_dependencies
Clean controller dependencies
2023-07-17 14:17:42 +01:00
Adria Navarro 832483442f Merge pull request #11239 from Budibase/BUDI-7189/extract_search_functionality
Moving files and functions
2023-07-17 14:17:26 +01:00
Adria Navarro e7f1bcab9e Remove ctx from fetch 2023-07-17 14:16:12 +02:00
Dean e2311b8a55 Merge remote-tracking branch 'origin/develop' into feature/automation-collaboration 2023-07-17 11:24:50 +01:00
Adria Navarro 81c6eab05e Fix references 2023-07-17 12:19:20 +02:00
Adria Navarro 77b3547af7 Remove usercontroller dependency from internal 2023-07-17 12:19:20 +02:00
Adria Navarro 940da62b98 Clean 2023-07-17 12:19:20 +02:00
Adria Navarro 20635ae2ff Type and fix test 2023-07-17 12:18:57 +02:00
Adria Navarro e336ba4b5e Type and fix tests 2023-07-17 11:13:21 +02:00
Adria Navarro 9fbad37218 Fix tests 2023-07-17 10:51:52 +02:00
Adria Navarro d1b64bcd9c Moving files and functions 2023-07-14 17:09:34 +02:00
Dean 06e516ee70 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-14 09:11:48 +01:00
Dean a481eee39e Binding selection fixes, delete controller refactor and some fixes 2023-07-14 09:11:34 +01:00
Adria Navarro 85aa105972 Type row tests 2023-07-13 12:17:24 +02:00
Adria Navarro a7801c52f8 Allow authtype undefined by default 2023-07-13 11:09:40 +02:00
Adria Navarro 2dadf1d429 Fix conflicting mssql configuration 2023-07-11 20:05:10 +02:00
Adria Navarro c7f6f6b73c Merge branch 'develop' into backmerge-20230711 2023-07-11 15:34:58 +01:00
Adria Navarro 02fa87b59b Merge pull request #11200 from Budibase/budi-7265-sql-ntlm-configuration
Allow MSSQL ntlm configuration
2023-07-11 15:33:49 +01:00
Adria Navarro 119506fcc7 Fix typo 2023-07-11 15:41:49 +02:00
Adria Navarro 4280e08f22 Renames 2023-07-11 15:31:59 +02:00
melohagan 89c0d3b389 Add BigInt type support (#11145) (#11195)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-11 14:01:55 +01:00
Adria Navarro c4fec6973f Add ntml config 2023-07-11 13:08:15 +02:00
Adria Navarro 00fff6eded Add local AD option 2023-07-11 12:35:00 +02: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
melohagan 7a06fcee0f Add BigInt type support (#11145)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-07 15:11:41 +01:00
Martin McKeaveney abce52d846 merge 2023-07-06 21:58:19 +01:00
Rory Powell 586bca16d0 Move OFFLINE_MODE to backend-core environment 2023-07-06 20:44:48 +01:00
Martin McKeaveney f13b5df9f4 code review, moving endpoint 2023-07-06 16:41:45 +01:00
Andrew Kingston 3e025049d6 Merge branch 'develop' of github.com:Budibase/budibase into design-collab 2023-07-05 10:14:51 +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
mike12345567 c1e9bc3c81 PR comments. 2023-07-04 11:59:56 +01:00
Andrew Kingston 7be2d6896e Add indicators to show selected state in data section 2023-07-04 08:58:14 +01:00
mike12345567 4e560a1f32 Adding warning back in for non-409 errors of user sync. 2023-07-03 16:00:33 +01:00
mike12345567 76bce0be1a Removing the alert log of failure, this isn't really an error scenario, as it'll automatically get updated as part of app syncs and if the sync is reran. 2023-07-03 15:28:42 +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
mike12345567 4428678ebd Quick fix for QA-core tests, when encrypt is undefined for MS-SQL, it defaults to true, need to be aware of this so can set trustServerCertificate correctly. Also fixing the naming of a test. 2023-06-30 12:05:18 +01:00
mike12345567 0d1941f264 Fix merge conflict. 2023-06-30 11:36:08 +01:00
mike12345567 6495b55b9d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-29 17:06:14 +01:00
mike12345567 63d16f1809 Only enable trust server certificate if encryption enabled. 2023-06-29 16:09:25 +01:00
mike12345567 7b6246ee59 Fixes discovered by MS-SQL validator tests in QA-core, fixing custom ports being used (not default) and allowing the use of self signed certificates. Also updating an error message in line with Peters changes. 2023-06-29 16:09:25 +01:00
mike12345567 a66d5bf7be Merge branch 'develop' of github.com:Budibase/budibase into feat/surface-sql-errors 2023-06-28 17:58:56 +01:00
Michael Drury 72e7373073 Merge pull request #11058 from Budibase/feature/budi-7076
Datasource settings tab for SQL databases and SQL schema export functionality
2023-06-28 17:56:03 +01:00
mike12345567 30a9b349d8 Merge branch 'develop' of github.com:Budibase/budibase into feat/surface-sql-errors 2023-06-28 17:31:03 +01:00
mike12345567 81c8bee81e Quick fix to stop custom role names from being updated. 2023-06-28 17:17:24 +01:00
mike12345567 d8fae3a348 Adding SQL export functionality and settings tab for SQL databases. 2023-06-28 16:52:45 +01:00
Adria Navarro ec3f962d3c Fix typings 2023-06-28 15:16:47 +01:00
Adria Navarro b6f9ae762d Lint 2023-06-28 14:59:49 +01:00
Adria Navarro 47d6113fee Submit nested 2023-06-28 14:33:52 +01:00
Adria Navarro a95a5f1cb2 Populate fields 2023-06-28 14:33:52 +01:00
Adria Navarro 758b4f8254 Allow open by default for field groups 2023-06-28 14:33:52 +01:00
Adria Navarro 352ea72c53 Select and conditional fields 2023-06-28 14:33:52 +01:00
Adria Navarro 8a7d610faf Move creation pool on the connect step 2023-06-28 14:33:51 +01:00
Adria Navarro c9bee9e423 Display errors 2023-06-28 14:33:51 +01:00
Adria Navarro 1e5492b18d Type mssql 2023-06-28 14:33:51 +01:00
mike12345567 25d0f3f518 Adding settings tab for SQL datasources. 2023-06-28 11:59:53 +01:00
Peter Clement 87768fd577 update error messages: 2023-06-28 09:28:40 +01:00
Peter Clement fed6a83bca remove incorrect psql codes 2023-06-28 09:18:41 +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 801f5655ac Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-06-27 16:50:51 +01:00
Michael Drury f7cdf5f2bc Merge pull request #11001 from Budibase/feature/custom-role-readable-ids
Custom roles - readable IDs
2023-06-27 16:17:08 +01:00
Michael Drury 5e8cf41feb Merge pull request #11013 from Budibase/fix/sql-relationship-fixes
Further SQL relationship fixes
2023-06-27 16:16:53 +01:00
Andrew Kingston 8c9d4a9126 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-06-27 16:09:59 +01:00
Peter Clement cf0300973a add error mapping system 2023-06-27 15:28:10 +01:00
Peter Clement 46a9142676 propagate errors coreectly for datasource plus 2023-06-27 15:27:56 +01:00
mike12345567 fc537a0aab Further PR comments. 2023-06-27 14:56:24 +01:00
Michael Drury a3ebcb2896 Merge pull request #11033 from Budibase/fix/BUDI-7188
Don't sync automation logs from prod to dev app
2023-06-27 12:52:07 +01:00
mike12345567 4d2aa2a67b PR comments. 2023-06-27 12:45:00 +01:00
mike12345567 1d5bc39282 PR comments. 2023-06-27 12:24:50 +01:00
Andrew Kingston cfdd6bafb7 Rewrite how middlewares are ran inside sockets, and fix collaboration 2023-06-27 11:33:23 +01:00
mike12345567 47260f23bf PR comments. 2023-06-27 10:01:06 +01:00
Mel O'Hagan 6f75c5df53 Use any type to fix TypeScript check 2023-06-27 09:59:02 +01:00
Dean eaecd3ab68 Merge remote-tracking branch 'origin/develop' into merge-master 2023-06-27 09:31:35 +01:00
mike12345567 7e79c827a7 Test fixes, as well as issue discovered by test around _id generation and event triggering. 2023-06-26 19:10:04 +01:00
mike12345567 3eff4d85d0 Adding a test case for the removal of automation logs from app sync, as well as adding to the publish/sync filter a check to not carry over automation logs. 2023-06-26 18:52:15 +01:00
Andrew Kingston b7603f8bf1 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-06-26 17:56:11 +01:00
mike12345567 ced1dd95c7 Updating roles tests to make sure ID always valid. 2023-06-26 16:35:16 +01:00
Dean b6caebe431 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-26 15:51:31 +01:00
melohagan 0ecda93ea9 Fix for $in on ObjectIds (#11014) 2023-06-26 15:07:29 +01:00
mike12345567 1c09913d33 Fix for foreign keys being unsettlable after update, breaking Postgres test. 2023-06-26 15:05:10 +01:00
mike12345567 b94801d10a Merge branch 'develop' of github.com:Budibase/budibase into feature/custom-role-readable-ids 2023-06-26 12:39:41 +01:00
Andrew Kingston 6d38bdcd64 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-06-26 11:32:54 +01:00
Andrew Kingston 5f407259dc Enable component nesting validation for new apps 2023-06-26 10:39:38 +01:00
Andrew Kingston aebc3b2bb8 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-26 09:05:06 +01:00
mike12345567 e022da5bc8 Adding test case for foreign key autocolumn enrichment. 2023-06-23 18:31:02 +01:00
mike12345567 c2b4dec88f Fix to make foreign keys auto-columns when used in relationships as well as making sure that when fetching tables that they can be removed, using the old fetch mechanism (to be replaced, but needs to work for now). 2023-06-23 18:09:52 +01:00
mike12345567 3d3efadb37 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-23 15:19:49 +01:00
melohagan 3aca0c0ed3 Null safety (#11007) 2023-06-23 14:48:07 +01:00
Dean fd8400bee5 PR feedback and removed some comments 2023-06-23 11:56:59 +01:00
Andrew Kingston 007b6d605b Merge pull request #10917 from Budibase/fix/datasource-409
Fix datasource conflicts
2023-06-23 11:54:15 +01:00
mike12345567 baecab785d Handling the removal of the role_ prefix where applicable so that new role IDs present in the exact same way as built in roles. 2023-06-22 18:02:35 +01:00
melohagan 0860a5b248 Exclude entities from datasource env processing (#11000) 2023-06-22 17:35:47 +01:00
mike12345567 58d7293798 PR suggestion. 2023-06-22 13:25:37 +01:00
mike12345567 5373b867e1 Fix for #10949 - the relationship types were always locked to be the same, which means that the foreign key wasn't being updated correctly as the backend was not aware of which side was the one-to-many side. 2023-06-22 12:32:39 +01:00
mike12345567 45120c60ba Getting basic regex in place to make sure role names can be IDs. 2023-06-21 17:08:54 +01:00
Michael Drury e1741937ae Removing logging of error in coercion - this was creating noise in errors channel. 2023-06-21 12:08:39 +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
mike12345567 cbfeea121c Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-20 18:09:23 +01:00
melohagan 9e9cece59e Clone user (#10974) 2023-06-20 17:07:34 +01:00
melohagan b0debf17ef Table disappears from side bar when changing display name (#10909)
* Pass sourceId on fetch tables

* Use ExternalTable type
2023-06-20 17:07:12 +01:00
Dean 998f1806aa Updated analytics tests to account for the embedded 2023-06-20 16:29:09 +01:00
Michael Drury 958cabee52 Merge pull request #10921 from Budibase/fix/airgap-templates-call
update airgap script and enable support for offline mode
2023-06-20 13:51:10 +01:00
Dean f04f42546a Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-20 12:33:48 +01:00
Dean 602ea9bc4e General tidying and refactoring. Updated the publish button behaviour to also take into account revert and version update behaviours. 2023-06-20 12:33:18 +01:00
Adria Navarro cdd15fd75f Merge pull request #10953 from Budibase/budi-7115-sql-schema-export
BUDI-7115 - Sql schema export
2023-06-20 11:57:46 +01:00
Adria Navarro 8ab5913eb9 Change url 2023-06-20 11:33:38 +01:00
Adria Navarro 6ed5894441 Type 2023-06-20 11:14:23 +01:00
Dean c1248eed12 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-20 10:08:18 +01:00
mike12345567 3955b00bbc Merge branch 'develop' of github.com:Budibase/budibase into fix/airgap-templates-call 2023-06-19 18:57:17 +01:00
Michael Drury c5270ee323 Merge pull request #10959 from Budibase/fix/integration-tests
Integration test updates and improved logging
2023-06-19 18:52:24 +01:00
mike12345567 289a75fc9a Few minor updates to the integration suite to make it easier to decipher what is happening under the hood, as well as making it easier to log from these (where there is no pino logging available, importing backend-core breaks things). Also added a new script which can be used to get local environment setup as needed to run qa-core tests. Finally, xdescribe for the failing test until can work out what is wrong with MongoDB installation in QA environment. 2023-06-19 18:28:38 +01:00
Adria Navarro 718fe1efc6 Implement mssql and tests 2023-06-19 17:56:12 +01:00
Adria Navarro c44b10eadf Lint 2023-06-19 17:56:12 +01:00
Adria Navarro e21dca5582 Implement and test mysql sql dump 2023-06-19 17:56:12 +01:00
Adria Navarro ab5b8716c0 Get mysql schema 2023-06-19 17:56:12 +01:00
Adria Navarro d337c52adf Add feature flags 2023-06-19 17:56:11 +01:00
Adria Navarro 7a4eb3113d Add external schema endpoint 2023-06-19 17:56:11 +01:00
Adria Navarro dbcf7814a8 Support ssl 2023-06-19 17:56:11 +01:00