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
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
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
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
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
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
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
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
Sam Rose
3c18cf7c34
Fix tests.
2024-07-19 15:08:48 +01:00
Sam Rose
ca31add039
Don't allow a column to be both required and have a default value.
2024-07-19 15:08:48 +01:00
Sam Rose
8a49953449
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing
2024-07-19 15:03:19 +01:00
Sam Rose
df765c1dc7
Merge branch 'master' of github.com:budibase/budibase into support-spaces-as-last-char-in-column-sqs
2024-07-18 11:12:25 +01:00
Sam Rose
5bbdcc1298
Remove unused function.
2024-07-18 11:08:42 +01:00
Sam Rose
0b2a5162a4
Fix the problem, and the tests.
2024-07-18 11:00:10 +01:00
Peter Clement
7fd55fe27d
Automation trigger filtering ( #14123 )
...
* backend for triggering automation based on filters
* frontend for handling triggering automations on filter / old row
* lint and bug fix
* fix issue with test header
* make test data optional
* improve safety on trigger gate
* add support for running trigger with filter if no change happened but filter matches
* update var naming to actually make sense
* tests
* fix lint
* improve gating for shouldTrigger check
* remove unecessary cast
* unecessary tableId check
* frontend text updates
* resolving comments
* pro
* Update packages/types/src/documents/app/automation.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
* link out to docs for trigger filtering
* fix pro
* more pr comments
* use getAppId
---------
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-07-18 10:38:15 +01:00
Sam Rose
aea9cda8f5
wip
2024-07-17 15:45:35 +01:00
Adria Navarro
88aa0fc9cf
Fix types
2024-07-17 16:40:19 +02:00
Adria Navarro
812afdb85e
Fix tests (breaking because of mutating objects...)
2024-07-17 16:28:46 +02:00
Adria Navarro
13c6ad9924
More tests
2024-07-17 12:30:31 +02:00
Adria Navarro
371a3ad8ec
Ensure unique on updates
2024-07-17 12:26:36 +02:00
Adria Navarro
8297a58270
Ensure unique names
2024-07-17 12:18:09 +02:00
Adria Navarro
c51d2cd431
Trims names
2024-07-17 12:16:14 +02:00
Adria Navarro
7fb13b757b
Use .string instead of .work
2024-07-17 11:52:29 +02:00
Adria Navarro
b1cfdc4f25
Clean code
2024-07-17 11:15:55 +02:00
Adria Navarro
9a7470a943
Merge branch 'master' into BUDI-8428/row-action-crud
2024-07-17 11:08:23 +02:00
Sam Rose
dc913385f6
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing
2024-07-15 16:48:36 +01:00
Sam Rose
9542c497de
Create a test for required column with default value.
2024-07-15 16:46:20 +01:00
Sam Rose
e39a5b0d7e
Add test for creating a row through views.
2024-07-15 16:44:43 +01:00
Sam Rose
18acaccfcb
Current User binding and tests.
2024-07-15 16:26:15 +01:00
Sam Rose
ee0c4187c8
Better error handling of invalid default values.
2024-07-15 12:09:01 +01:00
Sam Rose
297e9003ca
Support bindings in default values.
2024-07-15 11:10:30 +01:00
Sam Rose
12911db06e
Process primitive default values.
2024-07-15 10:43:58 +01:00
Sam Rose
43de204ca2
Default values failing test.
2024-07-15 09:58:31 +01:00
mike12345567
19ff925dec
Adding test cases for less than/greater than or equal to, there was no test cases confirming these definitely work. Also aligning the test cases with how the frontend performs these tests today.
2024-07-12 18:09:29 +01:00
Adria Navarro
f06d0a5cd6
Clean
2024-07-12 12:17:37 +02:00
Adria Navarro
50c8449f4b
Add extra test
2024-07-12 12:17:37 +02:00
Adria Navarro
99b4aae7de
Merge branch 'master' into BUDI-8428/row-action-crud
2024-07-12 11:53:12 +02:00
Adria Navarro
b44397d027
Dont return couch fields
2024-07-12 11:29:00 +02:00
Adria Navarro
c0a0e860fa
Merge branch 'master' into return-unauthorized-instead-of-forbidden
2024-07-12 11:07:11 +02:00
Sam Rose
4c4e7c12de
Fix a very rare flake in row.spec.ts.
2024-07-12 09:39:38 +01:00
Adria Navarro
1f2dab71eb
Merge branch 'master' into return-unauthorized-instead-of-forbidden
2024-07-12 01:34:17 +02:00
Adria Navarro
2035713b9c
Implement delete
2024-07-11 17:33:40 +02:00
Adria Navarro
ba2d6fd73b
Renames
2024-07-11 17:16:14 +02:00
Adria Navarro
9ff3d8cf77
Add extra tests
2024-07-11 17:14:14 +02:00
Adria Navarro
d03a0ebb68
Implement update
2024-07-11 17:08:57 +02:00
Adria Navarro
1be14f5a05
Merge branch 'master' into return-unauthorized-instead-of-forbidden
2024-07-11 16:59:34 +02:00
Adria Navarro
17fc605e4f
Persist as object instead of array
2024-07-11 16:57:32 +02:00
Sam Rose
db9e0e7d38
Fix fun flake in MySQL / MariaDB.
2024-07-11 15:54:52 +01:00
Adria Navarro
de04a6f76d
Change id
2024-07-11 15:34:48 +02:00
Adria Navarro
3bcbb57baa
Add id to each individual action
2024-07-11 15:32:25 +02:00
Adria Navarro
55c72c7150
Add tests
2024-07-11 14:12:43 +02:00
Adria Navarro
2d8361d6fd
Always return when table exists
2024-07-11 11:06:36 +02:00
Adria Navarro
c565e35b53
Implement find
2024-07-11 10:59:11 +02:00
Adria Navarro
fac9c35bce
Simplify tests
2024-07-11 10:46:29 +02:00
Adria Navarro
645abea2cd
Add extra tests
2024-07-11 10:19:11 +02:00
Adria Navarro
0831b7cf3f
Add extra tests
2024-07-11 10:13:28 +02:00
Adria Navarro
7dbfcc398e
Implement create
2024-07-11 10:04:25 +02:00
Adria Navarro
063eeeb6df
Fix
2024-07-10 15:49:13 +02:00
Adria Navarro
fe31f88cc8
Add validation
2024-07-10 15:48:16 +02:00
Adria Navarro
bf161d9d93
More types
2024-07-10 15:41:55 +02:00
Adria Navarro
c1eafe5b28
Fix
2024-07-10 14:05:21 +02:00
Adria Navarro
0c2024bf6a
Basic get
2024-07-10 13:56:41 +02:00
Adria Navarro
de2938799b
Initial test
2024-07-10 13:47:34 +02:00
Adria Navarro
dfda2f0f54
Register router
2024-07-10 13:47:34 +02:00
Adria Navarro
107bd08e21
Endpoint scaffolding
2024-07-10 13:47:34 +02:00
Adria Navarro
3f5161aaf7
Fix tests
2024-07-10 13:36:07 +02:00
Michael Drury
55f6610f0d
Merge branch 'master' into fix/correcting-multi-relationships
2024-07-10 12:01:06 +01:00
Sam Rose
551d413900
Merge branch 'master' into sqs-per-tenant
2024-07-10 11:39:31 +01:00
mike12345567
d6ad6a4686
Missing internal check.
2024-07-10 11:21:41 +01:00
Sam Rose
5356cfdce5
Fix uses of SearchFilterOperator.
2024-07-10 11:08:11 +01:00
mike12345567
4ab3aef020
PR comments.
2024-07-10 11:05:06 +01:00
Sam Rose
b48ea718d3
Merge branch 'master' of github.com:budibase/budibase into budi-8445-is-in-filter-broken
2024-07-10 09:14:34 +01:00
mike12345567
9e8a855d14
Adding test case for separating columns to rows in same table.
2024-07-09 19:09:01 +01:00
Sam Rose
2fa14ab35f
Merge branch 'master' into sqs-per-tenant
2024-07-09 17:30:33 +01:00
Sam Rose
4c6f7f25c2
Fix bug in oneOf search.
2024-07-09 11:45:01 +01:00
Adria Navarro
5cba1058d4
Merge branch 'master' into budi-7065-csv-export-fails-for-table-with-composite-primary-key
2024-07-09 10:54:18 +02:00
Adria Navarro
0f1c8eb788
Disable mssql test
2024-07-09 10:43:53 +02:00
Adria Navarro
5be8882122
Handle composite keys on exports
2024-07-09 10:43:45 +02:00
Sam Rose
72a0364ca0
Fix search tests.
2024-07-08 15:02:26 +01:00
Sam Rose
014ff81841
Remove accidental imports of the aws-sdk SQS (fml)
2024-07-08 14:25:05 +01:00
Sam Rose
69d54b523d
Finish implementation, fix tests.
2024-07-08 14:21:07 +01:00
Michael Drury
e8ceed08a5
Merge branch 'master' into fix/default-table-sqs-indexing
2024-07-05 16:32:14 +01:00
mike12345567
eafe66d01e
Linting.
2024-07-05 16:26:26 +01:00
mike12345567
39523685d6
Adding test case for searching sample data.
2024-07-05 16:20:27 +01:00
Adria Navarro
f26a8d410a
Add export composite key
2024-07-05 11:19:01 +02:00
mike12345567
77abe6da83
Handling invalid time values when ISO strings are input as filter options.
2024-07-04 18:29:08 +01:00
Sam Rose
ce406e0c5d
Unfocus test, you numpty.
2024-07-04 11:43:13 +01:00
Sam Rose
b318850c7e
Support non-ascii column in SQS.
2024-07-04 11:37:18 +01:00
Adria Navarro
53af94f971
Fix search returning non visible columns
2024-07-02 14:02:16 +02:00
Adria Navarro
882a056cd9
Don't trim any fields on view crud endpoints
2024-07-02 13:58:16 +02:00
mike12345567
c4ffd37caa
Adding fix for backwards compat, removing columns (but still filtering on) returns no rows, rather than an error.
2024-07-01 16:37:38 +01:00
Michael Drury
f3d8afcc5b
Merge branch 'master' into fix/sqs-internal-columns
2024-07-01 14:07:27 +01:00
Sam Rose
5c09d6f41f
Fix type error.
2024-07-01 11:46:35 +01:00
Sam Rose
11f49c95dc
Fix contains search on multi-user column.
2024-07-01 09:47:58 +01:00
mike12345567
b3d07aa228
Adding parameterised tests.
2024-06-28 15:21:39 +01:00
mike12345567
510baf4f6e
Adding test case and updating how prefix updates in filters work.
2024-06-28 14:19:11 +01:00
mike12345567
41f045d8a6
Allow constant internal columns to be duplicated based on being case sensitive.
2024-06-26 13:36:20 +01:00
Michael Drury
cfeab17ed8
Revert "Revert "Disallow prohibited columns""
2024-06-26 12:40:16 +01:00
Sam Rose
314d62bea0
Revert "Disallow prohibited columns"
2024-06-25 14:29:56 +01:00
Peter Clement
f3d466f255
fix issue where schema wasn't updating types when a query was run ( #14004 )
...
* fix issue where schema wasn't updating types when a query was run
* add tests for schema matching
2024-06-25 08:51:35 +01:00
Sam Rose
bb91849976
Merge branch 'master' into budi-8390-receiving-a-column-has-been-specified-more-than-once-in-the
2024-06-24 17:32:26 +01:00
Sam Rose
da1eb6f6ac
Fix primary key appearing twice in the SQL ORDER BY clause.
2024-06-24 17:09:27 +01:00
Sam Rose
01b2f69b74
Merge branch 'master' of github.com:budibase/budibase into budi-8220-support-updating-existing-rows-for-external-databases-using-2
2024-06-24 15:51:03 +01:00
mike12345567
965725d022
First PR comments.
2024-06-24 12:43:26 +01:00
mike12345567
05ea231d20
Adding back missing comments.
2024-06-24 11:53:02 +01:00
mike12345567
fcf67f7297
Fixing an issue raised by Poirazis around empty relationships coming back as related to themselves.
2024-06-21 19:29:30 +01:00
mike12345567
6812c21076
Updating test cases.
2024-06-21 16:58:40 +01:00
Sam Rose
d5481312d0
Fix lint, add new update test.
2024-06-21 15:31:34 +01:00
Sam Rose
c9fecbaa77
Fix updating rows in external tables where the primary key is an autocolumn.
2024-06-21 15:12:02 +01:00
Sam Rose
f4378bd561
Merge branch 'master' of github.com:budibase/budibase into budi-8220-support-updating-existing-rows-for-external-databases-using-2
2024-06-21 13:08:39 +01:00
mike12345567
b4910043c6
Addressing PR comments.
2024-06-21 11:27:47 +01:00
mike12345567
fead1f436a
test case is only for internal.
2024-06-20 18:53:01 +01:00
mike12345567
ae68c561f4
Test case.
2024-06-20 18:51:04 +01:00
mike12345567
86bae92ada
Refactoring search test to make it easier to find promises which aren't handled.
2024-06-20 17:13:42 +01:00
mike12345567
66ef0cb79a
Adding back SQS - wasn't causing a problem.
2024-06-20 16:05:03 +01:00
mike12345567
b6b05e08b1
Removing SQS from view test to check.
2024-06-20 15:52:56 +01:00
mike12345567
3345364675
Updating test case - not exactly sure what it was testing before, but now it definitely confirms paginated results are stable.
2024-06-20 14:36:08 +01:00
mike12345567
86d9de5a2d
Fixing view test cases, adding SQS to it and correcting the default sort order.
2024-06-19 18:57:37 +01:00
Sam Rose
602faf1c67
Add test for composite primary keys for external datasource imports.
2024-06-19 17:52:48 +01:00
mike12345567
58ec7a50b0
Implementing row counting for in-memory, also updating the in memory search function.
2024-06-19 17:51:11 +01:00
mike12345567
a97b24658f
Fixing test case, it didn't provide a primary field.
2024-06-19 15:08:22 +01:00
Michael Drury
223df424fc
Merge branch 'master' into feature/count-rows-to-return
2024-06-19 14:20:31 +01:00
mike12345567
0e5de7f16d
Test updates.
2024-06-19 13:36:34 +01:00
Sam Rose
80642100fa
Merge branch 'master' into feature/count-rows-to-return
2024-06-19 09:05:56 +01:00
mike12345567
e0d8a66fd8
Adding test cases for counting as well as some small fixes.
2024-06-18 18:44:17 +01:00
Sam Rose
e288fc8795
Disable upserting for MSSQL in bulkImport for now.
2024-06-18 18:02:20 +01:00
Sam Rose
5ac8a7d514
bulkImport upsert working everywhere excpet mssql
2024-06-18 17:43:25 +01:00
Sam Rose
335c174643
Create a failing test.
2024-06-18 16:39:35 +01:00
Peter Clement
2b96cbcad7
Expose old row binding in automations ( #13931 )
...
* expose old row through the emitter
* accidentally added oldRow to step
* fix row fetch in external datasources
* add test for new / old row comparison
* add testing for old row update event
* allow function overloading in test files
* update tests per comments
* handle event race condition
* update test data modal to account for old row output
* switch icon positioning
2024-06-18 13:45:58 +01:00
mike12345567
73013332ae
Adding countRows to search validators.
2024-06-18 11:16:21 +01:00
Sam Rose
75e79156f7
Merge branch 'master' into budi-8238-rewrite-postgresspects-to-use-knex
2024-06-17 16:45:33 +01:00
Sam Rose
903c3cf84d
Fix flake in generic-sql.spec.ts.
2024-06-17 16:17:00 +01:00
Sam Rose
c107ab937d
Remove rawQuery entirely.
2024-06-17 16:15:51 +01:00
Sam Rose
a54048e308
Solve all remaining TODOs in search.spec.ts.
2024-06-14 14:57:31 +01:00
Sam Rose
1161c185e2
Down to 0 failures.
2024-06-13 17:46:03 +01:00
Sam Rose
c01c2c7cc3
Down to 4 failures.
2024-06-13 16:23:16 +01:00
Sam Rose
746ee711ae
Down to 19 failures.
2024-06-13 14:45:43 +01:00
Sam Rose
cb6acd8c0b
Down to 71 failures.
2024-06-13 12:24:27 +01:00
Sam Rose
7e69f85e77
More progress.
2024-06-12 18:07:46 +01:00
Sam Rose
22bf0d05ad
Making progress.
2024-06-12 17:58:13 +01:00
Sam Rose
ae6539161f
Get rid of negation in predicate.
2024-06-12 17:28:03 +01:00
Sam Rose
7e4f571eb3
wip
2024-06-12 15:24:46 +01:00
Sam Rose
95f5844a44
Get in-memory searching into the search tests.
2024-06-12 15:24:46 +01:00
melohagan
f8765fb254
Don't add or remove quotas for external DB rows ( #13926 )
...
* Don't add or remove quotas for external DB rows
* update account-portal
* fix unit test
2024-06-12 13:49:37 +00:00
Sam Rose
13ec629109
Trigger server tests.
2024-06-10 15:50:04 +01:00
Sam Rose
d579972e5f
Slim down postgres.spec.ts, most of its content is tested elsewhere now across all datasources.
2024-06-10 10:59:33 +01:00
Michael Drury
dcd5e7934d
Merge branch 'master' into fix/BUDI-8258-update-presence
2024-06-07 18:01:38 +01:00
mike12345567
3cc4b71561
Fixing some issues highlighted by test case.
2024-06-07 17:59:18 +01:00
mike12345567
f76eb1b220
Merge branch 'master' of github.com:Budibase/budibase into fix/BUDI-8258-update-presence
2024-06-07 17:24:40 +01:00
mike12345567
5de2dc8382
Some test updates to make the fetchSchema tableFilter prop usable.
2024-06-07 17:13:06 +01:00
Sam Rose
85c372c4d6
Move some mysql.spec.ts and postgres.spec.ts tests into datasource.spec.ts.
2024-06-07 16:56:07 +01:00
Sam Rose
d682320371
Fix last test.
2024-06-07 16:40:25 +01:00
Sam Rose
c07d73beaf
Modernise datasource.spec.ts.
2024-06-07 16:35:46 +01:00
Adria Navarro
f4e14db22a
Add failing test
2024-06-07 10:54:14 +02:00
mike12345567
2c86ea14fd
Changing how disk cleanup is performed.
2024-06-06 15:07:06 +01:00
Sam Rose
ac53a97176
WIP
2024-06-06 14:55:07 +01:00
mike12345567
878114133c
Adding test.
2024-06-06 12:36:57 +01:00
Adria Navarro
47b77d6744
Run test only with internal tables
2024-06-04 16:46:50 +02:00
Adria Navarro
7aa6af6e13
Add tests to support existing configs
2024-06-04 16:40:09 +02:00
Adria Navarro
edd9ebc389
Tests
2024-06-04 12:33:48 +02:00
Adria Navarro
b65e9cfc80
Lint
2024-06-04 12:20:19 +02:00
Adria Navarro
1c8feaedb1
Copy change
2024-06-04 12:03:42 +02:00
Adria Navarro
44708a27ff
Merge branch 'BUDI-8282/validate-configuration' into BUDI-8282/validate-configuration-for-hidden-views
2024-06-04 11:37:54 +02:00
Adria Navarro
aefedce568
Renames
2024-06-04 11:35:09 +02:00
Adria Navarro
819cc6bebb
Fix tests
2024-06-04 11:18:33 +02:00
Adria Navarro
2d953f19cc
Clean validation message
2024-06-04 11:11:50 +02:00
Adria Navarro
9b82116c61
Copy changes
2024-06-04 10:39:56 +02:00
Adria Navarro
cc3808997c
Fix viewV2 tests
2024-06-03 13:26:49 +02:00
Adria Navarro
91c20213dc
Validate readonly
2024-06-03 12:12:04 +02:00
Adria Navarro
efc9d3399e
Validate schema
2024-06-03 12:12:04 +02:00
Adria Navarro
5912c2b129
Copy change
2024-06-03 12:12:03 +02:00
Adria Navarro
5c3973d7f9
Merge branch 'master' into feat/readonly-columns
2024-06-03 10:06:50 +02:00
Adria Navarro
6ce0b3c368
Copy change
2024-05-30 11:46:57 +02:00
Sam Rose
fb4cecc93f
Update template tests to make sure importing templates works for SQS.
2024-05-29 17:07:29 +01:00
Sam Rose
53e035fcb5
Merge branch 'master' of github.com:budibase/budibase into test-template-import
2024-05-29 16:11:57 +01:00
Adria Navarro
4b0e433c45
Prevent write readonly column
2024-05-29 15:52:22 +02:00
Adria Navarro
2d5ecb6e3e
PR comments
2024-05-29 15:50:10 +02:00
Adria Navarro
05544d3082
Simplify mock
2024-05-29 15:45:33 +02:00
Sam Rose
1a94d2dca9
wip
2024-05-29 14:21:58 +01:00
Adria Navarro
ab0bac689b
Add tests
2024-05-27 14:53:26 +02:00
Adria Navarro
9e4c575d79
Add license tests
2024-05-27 14:44:00 +02:00
Adria Navarro
422b1e2753
Fix tests
2024-05-27 14:31:45 +02:00
Adria Navarro
6d71c8c960
Merge branch 'master' into BUDI-8284/readonly-settings-columns-in-views
2024-05-27 14:16:59 +02:00
Adria Navarro
041f85886c
Ensure consistency
2024-05-27 14:16:03 +02:00
Adria Navarro
9bac192cf9
Add tests
2024-05-27 14:11:50 +02:00
Adria Navarro
3cf230e3af
Add tests
2024-05-27 13:59:39 +02:00
Adria Navarro
65d2aa50c6
Guard readonly fields
2024-05-27 13:39:43 +02:00
Adria Navarro
6acb3f6669
Validation test
2024-05-24 16:15:24 +02:00
Adria Navarro
28137f9500
Validate view schema on upsert
2024-05-24 16:07:07 +02:00
mike12345567
ae26f66cf9
Fixing a test case.
2024-05-24 12:40:58 +01:00
Sam Rose
120f240f01
Fix tests.
2024-05-23 10:43:44 +01:00
Sam Rose
a9f8a72ebd
Attempting to fix tests.
2024-05-22 18:00:32 +01:00
Sam Rose
f8fb08c72c
Merge master.
2024-05-22 17:24:29 +01:00
Sam Rose
46e310018e
Fix tests.
2024-05-22 16:57:27 +01:00
Sam Rose
7aade03ed2
Merge branch 'delete-sql-spec-ts-2' of github.com:budibase/budibase into delete-sql-spec-ts-2
2024-05-22 14:02:16 +01:00
Sam Rose
b6e3e7659c
Remove extraneous comment.
2024-05-22 14:01:59 +01:00
Sam Rose
e53dddfdf0
Merge branch 'master' into delete-sql-spec-ts-2
2024-05-22 10:35:16 +01:00
Sam Rose
7f7ed9f0cb
Move more tests out of sql.spec.ts.
2024-05-21 17:38:38 +01:00
Adria Navarro
f14e6d014c
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres
2024-05-21 16:55:00 +02:00
Adria Navarro
a55f975489
Fix tests
2024-05-21 16:11:36 +02:00
Sam Rose
bc63a11979
Move sort stability check to search.spec.ts.
2024-05-21 14:20:05 +01:00
Sam Rose
9c9b2ff48d
Move empty object range tests out of sql.spec.ts.
2024-05-21 14:15:17 +01:00
Sam Rose
682cdfffe8
Respond to PR feedback.
2024-05-21 14:03:07 +01:00
Adria Navarro
8cf021f254
Add null row
2024-05-21 14:30:37 +02:00
Adria Navarro
6eefa1afe8
Add comment
2024-05-21 14:30:03 +02:00
Adria Navarro
7c7f88bd47
Pop on asserts
2024-05-21 13:41:46 +02:00
Adria Navarro
221c8a3f0a
Shuffle all test createRows
2024-05-21 13:31:15 +02:00
Sam Rose
6bd984ab9c
Making progress towards deleting sql.spec.ts.
2024-05-21 11:51:42 +01:00
Sam Rose
8be41da728
Merge branch 'master' of github.com:budibase/budibase into sqs-user-tests
2024-05-20 17:02:47 +01:00
Sam Rose
e2a1ab7eaf
All tests passing.
2024-05-20 17:01:52 +01:00
Adria Navarro
0b01b67661
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres
2024-05-20 17:06:57 +02:00
Adria Navarro
7d709d0d22
Fix flaky test
2024-05-20 16:57:03 +02:00
Adria Navarro
684e360715
Add other tests
2024-05-20 16:49:38 +02:00
Adria Navarro
57e73488b5
Add tests
2024-05-20 16:34:00 +02:00
Conor Webb
3c74d29cf6
Added the ability to disable automations ( #13667 )
...
* Added disabling functionality for automations
* Removed external trigger automations that are disabled from selectable bindings
* Added new popover option for disabling automations
* Added toggle UI Inside automation screen
* Added subtle styling to automation list for disabled functionality.
* Fixed linting error
* Removed duplicate bbui import
* Fixed store function spacing
* Fixed linting issues.
* Added the requested changes to how disable is handled.
* Fixed linting issues.
* Minor UI tweaks based on feedback.
* Added logic to prevent crons type automations from running when disabled.
* Removing webhook disable, causes trigger url to be re-generated.
* Add unit test to ensure disabled automations are filtered out of the active queue
* Fixed lint issues
* Reverted disabled unit test
* Added error throw for disabled automations
* Add test for when a disabled automation gets triggered
* Added try, catch for trigger function - error handling
* Fixed linting issues
2024-05-20 15:13:08 +01:00
Sam Rose
402afa1df6
Merge master.
2024-05-20 14:19:55 +01:00
Sam Rose
c268879e94
Merge master.
2024-05-20 12:39:02 +01:00
Sam Rose
fd2e0020cd
Fix more date math problems.
2024-05-20 12:31:12 +01:00
Sam Rose
079318379d
Fix date math problem in search tests.
2024-05-20 12:23:03 +01:00
Sam Rose
1562e7b1f1
Working towards user relationship tests passing.
2024-05-20 12:05:01 +01:00
Sam Rose
941bd7a657
Merge master.
2024-05-20 12:00:39 +01:00
Sam Rose
902613d600
Working towards user relationship tests passing.
2024-05-20 12:00:08 +01:00
Dean
3019e54b92
Fix for date based binding tests
2024-05-20 11:25:48 +01:00
Dean
37dd75823f
PR feedback, signature to signature single
2024-05-17 17:04:15 +01:00
Dean
b0a65b4699
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-13 16:22:19 +01:00
Dean
0589a6a730
Refactored signature from previous array implementation to the new single approach. Added support for automations
2024-05-13 16:19:02 +01:00
Dean
f696299ceb
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-13 11:35:20 +01:00
Adria Navarro
e451e99f6b
Fixes
2024-05-13 12:35:01 +02:00
Adria Navarro
1732feed27
Uncomment 💩
2024-05-13 12:35:00 +02:00
Adria Navarro
fa2843b296
Improve tests
2024-05-13 12:35:00 +02:00
Adria Navarro
2833e0558e
Test deprecated_multi_user bindings
2024-05-13 12:35:00 +02:00
Adria Navarro
1fc2efd6f5
Clean
2024-05-13 12:35:00 +02:00
Adria Navarro
f7a997aaef
Update some tests
2024-05-13 12:35:00 +02:00
Adria Navarro
c130f2976c
Change test
2024-05-13 12:35:00 +02:00
Adria Navarro
c890f885e6
Merge branch 'master' into feat/budi-8123-single-user
2024-05-13 12:34:01 +02:00
Adria Navarro
ae83bb695e
Fix tests depending on date
2024-05-13 11:03:15 +02:00
Adria Navarro
d83e5e21f2
Merge branch 'master' into feat/budi-8123-single-user
2024-05-09 18:05:16 +02:00
deanhannigan
bf88090c89
Merge branch 'master' into feature/signature-field-and-component
2024-05-09 16:39:54 +01:00
Sam Rose
bfc63bd4e2
Remove the last internal.spec.ts file.
2024-05-09 16:26:08 +01:00
deanhannigan
b5bf914cd7
Merge branch 'master' into feature/signature-field-and-component
2024-05-09 14:47:14 +01:00
deanhannigan
32cce5f5c6
Merge branch 'master' into feature/filter-bindings
2024-05-09 14:24:29 +01:00
mike12345567
bf953597c7
Updating auto column test to only run against internal DB.
2024-05-09 13:18:50 +01:00
Michael Drury
6b84abda48
Merge branch 'master' into fix/disable-external-auto-columns
2024-05-09 12:57:02 +01:00
mike12345567
0a96bb9684
Disabling auto-column fieldtype and subtypes. This is not something that is currently supported through the UI, so this is not a breaking change, just making sure these type of scenarios don't actually occur as they don't work particularly well.
2024-05-09 12:44:30 +01:00
Sam Rose
30519d808a
Merge branch 'master' into remove-unneeded-jest-unmock-calls
2024-05-09 12:15:33 +01:00
Sam Rose
69c8264388
Remove src/sdk/app/rows/tests/internal.spec.ts.
2024-05-09 11:57:17 +01:00
Dean
4c6629d15f
Merge remote-tracking branch 'origin/master' into feature/filter-bindings
2024-05-09 11:05:58 +01:00
Sam Rose
b99e3794b2
Move parallel auto ID row creation test to row.spec.ts.
2024-05-09 10:58:52 +01:00
Sam Rose
033c642c12
Remove unnecessary jest.unmock calls.
2024-05-09 10:15:05 +01:00
Dean
3712e290b0
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-09 09:19:00 +01:00
Sam Rose
264ce5e272
Merge branch 'master' into search-tests-boolean
2024-05-08 14:20:36 +01:00
Peter Clement
1d300c2577
Remove aws sdk global mock and update tests ( #13637 )
...
* Remove aws sdk global mock and update tests
* add awaits
* Minio healthcheck in tests.
* Bind to 127.0.0.1 instead of 0.0.0.0
* Fix port fetching for minio container.
* Actually fix port mapping this time.
* Pull minio container before running tests.
* Enable testcontainers debug logging.
* Promote minio container to always running in tests, like CouchDB.
* Remove testcontainers debug logging.
---------
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-05-08 14:08:34 +01:00
deanhannigan
42a5d3d0e0
Merge branch 'master' into feature/filter-bindings
2024-05-08 10:22:45 +01:00
Dean
a29301a2fc
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-08 09:43:30 +01:00
Sam Rose
3bc1e6b387
Fix behaviour of 'when filter empty' for empty and notEmpty filter types.
2024-05-07 16:46:54 +01:00
Dean
04588711e2
Refactored out config changes and now excluding on the affected SQS/Multiuser tests
2024-05-07 09:13:43 +01:00
Adria Navarro
b36d7868a4
Lint
2024-05-06 08:06:43 +02:00
Adria Navarro
569488deee
Move migration logic to backend
2024-05-06 08:06:43 +02:00
Adria Navarro
3e4b0e8cd6
Handle migrations
2024-05-06 08:06:43 +02:00
Adria Navarro
deedce9ce6
Merge branch 'master' into feat/budi-8123-single-user
2024-05-03 20:13:55 +02:00
Dean
94773ceb9a
Merge remote-tracking branch 'origin/master' into feature/filter-bindings
2024-05-03 17:36:48 +01:00
Dean
4e5025bdab
Merge commit
2024-05-03 17:33:56 +01:00
Sam Rose
1edc525d9b
Fix boolean searching for external datasources.
2024-05-03 17:31:44 +01:00
Sam Rose
1777f1f8fe
Fix boolean searching for Lucene/SQS
2024-05-03 17:29:20 +01:00
Sam Rose
f49e36d0dd
Search tests for FieldType.OPTIONS
2024-05-03 16:14:47 +01:00
Sam Rose
1330fe04ab
Test FieldType.LONGFORM
2024-05-03 16:11:26 +01:00
Dean
16e3e1b759
Run test matrix without sqs
2024-05-02 17:09:47 +01:00
Dean
56fd28eb54
Test fixes
2024-05-02 16:45:25 +01:00
Dean
5e7d1169f7
Minor refactor to accomodate testing with snippets. More test cases for multiple binding types
2024-05-02 16:26:09 +01:00
Adria Navarro
70c6d56c1e
Merge branch 'feat/budi-8123-single-user' into budi-8123/single-user-column-type
2024-05-02 12:06:42 +01:00
Dean
2997da8687
Merge remote-tracking branch 'origin/master' into feature/filter-bindings
2024-05-02 09:24:14 +01:00
Dean
f2cb90735b
Merge commit
2024-05-02 09:24:05 +01:00
Dean
ac3b8478ec
Merge remote-tracking branch 'origin/master' into feature/filter-bindings
2024-04-26 16:06:34 +01:00
Dean
e8f15058a1
Merge commit
2024-04-26 16:03:32 +01:00
mike12345567
1c1f9c950d
Quick improvement to use the bulk import endpoint, we don't need to search for the type: row anymore.
2024-04-26 15:51:53 +01:00
Sam Rose
951b7d3e59
Merge branch 'master' of github.com:budibase/budibase into sqs-auto-tests
2024-04-26 15:07:45 +01:00
Adria Navarro
2be14deb01
Add test
2024-04-26 13:26:14 +02:00
Adria Navarro
1aad2ee6d2
Fix after renames
2024-04-26 12:23:11 +02:00
Adria Navarro
637f7f514a
Remove FieldTypeSubtypes
2024-04-26 12:18:50 +02:00
Sam Rose
cefaa228e1
Delete commented out line.
2024-04-25 17:19:25 +01:00
Sam Rose
e15345030f
Uncomment tests.
2024-04-25 16:53:21 +01:00
Sam Rose
b07db7b098
Make sure we're treating AUTO as numbers.
2024-04-25 16:51:42 +01:00