1
0
Fork 0
mirror of synced 2024-09-21 11:53:49 +12:00
Commit graph

12621 commits

Author SHA1 Message Date
Sam Rose
be0a14489b
Debugging view test failures. 2024-08-27 15:22:53 +01:00
Adria Navarro
5f40737e9c Use enums 2024-08-27 16:15:25 +02:00
Adria Navarro
d4b0ef7d47 Feature flagging backend 2024-08-27 15:42:01 +02:00
Sam Rose
265000f7e1
Merge master. 2024-08-27 14:37:19 +01:00
Adria Navarro
8929b4a336 Fix jest issues 2024-08-27 15:07:38 +02:00
Adria Navarro
99bd057160 Add comment 2024-08-27 15:07:38 +02:00
Adria Navarro
266ae96a80 Don't run for mssql and oracle 2024-08-27 15:07:38 +02:00
Adria Navarro
3186179f0e Fix test 2024-08-27 15:07:38 +02:00
Adria Navarro
85aa6361b2 Fix broken sqs tests 2024-08-27 15:07:38 +02:00
Adria Navarro
ccf734486f Test sqs 2024-08-27 15:07:38 +02:00
Adria Navarro
02fdbae7ac More tests 2024-08-27 15:07:38 +02:00
Adria Navarro
a28114a01c Extra tests 2024-08-27 15:07:38 +02:00
Adria Navarro
329fefc7dd Prepare reusing 2024-08-27 15:07:38 +02:00
Adria Navarro
a3bbbb32be Add test 2024-08-27 15:07:38 +02:00
Adria Navarro
c77ec0d17a Exclude formulas 2024-08-27 15:07:38 +02:00
Adria Navarro
daa152183c Use isvisible for populating schemas instead of readonly 2024-08-27 15:07:38 +02:00
Adria Navarro
c397dadd76 Add "flag" 2024-08-27 15:07:38 +02:00
Adria Navarro
b3cd06944f Enrich based on schema 2024-08-27 15:07:37 +02:00
Adria Navarro
a7399cc3e9 Fix test 2024-08-27 15:07:09 +02:00
Adria Navarro
84bab434bf Don't include primary display columns by default 2024-08-27 15:07:09 +02:00
Adria Navarro
6b48bbf648 Clean empty message 2024-08-27 15:07:06 +02:00
Adria Navarro
1391f5d049 Trim wrong fields 2024-08-27 15:07:05 +02:00
Adria Navarro
5715f7e9c1 Fix promises 2024-08-27 15:07:05 +02:00
Adria Navarro
55d4e2dffe Enrich view schemas 2024-08-27 15:07:05 +02:00
Adria Navarro
906abbb12a Don't return primarydisplay and type 2024-08-27 15:07:05 +02:00
Adria Navarro
c2e643cebb Fix enrichments 2024-08-27 15:07:05 +02:00
Adria Navarro
0e468b04de Fix build 2024-08-27 15:07:04 +02:00
Adria Navarro
de61754312 Enrich relationship from backend 2024-08-27 15:07:04 +02:00
Adria Navarro
1504cead0c Persist view related schemas 2024-08-27 15:07:04 +02:00
Adria Navarro
2322925c62
Merge branch 'master' into fix/conditions-on-views 2024-08-21 14:38:24 +02:00
Adria Navarro
bbe2763e54
Merge branch 'master' into fix/logical-operator-filter-cleanup 2024-08-21 13:45:50 +02:00
Adria Navarro
40e7ab1371 Fix build 2024-08-21 13:45:26 +02:00
Adria Navarro
7c06f1a407 Run tests for lucene as well 2024-08-21 13:40:17 +02:00
Adria Navarro
8c3f1c39c8 Fix test expect 2024-08-21 13:33:02 +02:00
Adria Navarro
9f05804c67 Add extra tests 2024-08-21 13:01:48 +02:00
Adria Navarro
ff9d934f87 Allow filtering via allOr 2024-08-21 13:01:35 +02:00
Adria Navarro
c5476ce3b3 Test both allOr and allAnd 2024-08-21 13:00:54 +02:00
mike12345567
e6c5a7ecd7 PR comments. 2024-08-21 11:05:48 +01:00
mike12345567
ff855a677a PR comments. 2024-08-20 13:27:20 +01:00
mike12345567
e941491d8c Don't check row value - always use the column or not. 2024-08-20 13:24:41 +01:00
mike12345567
8847a5b146 Disabling for old/in-memory search. 2024-08-20 13:19:58 +01:00
mike12345567
aab120b9ca Bringing back test cases. 2024-08-20 13:18:40 +01:00
mike12345567
f2beedbee6 Adding a test case for primary display columns, ignore when it has been set to a relationship, instead use another column which is valid in the table. 2024-08-20 13:14:24 +01:00
mike12345567
0d389bd8d7 Quick set of fixes, test cases assumed that multi-depth relationships were allowed, fixing this. 2024-08-20 12:31:46 +01:00
mike12345567
5435028e7d Fix for cyclic relationships, getQueryableFields allowed relationships from other tables, which can't work. 2024-08-20 12:13:37 +01:00
mike12345567
bbcb77c738 Fixing an issue where searching on a relationship column which is in a broken state would break in SQS (previously this was allowed and would return empty relationships). 2024-08-20 07:38:23 +01:00
mike12345567
a5533bb033 Fixing test cases. 2024-08-19 16:49:40 +01:00
mike12345567
f4d5eb31de Fixing test case. 2024-08-19 16:20:33 +01:00
Adria Navarro
07fe8c6c1f Many to many tests 2024-08-19 15:59:59 +02:00
Adria Navarro
27c618d263 Extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro
bbf7142bd7 Handle relationships properly 2024-08-19 15:59:59 +02:00
Adria Navarro
d8462ba961 Fix tests 2024-08-19 15:59:59 +02:00
Adria Navarro
b744ec3c35 Add extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro
f0a89764f2 Add basic test 2024-08-19 15:59:59 +02:00
Adria Navarro
eb2d71e980 Move getQueryableFields to utils 2024-08-19 15:59:59 +02:00
Adria Navarro
084a481821 Typo 2024-08-19 15:59:59 +02:00
Adria Navarro
09938ae442 Don't change key order on trimming 2024-08-19 15:59:59 +02:00
Adria Navarro
f53500450a Fix wrong test 2024-08-19 15:59:59 +02:00
Adria Navarro
da87c0233b Don't trim usertable 2024-08-19 15:59:59 +02:00
Adria Navarro
ce8730f176 Clean code 2024-08-19 15:59:59 +02:00
Adria Navarro
385c5f6e99 Trim unwanted columns in outputProcessing 2024-08-19 15:59:58 +02:00
Adria Navarro
1a88d9f89b Don't clean relationship query 2024-08-19 15:59:58 +02:00
Adria Navarro
08b0b6af19 Fix search relationships 2024-08-19 15:59:58 +02:00
Adria Navarro
59a164f4df Test relationships 2024-08-19 15:59:58 +02:00
Adria Navarro
ee5c4e8ed8 Don't trim prefixed keys 2024-08-19 15:59:58 +02:00
Adria Navarro
b1d78f129b Remove jest only 2024-08-19 15:59:58 +02:00
Adria Navarro
ac62fc0e29 Fix jest asserts 2024-08-19 15:59:58 +02:00
Adria Navarro
0bdb6396ed Remove unneeded test 2024-08-19 15:59:58 +02:00
Adria Navarro
48486cdaa4 Implement query 2024-08-19 15:59:58 +02:00
Adria Navarro
5b13e53a3b Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro
6fe628f804 Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro
42070dcd39 Add tests 2024-08-19 15:59:58 +02:00
Adria Navarro
728b4d363d Add removeInvalidFilters utils 2024-08-19 15:59:58 +02:00
Adria Navarro
0212f584d2 Add imports 2024-08-19 15:59:57 +02:00
Adria Navarro
331e8eb7be Add view tests 2024-08-19 15:59:18 +02:00
Adria Navarro
3acc9bde45 Extra tests 2024-08-19 15:59:18 +02:00
Adria Navarro
723dfee8c8 Add field mapping tests 2024-08-19 15:59:18 +02:00
Adria Navarro
120d5d953d Fetch only table fields and validate 2024-08-19 15:59:18 +02:00
mike12345567
48672244f4 Fixing up column renaming everywhere that it is needed, making sure works for external as well. 2024-08-15 18:46:28 +01:00
mike12345567
aa1eaa1d3d A few fixes for logical operators, there was a lot of cleanup that was not occurring as it is supposed to be recursive, this wasn't happening. 2024-08-15 18:35:30 +01:00
Peter Clement
0e229c9b2e
Update automation test builder to support branching (#14387)
* add branch step definition

* update automation test builder to support branching

* rename Automation test builder

* example test

* pr comments
2024-08-15 16:07:42 +00:00
Sam Rose
278ae65eac
Fix broken import. 2024-08-15 16:28:54 +01:00
Sam Rose
ea032a0e7e
Fix lint. 2024-08-15 14:59:31 +01:00
Sam Rose
86717b536b
Use new feature flag API for SQS. 2024-08-15 14:58:11 +01:00
Sam Rose
e1268b7ec8
Merge branch 'master' of github.com:Budibase/budibase into feature-flag-cleanup 2024-08-15 14:57:04 +01:00
mike12345567
e32409da15 Fixing an issue with app import - old attachments which have an invalid state can cause the app to fail to import. 2024-08-15 14:25:36 +01:00
Sam Rose
4a1fd6481f
Remove old, unused feature flags. 2024-08-15 10:53:43 +01:00
Peter Clement
f15847a40f
More automation typing in preparation for branching (#14378)
* More typing for automations

* undo test updates

* remove casting of loop step and add more types

* remove unused type

* pro

* Update types and fix ts issues

* add branching types

* remove any cast

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
Peter Clement
37f749019d
Add more automation tests (#14369)
* Add more automation tests

* remove comment

* update assertion

* unused type

* split out query creation

* remove map
2024-08-13 14:16:55 +01:00
Sam Rose
bcefa398a4
Merge master. 2024-08-12 09:43:49 +01:00
mike12345567
28a10bf908 Another test fix (yay for this one) 2024-08-09 14:54:47 +01:00
mike12345567
3e1a0a60b4 Checking the correct operation - also typeguarding the check. 2024-08-09 14:35:13 +01:00
mike12345567
a9acc7f87b Adding expect function to allow undefined. 2024-08-09 13:39:47 +01:00
mike12345567
97919821ac Merge branch 'fix/invalid-table-schema-search' of github.com:Budibase/budibase into fix/invalid-table-schema-search 2024-08-09 13:36:46 +01:00
mike12345567
904f0dc9fd Adding jest-extended to allow use of oneOf expect, fixing for updated fetching. 2024-08-09 13:36:22 +01:00
Sam Rose
083b595d50
Fix formatting. 2024-08-09 11:58:57 +01:00
Sam Rose
d716d4b4d0
Fix test failures and lint. 2024-08-09 11:45:55 +01:00
Sam Rose
85cfd2023d
Merge branch 'master' into fix/invalid-table-schema-search 2024-08-09 10:46:12 +01:00
Sam Rose
3d590e879e
Rely on withEnv and setEnv functions in respective environment.ts files. 2024-08-09 10:30:27 +01:00
Sam Rose
858bb77c00
Merge branch 'master' into posthog-feature-flags 2024-08-09 09:25:48 +01:00
mike12345567
efafb3e3c2 Getting composite keys working, fixing p2 issue and adding test case for it. 2024-08-08 18:55:41 +01:00
Sam Rose
bc2ea99254
Merge branch 'master' into posthog-feature-flags 2024-08-08 17:25:28 +01:00
Dean
c069fb0a9a Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-08 16:51:49 +01:00
Dean
5ccbec9668 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-08 12:22:10 +01:00
andz-bb
5d5ccc84ce fix AWS datasource when endpoint is unspecified 2024-08-08 11:11:21 +01:00
mike12345567
9733ba5f95 Allowing incorrectly setup column schemas to still function as part of search - requires further investigation as to how this happens, but search should still work. 2024-08-07 18:04:07 +01:00
Sam Rose
eb6c0d7891
Merge branch 'master' of github.com:budibase/budibase into posthog-feature-flags 2024-08-07 17:34:29 +01:00
Michael Drury
7b41e7cb39
Merge branch 'master' into test-oracle 2024-08-07 16:44:54 +01:00
Dean
b5485fac0e Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-07 16:34:35 +01:00
Adria Navarro
80ff963082 Remove unnecessary coercion 2024-08-07 17:01:59 +02:00
Sam Rose
edb3b685b5
Remove node-fetch mock from backend-core and replace with nock. 2024-08-07 15:26:04 +01:00
Adria Navarro
dac3fa0675
Merge pull request #14335 from Budibase/BUDI-8508/conditions-on-views
Support filtering views
2024-08-07 15:09:05 +02:00
Adria Navarro
44a053ee08 Lint 2024-08-07 14:40:23 +02:00
Adria Navarro
32702f2e9d Don't validate for in-memory 2024-08-07 14:39:05 +02:00
Adria Navarro
bc7ab264b0 Add validations 2024-08-07 14:32:59 +02:00
Adria Navarro
00c12b9686 Add tests 2024-08-07 14:32:42 +02:00
Adria Navarro
22d9b930fc Validate onEmptyFilter 2024-08-07 14:02:09 +02:00
Adria Navarro
c6f7f0133d Disallow fuzzyOr and documentType 2024-08-07 13:57:54 +02:00
Adria Navarro
8d1c658c7c Add containsAny validator 2024-08-07 13:57:34 +02:00
Adria Navarro
d6e1bcb382 Type search validators 2024-08-07 13:56:25 +02:00
Adria Navarro
0fa1cc6f15
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-07 13:36:55 +02:00
Adria Navarro
00cf4e48e3 Lint 2024-08-07 13:21:28 +02:00
Adria Navarro
28f11a5765 Don't add breaking changes 2024-08-07 13:15:30 +02:00
Adria Navarro
94b6737bdc Add extra tests 2024-08-07 12:40:03 +02:00
Adria Navarro
42b6b6e919 Fix 2024-08-07 12:37:37 +02:00
Adria Navarro
8191552352 Bypass view 2024-08-07 12:36:51 +02:00
Sam Rose
b5423d71a0
Add detailed tracing to searches. 2024-08-07 11:16:18 +01:00
Adria Navarro
77c8aa3f64
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-07 11:41:31 +02:00
deanhannigan
c830cde105
Merge branch 'master' into dean-fixes 2024-08-07 10:20:17 +01:00
deanhannigan
c7c1c257dd
Merge branch 'master' into dean-fixes 2024-08-07 09:58:09 +01:00
Adria Navarro
c5f504d724 Use helper 2024-08-07 10:54:19 +02:00
Sam Rose
b51fc38f57
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-08-07 09:20:28 +01:00
Adria Navarro
ab54218692
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-06 19:24:08 +02:00
Adria Navarro
3b40db5db0 Run tests for in-memory 2024-08-06 18:15:50 +02:00
Adria Navarro
2074ebd0f7
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-06 18:14:57 +02:00
Sam Rose
4fec2c3c96
Merge branch 'master' into budi-8468-oracle-connector-has-a-weird-ui-bug-when-fetching-tables-2 2024-08-06 17:09:39 +01:00
Sam Rose
d8ec670438
Merge branch 'master' into budi-8468-oracle-connector-has-a-weird-ui-bug-when-fetching-tables 2024-08-06 17:01:33 +01:00
Adria Navarro
d21df94e3c
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-06 17:45:14 +02:00
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
Michael Drury
0d032ed32d
Merge branch 'master' into fix/bump-google-spreadsheet-version 2024-08-06 13:54:53 +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
mike12345567
48ddc059af Bumping google-spreadsheet version to latest version with fix added by Dean. 2024-08-05 16:38:21 +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
97e142a1d8
Delete node-fetch.ts mock. 2024-08-01 12:46:01 +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