Commit Graph

29101 Commits

Author SHA1 Message Date
Sam Rose 2c451d494b
Backend/frontend JS parity, deep clone optimisation. 2024-10-07 12:04:45 +01:00
melohagan db25511948
Changes relating to adding accountName to Account entity (#14712)
* Remove unused code

* Typing compromise because Account extends CreateAccount

* Update account-portal

* Update account-portal
2024-10-07 12:26:55 +02:00
Adria Navarro e6cf90e160
Merge branch 'master' into graceful-sqs-5xx-error-handling 2024-10-07 11:51:04 +02:00
Andrew Kingston fda5fdc16e
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-07 10:46:50 +01:00
Andrew Kingston b9a106954f
Improve RBAC edutor UI for small flows 2024-10-07 10:45:36 +01:00
Martin McKeaveney a583b824c2
Merge pull request #14700 from Budibase/view-ui-metadata
Add uiMetadata to viewV2
2024-10-07 10:23:02 +01:00
Sam Rose 27578db4b7
Fix SQS error handling. 2024-10-07 09:48:33 +01:00
Adria Navarro 6f62b8671d Add comment 2024-10-04 15:54:07 +02:00
Adria Navarro 349637733e Return allowed run from table 2024-10-04 15:52:46 +02:00
Adria Navarro b6aebd67a8 Rename allowedViews to allowedSources 2024-10-04 15:52:36 +02:00
Adria Navarro 6c2c422fa5 Merge branch 'master' into v3-ui 2024-10-04 15:51:40 +02:00
Adria Navarro 6954fc6416
Merge branch 'master' into row-action/set-table-permission 2024-10-04 15:39:06 +02:00
Sam Rose 55008c4bb5
Merge branch 'master' into view-ui-metadata 2024-10-04 14:32:03 +01:00
Adria Navarro 2edc30e7a5
Merge branch 'master' into row-action/set-table-permission 2024-10-04 15:31:59 +02:00
Sam Rose 11dc2766cc
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-04 14:30:45 +01:00
Sam Rose 191be8689a
Merge branch 'master' into lab-day/app-sorting 2024-10-04 14:27:01 +01:00
Adria Navarro f38180eaaa Add comment 2024-10-04 14:48:50 +02:00
Adria Navarro 9d7fdb1ed7 Fix test 2024-10-04 14:45:28 +02:00
Adria Navarro 3830d6cff7 Clean action between tests 2024-10-04 14:45:11 +02:00
Adria Navarro 01b7f7388f More tests 2024-10-04 14:16:50 +02:00
Adria Navarro bb6bd1711a Add extra tests 2024-10-04 14:03:03 +02:00
Adria Navarro 9063e73f88 Fix tests 2024-10-04 14:02:56 +02:00
Adria Navarro 4c4f766a6a Endpoint to allow/disallow runs from table 2024-10-04 14:02:48 +02:00
Adria Navarro 75b5bbf401 Table run by default 2024-10-04 14:02:42 +02:00
Adria Navarro 8764a8c6e8 Return allowed run from table 2024-10-04 14:02:30 +02:00
Adria Navarro baa5a86ebb Rename allowedViews to allowedSources 2024-10-04 14:01:46 +02:00
Sam Rose c10cdd3aaf
Fix undefined error. 2024-10-04 11:56:55 +01:00
Sam Rose c247b194c2
Fix error propagation all the way out of processStringSync. 2024-10-04 11:48:19 +01:00
Sam Rose 4fb870e449
Make processStringSync's throw behaviour opt-in. 2024-10-04 11:30:10 +01:00
Andrew Thompson ec6a5bea13
Merge branch 'master' into lab-day/app-sorting 2024-10-04 11:25:15 +01:00
Sam Rose 2e4607edb6
Ensure processObjectSync does not throw. 2024-10-04 11:13:30 +01:00
Sam Rose 1b5c19554e
Merge branch 'master' into view-calculation-validation 2024-10-04 11:12:13 +01:00
Sam Rose fb7133e64f
Validate that there are no duplicate calculations in calculation views. 2024-10-04 11:09:29 +01:00
andz-bb 696b2c38db persist app sort method selection by saving it against the user 2024-10-04 10:54:14 +01:00
Sam Rose 27508d934d
Validate that you cannot create a calculation view with more than 5 calculation fields. 2024-10-04 10:45:03 +01:00
Peter Clement 9a47db4a13 fix test 2024-10-04 10:39:17 +01:00
Sam Rose 0eec9f9146
Merge branch 'js-stack-traces' of github.com:budibase/budibase into js-stack-traces 2024-10-04 10:32:43 +01:00
Sam Rose 28e6a03929
Include syntax errors in processJS 2024-10-04 10:32:33 +01:00
Peter Clement 3cb14d596a fixes an issue where id and revision weren't passed to row action automations 2024-10-04 10:18:27 +01:00
Andrew Kingston afca86cf8f
Merge branch 'master' into view-ui-metadata 2024-10-04 09:45:34 +01:00
Sam Rose e39ced99d9
Merge branch 'master' into js-stack-traces 2024-10-04 09:44:59 +01:00
Andrew Kingston a563adc2c0
Update tests 2024-10-04 09:43:23 +01:00
Sam Rose 831c81a99c
Fix automation tests. 2024-10-04 09:31:42 +01:00
Andrew Kingston 215e359615
Add uiMetadata to viewV2 2024-10-04 09:29:41 +01:00
Andrew Kingston f2b4ef2ac8
Lint 2024-10-04 09:23:14 +01:00
mike12345567 586dd8fea7 Fixing an issue with newlines between coalesce statements in Postgres - we were escaping newlines even if they were valid when given a list of JSON operations to perform. 2024-10-03 18:10:58 +01:00
Michael Drury d5af9315a5
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-03 17:10:23 +01:00
Sam Rose 725096c9d1
Merge master. 2024-10-03 16:33:35 +01:00
Sam Rose 19f58b62c9
Merge branch 'master' of github.com:budibase/budibase into js-stack-traces 2024-10-03 16:32:43 +01:00
Sam Rose 15a30b1d9e
Fix yet more tests. 2024-10-03 16:32:14 +01:00
mike12345567 6fb844753b Another small fix. 2024-10-03 16:24:54 +01:00
mike12345567 86846eff3f Small fix. 2024-10-03 16:22:32 +01:00
Sam Rose 03c514be4c
Fix tests. 2024-10-03 16:16:42 +01:00
mike12345567 a6f6942288 Fixing an issue with corrupt relationship records referencing rows which don't exist, this is a temporary measure as these relationships should be cleaned up correctly but for now ignore any which reference rows which no longer exist. 2024-10-03 16:10:07 +01:00
Sam Rose 646fc5e6bd
Respond to PR comment. 2024-10-03 15:56:19 +01:00
Andrew Kingston e4900e27bb
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-03 15:50:22 +01:00
Andrew Kingston aa3da2bcf2
Fix z-index 2024-10-03 15:49:44 +01:00
Andrew Kingston c51c7cd2a6
Make role editor full screen 2024-10-03 15:47:05 +01:00
Michael Drury aae5c19927
Merge branch 'master' into backport-v3-view-updates 2024-10-03 15:09:54 +01:00
Michael Drury 97b799f9db
Merge pull request #14694 from Budibase/view-merge-v3-ui
View changes - merge to V3 UI branch
2024-10-03 15:09:33 +01:00
mike12345567 58c7149fc0 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui 2024-10-03 14:48:35 +01:00
mike12345567 9c70ed92ba Small build fix. 2024-10-03 14:47:31 +01:00
Andrew Kingston 303bb94eec
Fix top nav being off-center 2024-10-03 14:28:43 +01:00
Andrew Kingston 818732250b
Add auto layout and fit when doing any role operation other than updating metadata 2024-10-03 14:13:22 +01:00
Andrew Kingston a4aac8aae0
Deal with power users 2024-10-03 13:59:50 +01:00
mike12345567 176bae2935 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui 2024-10-03 13:38:58 +01:00
Sam Rose 795b10c4c9
Fix types in string-templates. 2024-10-03 13:11:35 +01:00
Sam Rose f9ccbbe081
Fix jsRunner.spec.ts. 2024-10-03 13:11:01 +01:00
Andrew Kingston a342aa3c31
Add empty state node to role editor 2024-10-03 13:08:47 +01:00
Sam Rose df242cc2ad
Don't break the fact that processStringSync returns a string. 2024-10-03 13:07:22 +01:00
Sam Rose fdbe633b02
Get errors working on the client side as well. 2024-10-03 12:43:57 +01:00
Sam Rose 9bb6855967
Merge branch 'master' of github.com:budibase/budibase into js-stack-traces 2024-10-03 11:59:14 +01:00
Andrew Kingston 303f400139
Prevent selection of basic and admin roles 2024-10-03 11:28:41 +01:00
Andrew Kingston 72f1db8c10
Update spacing 2024-10-03 11:24:22 +01:00
Andrew Kingston f7318b15d4
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-03 11:23:02 +01:00
Andrew Kingston ad2bb7b7c0
Merge branch 'v3-ui' of github.com:Budibase/budibase into v3-ui 2024-10-03 11:22:24 +01:00
Andrew Kingston edbb0b59f7
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-03 11:22:05 +01:00
Andrew Kingston fbdbefddf7
Fix resizing issue with brackes 2024-10-03 11:21:30 +01:00
Andrew Kingston ade2ed5a05
Merge pull request #14635 from Budibase/default-values-options
Default values for options and array types (frontend)
2024-10-03 10:26:42 +01:00
Adria Navarro ca88943048
Merge branch 'master' into chore/search-tests-from-views 2024-10-03 10:45:36 +02:00
Adria Navarro 9ba759093e Small rename 2024-10-03 10:44:58 +02:00
Adria Navarro 36e304aaf5 Unify 2024-10-03 10:44:15 +02:00
Sam Rose b004ef5448
Pull the error object out of isolated-vm when a user script throws an error. 2024-10-03 09:42:08 +01:00
Andrew Kingston f430de5369
Add more edge validation 2024-10-03 09:36:18 +01:00
Adria Navarro 1b53bab92e Extract 2024-10-03 10:28:29 +02:00
Andrew Kingston 4de91d4e3a
Add animated curly brackets 2024-10-03 09:27:04 +01:00
Adria Navarro 7c778061e5 Fix sql relationship fetching 2024-10-03 09:50:58 +02:00
Adria Navarro 7e4097476e
Merge branch 'master' into chore/search-tests-from-views 2024-10-03 09:23:02 +02:00
mike12345567 98ebd8f18c Omitting in tests. 2024-10-02 18:59:20 +01:00
mike12345567 932413c4c1 Getting re-loading of view queries working again. 2024-10-02 18:57:40 +01:00
mike12345567 bcb940b7eb Merge issue. 2024-10-02 18:45:47 +01:00
mike12345567 f4177230a7 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui 2024-10-02 18:43:46 +01:00
mike12345567 8cb6603a73 Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into backport-v3-view-updates 2024-10-02 18:43:21 +01:00
mike12345567 9e7ed04719 Support saving queryUI. 2024-10-02 18:43:07 +01:00
mike12345567 2fed6008fa Updating view stores. 2024-10-02 18:41:27 +01:00
mike12345567 786bfdb0e2 Merging v3-backport branch 2024-10-02 18:09:53 +01:00
mike12345567 5709c5f8d5 Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-02 17:51:22 +01:00
Michael Drury f2ced5f129
Merge branch 'master' into backport-v3-view-updates 2024-10-02 17:50:49 +01:00
Sam Rose 73613ce8bf
Fix spread operator use. 2024-10-02 16:52:40 +01:00
Sam Rose 7ed28593fb
Add a test for a count distinct column that references a non-existent field. 2024-10-02 16:49:14 +01:00
Sam Rose 50c307df4d
Add more view calculation tests, and implement count distinct. 2024-10-02 16:49:14 +01:00
Sam Rose 612d0844bf
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4 2024-10-02 16:48:49 +01:00
Adria Navarro 39511a4e83 Fix tests 2024-10-02 17:39:35 +02:00
Andrew Kingston 66f6e91245
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-02 16:08:54 +01:00
Andrew Kingston 8b0600f716
Merge branch 'master' into default-values-options-backend 2024-10-02 16:06:59 +01:00
Adria Navarro 576ebc997e
Merge branch 'master' into chore/search-tests-from-views 2024-10-02 16:55:13 +02:00
Adria Navarro 521a14650d Fix tests 2024-10-02 16:50:54 +02:00
Adria Navarro 0484b798fc Honor onEmptyFilter in views 2024-10-02 16:50:54 +02:00
Adria Navarro 557add173a Fix view relationships 2024-10-02 16:50:54 +02:00
Andrew Kingston 27ab119abf
Merge branch 'master' into fix-form-browser-crash 2024-10-02 15:45:06 +01:00
Andrew Kingston 45e708652e
Revert backend changes 2024-10-02 15:39:48 +01:00
Andrew Kingston 3e3fd20207
Add tests for new default value types 2024-10-02 15:35:17 +01:00
Andrew Kingston c4a98832cb
Enable default values for options and array types 2024-10-02 15:24:04 +01:00
Michael Drury fb68fe2f8c
Merge branch 'master' into backport-v3-view-updates 2024-10-02 14:09:11 +01:00
Sam Rose 8e120b2b5e
Merge branch 'master' into count-field-name 2024-10-02 13:58:58 +01:00
Sam Rose 45a6f0680f
Fix view.spec.ts tests. 2024-10-02 13:58:23 +01:00
Adria Navarro 0d64e03c9f Don't run for lucene views 2024-10-02 14:10:29 +02:00
Andrew Kingston bc96e61baf
Avoid mutating path array in-place 2024-10-02 12:57:10 +01:00
Adria Navarro 4b83d6b00b Fix tests 2024-10-02 13:07:41 +02:00
Adria Navarro 2d6e97bac9
Merge branch 'master' into chore/search-tests-from-views 2024-10-02 12:38:57 +02:00
Adria Navarro 470ad95208 Run view tests 2024-10-02 12:37:40 +02:00
Adria Navarro e08c3b8574 Run view tests 2024-10-02 12:26:03 +02:00
Andrew Kingston ce07aa98d2
Make collapsed buttons in grids CTAs 2024-10-02 11:11:47 +01:00
Andrew Kingston a4c67f1812
Show notification when running row actions in the data section 2024-10-02 11:11:20 +01:00
Andrew Kingston 27c65ccff2
Cleanup 2024-10-02 10:54:17 +01:00
Andrew Kingston a49e779d11
Add default value for multi-selects and improve default value validation 2024-10-02 10:50:22 +01:00
Sam Rose 0679ec8993
Make sure calculation views are created and returned correctly. 2024-10-02 10:36:45 +01:00
Andrew Kingston f6a783a9f1
Update submodules 2024-10-02 10:25:22 +01:00
Andrew Kingston bddb7a72f7
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-values-options 2024-10-02 10:19:46 +01:00
Andrew Kingston f6d937fda5
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-values-options 2024-10-02 10:19:37 +01:00
Conor Webb dda078d743
Merge branch 'master' into v3-ui 2024-10-02 10:15:20 +01:00
Sam Rose ab386e5047
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4 2024-10-02 10:06:44 +01:00
Sam Rose ee897e4d7e
Fix imports. 2024-10-02 10:05:56 +01:00
deanhannigan 82006c4088
Merge branch 'master' into v3-ui 2024-10-02 09:57:55 +01:00
Sam Rose 4dd6afd435
Symbolise the special __bb_total count field name. 2024-10-02 09:57:18 +01:00
Sam Rose 904dd8364a
Merge branch 'master' into view-calculation-sql-3 2024-10-02 09:55:50 +01:00
Dean 61a0db0984 Add explicit typing for view search filter config 2024-10-02 09:51:13 +01:00
Sam Rose d00513db33
Merge branch 'master' into view-calculation-sql-2 2024-10-02 09:46:44 +01:00
Sam Rose 7b9af81fd5
Clean up params and isSqs 2024-10-02 09:44:20 +01:00
Sam Rose ddd229062c
Rename total field when doing row counts. 2024-10-02 09:39:54 +01:00
Michael Drury 9ed77d6aea
Merge branch 'master' into backport-v3-view-updates 2024-10-02 09:37:40 +01:00
Sam Rose cc6b2f6717
add failing test 2024-10-02 09:35:47 +01:00
Sam Rose 08f1c4dadc
Update packages/backend-core/src/sql/sql.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
2024-10-02 09:35:15 +01:00
Sam Rose abeeecba9d
Merge branch 'master' into view-calculation-sql-2 2024-10-02 09:24:23 +01:00
Dean 2884ac4638 Merge remote-tracking branch 'origin/master' into v3-ui 2024-10-02 09:21:00 +01:00
Sam Rose 3ef8d4ad04
Merge branch 'master' into feat/fix-automation-context 2024-10-01 17:31:22 +01:00
Sam Rose 77856eb35a
Add a test to make sure fields on the underlying table that are required are not required on the view. 2024-10-01 17:23:21 +01:00
Martin McKeaveney 9a6301fd5f
Merge branch 'master' into budi-8664-cron-helper-ai-feature 2024-10-01 17:06:33 +01:00
Martin McKeaveney a28a64f9d8 update pro ref 2024-10-01 17:05:38 +01:00
Martin McKeaveney c4a6a92bdb PR comments 2024-10-01 17:03:06 +01:00