Commit Graph

20029 Commits

Author SHA1 Message Date
Adria Navarro 9ab78809eb Clean package 2023-08-01 19:24:01 +02:00
Adria Navarro ddec3e9a9f Update plugins 2023-08-01 19:24:01 +02:00
Adria Navarro d310751fd3 Update rollup/plugin-commonjs 2023-08-01 19:23:55 +02:00
Adria Navarro c715e7aa3f Unify rollup/plugin-commonjs 2023-08-01 19:23:55 +02:00
Adria Navarro c59bfdb920 Remove unnecessary out folder 2023-08-01 19:23:48 +02:00
Adria Navarro 4b5751003f Revert "Remove composite"
This reverts commit f9115f1554bbadadc3a0ef91d00d170fa05e45b6.
2023-08-01 19:23:48 +02:00
Adria Navarro 012ab80176 Remove base 2023-08-01 19:23:31 +02:00
Adria Navarro da6f7938e5 Remove 2023-08-01 19:23:31 +02:00
Adria Navarro 5347504c12 Fix nodemon watch 2023-08-01 19:23:31 +02:00
Adria Navarro 50ca4de0f7 Remove cjs refs 2023-08-01 19:23:31 +02:00
Adria Navarro 8ec251aefb Remove unnecessary references 2023-08-01 19:23:31 +02:00
Adria Navarro 250a4e890f Remove composite 2023-08-01 19:23:23 +02:00
Adria Navarro 7e30047b3f Fix dev:builder 2023-08-01 19:22:59 +02:00
Adria Navarro f5131f673c Fix dev build 2023-08-01 19:22:59 +02:00
mike12345567 8c2d0f594c Quick fix for utilising a hyphen in a Postgres schema - this needed to be escaped correctly. 2023-08-01 18:18:53 +01:00
Andrew Thompson 5f084699d2 didn't mean to remove a line 2023-08-01 17:09:52 +01:00
Adria Navarro e011ccd0c4 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 16:49:06 +01:00
andz-bb 527426ddbb fix for saving external data connector query param values 2023-08-01 16:29:04 +01:00
mike12345567 ad42cfc6fb Linting. 2023-08-01 16:25:47 +01:00
Adria Navarro 7e8b3cdc30 Update pro ref 2023-08-01 16:28:40 +02:00
mike12345567 7871bedb25 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 15:27:38 +01:00
Adria Navarro 56f49150f7 Add nx dependency 2023-08-01 15:34:55 +02:00
Adria Navarro 130ab97368 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 14:27:40 +01:00
mike12345567 49e65c693e Update pro again. 2023-08-01 13:46:36 +01:00
Adria Navarro 67baa56cbf Skip flaky test 2023-08-01 14:40:47 +02:00
Adria Navarro e7c6724620 Ad nx dependency 2023-08-01 14:39:17 +02:00
Adria Navarro dc36829f7a Cache check:types 2023-08-01 14:25:52 +02:00
mike12345567 6ed80386b0 Update pro. 2023-08-01 13:20:48 +01:00
Adria Navarro 0687109224 Update refs 2023-08-01 14:20:39 +02:00
Adria Navarro 953aead95c Revert paths on tsconfig.build 2023-08-01 14:18:54 +02:00
Adria Navarro 0f9ae3fa66 Revert paths on tsconfig.build 2023-08-01 14:17:44 +02:00
Adria Navarro bf2f0b5c3a Sync posthog-node package 2023-08-01 14:16:37 +02:00
Adria Navarro 0449ba7a71 Change refs 2023-08-01 14:12:28 +02:00
mike12345567 b32ed151a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 13:11:45 +01:00
mike12345567 a71d2804c0 Update pro to develop. 2023-08-01 13:07:37 +01:00
Adria Navarro 559f52d904 Lint 2023-08-01 13:36:38 +02:00
mike12345567 4e1aa4fbbd Final PR comment. 2023-08-01 12:33:59 +01:00
Adria Navarro 672666d96b Check types 2023-08-01 13:26:04 +02:00
Adria Navarro 5bea5bf974 Check types 2023-08-01 13:24:55 +02:00
Adria Navarro 27517fc6c8 Update pro 2023-08-01 13:22:58 +02:00
Adria Navarro 9b9081d437 Check types on cli 2023-08-01 13:11:04 +02:00
Adria Navarro 8b693a6fa3 Check types on backend-core 2023-08-01 13:08:09 +02:00
Andrew Kingston 345f4308be Merge branch 'develop' into plugin-improvements 2023-08-01 11:58:18 +01:00
Adria Navarro ff7120cf7a Fix types on tests 2023-08-01 12:57:44 +02:00
Adria Navarro c6c1450d06 Fixe types 2023-08-01 12:52:12 +02:00
Adria Navarro f4675aab6e Fix import 2023-08-01 12:52:12 +02:00
Adria Navarro b3a110e609 Run tests checks for server 2023-08-01 12:52:12 +02:00
Adria Navarro 96c598688f Run tests checks for worker 2023-08-01 12:52:12 +02:00
Adria Navarro 202963c864 Fix type tests 2023-08-01 12:52:12 +02:00
mike12345567 a8ff2da768 Removing isAdmin and isBuilder flags from the auth store, using SDK only. 2023-08-01 11:30:04 +01:00
Adria Navarro 44e028b574 Fix test 2023-08-01 12:26:37 +02:00
Adria Navarro 2cc924f9e7 Fix tests 2023-08-01 12:08:40 +02:00
Adria Navarro 76cacfaff0 Clean code 2023-08-01 12:03:43 +02:00
Adria Navarro 624dc5ff26 Merge branch 'develop' into BUDI-7189/split_fields_and_ui 2023-08-01 11:59:18 +02:00
mike12345567 dce38908c9 PR comments (backend). 2023-08-01 10:56:47 +01:00
Andrew Kingston 60faa593a2 Merge branch 'develop' into BUDI-7189/crud_row_from_views 2023-08-01 10:38:52 +01:00
Adria Navarro c425194a85 Check schemas on patch 2023-08-01 11:38:36 +02:00
Adria Navarro d440291ebc Throw exception when updating non ui fields 2023-08-01 11:31:58 +02:00
mike12345567 032d5b4f62 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 10:08:21 +01:00
Adria Navarro bce75c91a6 Persist only UI schema overrides 2023-08-01 10:57:03 +02:00
Adria Navarro b528257bbe Change viewrequest to accept schema 2023-08-01 10:45:00 +02:00
Andrew Kingston b74fc5292c Merge branch 'develop' into plugin-improvements 2023-08-01 08:57:00 +01:00
Adria Navarro bf274d8132 Merge branch 'develop' into BUDI-6785-update-to-node-18 2023-07-31 22:20:55 +01:00
mike12345567 8bd8a1c174 Update pro. 2023-07-31 19:28:12 +01:00
mike12345567 fc01ac4f71 Quick fix for application.spec.ts - didn't specify user properly. 2023-07-31 19:04:17 +01:00
mike12345567 7a74ce98f1 Moving user functions in UserDB to fully static as none of the class properties ever change - simplifying currying. 2023-07-31 18:46:21 +01:00
mike12345567 d93c0044a9 Update pro. 2023-07-31 17:33:39 +01:00
mike12345567 31f9693185 Quick update to SCIM now that user functionality is available from backend-core. 2023-07-31 17:10:27 +01:00
Adria Navarro 73ded07484 Fix tests 2023-07-31 17:23:34 +02:00
Adria Navarro 1b2ce184d9 Fix types 2023-07-31 17:22:10 +02:00
Adria Navarro da6136a108 Enrich schema using the new data 2023-07-31 17:15:51 +02:00
Adria Navarro 878e09cfb0 Change record 2023-07-31 17:04:32 +02:00
Adria Navarro 76e836ca55 Test deleting multiple rows 2023-07-31 16:37:24 +02:00
Peter Clement 2ee7cb008b Reworked Column Configuration in the data section (#11379)
* base work for using popover to create and edit columns

* more work to enable editing column in popover

* update styling of column type configs

* add new option picker component

* some updates to how the popover is opened and the new picker

* more updates to support the popover handling correctly

* update the popover to support a custom z index

* some styling around the colour picker

* update naming

* fix lint errors

* fix lint

* update filename

* incremental column numbers based on existing schema

* move func declaration

* add option color object to schema not constraints

* ux / pr comment updates

* undefined var

* fix issue with deleting option

* change background color

* update popove z-index
2023-07-31 14:28:11 +00:00
Adria Navarro 3335c86a84 Delete row from view 2023-07-31 16:14:14 +02:00
Adria Navarro d1ad443d18 Patch 2023-07-31 15:41:13 +02:00
Adria Navarro b43f921253 Test middlewares 2023-07-31 15:26:01 +02:00
mike12345567 7ee4802af2 Linting. 2023-07-31 13:45:06 +01:00
mike12345567 52d05c2910 Making sure booleans returned from user role functions in shared core. 2023-07-31 13:37:01 +01:00
mike12345567 f18b9d7a70 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-31 13:24:23 +01:00
Adria Navarro 1d13b49e86 Fix middleware usage 2023-07-31 14:16:38 +02:00
Adria Navarro b3b4a6a177 Test noViewDataMiddleware 2023-07-31 14:14:59 +02:00
Adria Navarro d8df917772 More tests 2023-07-31 14:08:31 +02:00
Adria Navarro 525052ce7e Unhappy path tests 2023-07-31 13:34:57 +02:00
Adria Navarro 70cd44ba2a More tests 2023-07-31 13:24:08 +02:00
Adria Navarro 30c3c6e5ad Test middlewate 2023-07-31 13:17:54 +02:00
Andrew Kingston c0c5a57a99 Supress notification from form block delete row action if configured 2023-07-31 11:50:42 +01:00
Martin McKeaveney fafae64f4d Merge branch 'master' into app-validation-imports 2023-07-31 11:40:56 +01:00
Adria Navarro eaa7d9bf81 trimViewRowInfo middleware and api test 2023-07-31 12:03:03 +02:00
Dean 889e771dc1 Merge remote-tracking branch 'origin/develop' into feature/frequency-histogram 2023-07-31 10:41:36 +01:00
Adria Navarro 5052f2cd68 Fix 2023-07-31 11:22:12 +02:00
Adria Navarro 97f7629345 Renames 2023-07-31 10:50:33 +02:00
Adria Navarro 4c11a6593c Add sdk trim view fields 2023-07-31 10:43:45 +02:00
Adria Navarro 0f540e669c Types 2023-07-31 10:39:12 +02:00
Adria Navarro 7a9a997d73 Use middleware for checks 2023-07-31 10:38:31 +02:00
Adria Navarro 5cfddabac7 Move row view controllers in their own file 2023-07-31 10:21:44 +02:00
Adria Navarro 752e901b3d Don't allow saving _viewId on row.patch 2023-07-31 09:58:49 +02:00
Adria Navarro ed256242c8 Don't allow saving _viewId on row.create 2023-07-31 09:54:20 +02:00
Andrew Kingston bbe6741ffd Support plugins in block components 2023-07-30 13:07:14 +01:00
Andrew Kingston 0b2c6e531c Export Block and BlockComponent via SDK 2023-07-30 13:07:01 +01:00
mike12345567 8522cb94d3 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-28 17:10:43 +01:00
mike12345567 7b9f86d7ea Fix found by authorized test case. 2023-07-28 17:06:53 +01:00
Adria Navarro d5533c00d6 Fix workerIdleMemoryLimit usage 2023-07-28 18:03:03 +02:00
Adria Navarro 51a1d1c183 Add force exists 2023-07-28 18:03:03 +02:00
Adria Navarro e2758d3da1 Remove it.only( 2023-07-28 18:03:03 +02:00
Adria Navarro 712732f795 Run in band? 2023-07-28 18:03:03 +02:00
Adria Navarro e5ceaf8ffd Add 2gb limit 2023-07-28 18:03:03 +02:00
Adria Navarro 42b14fe712 Add workerIdleMemoryLimit 2023-07-28 18:03:03 +02:00
Adria Navarro 2e1903f955 Log 2023-07-28 18:03:03 +02:00
Adria Navarro f82c10782f Log heap usage 2023-07-28 18:03:03 +02:00
Adria Navarro 0f75660808 Attempt different commands 2023-07-28 18:03:03 +02:00
Adria Navarro e71ec971a0 workerIdleMemoryLimit server at 50% 2023-07-28 18:03:03 +02:00
Adria Navarro 5dc3623866 Remove workerIdleMemoryLimit from worker 2023-07-28 18:03:03 +02:00
Adria Navarro c7b0960bb3 Make use of workerIdleMemoryLimit 2023-07-28 18:03:03 +02:00
Adria Navarro e2ac7e3463 Fix minio usage 2023-07-28 18:03:03 +02:00
Adria Navarro d8c2499c15 Fix automation issues 2023-07-28 18:03:03 +02:00
mike12345567 3a211b8865 Some builder test cases, check the service type switch works as expected. 2023-07-28 16:50:44 +01:00
Adria Navarro 4e81deb8e6 Update pro ref 2023-07-28 17:11:48 +02:00
Adria Navarro b9820f94e6 Import lodash modules 2023-07-28 17:11:48 +02:00
Adria Navarro 6d5eef4e42 Update 2023-07-28 17:11:48 +02:00
Adria Navarro 1ce9bffe40 Remove duplicated key 2023-07-28 17:11:48 +02:00
Adria Navarro 12b3eedc67 Remove ts-jest 2023-07-28 17:11:48 +02:00
Adria Navarro d332c30b58 Remove ts-jest 2023-07-28 17:11:48 +02:00
Adria Navarro baf1c1ff07 Update swc deps 2023-07-28 17:11:48 +02:00
Adria Navarro 5bbc919965 Remove ts-jest on backend-core 2023-07-28 17:11:48 +02:00
Adria Navarro 95f66ebd9d Fix types 2023-07-28 17:11:48 +02:00
Adria Navarro beaeff90cc Improve lodash imports 2023-07-28 17:11:48 +02:00
Adria Navarro 39ba4a544a Fix mocks 2023-07-28 17:11:48 +02:00
Adria Navarro 5f1565886f Unify jest 2023-07-28 17:11:48 +02:00
mike12345567 3798caf86d Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-28 16:08:38 +01:00
mike12345567 f061426b60 Fixing build issue. 2023-07-28 16:08:33 +01:00
mike12345567 f6eaa610d0 App builders can't create apps anymore, removing this functionality. 2023-07-28 15:54:55 +01:00
mike12345567 72438f531d Update for worker, get builder endpoints working for app builders. 2023-07-28 15:39:59 +01:00
Adria Navarro e260a64388 Add heading 2023-07-28 15:35:51 +02:00
mike12345567 77f1bf1acf Reverting change from testing. 2023-07-28 14:02:02 +01:00
mike12345567 1403bf26c6 Quick fixes based on raising PR, types and tests. 2023-07-28 13:58:20 +01:00
mike12345567 454f832b75 Updates after running through tests, adding mocking of app builders feature for test cases to work. 2023-07-28 12:58:05 +01:00
Dean d1bc7abeaa Merge remote-tracking branch 'origin/develop' into feature/frequency-histogram 2023-07-28 10:39:50 +01:00
Martin McKeaveney 1531ff710f fix gsheets onboarding 2023-07-27 23:35:13 +01:00
mike12345567 2080126da2 Final cleanup when running services. 2023-07-27 18:58:09 +01:00
mike12345567 c8712eda00 Fixing some missing functions. 2023-07-27 18:53:58 +01:00
mike12345567 7d978e0dec Making sure that if the app builders are updated through the API, they are ignored. 2023-07-27 18:50:45 +01:00
mike12345567 812f1af5ca Moving app builder API into pro, along with the changes involved with achieving this. 2023-07-27 18:46:55 +01:00
mike12345567 d62b2bdbe0 switching to global builder role for plugin API, dis-allowing per app builders to delete apps and updating UI to reflect these updates. 2023-07-27 18:09:30 +01:00
mike12345567 d8f50f139e Frontend update for app builders, handling when in the builder portal and don't have any app access, as well as allowing viewing of apps from the portal. 2023-07-27 17:52:56 +01:00
Andrew Kingston aef9ff06af Disable component validation for old app imports 2023-07-27 16:09:38 +01:00
Dean 08ba1c8ccd Added a simple histogram to the supported chart types 2023-07-27 13:04:09 +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 cf375ee3da Fixing small frontend error. 2023-07-26 18:17:15 +01:00
mike12345567 eefac0fe08 Quick updates based on latest lerna version, as well as some fixes after running through flows (post refactoring). 2023-07-26 18:13:18 +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 c277b065db Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-26 14:40:17 +01:00
Adria Navarro 292bb2ad62 _viewId instead of viewId 2023-07-26 15:31:44 +02: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
Michael Drury 08b3d49bce Merge pull request #11366 from Budibase/fix/falsey-composite-keys
Fix for falsey composite keys
2023-07-26 12:58:29 +01: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 9bb1cfcc7a Add view id to row 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
Adria Navarro de0f3f7463 Merge branch 'develop' into backmerge-master-20230726 2023-07-26 12:50:52 +01: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 2e54b40d55 Build backend-core before dev script 2023-07-26 12:48:33 +02: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
mike12345567 43bfb943a3 Some fixes post testing. 2023-07-25 18:52:59 +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
mike12345567 66fbdfe4e8 Breaking out pro components back into the worker user SDK, and attempting to separate the pro components as much as possible from the user SDK itself, so that it can be easily re-created in other services. 2023-07-25 18:39:40 +01:00
Adria Navarro 783e8a5b08 Change url to include the id 2023-07-25 19:34:52 +02:00
mike12345567 90371b9d69 Refactoring users core to move into backend, allowing app builder endpoints to move into pro. 2023-07-25 17:48:57 +01:00
Dean 0c0190c7ca Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 17:17:49 +01:00
Rory Powell 4acbd55404 Merge develop 2023-07-25 16:54:00 +01: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 7b0b714bb5 Merge pull request #11338 from Budibase/fix/data-query-builder-binding
Stop data query binding drawer value from being cleared.
2023-07-25 16:13:49 +01:00
Andrew Kingston e022d9a22b Merge pull request #11337 from Budibase/fix/binding-panel
Fix builder crash when editing formula bindings
2023-07-25 16:13:16 +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
Andrew Kingston a188bf381c Merge pull request #11345 from Budibase/fix/nullish-popover-styles
Fix nullish check bug causing options fields to break on mobile sometimes
2023-07-25 16:12:47 +01:00
Andrew Kingston 8f859ccee4 Merge pull request #11346 from Budibase/fix/remove-unsupported-relationship-ux
Hide the 'Define Relationships' button when an integration does not support relationships
2023-07-25 16:12:33 +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
Rory Powell f028ba07f5 Update pro ref 2023-07-25 15:36:25 +01:00
Rory Powell 8590f865b5 Merge branch 'master' into merge-master 2023-07-25 15:32:16 +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