Commit Graph

23391 Commits

Author SHA1 Message Date
mike12345567 2ec4fd5d67 Fixing executeScript test cases to cover the issue we experienced, make sure context is correctly accessible. 2024-02-01 16:11:44 +00:00
mike12345567 6cad0e758f Quick fix for automation JS scripting, make sure context is passed through correctly. 2024-02-01 16:00:58 +00:00
Andrew Kingston 1e033c3618 Remove proxying of context changes up the chain 2024-02-01 14:45:16 +00:00
Adria Navarro 87501bf25e
Merge branch 'master' into isolated-vm 2024-02-01 13:15:47 +01:00
Adria Navarro 2ea70e1010
Merge pull request #12922 from Budibase/test-isolated-vm
Test isolated vm
2024-02-01 13:15:33 +01:00
Michael Drury 8576a71128
Merge branch 'master' into fix/very-large-backups 2024-02-01 11:45:19 +00:00
Adria Navarro 3aff1004c8
Merge branch 'master' into isolated-vm 2024-02-01 12:42:48 +01:00
Adria Navarro 3808718004 Fix tests 2024-02-01 12:42:23 +01:00
Adria Navarro 480476bcfe Lint 2024-02-01 12:32:39 +01:00
Adria Navarro 843d95c3bb Lint 2024-02-01 12:30:59 +01:00
Adria Navarro 1439eb9b27 Fix stripProtocol 2024-02-01 12:20:31 +01:00
mike12345567 c4eae33b67 Fixing mock to cover getReadStream in object store. 2024-02-01 11:09:28 +00:00
Adria Navarro d1cf13707d Fix url.escape 2024-02-01 11:57:22 +01:00
mike12345567 e61d52ee8b Updating pro ref to master. 2024-02-01 10:18:14 +00:00
Adria Navarro 1b88700d02 Test random helper 2024-02-01 11:17:55 +01:00
Adria Navarro 2899c4f7f8 Test uuid helper 2024-02-01 11:15:36 +01:00
Adria Navarro 181d462cdf Update uuid 2024-02-01 11:15:21 +01:00
Adria Navarro 4461c49f48 Allow skipping tests 2024-02-01 10:58:20 +01:00
Adria Navarro 82db76627f Better typing 2024-02-01 10:56:59 +01:00
Peter Clement 6fdbeb1258 submodule 2024-02-01 09:42:38 +00:00
mike12345567 010f160fa5 Cleaning up files after import is finished (with large files this saves on tmp space) as well as fixing an issue where menu would appear next to a restore despite having no options. 2024-01-31 18:22:18 +00:00
mike12345567 85f7d66a99 Handling very large exports/backup downloads. 2024-01-31 17:16:51 +00:00
Adria Navarro e6ae364918 Register server helpers 2024-01-31 17:49:55 +01:00
Adria Navarro b96ca1cf54 Run hbs on server tests 2024-01-31 17:49:55 +01:00
Adria Navarro de4d7d95c3 Move code to test helpers 2024-01-31 17:49:55 +01:00
Adria Navarro 786acaa121 Add basic test 2024-01-31 17:49:55 +01:00
Adria Navarro ed7b89f2f9 Move jsRunner to folder 2024-01-31 17:49:55 +01:00
Adria Navarro a5ccb9f0e8 Dry 2024-01-31 17:47:07 +01:00
Peter Clement 1b023b849f
Merge branch 'master' into fix/pc-fixes 2024-01-31 16:21:39 +00:00
Adria Navarro 507aa8af93 Simplify and remove magic strings 2024-01-31 17:05:20 +01:00
Adria Navarro 805b24975b Allow configuring memory limits 2024-01-31 16:55:59 +01:00
Michael Poirazi e0c1382d3f
Merge branch 'master' into contrib-expose-fetchData-in-SDK 2024-01-31 17:38:42 +02:00
Martin McKeaveney 00fa0dab24
Merge branch 'master' into consoleloglintrule 2024-01-31 17:02:41 +02:00
Sam Rose 682c3c6c14
Merge branch 'master' into update-nano 2024-01-31 14:43:44 +00:00
Peter Clement cf6c9c16b8 Merge remote-tracking branch 'origin/master' into fix/pc-fixes 2024-01-31 14:36:30 +00:00
Martin McKeaveney 475070a495 client and frontend core 2024-01-31 10:53:53 -03:00
Martin McKeaveney 63cc5447d5 adding lint rule for console.log 2024-01-31 10:47:27 -03:00
Adria Navarro f2aeb56671 Lint 2024-01-31 13:30:41 +01:00
Martin McKeaveney a23f76b8c8 update expiry time for attachments/images 2024-01-31 08:57:54 -03:00
Sam Rose f3e0dfd466
Update to @budibase/nano 10.1.5 2024-01-31 11:55:29 +00:00
Adria Navarro 3af739b905 Merge branch 'isolated-vm' of ssh://github.com/Budibase/budibase into isolated-vm 2024-01-31 12:42:25 +01:00
Adria Navarro 60dc6822cf Run only once 2024-01-31 12:41:34 +01:00
Adria Navarro b2e1d8ee71
Merge branch 'master' into isolated-vm 2024-01-31 12:12:14 +01:00
Adria Navarro 623b4f5dab
Merge branch 'master' into isolated-vm 2024-01-31 10:47:08 +01:00
Adria Navarro cd4fccbd6e Allow excluding js helpers 2024-01-31 10:34:49 +01:00
Adria Navarro e5d5dea5e6 Renames 2024-01-31 10:00:41 +01:00
Adria Navarro 70d49bbd6b Renames 2024-01-31 09:59:59 +01:00
Peter Clement c915442a9e
Merge branch 'master' into fix/pc-fixes 2024-01-30 16:53:38 +00:00
Adria Navarro d1712bda52 Remove helpers not available in js 2024-01-30 17:37:09 +01:00
Adria Navarro 82b4af1436 Update handlebars-helpers package 2024-01-30 17:09:41 +01:00
Adria Navarro 43e536e7a6 Test only js helpers 2024-01-30 16:52:25 +01:00
Peter Clement 9c47671032 fix issue with automation setting sync 2024-01-30 15:39:12 +00:00
Adria Navarro f5157c4184 Fix other tests 2024-01-30 15:54:00 +01:00
Adria Navarro f94e1e105a Renames 2024-01-30 15:49:48 +01:00
Adria Navarro 710083d9fc Use require.resolve to get the manifest on generation 2024-01-30 15:49:48 +01:00
Adria Navarro f1997fa4a8
Merge branch 'master' into test-helpers-as-js 2024-01-30 15:15:59 +01:00
mike12345567 51aeda26ce Fix for #12909 - the relationship modal was too small, cutting table names and making it hard to use, expanding the modal to be easier to use on normal screens. 2024-01-30 12:53:51 +00:00
Michael Drury b69559566a
Merge branch 'master' into string-split-check 2024-01-30 11:38:03 +00:00
Sam Rose b3c949b091
Fix case where if a binding returned an int it would throw an error. 2024-01-30 11:06:09 +00:00
Sam Rose 72d63d0c00
Rename executeSynchronously to be a bit less confusing, as it does not execute synchronously. 2024-01-30 10:57:25 +00:00
Sam Rose 456817ee7b
More loop step typing improvements. 2024-01-30 10:37:23 +00:00
Sam Rose 67a848bb86
Fix tests. 2024-01-30 10:23:11 +00:00
Sam Rose 669b0743ac
Typing improvements around automation loop tests. 2024-01-30 10:00:44 +00:00
Adria Navarro 061d1589af Run js only for non-block 2024-01-30 10:21:33 +01:00
Adria Navarro eac30aa787 isBlock to manifest 2024-01-30 10:20:52 +01:00
Adria Navarro 5b5228d8b0 Type params 2024-01-30 09:48:15 +01:00
Adria Navarro db9e4513c2 Update manifest examples 2024-01-30 09:48:15 +01:00
Adria Navarro db14f9afab Inject {} at the end of the helper calls 2024-01-30 09:48:15 +01:00
Adria Navarro a14ff42b14 Fix duration as js 2024-01-30 09:48:15 +01:00
Adria Navarro 5a1d73ff2f Fix avg helper 2024-01-30 09:48:15 +01:00
Adria Navarro ceb7fc04f4 Add js tests (not all working) 2024-01-30 09:48:15 +01:00
Adria Navarro b36c8ad476 Move cleanups out of the actual test 2024-01-30 09:48:15 +01:00
Adria Navarro 4ced91affc Update account-portal submodule 2024-01-30 09:33:39 +01:00
Adria Navarro 1024bd1dbf Lint 2024-01-30 09:23:28 +01:00
Adria Navarro 9da9935c95 Types 2024-01-29 23:25:12 +01:00
Adria Navarro 7394a7cd64 Smart typing 2024-01-29 23:19:07 +01:00
Adria Navarro ff75fbf99e Convert query.sec.spec.ts to ts 2024-01-29 22:57:20 +01:00
Adria Navarro 9e4a2542e1 Fix test 2024-01-29 19:17:07 +01:00
Sam Rose 2bfa4c6f91
Mild refactor of stringSplit to make it easier to understand. 2024-01-29 17:43:08 +00:00
Sam Rose b5672d676f
Add a check to stringSplit that gives a nicer error message is a non-string is passed. 2024-01-29 17:38:52 +00:00
Adria Navarro 51406a80da Fix test 2024-01-29 16:18:34 +01:00
Adria Navarro f3f6e0c41b Fix tests 2024-01-29 15:43:35 +01:00
Adria Navarro aca7b50dc5 Fix tests 2024-01-29 15:27:09 +01:00
Adria Navarro d806029075
Merge branch 'master' into remove_test_flakiness 2024-01-29 15:21:24 +01:00
Dean 394c1ed1ae Updating Account Portal 2024-01-29 10:39:03 +00:00
deanhannigan a9b2e85af2
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-29 10:36:38 +00:00
Andrew Kingston 764cfc04ba
Merge branch 'master' into contrib-expose-fetchData-in-SDK 2024-01-29 08:57:00 +00:00
jvcalderon 830bd168e7 Update account portal submodule 2024-01-29 09:20:58 +01:00
jvcalderon 82f457008f Add Microsoft to LoginSource enum 2024-01-29 09:12:56 +01:00
deanhannigan 0c0297fc19
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-26 17:20:29 +00:00
Dean 5a5baedc73 Update the account portal 2024-01-26 17:10:24 +00:00
Dean 8f153eef65 Removed debugging naming from readable bindings 2024-01-26 17:05:01 +00:00
mike12345567 41c1c6ae65 Fixing type build issue. 2024-01-26 17:01:56 +00:00
mike12345567 acc7868634 Fixing accidental removed character. 2024-01-26 16:52:19 +00:00
mike12345567 99c2a51f41 Updating back to use our own home-rolled version which allows us to specify the image version correctly, but using the testcontainers option to wait for two logs. 2024-01-26 16:48:56 +00:00
mike12345567 ccd6c2ece6 Merge branch 'fix/postgres-test-db-not-starting' of github.com:Budibase/budibase into fix/postgres-test-db-not-starting 2024-01-26 15:59:27 +00:00
mike12345567 cf60138832 Trying proper Postgres testcontainers - should have more accurate startup. 2024-01-26 15:59:06 +00:00
deanhannigan d45642da98
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-26 15:16:02 +00:00
Michael Drury 555871d84d
Merge branch 'master' into fix/postgres-test-db-not-starting 2024-01-26 14:36:59 +00:00
mike12345567 870ca2266e Adding a 2 second timeout after the message occurs to make sure DB is fully started - can't wait for both messages. 2024-01-26 14:22:25 +00:00
mike12345567 d4fd775c37 Attempting to fix issue with Postgres not being fully started in Github CI - previous message the DB was starting, this message means the database is fully started. 2024-01-26 13:42:39 +00:00
mike12345567 cc249e6696 Typescript conversion for some old tests - were failing after refactor. 2024-01-26 13:33:50 +00:00
Michael Drury c1bc2f7010
Merge branch 'master' into refactor/remove-field-types 2024-01-26 13:02:55 +00:00
Michael Drury f6252e30d0
Merge branch 'master' into 12251-budi-7719-invite-new-user-panel-should-pass-the-search-email-address-into-the-email-field-of-the-add-user-page 2024-01-26 12:57:38 +00:00
Michael Drury 173a53706f
Merge branch 'master' into refactor/remove-field-types 2024-01-26 12:54:01 +00:00
deanhannigan 68d2634888
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-26 12:39:28 +00:00
Dean 262b2dc824 Updated account portal 2024-01-26 12:23:02 +00:00
Peter Clement 84b2a36fda fix case where trigger fields could be undefined 2024-01-26 12:10:46 +00:00
Dean 7849e2d27e Update account portal 2024-01-26 12:05:05 +00:00
Mihail Hadzhiev 5e55192326
Merge branch 'master' into fix/action-state-parsing 2024-01-26 13:46:43 +02:00
Conor Webb f7e39f8436
Merge branch 'master' into 12251-budi-7719-invite-new-user-panel-should-pass-the-search-email-address-into-the-email-field-of-the-add-user-page 2024-01-26 11:09:16 +00:00
Conor Webb 89111a5b0d Allowed typed user query to be passed into invite user form. 2024-01-26 11:02:53 +00:00
Adria Navarro 5d41dcc5ab
Merge branch 'master' into remove_test_flakiness 2024-01-26 11:35:29 +01:00
Adria Navarro 50b3138acb
Merge branch 'master' into refactor/remove-field-types 2024-01-26 11:29:32 +01:00
Adria Navarro f1e90b8b01 Remove last controller.row usages 2024-01-26 11:24:32 +01:00
melohagan 8ec299e924
Cannot select relationship field value in design section (#12876)
* Revert "Quick fix, if compare isn't set then don't try to use it at all."

This reverts commit b8c7da02e2.

* Revert "Quick fix for all usages of compare function in select."

This reverts commit b4be6daea6.

* Don't force fetch rows on fieldApi change

* Revert "Revert "Quick fix for all usages of compare function in select.""

This reverts commit 8cb5e2b569.

* Revert "Revert "Quick fix, if compare isn't set then don't try to use it at all.""

This reverts commit 0c09d5878b.

* update account portal
2024-01-26 10:21:45 +00:00
Dean dcb5a1097b Update account portal 2024-01-26 10:19:22 +00:00
Dean fbe9c41bee Removed comment 2024-01-26 10:13:25 +00:00
Adria Navarro 39d0382a56 Remove controller.datasource usages 2024-01-26 11:11:54 +01:00
Adria Navarro 12a08c6864 Import specific controllers 2024-01-26 11:07:06 +01:00
Dean 0bef92241c Update account portal 2024-01-26 10:01:24 +00:00
Adria Navarro 9592f25b66 Use api calls for getRow/s test helper 2024-01-26 11:01:16 +01:00
Adria Navarro b3a59dfa7f Use api calls for createRow test helper 2024-01-26 11:00:03 +01:00
Adria Navarro ce81248e66 Use api calls for getTable test helper 2024-01-26 10:58:46 +01:00
Adria Navarro c0581e41d3 Renames 2024-01-26 10:57:35 +01:00
Adria Navarro da9f367962 Use api calls for updateTable test helper 2024-01-26 10:57:05 +01:00
Adria Navarro cb53d31833 Renames 2024-01-26 10:56:38 +01:00
Adria Navarro a555734519 Use api calls for createExternalTable test helper 2024-01-26 10:52:35 +01:00
Dean acbd7a802c Restrict rowexplorer binding to local scope 2024-01-26 09:51:37 +00:00
Peter Clement 58fedd10f5 fix issue with automation not triggering when no fields existed 2024-01-26 09:21:13 +00:00
deanhannigan 2d908f3774
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-26 09:04:07 +00:00
deanhannigan 827477e6bd
Merge branch 'master' into fix/action-state-parsing 2024-01-25 17:47:58 +00:00
Dean a524e0c2c4 Update account portal 2024-01-25 17:43:21 +00:00
Dean fcacb641f6 Updated state action parsing for nested component types 2024-01-25 17:32:35 +00:00
mike12345567 21a8d44ec7 Adding a 'SESSION_EXPIRY_SECONDS' environment variable which can be set on the services to configure how long before an idle user is logged out. 2024-01-25 16:22:39 +00:00
Dean c39ecae8c5 Updating the account portal 2024-01-25 15:16:16 +00:00
Dean 8036db73c4 Make card block bindings local 2024-01-25 15:09:19 +00:00
Dean 660eb40d6f Updating pro 2024-01-25 14:26:42 +00:00
deanhannigan 0ced1d29c5
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-25 14:20:44 +00:00
Adria Navarro 5f9bdd5e2b Merge branch 'master' into chore/update-gh-actions 2024-01-25 15:20:22 +01:00
Adria Navarro a97a71f9ad Update refs 2024-01-25 15:17:57 +01:00
Peter Clement 74b06f20a7
Merge branch 'master' into fix/disable-save-button-relationshiop-empty 2024-01-25 12:25:09 +00:00
Peter Clement 827508816e Fix for relationship save button being enabled when table was missing 2024-01-25 12:14:55 +00:00
melohagan 830563fead
Feature/auto confirm barcode scanner (#12859)
* Add autoConfirm scan

* Don't auto confirm if validation fails

* Set status light to red if invalid
2024-01-25 12:08:00 +00:00
deanhannigan 4b63a06162
Merge branch 'master' into budi-7786-options-picker-dropdown-opens-above-even-though-it-is-at-the 2024-01-25 11:52:07 +00:00
deanhannigan d1038df35f
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-25 11:33:31 +00:00
deanhannigan a705126ef1
Merge branch 'master' into fix/hover-store-and-button-group 2024-01-25 11:15:38 +00:00
Dean ddcc9c9b9d Update pro module 2024-01-25 09:55:03 +00:00
deanhannigan 043f4d275b
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-25 09:49:38 +00:00
deanhannigan ee091434f2
Merge branch 'master' into fix/hover-store-and-button-group 2024-01-25 09:49:19 +00:00
Dean 9f523692d9 Added local scope to gridblock to stop row bindings appearing in global scope 2024-01-25 09:41:06 +00:00
Adria Navarro 12bedc2ac2 Update pro ref 2024-01-25 10:04:27 +01:00
José Vte. Calderón aa1153abde
Merge branch 'master' into feature/count-creators-in-groups 2024-01-25 10:04:15 +01:00
Adria Navarro da07faf432
Merge branch 'master' into isolated-vm 2024-01-25 09:56:35 +01:00
Adria Navarro 6033206fd3 Update pro ref 2024-01-25 09:52:31 +01:00
mike12345567 b4be6daea6 Quick fix for all usages of compare function in select. 2024-01-25 08:46:59 +00:00
Adria Navarro 015cbadb62 Updating aws-actions/amazon-ecr-login to v2 2024-01-25 09:20:03 +01:00
Adria Navarro 17c5a7a370 Update aws-actions/configure-aws-credentials to v4 2024-01-25 09:18:51 +01:00
Adria Navarro df3468d98d Update actions/setup-node action to v4 2024-01-25 09:17:17 +01:00
Adria Navarro 692dcaa746 Update github checkout action to v4 2024-01-25 09:15:37 +01:00
mike12345567 5cca2cbbb6 Merge branch 'refactor/remove-field-types' of github.com:Budibase/budibase into refactor/remove-field-types 2024-01-24 18:02:58 +00:00
mike12345567 0eb29ef73f PR comments. 2024-01-24 18:00:32 +00:00
Sam Rose 309605bf4c
Merge branch 'master' into isolated-vm 2024-01-24 17:37:43 +00:00
Michael Drury 48ea140998
Merge branch 'master' into refactor/remove-field-types 2024-01-24 17:26:36 +00:00
mike12345567 4fe30355f2 Fix frontend build issue. 2024-01-24 17:20:12 +00:00
Adria Navarro 48dfc09f22 Fix types 2024-01-24 18:11:28 +01:00
mike12345567 57d512b041 Some missed conversions. 2024-01-24 17:09:26 +00:00
Adria Navarro 37033dd468 Handle js timeouts 2024-01-24 18:03:09 +01:00
mike12345567 ccc751d09c A quick refactor to get rid of the old 'FieldTypes' enumeration, considering how core it is to all data handling in Budibase, the fact we had both 'FieldType' and 'FieldTypes' was confusing - righting this fully. 2024-01-24 16:58:13 +00:00
Adria Navarro 73c977d6fb Fix test 2024-01-24 17:40:13 +01:00
deanhannigan 74adcb5e67
Merge branch 'master' into fix/hover-store-and-button-group 2024-01-24 16:38:05 +00:00
mike12345567 45c040803f Add final check. 2024-01-24 16:31:03 +00:00
Sam Rose cc363f1ba7
Fix server tests. 2024-01-24 16:18:56 +00:00
Dean 5c23443a08 Update pro 2024-01-24 16:15:45 +00:00
mike12345567 b8c7da02e2 Quick fix, if compare isn't set then don't try to use it at all. 2024-01-24 16:14:09 +00:00
Sam Rose 1c3069178f
Attempt to fix tests. 2024-01-24 15:56:17 +00:00
Sam Rose f0cecb6e15
Fix linting. 2024-01-24 15:49:35 +00:00
deanhannigan 7f19688ffb
Merge branch 'master' into fix/hover-store-and-button-group 2024-01-24 15:41:07 +00:00
Sam Rose fd635ed080
Merge master. 2024-01-24 15:31:00 +00:00
Mel O'Hagan 7c12b33de3 Merge branch 'master' into budi-7786-options-picker-dropdown-opens-above-even-though-it-is-at-the 2024-01-24 15:26:22 +00:00
Sam Rose 99e6d329cd
isolated-vm 4.6.0 -> 4.7.2 2024-01-24 15:14:25 +00:00
mike12345567 1fa319ac9f Add throw functionality to get more information about errors occurring during tests. 2024-01-24 14:11:24 +00:00
Adria Navarro bc7825dc93 Keep isolateRefs in context 2024-01-24 14:02:34 +01:00
Mel O'Hagan 381e98a258 update pro submodule 2024-01-24 12:50:58 +00:00
Mel O'Hagan 969c600201 Merge branch 'master' into budi-7786-options-picker-dropdown-opens-above-even-though-it-is-at-the 2024-01-24 12:48:46 +00:00
mike12345567 35a3d663ba Comments on PR - some small changes. 2024-01-24 12:33:29 +00:00
Dean 6206bdb763 Merge remote-tracking branch 'origin/master' into fix/hover-store-and-button-group 2024-01-24 12:19:31 +00:00
Dean 361fea2a6b Broke out the hover tracking into its own store. Value check on the button group to mitigate excessive rendering. Fix for relationship field 2024-01-24 12:06:38 +00:00
jvcalderon 9d8baf8027 Merge branch 'master' into feature/count-creators-in-groups 2024-01-24 12:27:58 +01:00
jvcalderon 6f9075d44c Solve a failing test 2024-01-24 12:27:02 +01:00
melohagan e3e02c9f17
Merge branch 'master' into fix/budi-7916 2024-01-24 10:37:58 +00:00
Adria Navarro b483dfa651
Merge branch 'master' into add-string-templates-tests 2024-01-24 11:08:55 +01:00
Adria Navarro 44b23aca03
Merge branch 'master' into remove-hbs-raw-helper 2024-01-24 11:01:32 +01:00
Conor Webb 3ea8bfda91
Modified planTitle function to accommodate old plans (#12854)
* Modified planTitle function to accommodate old plans

* Fixed liniting issues.
2024-01-24 09:43:31 +00:00
jvcalderon d57db8c32d Update pro submodule 2024-01-24 10:13:01 +01:00
melohagan 1636677ce9
Merge branch 'master' into fix/budi-7916 2024-01-24 08:58:13 +00:00
jvcalderon d4387471d4 Update pro submodule 2024-01-24 09:35:58 +01:00
jvcalderon 118e1bf5a7 Update account-portal submodule 2024-01-24 09:09:06 +01:00
jvcalderon 37cf41e191 Update pro submodule 2024-01-24 09:06:27 +01:00
jvcalderon 28a9ca0fa7 Merge branch 'master' into feature/count-creators-in-groups 2024-01-24 09:01:58 +01:00