Commit Graph

7701 Commits

Author SHA1 Message Date
Sam Rose 3b603bdd35
Fix datasource.spec.ts tests. 2024-08-06 14:35:36 +01:00
Sam Rose 00970d5db3
Fix lint. 2024-08-06 14:35:36 +01:00
Sam Rose e5ae064d2c
Fix tables showing up multiple times for Oracle in the datasource info endpoint. 2024-08-06 14:35:36 +01:00
Sam Rose a451b6eb3c
Add Oracle to datasource.spec.ts. 2024-08-06 09:58:02 +01:00
Adria Navarro b9c1aa05b0 Add todo for types 2024-08-06 09:10:41 +02:00
Adria Navarro 1e6bb7ebd7 Fix build on view search 2024-08-06 08:15:30 +02:00
Sam Rose da74441c1c
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-08-05 17:11:23 +01:00
Dean 8279a0b31c Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-05 17:05:12 +01:00
Adria Navarro 9743aca715
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-05 17:28:58 +02:00
Adria Navarro c845db966f Fix prefixes for SQS 2024-08-05 17:25:17 +02:00
Adria Navarro 1cd3347262 Types 2024-08-05 17:23:55 +02:00
Adria Navarro 0b5eb9f21c Run tests for all sql 2024-08-05 17:19:14 +02:00
Sam Rose 7f49f87f27
Oracle fix PR comments. 2024-08-05 16:15:15 +01:00
Adria Navarro ebca381e9b Nested $and's and $or's test 2024-08-05 15:09:33 +02:00
Sam Rose 7fe0e31883
Fix sql.spec.ts 2024-08-05 14:08:07 +01:00
Sam Rose 2efa8dfca2
Fix lint. 2024-08-05 12:10:03 +01:00
Sam Rose eecd521a8a
Fix generic-sql.spec.ts 2024-08-05 12:05:42 +01:00
Adria Navarro 940a080e18 Run only for external 2024-08-05 12:35:09 +02:00
Adria Navarro 2e23a0e4ce Implement SQL and/or 2024-08-05 12:33:44 +02:00
deanhannigan b440f8d532
Merge branch 'master' into dean-fixes 2024-08-05 11:25:43 +01:00
Adria Navarro 47de3f0c53 Add or tests 2024-08-05 11:07:37 +02:00
Dean 2b9298963f Assorted builder fixes and a fix for Google sheets filtering 2024-08-05 09:57:27 +01:00
Adria Navarro ff0bee5974 Add tests 2024-08-05 10:55:56 +02:00
Sam Rose 165e368a24
Add Oracle to viewV2.spec.ts 2024-08-02 17:22:18 +01:00
Sam Rose 1ce5b53409
Add Oracle to executeQuery.spec.ts 2024-08-02 17:20:52 +01:00
Sam Rose bc797238aa
row.spec.ts passing in full 2024-08-02 17:17:33 +01:00
Sam Rose 7ab442eae7
Merge master. 2024-08-02 15:29:48 +01:00
mike12345567 661fc361a0 Refactoring search SDK to make it obvious the different search methods, exports was using lucene always when doing internal export rows which shouldn't be the case, should go through the complete search SDK. 2024-08-02 15:01:33 +01:00
Michael Drury c443ad5d5b
Merge branch 'master' into fix/sql-pagination-fixes 2024-08-02 13:21:22 +01:00
Adria Navarro d8f55498ad Treat bigint as string 2024-08-02 13:44:20 +02:00
Adria Navarro e8e4f064a5 Fix invalid 2024-08-02 13:14:33 +02:00
Adria Navarro cd1a7699b2 Fix schema require checks 2024-08-02 13:12:47 +02:00
Adria Navarro 616b1bf012 Add and fix table tests 2024-08-02 13:02:18 +02:00
Adria Navarro a7c8009e09 Fix csv checks 2024-08-02 13:02:18 +02:00
Adria Navarro 0dce3aa02c Add structures.fullSchemaWithoutLinks 2024-08-02 13:02:18 +02:00
Adria Navarro e1ace85248 Fix schema parser 2024-08-02 13:02:18 +02:00
Adria Navarro 02d6458ac8 Improve test 2024-08-02 13:02:18 +02:00
Adria Navarro b1f9325987 Add tests 2024-08-02 13:02:18 +02:00
Adria Navarro f3c18b87b1 Expose csvToJson test utils 2024-08-02 13:02:18 +02:00
Adria Navarro 8afb1e6c42 Allow format on exportRows test utils 2024-08-02 13:02:18 +02:00
Sam Rose 84020be98e
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-08-02 11:20:19 +01:00
Sam Rose f23f479eb9
Fix autocolumn detection on schema import. 2024-08-02 11:17:38 +01:00
Sam Rose 5c490dbe70
Merge branch 'master' into node-fetch-mockectomy-2 2024-08-02 11:07:48 +01:00
Sam Rose 40e886b34d
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-08-02 10:48:14 +01:00
Sam Rose 8d22df3a8a
Merge branch 'master' into node-fetch-mockectomy 2024-08-02 10:41:48 +01:00
Sam Rose 01ad68f843
Remove all mocking from rest.spec.ts. 2024-08-01 17:57:33 +01:00
Sam Rose b2f70f5051
Merge branch 'master' into node-fetch-mockectomy 2024-08-01 15:49:56 +01:00
mike12345567 6eb3b2793b Linting. 2024-08-01 13:31:10 +01:00
mike12345567 224d2a1953 PR comments. 2024-08-01 13:07:34 +01:00
mike12345567 99e8ef58dd Adding test case - had to rejig how internal limit is retrieved but works without requiring thousands of rows. 2024-08-01 13:03:58 +01:00
Sam Rose a38dc3d163
Fix datasource.spec.ts's reliance on the node-fetch mock. 2024-08-01 12:45:37 +01:00
Sam Rose a973b65a72
Fix plugni.spec.ts's reliance on the node-fetch mock (again?). 2024-08-01 12:36:32 +01:00
Sam Rose c8fadc33d9
Fix discorfd.spec.ts's reliance on the node-fetch mock. 2024-08-01 12:21:42 +01:00
Sam Rose 6d70dd1924
Fix outgoingWebhook.spec.ts's reliance on the node-fetch mock. 2024-08-01 12:19:44 +01:00
Sam Rose 661e1f241d
Fix startup.spec.ts's reliance on the node-fetch mock. 2024-08-01 12:09:11 +01:00
Sam Rose b39875fb4b
Fix make.spec.ts's reliance on the node-fetch mock. 2024-08-01 12:07:01 +01:00
Sam Rose f16f1fb7ba
Fix zapier.spec.ts's reliance on the node-fetch mock. 2024-08-01 12:03:29 +01:00
Sam Rose e530400f46
Fix n8n.spec.ts's reliance on the node-fetch mock. 2024-08-01 11:57:04 +01:00
Sam Rose 3657067337
Fix googlesheets.spec.ts's reliance on the node-fetch mock. 2024-08-01 11:44:58 +01:00
Sam Rose 9a2e8031bc
Fix plugin.spec.ts's reliance on the node-fetch mock. 2024-08-01 11:43:37 +01:00
mike12345567 f0da4b0366 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-pagination-fixes 2024-08-01 11:39:01 +01:00
Adria Navarro c32b5085e7
Merge branch 'master' into fix/dont-allow-protected-column-names-on-import 2024-08-01 12:34:10 +02:00
mike12345567 86f59fb71d Fixes an issue with MS-SQL timeouts, it doesn't respect query timeout value as the client has its own built in timeout by default of 15000ms. 2024-08-01 11:20:23 +01:00
Sam Rose 3d20d4ccb7
Fix application.spec.ts's reliance on the node-fetch mock. 2024-08-01 10:37:54 +01:00
Adria Navarro bf1566ebb2
Merge branch 'master' into fix/dont-allow-protected-column-names-on-import 2024-08-01 11:04:14 +02:00
Adria Navarro 0d6b4cee95
Merge branch 'master' into fix/reimporting_rows 2024-08-01 10:54:26 +02:00
Adria Navarro 3128501083
Merge branch 'master' into fix/import-column-issues 2024-08-01 10:38:56 +02:00
Sam Rose 0bd18a2832
wip trigger support 2024-08-01 09:34:56 +01:00
Adria Navarro e6c4c8ef77
Merge branch 'master' into chore/unify-row-format-values 2024-08-01 10:29:36 +02:00
Peter Clement 8539f6d853
Add helper function / builder for creating Automations for tests and improved types (#14220)
* basic class for generating and running an automation

* change filename

* add to existing tests

* remove dupe tests

* add types to automation steps

* add types to triggers

* update tests and typing

* fix types

* typo

* move all step schema types do types folder

* updated types

* typing pr comments

* remove unused param

* some more typing and tests

* more typing

* improve type map

* fix broken type

* this will surely fix my issue
2024-07-31 22:18:00 +01:00
Sam Rose 6b78e599f0
Working on getting Oracle auto column imports working. 2024-07-31 17:37:16 +01:00
mike12345567 b54157a6fb Fix for enrich endpoint discovered by tests. 2024-07-31 17:22:17 +01:00
mike12345567 70071dac28 Merge branch 'fix/sql-pagination-fixes' of github.com:Budibase/budibase into fix/sql-pagination-fixes 2024-07-31 16:56:51 +01:00
mike12345567 de22a078c0 Adding bookmark to each subsequent (thanks tests ). 2024-07-31 16:50:20 +01:00
Michael Drury 47401e26ff
Merge branch 'master' into fix/sql-pagination-fixes 2024-07-31 16:41:04 +01:00
Adria Navarro 8f741ffe6a More validations 2024-07-31 17:40:30 +02:00
Adria Navarro 62ec93441a
Merge branch 'master' into chore/unify-row-format-values 2024-07-31 17:37:12 +02:00
Adria Navarro ad74eca709 Fix 2024-07-31 17:32:36 +02:00
Adria Navarro 3f4484af00 Add extra tests 2024-07-31 17:32:19 +02:00
mike12345567 a2f11f17fd Type fix. 2024-07-31 16:31:02 +01:00
Adria Navarro 788a16cf48 Add safety tests 2024-07-31 17:26:42 +02:00
mike12345567 1d695be77c This PR includes a change to pagination which makes sure if the 5000 max row limit is hit that pagination still kicks in. This means that you can eventually return all rows, although for very large tables you may hit rate limits (if you have thousands of rows related to each row in your table). 2024-07-31 16:21:49 +01:00
Adria Navarro c015f8d192 Run for both internal and external 2024-07-31 17:18:03 +02:00
Adria Navarro 73eefa1046 Check protected names on validation 2024-07-31 17:14:02 +02:00
Adria Navarro 785ab12237 Add protected name validation test 2024-07-31 17:07:56 +02:00
Sam Rose f0dbaa5eae
Add query to span as a tag. 2024-07-31 15:40:54 +01:00
Sam Rose e62298e199
Record SQS queries in DataDog. 2024-07-31 15:38:26 +01:00
Adria Navarro c0e60e8e3e
Merge branch 'master' into chore/unify-row-format-values 2024-07-31 16:13:02 +02:00
Adria Navarro b74841d99d Fix 2024-07-31 15:20:06 +02:00
Adria Navarro a6beb0fa82 Support no updating existing rows 2024-07-31 15:14:29 +02:00
Adria Navarro f794f84e90 Fix quote count 2024-07-31 15:03:31 +02:00
Adria Navarro 24cdfb3443 Fix re-importing 2024-07-31 15:03:31 +02:00
Adria Navarro b28aaa3a93 Fix 2024-07-31 15:03:31 +02:00
Adria Navarro 9d0fdeff68 Add validateExistingTableImport _id support test 2024-07-31 15:03:31 +02:00
Adria Navarro 5896e94e56 Add basic validateExistingTableImport test 2024-07-31 15:03:31 +02:00
Adria Navarro 4f65306c4f Add basic validateNewTableImport test 2024-07-31 15:03:31 +02:00
Adria Navarro 543d0e1ce6 Add tests 2024-07-31 14:01:38 +02:00
Adria Navarro fe2b2bb097 Don't export couchdb fields 2024-07-31 13:33:20 +02:00
Adria Navarro 62fa05a855 Type 2024-07-31 13:28:28 +02:00
Sam Rose d4ddfb4de2
Merge branch 'test-oracle' of github.com:budibase/budibase into test-oracle 2024-07-31 12:00:59 +01:00