Commit Graph

28181 Commits

Author SHA1 Message Date
Adria Navarro e364bf5d65 Don't use `sdk.tables.getTables` (as it fails randomly) 2024-09-03 11:00:15 +02:00
Adria Navarro e61b619740 Clean code 2024-09-03 10:43:44 +02:00
Adria Navarro 6d24eba679 Move describes 2024-09-03 10:42:27 +02:00
Adria Navarro a9669c1c1d Extra tests 2024-09-03 10:40:29 +02:00
Peter Clement 66fdf03398
Refactor automation orchestrator to support branching (#14461)
* refactor automation thread

* fix infinite loop in branching

* remove try catch

* remove spacing

* remove unecessary addition of branch outputs

* pr comments

* remove loopstep instance variable

* add test to cover failure scenario

* add tests for other automationf ailure conditions

* update test name

* use private keyword instead of underscore

* parse int / string safely

* fix refs

* add condition support for branching and tests

* create helper function for recursing all search filters

* move helper func

* fix import
2024-09-03 08:33:41 +00:00
Adria Navarro 74eb0357a4 Rename link relationship fields 2024-09-03 10:15:26 +02:00
Adria Navarro 1be8289677
Merge branch 'master' into feat/row-action-view-security 2024-09-03 10:13:22 +02:00
Adria Navarro ae0e3cdb59 Fix test for external 2024-09-02 18:36:44 +02:00
Adria Navarro 2365a6ecd5 Add renaming column tests 2024-09-02 17:32:21 +02:00
mike12345567 fc31a28c10 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-09-02 16:13:26 +01:00
Sam Rose bb8ba16b30
Types for new view calculation feature. 2024-09-02 15:28:20 +01:00
Adria Navarro fc3684c73c
Merge branch 'master' into feat/pick-relationship-fields 2024-09-02 16:05:17 +02:00
Adria Navarro 156b70f9ef Use "filter: brightness" instead of "::before" 2024-09-02 16:02:14 +02:00
Adria Navarro d1c1e467a7 line-clamp 2024-09-02 15:55:58 +02:00
Adria Navarro 86ea50a8d6 Add minwidth 2024-09-02 15:49:27 +02:00
Adria Navarro 0da0145dba Formatting 2024-09-02 15:48:36 +02:00
Adria Navarro 42a2eec439 Display relationship fields on relationship focus only 2024-09-02 15:40:58 +02:00
mikesealey ee50012775 tweaks z-index to show preview above bindings drawer 2024-09-02 13:37:36 +01:00
Sam Rose 3a516e8356
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-09-02 11:13:11 +01:00
Adria Navarro 9dc9224b65 Add hover effect 2024-09-02 11:14:13 +02:00
Adria Navarro c70f2c2fe2 Use reactivity 2024-09-02 10:37:46 +02:00
Martin McKeaveney f7b2c77be4
Merge branch 'master' into poc-authenticated-iframe 2024-09-02 09:08:20 +01:00
Martin McKeaveney 9924ad20e0 lint 2024-09-02 08:58:28 +01:00
Adria Navarro 3d1c861222
Merge branch 'master' into feat/pick-relationship-fields 2024-08-31 20:24:00 +02:00
melohagan fc367476c1
Make sure setEnrichedUsers is called when tenantOwnerLoaded (#14491) 2024-08-30 17:40:43 +00:00
Martin McKeaveney d5f58fc6c8 merge 2024-08-30 18:08:40 +01:00
Michael Drury 9b84d959dc
Merge branch 'master' into fix/sqs-default-dev-on 2024-08-30 18:07:51 +01:00
Martin McKeaveney 9b4c89746a update submodule references 2024-08-30 18:06:30 +01:00
mike12345567 d5bc5debac Another fix. 2024-08-30 17:57:02 +01:00
Sam Rose 955a3a6883
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-08-30 17:47:36 +01:00
mike12345567 70708dc36e Adding back missing tests. 2024-08-30 17:47:08 +01:00
mike12345567 7c1f2522e2 Another test. 2024-08-30 17:42:54 +01:00
mike12345567 6249f41bbb Make sure Lucene correctly sets environment variables in development tests. 2024-08-30 17:34:10 +01:00
melohagan 3f357561d0
The UI should indicate who the account holder is (#14470)
* Get tenantInfo in user fetch

* Add account holder label in users table

* Don't allow account holder to be selected in users table

* Sort account holder to top of list

* Only use account holder role in users table

* lint

* Remove joi validation from tenant-info endpoint

* Remove dayPasses

* Catch CouchDB 404 and return undefined

* Don't allow account holder role to be changed UI

* Don't offer delete option for tenant owner

* Backend validation to ensure account holder role cannot be updated

* Don't allow account holder role to be changed UI

* Get tenantOwner in separate call

* Pass data into SelectEditRenderer

* Rename var to __selectable

* setEnrichedUsers

* Update pro reference

* Only load tenantOwner once
2024-08-30 16:29:38 +00:00
mike12345567 bdfd64c98c Fixing view test. 2024-08-30 17:19:04 +01:00
mike12345567 0311e8433b Fixing tests so they can work with SQS. 2024-08-30 17:06:30 +01:00
Sam Rose 7cbfd7be84
Disable creation of createdAt and createdBy auto columns when default values is enabled. 2024-08-30 15:58:11 +01:00
mike12345567 b622df2683 Defaulting SQS to on in development environments, this removes the need for setting it in the management scripts. 2024-08-30 15:10:55 +01:00
Adria Navarro e2e49d641b
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 15:32:45 +02:00
Michael Drury 2d030d442b
Merge branch 'master' into update-pro-3 2024-08-30 14:12:02 +01:00
Adria Navarro 64c2a18934
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 14:45:01 +02:00
mike12345567 6407f5b68d Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-08-30 13:44:40 +01:00
mike12345567 6730105491 Adding the option to disable user sync, always importing large apps which are problematic. 2024-08-30 13:44:23 +01:00
Adria Navarro 2b49c3ffea
Merge branch 'master' into feat/row-action-view-security 2024-08-30 14:43:58 +02:00
Adria Navarro 31388aec91 Change paddings 2024-08-30 14:25:32 +02:00
Adria Navarro e9940ce43e Hide undefineds 2024-08-30 14:21:14 +02:00
Adria Navarro d8744e1b72 Change padding 2024-08-30 14:02:47 +02:00
Adria Navarro 9f414c5148 Honor relationship columns 2024-08-30 14:00:34 +02:00
Adria Navarro f1fdbe3908 Don't show popover when focused 2024-08-30 13:44:59 +02:00
Adria Navarro 3f9e6c548d Fix bug 2024-08-30 13:44:39 +02:00
Adria Navarro 00f6f84b35 Display popover 2024-08-30 13:38:36 +02:00
melohagan 4d9f87e4c4
Set password to 12 characters (#14478) 2024-08-30 09:16:16 +00:00
Adria Navarro a7a5041b91 Remove error message catching 2024-08-30 10:30:27 +02:00
Adria Navarro eb58c696dd Clean 2024-08-30 10:30:27 +02:00
Adria Navarro 9f56b9916e Fix 2024-08-30 10:30:27 +02:00
Adria Navarro b54b2a7121 Lint 2024-08-30 10:30:27 +02:00
Adria Navarro 6a8d55a00c Add tests 2024-08-30 10:30:27 +02:00
Adria Navarro 5cd3b9dc88 Add tests 2024-08-30 10:30:27 +02:00
Adria Navarro 868d193015 Add triggerRowActionAuthorised 2024-08-30 10:30:27 +02:00
Adria Navarro f193df41f1 Expose get row action 2024-08-30 10:30:27 +02:00
Adria Navarro 6a43597dd3 Update paths 2024-08-30 10:30:27 +02:00
Adria Navarro dd14d0b646 Fix return types 2024-08-30 10:30:27 +02:00
Adria Navarro 5ed66e9d40 Lint 2024-08-30 10:30:27 +02:00
Adria Navarro 95d863b4a8 Clean 2024-08-30 10:30:27 +02:00
Adria Navarro 6d1838d907 Create row action trigger test 2024-08-30 10:30:27 +02:00
Adria Navarro e93934111f Allow running api prod tests 2024-08-30 10:30:27 +02:00
Adria Navarro 610621823c Publish 2024-08-30 10:30:27 +02:00
Adria Navarro 568f5719c6 Test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 922b746029 Crud endpoints only for builder 2024-08-30 10:30:27 +02:00
Adria Navarro 98347b45ce Extra tests 2024-08-30 10:30:27 +02:00
Adria Navarro b461025639 Check views 2024-08-30 10:30:27 +02:00
Adria Navarro 0ece6a4d2d Fix unauthorised tests 2024-08-30 10:30:27 +02:00
Adria Navarro 3ac1343b08 set/unsetViewPermission tests 2024-08-30 10:30:27 +02:00
Adria Navarro d1c6edc437 Return types 2024-08-30 10:30:27 +02:00
Adria Navarro 42f849d9a1 View permissions on rowActionResponse 2024-08-30 10:30:27 +02:00
Adria Navarro ec2e5a0263 Add test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 6d3006e80e Dry code 2024-08-30 10:30:27 +02:00
Adria Navarro 2aa71ab419 Set/unset 2024-08-30 10:30:27 +02:00
Adria Navarro 5f3dcda73a Refactor 2024-08-30 10:30:27 +02:00
Adria Navarro de3eae2d47 Fix types 2024-08-30 10:30:27 +02:00
Adria Navarro 3cfe556b0f Add rowaction permission to document 2024-08-30 10:30:27 +02:00
Sam Rose 8618c7cc9b
Update pro reference. 2024-08-30 09:14:12 +01:00
mike12345567 a9b1a22403 Some improvements to get SQS tests passing. 2024-08-29 18:56:14 +01:00
Sam Rose 2a2dbfb745
Respond to last PR comment. 2024-08-29 17:59:17 +01:00
mike12345567 3e51dde6d2 Check for alias as well when deciding whether filter requires relationship addition. 2024-08-29 17:58:11 +01:00
Sam Rose d134c21a45
Fix build. 2024-08-29 17:45:47 +01:00
mike12345567 b217e83b31 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-08-29 16:54:21 +01:00
Sam Rose 5a5c0d74dd
Update pro reference. 2024-08-29 16:44:15 +01:00
Sam Rose 82396c339d
Update account-portal submodule to latest master. 2024-08-29 16:30:38 +01:00
Sam Rose edfedec930
Fix lint. 2024-08-29 15:50:46 +01:00
Sam Rose bced81d241
Fix tests. 2024-08-29 15:45:19 +01:00
Sam Rose f9f528e880
Merge branch 'master' of github.com:budibase/budibase into feature-flag-sqs 2024-08-29 15:34:42 +01:00
Dean d2b6959b44 Reduced the z-index to just 1 above the binding drawer. The updated value caused index issues in other areas of budibase. 2024-08-29 12:58:12 +01:00
Adria Navarro 40021ff602 Fix view schemas 2024-08-29 13:56:42 +02:00
Adria Navarro 637464e8b0 Fix 2024-08-29 13:22:50 +02:00
Adria Navarro f2b8185905 Fix types 2024-08-29 13:20:35 +02:00
Adria Navarro 79ed5cd5a6 Fix 2024-08-29 13:16:27 +02:00
Adria Navarro fc1be3c9f8 Lint 2024-08-29 13:16:27 +02:00
Adria Navarro 033ac46259 Lint 2024-08-29 13:16:27 +02:00
Adria Navarro 351ed643ce Extra tests 2024-08-29 13:16:27 +02:00
Adria Navarro 275d358df9 Test updated 2024-08-29 13:16:27 +02:00
Adria Navarro d75f1debda Update 2024-08-29 13:16:27 +02:00
Adria Navarro 6b259676b2 Enrich on get row from view 2024-08-29 13:16:27 +02:00
Adria Navarro e443b00a69 Fix test 2024-08-29 13:16:27 +02:00
Adria Navarro b784479c8f Add feature flags back 2024-08-29 13:16:27 +02:00
Adria Navarro adc2e983b5 Move responsability 2024-08-29 13:16:27 +02:00
Adria Navarro 383aad7265 Honor fields on views 2024-08-29 13:16:27 +02:00
Adria Navarro 1bc1db9b29 Support outputSquash fields on searchs 2024-08-29 13:16:27 +02:00
Adria Navarro 73ec0bbf09 Renames 2024-08-29 13:16:27 +02:00
Adria Navarro de29d31c35 Enrich configuration only for views 2024-08-29 13:16:27 +02:00
Adria Navarro 4826a5fbbf Clean ts 2024-08-29 13:15:03 +02:00
Adria Navarro e29db10a77 Update types 2024-08-29 13:13:53 +02:00
Sam Rose 92957ede23
Merge master. 2024-08-29 12:12:29 +01:00
Adria Navarro 658d4b01b0 Merge branch 'master' into feat/pick-relationship-fields 2024-08-29 13:12:27 +02:00
Adria Navarro 5c1be1fe7a
Merge branch 'master' into BUDI-8562/fix-trimming-views 2024-08-29 12:35:04 +02:00
Adria Navarro 6028ddec84 Move cast 2024-08-29 12:34:17 +02:00
Martin McKeaveney 72b39de02e
Merge branch 'master' into fix-14408 2024-08-29 10:35:01 +01:00
Adria Navarro d8f16ae014
Merge branch 'master' into BUDI-8562/fix-trimming-views 2024-08-29 11:21:00 +02:00
mike12345567 628964364a Getting through join working as expected. 2024-08-28 18:55:15 +01:00
mike12345567 49c1f34b5d Saving at this point - got exists working. 2024-08-28 18:41:02 +01:00
Sam Rose d507c7d68e
Update packages/account-portal reference. 2024-08-28 17:21:21 +01:00
Adria Navarro b28b948fef
Merge branch 'master' into BUDI-8562/fix-trimming-views 2024-08-28 18:16:27 +02:00
mike12345567 413628ca3f Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships 2024-08-28 16:58:23 +01:00
Martin McKeaveney 8c769140bb adding conditional to prevent embedprovider handler firing 2024-08-28 16:56:51 +01:00
Martin McKeaveney 8e40e98b6a merge 2024-08-28 16:54:51 +01:00
Martin McKeaveney b3f51e2766 PR comments 2024-08-28 16:49:00 +01:00
Sam Rose 9ef151c6a6
Update packages/account-portal reference. 2024-08-28 16:47:04 +01:00
Sam Rose 64682211e2
Update packages/account-portal reference. 2024-08-28 16:45:23 +01:00
Sam Rose b798930514
Merge branch 'update-pro-2' of github.com:budibase/budibase into update-pro-2 2024-08-28 16:28:55 +01:00
Sam Rose c1c6c4203e
Update packages/account-portal reference. 2024-08-28 16:28:44 +01:00
Sam Rose 7c5ae1546d
Merge branch 'master' into update-pro-2 2024-08-28 16:16:02 +01:00
Sam Rose 06592a0afc
Update packages/pro refernce to latest master. 2024-08-28 16:14:58 +01:00
Sam Rose 2bcc8cdf67
Update packages/pro refernce to latest master. 2024-08-28 16:14:43 +01:00
Adria Navarro bb1232277f Merge branch 'master' into feat/pick-relationship-fields 2024-08-28 16:35:50 +02:00
Adria Navarro 92c3f4dba6
Merge branch 'master' into BUDI-8562/fix-trimming-views 2024-08-28 16:22:34 +02:00
Adria Navarro 54406fd6b5 Rename fetchView to fetchLegacyView 2024-08-28 14:56:40 +02:00
Adria Navarro d71b18be00 Fix tests 2024-08-28 14:44:08 +02:00
Adria Navarro f2d9be985d Lint 2024-08-28 14:36:19 +02:00
Adria Navarro 19e97dee50 Unify tests 2024-08-28 14:32:59 +02:00
Adria Navarro e1add8dd6a Fix retrieve 2024-08-28 14:32:59 +02:00
Adria Navarro 0dba593bdb Add extra test (failing) 2024-08-28 14:32:59 +02:00
Adria Navarro d404d60c32 Add extra tests 2024-08-28 14:32:59 +02:00
Adria Navarro 4bd27bac61 Add basic test 2024-08-28 13:36:40 +02:00
Adria Navarro 3af35e6683 Add describe 2024-08-28 13:28:45 +02:00
Adria Navarro 8a9e868527 Move test to right describe 2024-08-28 13:26:23 +02:00
Adria Navarro 9b67481661 Add extra tests 2024-08-28 13:16:42 +02:00
Adria Navarro 458ef9e754 Trim on output 2024-08-28 13:16:22 +02:00
Adria Navarro c7c48d6f8f
Merge branch 'master' into BUDI-8562/refactor-view-usage 2024-08-28 12:50:13 +02:00
Adria Navarro 1650cfba29 Fix test 2024-08-28 12:48:33 +02:00
Adria Navarro defbe20a3d Undo wrong delete 2024-08-28 12:47:34 +02:00