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

4155 commits

Author SHA1 Message Date
Adria Navarro
b1f9325987 Add tests 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
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
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
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
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
Adria Navarro
8f741ffe6a More validations 2024-07-31 17:40:30 +02:00
Adria Navarro
3f4484af00 Add extra tests 2024-07-31 17:32:19 +02: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
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
Sam Rose
d4ddfb4de2
Merge branch 'test-oracle' of github.com:budibase/budibase into test-oracle 2024-07-31 12:00:59 +01:00
Sam Rose
4b7042be9f
Ignore Oracle on bulk upsert tests. 2024-07-31 12:00:50 +01:00
Adria Navarro
0202db3efe Unify enums 2024-07-31 12:20:45 +02:00
mike12345567
76895174b5 Merge branch 'master' of github.com:Budibase/budibase into test-oracle 2024-07-31 11:03:30 +01:00
mike12345567
8ee2e6d0de Merge branch 'test-oracle' of github.com:Budibase/budibase into test-oracle 2024-07-30 18:22:38 +01:00
mike12345567
7cc000a838 Fixes for not contains in oracle. 2024-07-30 18:22:20 +01:00
Adria Navarro
a9a40516db Fix test 2024-07-30 18:58:51 +02:00
Sam Rose
ea7a6195bf
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-07-30 17:58:44 +01:00
Sam Rose
cc1e466db9
Add Oracle to table.spec.ts 2024-07-30 17:57:21 +01:00
Adria Navarro
48349f9ad0 Fix tests 2024-07-30 18:44:00 +02:00
Adria Navarro
9371f9913e Types 2024-07-30 18:14:54 +02:00
Adria Navarro
21b9bf36fd Add api types 2024-07-30 17:52:27 +02:00
mike12345567
8f7a88ce86 Moving logic to frontend - definitions are returned unless they are deprecated, frontend decides which it can use to create. 2024-07-30 16:04:33 +01:00
Sam Rose
c6ec710abe
Solve _some_ date problems. 2024-07-30 16:03:03 +01:00
mike12345567
7a68db4274 Fix test to remove invalid definitions. 2024-07-30 15:33:43 +01:00
mike12345567
76652ddab5 Fixes some issues with row actions which were allowing them to be added from the automation section (which is not allowed) as well as breaking app access once they were added - this hides them properly so they can't be added as well as fixing the issue when they exist. 2024-07-30 15:07:34 +01:00
mike12345567
d06377a25d Merge branch 'master' of github.com:Budibase/budibase into test-oracle 2024-07-30 13:02:22 +01:00
Sam Rose
b6560d1d7b
Fix sorting. 2024-07-30 11:58:28 +01:00
Sam Rose
bc7501f72b
Fix range queries. 2024-07-30 11:54:46 +01:00
Sam Rose
0599257935
Fix time-only columns. 2024-07-30 11:26:16 +01:00
Sam Rose
384466c754
Merge master. 2024-07-30 11:04:47 +01:00
Sam Rose
25ab2e2689
Revert schema plumbing, need to revisit. 2024-07-29 18:20:49 +01:00
Sam Rose
e1ef66bf56
Refactor InternalBuilder to give me more access to query state. 2024-07-29 18:11:05 +01:00
Sam Rose
ad414b982e
Gone some way toward getting time-only fields to work. Still test failures though. 2024-07-29 16:54:59 +01:00
Sam Rose
a4b66e00e4
Fix bigints. 2024-07-29 14:32:28 +01:00
Sam Rose
50d1972127
wip 2024-07-29 09:57:24 +01:00
mike12345567
27d4226c6e Shorten column name. 2024-07-26 17:06:04 +01:00
mike12345567
9fb1c6b988 When searching by row ID with external DBs/SQS we can get into a situation where the limit of 1 which is applied by the frontend can cause problems, with many to many relationships we need to retrieve multiple rows (all of the joined related rows). This was raised by poirazis, it exhibits itself in one part of the platform, when attempting to a row by ID in a form block that has multiple many to many relationships. The frontend needs to be able to send a limit of 1 incase it is using a form block but hasn't gotten a row ID (this can happen in preview/the builder) and it just wants to populate with a row for display. 2024-07-26 16:23:46 +01:00
Adria Navarro
8421a75328
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-26 15:16:21 +02:00
Adria Navarro
f2cd589aae
Merge branch 'master' into chore/renames 2024-07-26 14:42:08 +02:00
Adria Navarro
ee74a84339 Remove duplicates 2024-07-26 14:36:41 +02:00
Adria Navarro
a05ec1498f Allow importing internal tables 2024-07-26 13:27:51 +02:00
Adria Navarro
afdf6a8fa5 Change imports 2024-07-25 16:46:37 +02:00
Adria Navarro
7ffe8d4b4a Fix barrelfile issue 2024-07-25 16:40:49 +02:00
Adria Navarro
beaabdd64a Allow row actions running for dev apps 2024-07-25 15:54:38 +02:00
Sam Rose
20bad903cc
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-07-25 09:38:41 +01:00
Adria Navarro
f7a460a1ea Implement run 2024-07-25 08:38:11 +02:00
Adria Navarro
890d573cac Add validators 2024-07-25 08:37:41 +02:00
Adria Navarro
7bad3ad39c Start implementing row action trigger 2024-07-25 08:36:31 +02:00
Adria Navarro
e161c998ca
Merge branch 'master' into feat/row-actions 2024-07-24 15:48:38 +02:00
Sam Rose
c7c2cb48e8
wip 2024-07-23 14:41:34 +01:00
Adria Navarro
4169842018 Fix get 2024-07-23 15:22:26 +02:00
Adria Navarro
75609b2a9b Move row.find to sdk 2024-07-23 15:16:15 +02:00
Adria Navarro
66a2b29ca2 Clean unnecessary ctx 2024-07-23 15:06:00 +02:00
Adria Navarro
89173be9f4 Remove controller dependency 2024-07-23 15:03:44 +02:00
Adria Navarro
8a12523bcc Add find by usermetadata test 2024-07-23 14:58:21 +02:00
Adria Navarro
a03094db33 Use 422 instead of 400 trying to delete row action automations 2024-07-23 12:21:52 +02:00
Adria Navarro
b4767cea7c Add checks to shared-core 2024-07-23 12:07:05 +02:00
Adria Navarro
35bbccec67 Return 400 instead of 403 2024-07-23 11:59:14 +02:00
Adria Navarro
8678db18e2 Add tests 2024-07-23 10:46:11 +02:00
Adria Navarro
d9029da533 Don't allow deleting row action automations 2024-07-23 10:28:57 +02:00
Adria Navarro
b7fc1cddb7 Merge branch 'master' into feat/row-actions 2024-07-23 10:03:41 +02:00
mike12345567
3ed1c43915 PR comments. 2024-07-22 16:47:37 +01:00
mike12345567
3247e13a32 Test case. 2024-07-22 15:17:42 +01:00
Adria Navarro
286883da14 Types 2024-07-22 14:39:26 +02:00
Adria Navarro
d6e268d475 Fix tests 2024-07-22 14:31:59 +02:00
Adria Navarro
7574b27b4b Fix tests 2024-07-22 14:31:59 +02:00
Adria Navarro
3c9c988d8c Populate table name 2024-07-22 14:31:59 +02:00
Adria Navarro
b7a969280f Display data 2024-07-22 14:31:42 +02:00
Adria Navarro
6221b9320e Enrich 2024-07-22 14:31:00 +02:00
Adria Navarro
67619364b9 Use expectAutomationId() 2024-07-22 14:23:17 +02:00
Adria Navarro
491266c7ba Add more tests 2024-07-22 14:23:17 +02:00
Adria Navarro
292c87350a Check automation creation 2024-07-22 14:23:17 +02:00
Adria Navarro
eaa38c5c2d Return automationid from row action api 2024-07-22 14:23:17 +02:00
Adria Navarro
2970bfc48a Fix update and tests 2024-07-22 14:23:16 +02:00