Dean
185fd557dd
Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux
2024-10-11 11:17:24 +01:00
Adria Navarro
cb31bb7d96
Merge branch 'master' into v3-ui
2024-10-11 10:26:24 +02:00
mike12345567
324616be59
Finishing multi-inheritance test case and getting accessibility to be detected correctly.
2024-10-10 18:15:23 +01:00
Sam Rose
964f8222ba
Allow sorting by calculation fields.
2024-10-10 17:10:07 +01:00
mike12345567
f907cccc58
Merge branch 'fix/custom-role-naming' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-10-10 16:28:06 +01:00
Adria Navarro
e783676d69
Merge branch 'master' into v3-ui
2024-10-10 17:27:15 +02:00
Michael Drury
799ad63568
Merge branch 'master' into fix/custom-role-naming
2024-10-10 16:15:14 +01:00
mike12345567
5f4694d4d8
Fix for an issue found with custom role naming.
2024-10-10 16:13:32 +01:00
mike12345567
5f91c7d8da
new test case.
2024-10-10 16:11:03 +01:00
Sam Rose
4c4429b88a
Fix tests.
2024-10-10 15:49:00 +01:00
Sam Rose
a00a64bb6e
Properly clean up row actions on table deletion.
2024-10-10 14:56:38 +01:00
Adria Navarro
11a8f638b1
Merge branch 'master' into BUDI-8270/validation-for-search-api
2024-10-10 15:39:26 +02:00
mike12345567
4719b16116
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-10-10 14:38:18 +01:00
Adria Navarro
5cad93ff75
Fix
2024-10-10 15:15:54 +02:00
Adria Navarro
60a5f4a2e7
Types
2024-10-10 15:11:11 +02:00
Dean
ed0a9ce551
Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux
2024-10-10 14:06:05 +01:00
Dean
f23da77eee
Merge commit
2024-10-10 14:06:02 +01:00
Andrew Kingston
d1bc83ab0a
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-10-10 13:59:03 +01:00
Sam Rose
4031971456
Merge branch 'master' into view-calculation-no-deletes
2024-10-10 12:39:15 +01:00
Sam Rose
4e0c293b08
Merge branch 'master' into view-calculation-fix-table-update
2024-10-10 12:20:20 +01:00
Sam Rose
84ebd6905b
Merge branch 'master' into view-calculation-filtering
2024-10-10 12:03:38 +01:00
Sam Rose
28c22e9aa7
Fix table updates wiping out view calculation fields.
2024-10-10 11:50:38 +01:00
mike12345567
3a2b22d446
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-10-10 11:47:19 +01:00
Adria Navarro
d1a69a6660
Use validation
2024-10-10 11:40:29 +02:00
Sam Rose
4c0bd812c1
Respond to PR comment.
2024-10-10 10:37:47 +01:00
Adria Navarro
eea9eade5c
Start types
2024-10-10 10:46:58 +02:00
Sam Rose
55be64b371
Only check visible fields when checking group by view calculations.
2024-10-10 09:16:43 +01:00
Sam Rose
93ebe39e43
Merge branch 'master' into view-calculation-filtering
2024-10-10 09:02:35 +01:00
Sam Rose
b42334fde1
Merge branch 'master' into view-calculation-no-deletes
2024-10-10 09:02:31 +01:00
Andrew Kingston
72dd3a1d59
Fix resolution of builderSocket
2024-10-09 18:57:47 +01:00
Andrew Kingston
f4e149fd92
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-10-09 18:50:28 +01:00
Andrew Kingston
88a7128da3
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-10-09 18:49:34 +01:00
Sam Rose
7546c9bbe2
Test calculation view searching.
2024-10-09 17:25:41 +01:00
Sam Rose
cc07b1407b
Merge branch 'master' into view-calculation-no-deletes
2024-10-09 17:09:03 +01:00
mike12345567
6a25f66f3c
Merge branch 'fix/budi-8715-sql-relationships-many-side' of github.com:Budibase/budibase into fix/budi-8715-sql-relationships-many-side
2024-10-09 17:04:46 +01:00
mike12345567
00048a2d3e
Addressing PR comments.
2024-10-09 17:04:27 +01:00
Michael Drury
01e458b568
Merge branch 'master' into fix/budi-8715-sql-relationships-many-side
2024-10-09 17:00:48 +01:00
mike12345567
70ab14319d
Adding test case for removing from many side of relationships in SQL.
2024-10-09 16:51:11 +01:00
Adria Navarro
6a0f80f28e
Remove duplicated test
2024-10-09 17:13:46 +02:00
Adria Navarro
92372d1a4b
Fix test
2024-10-09 17:08:45 +02:00
Adria Navarro
c84cda40b3
Set default permissions to view
2024-10-09 17:08:45 +02:00
Adria Navarro
d01462221f
Set default permissions
2024-10-09 17:08:45 +02:00
Adria Navarro
389c4a9467
Add more tests
2024-10-09 17:08:45 +02:00
Adria Navarro
ff402c54e0
Add view tests
2024-10-09 17:08:45 +02:00
Adria Navarro
37eb66e0d5
Cleanup tests
2024-10-09 17:08:45 +02:00
Adria Navarro
ebd762cdb6
Fixes
2024-10-09 17:08:35 +02:00
Sam Rose
26a8fabfef
Prevent deleting rows through a calculation view.
2024-10-09 16:05:49 +01:00
Adria Navarro
38685b50df
Add extra test
2024-10-09 16:55:59 +02:00
Adria Navarro
1e0902a831
Cleanup tess
2024-10-09 16:55:32 +02:00
Adria Navarro
aa0a1737c8
Fix tests
2024-10-09 16:55:32 +02:00
Adria Navarro
9f84262940
Clean
2024-10-09 16:55:32 +02:00
Sam Rose
4cde2f26ad
wip, tests broken
2024-10-09 16:55:32 +02:00
Sam Rose
3405e6d6b7
Make new tables require ADMIN permissions to read and write.
2024-10-09 16:55:16 +02:00
mike12345567
d62d5b7043
Fixing an issue with removing relationships from the many side of a table in SQL, this was not correctly updating the other table.
2024-10-09 15:09:38 +01:00
Sam Rose
71fdae3383
Merge branch 'master' into view-calculation-readonly
2024-10-09 14:19:07 +01:00
Sam Rose
a75666bb7c
Merge branch 'master' into view-calculation-validation-4
2024-10-09 14:03:33 +01:00
Sam Rose
6da0c29c76
Merge branch 'master' into view-calculation-validation-3
2024-10-09 13:46:58 +01:00
Adria Navarro
23022e324c
Merge branch 'master' into chore/move-table-creation-to-sdk
2024-10-09 14:24:03 +02:00
Adria Navarro
3b01f404dd
Fix imports
2024-10-09 13:49:58 +02:00
Adria Navarro
761d48f4d5
Merge branch 'master' into chore/move-table-creation-to-sdk
2024-10-09 13:49:45 +02:00
Michael Drury
52fa9ae905
Merge branch 'master' into fix/postgres-newlines
2024-10-09 12:48:28 +01:00
Adria Navarro
f05bf25e21
Add failing test
2024-10-09 13:31:11 +02:00
Adria Navarro
80ae7cbe0b
Rename
2024-10-09 13:21:22 +02:00
Adria Navarro
15d124bfaf
Move internal creation to sdk
2024-10-09 12:58:10 +02:00
Adria Navarro
9d06c705ac
Remove ContextUser usages in favor of just ids
2024-10-09 12:47:43 +02:00
Adria Navarro
c2a5f673ae
Lint
2024-10-09 10:52:14 +02:00
Sam Rose
0182d4a09f
Make sure calculation views cannot be used to write or modify rows.
2024-10-08 17:55:42 +01:00
Martin McKeaveney
7b683cfc50
merge and typing
2024-10-08 17:38:23 +01:00
Sam Rose
5dc85230d9
Add a test to make sure 'shadowing' a field works as expected in view calculations.
2024-10-08 17:04:45 +01:00
Sam Rose
5c3adbed27
Validate you can't group by complex fields.
2024-10-08 15:34:34 +01:00
Sam Rose
f1b04d1252
Merge master.
2024-10-08 15:06:57 +01:00
Sam Rose
2b47789fc8
Merge branch 'master' into feature-flag-helper
2024-10-08 14:42:09 +01:00
Andrew Kingston
76ce8b5fd5
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-10-08 14:06:26 +01:00
Sam Rose
7818546ade
Fix tests.
2024-10-08 12:31:14 +01:00
Sam Rose
4f628c1d54
Merge branch 'master' of github.com:budibase/budibase into mark-calculation-views
2024-10-08 12:23:28 +01:00
Sam Rose
9b3ab049a4
wip
2024-10-08 11:50:16 +01:00
Sam Rose
13a78867ac
Merge branch 'master' of github.com:budibase/budibase into view-calculation-validation-2
2024-10-08 11:21:41 +01:00
Sam Rose
2d19644bd8
Fix tests.
2024-10-08 11:19:43 +01:00
Sam Rose
d0c57c82ad
Fix lint.
2024-10-08 11:15:53 +01:00
Sam Rose
635d268eea
Merge branch 'master' of github.com:budibase/budibase into feature-flag-helper
2024-10-08 11:14:11 +01:00
Sam Rose
c1189ecc96
Merge master.
2024-10-08 11:10:23 +01:00
Sam Rose
1106244ff3
Merge branch 'master' into allow-calculation-fields-to-hide-required-fields
2024-10-08 09:30:00 +01:00
Sam Rose
11804f6ddd
Create a feature flag helper for tests.
2024-10-07 18:18:04 +01:00
Sam Rose
3e865d5609
Merge branch 'master' into view-calculation-validation
2024-10-07 17:05:18 +01:00
Sam Rose
f4b430e27c
Remove uiMetadata from ViewV2, it's not needed now we have the type field.
2024-10-07 16:38:18 +01:00
Sam Rose
672469526e
Mark calculation views explicitly instead of figuring it out implicitly.
2024-10-07 16:33:14 +01:00
Sam Rose
e6e25fdf94
Allow calculation views to hide required fields.
2024-10-07 14:59:29 +01:00
Andrew Kingston
fda5fdc16e
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-10-07 10:46:50 +01:00
Martin McKeaveney
a583b824c2
Merge pull request #14700 from Budibase/view-ui-metadata
...
Add uiMetadata to viewV2
2024-10-07 10:23:02 +01:00
Adria Navarro
6c2c422fa5
Merge branch 'master' into v3-ui
2024-10-04 15:51:40 +02:00
Sam Rose
55008c4bb5
Merge branch 'master' into view-ui-metadata
2024-10-04 14:32:03 +01:00
Adria Navarro
f38180eaaa
Add comment
2024-10-04 14:48:50 +02:00
Adria Navarro
9d7fdb1ed7
Fix test
2024-10-04 14:45:28 +02:00
Adria Navarro
3830d6cff7
Clean action between tests
2024-10-04 14:45:11 +02:00
Adria Navarro
01b7f7388f
More tests
2024-10-04 14:16:50 +02:00
Adria Navarro
bb6bd1711a
Add extra tests
2024-10-04 14:03:03 +02:00
Adria Navarro
9063e73f88
Fix tests
2024-10-04 14:02:56 +02:00
Adria Navarro
4c4f766a6a
Endpoint to allow/disallow runs from table
2024-10-04 14:02:48 +02:00
Adria Navarro
8764a8c6e8
Return allowed run from table
2024-10-04 14:02:30 +02:00
Adria Navarro
baa5a86ebb
Rename allowedViews to allowedSources
2024-10-04 14:01:46 +02:00
Sam Rose
1b5c19554e
Merge branch 'master' into view-calculation-validation
2024-10-04 11:12:13 +01:00
Sam Rose
fb7133e64f
Validate that there are no duplicate calculations in calculation views.
2024-10-04 11:09:29 +01:00
Sam Rose
27508d934d
Validate that you cannot create a calculation view with more than 5 calculation fields.
2024-10-04 10:45:03 +01:00
Peter Clement
9a47db4a13
fix test
2024-10-04 10:39:17 +01:00
Andrew Kingston
afca86cf8f
Merge branch 'master' into view-ui-metadata
2024-10-04 09:45:34 +01:00
Sam Rose
e39ced99d9
Merge branch 'master' into js-stack-traces
2024-10-04 09:44:59 +01:00
Andrew Kingston
a563adc2c0
Update tests
2024-10-04 09:43:23 +01:00
Sam Rose
831c81a99c
Fix automation tests.
2024-10-04 09:31:42 +01:00
Andrew Kingston
215e359615
Add uiMetadata to viewV2
2024-10-04 09:29:41 +01:00
mike12345567
586dd8fea7
Fixing an issue with newlines between coalesce statements in Postgres - we were escaping newlines even if they were valid when given a list of JSON operations to perform.
2024-10-03 18:10:58 +01:00
mike12345567
bfbc576ed1
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-10-03 17:22:09 +01:00
Martin McKeaveney
ddea2d137a
don't run AI column functionality if the feature isn't enabled
2024-10-03 16:59:59 +01:00
Sam Rose
725096c9d1
Merge master.
2024-10-03 16:33:35 +01:00
Sam Rose
19f58b62c9
Merge branch 'master' of github.com:budibase/budibase into js-stack-traces
2024-10-03 16:32:43 +01:00
Sam Rose
15a30b1d9e
Fix yet more tests.
2024-10-03 16:32:14 +01:00
Sam Rose
03c514be4c
Fix tests.
2024-10-03 16:16:42 +01:00
Andrew Kingston
e4900e27bb
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-10-03 15:50:22 +01:00
Michael Drury
aae5c19927
Merge branch 'master' into backport-v3-view-updates
2024-10-03 15:09:54 +01:00
Michael Drury
97b799f9db
Merge pull request #14694 from Budibase/view-merge-v3-ui
...
View changes - merge to V3 UI branch
2024-10-03 15:09:33 +01:00
mike12345567
176bae2935
Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui
2024-10-03 13:38:58 +01:00
Andrew Kingston
f7318b15d4
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-10-03 11:23:02 +01:00
Andrew Kingston
edbb0b59f7
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-10-03 11:22:05 +01:00
Adria Navarro
ca88943048
Merge branch 'master' into chore/search-tests-from-views
2024-10-03 10:45:36 +02:00
Adria Navarro
9ba759093e
Small rename
2024-10-03 10:44:58 +02:00
Adria Navarro
36e304aaf5
Unify
2024-10-03 10:44:15 +02:00
Adria Navarro
1b53bab92e
Extract
2024-10-03 10:28:29 +02:00
Adria Navarro
7c778061e5
Fix sql relationship fetching
2024-10-03 09:50:58 +02:00
Adria Navarro
7e4097476e
Merge branch 'master' into chore/search-tests-from-views
2024-10-03 09:23:02 +02:00
mike12345567
98ebd8f18c
Omitting in tests.
2024-10-02 18:59:20 +01:00
mike12345567
bcb940b7eb
Merge issue.
2024-10-02 18:45:47 +01:00
mike12345567
f4177230a7
Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui
2024-10-02 18:43:46 +01:00
mike12345567
8cb6603a73
Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into backport-v3-view-updates
2024-10-02 18:43:21 +01:00
mike12345567
9e7ed04719
Support saving queryUI.
2024-10-02 18:43:07 +01:00
mike12345567
786bfdb0e2
Merging v3-backport branch
2024-10-02 18:09:53 +01:00
mike12345567
5709c5f8d5
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-10-02 17:51:22 +01:00
Michael Drury
f2ced5f129
Merge branch 'master' into backport-v3-view-updates
2024-10-02 17:50:49 +01:00
Martin McKeaveney
2b322f6f1d
merge from v3
2024-10-02 17:01:07 +01:00
Martin McKeaveney
c70bd87ac2
merge with master
2024-10-02 16:52:00 +01:00
Sam Rose
7ed28593fb
Add a test for a count distinct column that references a non-existent field.
2024-10-02 16:49:14 +01:00
Sam Rose
50c307df4d
Add more view calculation tests, and implement count distinct.
2024-10-02 16:49:14 +01:00
Martin McKeaveney
c1a86433c1
don't backfill old rows on AI column creation
2024-10-02 16:49:04 +01:00
Sam Rose
612d0844bf
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4
2024-10-02 16:48:49 +01:00
Adria Navarro
39511a4e83
Fix tests
2024-10-02 17:39:35 +02:00
Andrew Kingston
66f6e91245
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-10-02 16:08:54 +01:00
Adria Navarro
521a14650d
Fix tests
2024-10-02 16:50:54 +02:00
Adria Navarro
557add173a
Fix view relationships
2024-10-02 16:50:54 +02:00
Andrew Kingston
3e3fd20207
Add tests for new default value types
2024-10-02 15:35:17 +01:00
Michael Drury
fb68fe2f8c
Merge branch 'master' into backport-v3-view-updates
2024-10-02 14:09:11 +01:00
Adria Navarro
0d64e03c9f
Don't run for lucene views
2024-10-02 14:10:29 +02:00
Adria Navarro
2d6e97bac9
Merge branch 'master' into chore/search-tests-from-views
2024-10-02 12:38:57 +02:00
Adria Navarro
470ad95208
Run view tests
2024-10-02 12:37:40 +02:00
Adria Navarro
e08c3b8574
Run view tests
2024-10-02 12:26:03 +02:00
Sam Rose
0679ec8993
Make sure calculation views are created and returned correctly.
2024-10-02 10:36:45 +01:00
Conor Webb
dda078d743
Merge branch 'master' into v3-ui
2024-10-02 10:15:20 +01:00
Sam Rose
ab386e5047
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql-4
2024-10-02 10:06:44 +01:00
deanhannigan
82006c4088
Merge branch 'master' into v3-ui
2024-10-02 09:57:55 +01:00
Sam Rose
904dd8364a
Merge branch 'master' into view-calculation-sql-3
2024-10-02 09:55:50 +01:00
Michael Drury
9ed77d6aea
Merge branch 'master' into backport-v3-view-updates
2024-10-02 09:37:40 +01:00
Sam Rose
cc6b2f6717
add failing test
2024-10-02 09:35:47 +01:00
Sam Rose
abeeecba9d
Merge branch 'master' into view-calculation-sql-2
2024-10-02 09:24:23 +01:00
Dean
2884ac4638
Merge remote-tracking branch 'origin/master' into v3-ui
2024-10-02 09:21:00 +01:00
Sam Rose
77856eb35a
Add a test to make sure fields on the underlying table that are required are not required on the view.
2024-10-01 17:23:21 +01:00
Martin McKeaveney
9a6301fd5f
Merge branch 'master' into budi-8664-cron-helper-ai-feature
2024-10-01 17:06:33 +01:00
Martin McKeaveney
36996f71d0
merge
2024-10-01 16:39:09 +01:00
Martin McKeaveney
2aaef12a1a
better typing - discriminated unions
2024-10-01 16:36:37 +01:00
Sam Rose
4165c6cab4
Test all aggregation types.
2024-10-01 16:17:22 +01:00
Sam Rose
ae4f7ae4b4
Implement group by and add a test for it.
2024-10-01 15:04:01 +01:00
Martin McKeaveney
2d21afbe10
rough v1
2024-10-01 12:52:11 +01:00
Adria Navarro
b88e63d490
Helpers not changing state
2024-10-01 13:24:38 +02:00
Adria Navarro
97b70e1f5a
Change tableid for source id
2024-10-01 13:21:04 +02:00
Sam Rose
987a24fabc
wip
2024-10-01 11:48:14 +01:00
mike12345567
4d33106b45
Undo commenting out other DBs.
2024-10-01 11:42:44 +01:00
mike12345567
d7873c5c6e
Test fix.
2024-10-01 11:42:16 +01:00
Adria Navarro
119767a30e
Cleanup
2024-10-01 12:20:18 +02:00
Adria Navarro
1972ed6533
Merge branch 'master' into backport-v3-view-updates
2024-10-01 12:19:25 +02:00
Adria Navarro
f31c7c3487
Add test
2024-10-01 10:56:16 +02:00
Adria Navarro
527876fc41
Merge branch 'master' into BUDI-8630/view-security-allow-filters-specified-on-view-to-use-any
2024-10-01 10:51:37 +02:00
Dean
e2247cfb2c
Merge remote-tracking branch 'origin/master' into v3-ui
2024-10-01 09:27:00 +01:00
mike12345567
6e660151bd
backport of V3 backend changes for search filters on view, giving this the correct type to support conditionals.
2024-09-30 18:06:47 +01:00
Martin McKeaveney
bd6ad0ff0e
Merge branch 'master' into budi-8664-cron-helper-ai-feature
2024-09-30 16:17:27 +01:00
Michael Drury
efdbe5a238
Merge branch 'master' into fix/view-user-columns
2024-09-30 16:15:39 +01:00
Sam Rose
28bb321511
Set view permissions to explicit roles from the parent table
2024-09-30 15:36:49 +01:00
mike12345567
3ecd86b2af
Fixing an issue with user columns getting correct user ID, the logical operators were not being recursed correctly.
2024-09-30 14:58:27 +01:00
Adria Navarro
6e1cd6eb01
Move query logic to sdk
2024-09-30 15:37:20 +02:00
Martin McKeaveney
e281250569
ai cron helper E2E
2024-09-30 14:00:12 +01:00
Sam Rose
62e1e66ce9
Merge master.
2024-09-30 09:54:36 +01:00
Andrew Kingston
2e5f07d3c8
Merge branch 'feature/role-multi-inheritance' of github.com:Budibase/budibase into new-rbac-ui
2024-09-30 08:22:07 +01:00
Andrew Kingston
adfe467329
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-09-30 08:21:36 +01:00
mike12345567
d6d4da221d
Updating role validator.
2024-09-27 17:05:03 +01:00
mike12345567
61c28154fb
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-09-27 13:33:27 +01:00
Adria Navarro
d082c7b77d
Merge branch 'master' into v3-ui
2024-09-27 14:28:09 +02:00
Andrew Kingston
95cc7a6e60
Merge pull request #14597 from Budibase/default-view-permissions
...
Default view permissions to parent table roles
2024-09-27 12:03:09 +01:00
Andrew Kingston
80cdcf99da
Add additional comments to tests
2024-09-27 10:35:23 +01:00
Andrew Kingston
80f1de27de
Please just work tests
2024-09-27 09:19:42 +01:00
Andrew Kingston
b53bc5dfaf
Update tests
2024-09-27 09:08:38 +01:00
Sam Rose
aa738659ae
Respond to PR feedback.
2024-09-26 16:21:34 +01:00
Sam Rose
25a2e02a90
Remove needless table copy.
2024-09-26 15:40:25 +01:00
Sam Rose
7c6c03c80b
Rename ViewUIFieldMetadata -> ViewFieldMetadata to match master.
2024-09-26 15:32:21 +01:00
Sam Rose
c4c524c6ff
viewV2.spec.ts passsing in full
2024-09-26 15:22:10 +01:00
Adria Navarro
b4da4529a3
ENRICHED_RELATIONSHIPS on by default in tests
2024-09-26 15:23:41 +02:00
Sam Rose
0ef633b87a
Fix viewV2.spec.ts for sqs
2024-09-26 11:56:03 +01:00
mike12345567
4fb5943b4c
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-09-26 11:14:43 +01:00
Sam Rose
43265bf1ea
Rejig view calculation code to work with aggregates again. Broke some other tests in the process.
2024-09-26 10:54:04 +01:00
deanhannigan
577dfb0d17
Merge branch 'master' into v3-ui
2024-09-26 09:13:56 +01:00
Sam Rose
efd677e16a
Most tests passing.
2024-09-25 16:50:06 +01:00
Sam Rose
566af9e454
Fix bulk import to not modify the table schema.
2024-09-25 16:44:37 +01:00
Sam Rose
564e16fd5c
wip
2024-09-25 15:41:18 +01:00
Sam Rose
b68a51bd55
Merge master.
2024-09-25 14:59:47 +01:00
Adria Navarro
7072244f31
Fix
2024-09-25 12:44:30 +02:00
Adria Navarro
9ecb64a992
Use sqs flag correctly on test
2024-09-25 10:32:58 +02:00
Sam Rose
f475454bce
Fix search API break.
2024-09-24 18:07:31 +01:00
Sam Rose
e3256cb005
Fix row.spec.ts.
2024-09-24 17:46:38 +01:00
Adria Navarro
53b4634cff
Add enrichment tests
2024-09-24 17:51:05 +02:00
Adria Navarro
d7d8284caf
Add test
2024-09-24 17:42:25 +02:00
Sam Rose
0eb90cfbea
Type checks pass, now to find out how much stuff I've broken.
2024-09-24 16:35:53 +01:00
mike12345567
36587691d2
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-09-24 16:33:45 +01:00
Andrew Kingston
c4d4e44c29
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-09-24 15:16:41 +01:00
Andrew Kingston
4f8401b039
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-view-permissions
2024-09-24 15:16:16 +01:00
Andrew Kingston
2773efad56
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-09-24 15:15:28 +01:00
Sam Rose
0fee7dfd4f
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql
2024-09-24 15:07:08 +01:00
Sam Rose
fc9b54cb85
Mostly solving type errors around passing the view all the way down, got a fair few left.
2024-09-24 13:01:33 +01:00
Sam Rose
51774b3434
Working on plumbing 'source' all the way through our code.
2024-09-24 12:30:45 +01:00
mike12345567
464f973f12
Adding a separation for MariaDB and MySQL, mariaDB is the core of the problem, this solves for it by separating them and allowing us to use the special json_arrayagg for mariaDB, but use a correlated sub-query for MySQL.
2024-09-24 12:01:47 +01:00
mike12345567
6a7959e93c
Fixing test case.
2024-09-24 11:36:14 +01:00
mike12345567
956df101e8
PR comments and type improvements.
2024-09-24 11:16:42 +01:00
mike12345567
680c68a35b
Adding test case.
2024-09-23 18:41:23 +01:00
Andrew Kingston
51e09ddf7b
Update row action tests to revoke explicit view permissions when testing triggering against views
2024-09-23 10:08:21 +01:00
Andrew Kingston
162bfdef9b
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-view-permissions
2024-09-23 09:54:28 +01:00
Sam Rose
c5db1d1da3
Got a test passing but I hate it a bit.
2024-09-20 16:37:23 +01:00
Sam Rose
b8a3210286
Merge master.
2024-09-20 15:41:57 +01:00
Andrew Kingston
e621cfca71
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-09-20 15:04:22 +01:00
Andrew Kingston
5db3d84a8d
Merge branch 'master' of github.com:Budibase/budibase into v3-ui
2024-09-20 14:59:49 +01:00
Sam Rose
fc44b38fc5
Fix tests.
2024-09-20 11:52:06 +01:00
Sam Rose
9588192a52
Merge master.
2024-09-20 11:46:58 +01:00
Andrew Kingston
6428a67ad6
Merge branch 'master' into remove-view-readonly-column-licensing-master
2024-09-20 10:50:34 +01:00
mike12345567
38e54e91f7
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-09-20 10:32:47 +01:00
Andrew Kingston
418bbff2f5
Lint
2024-09-19 15:15:19 +01:00
Andrew Kingston
55c7751dbb
Move permission updates into SDK
2024-09-19 15:12:03 +01:00
Andrew Kingston
da122d2ac1
Add table ID to row deletion requests that only contain string IDs
2024-09-18 14:55:09 +01:00
Andrew Kingston
a90cf51d2c
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui
2024-09-18 13:34:19 +01:00
Andrew Kingston
a0350a75ef
Update tests again
2024-09-18 13:17:30 +01:00
Andrew Kingston
fd9a2f87d1
Update more tests
2024-09-18 12:35:05 +01:00
Andrew Kingston
c8c4248b3c
Update tests
2024-09-18 11:55:40 +01:00
Andrew Kingston
d4db493519
Set view permissions to explicit roles from the parent table
2024-09-18 11:50:15 +01:00
Andrew Kingston
fd3c8c4a11
Make view readonly columns available for free
2024-09-17 16:34:00 +01:00
Dean
d792adbaba
Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update
2024-09-17 12:42:59 +01:00
mike12345567
68a710699d
Getting external DBs to correctly handle when too many fields.
2024-09-16 18:09:01 +01:00
mike12345567
2fd73d044f
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-09-16 15:31:00 +01:00
Andrew Kingston
a120a9c97a
Add multi user sync for roles
2024-09-16 09:40:52 +01:00
Dean
7e19e237b1
Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update
2024-09-13 14:35:43 +01:00
Andrew Kingston
663c0f20af
Don't use display names as role names, and restore usual names for built in roles
2024-09-13 14:14:36 +01:00
Dean
627e7fc799
Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update
2024-09-13 12:06:54 +01:00
mike12345567
ef3f726346
Fixing test cases.
2024-09-12 16:23:00 +01:00
mike12345567
3a68b1ae30
Fixing test case - removing licensing.
2024-09-12 16:16:40 +01:00
mike12345567
8144aed935
Linting.
2024-09-12 15:53:44 +01:00
mike12345567
4d428f33f6
Adding validator for uiMetadata.
2024-09-12 15:45:41 +01:00
mike12345567
4952747ae9
Taking working from new-rbac-ui branch and separating it into its own PR, so that other work can be based on this from master.
2024-09-12 15:40:37 +01:00
Dean
46cc9a074b
Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update
2024-09-12 15:02:07 +01:00
mike12345567
e89042b2e3
Fixing some role typing issues, as well as fixing an issue with the validator not allowing the structure that roles are expected to have.
2024-09-11 18:06:05 +01:00
mike12345567
05de673781
Merge branch 'master' of github.com:Budibase/budibase into aggregate-all-sql-dbs
2024-09-11 13:25:25 +01:00
mike12345567
c0b38b74e0
Merge branch 'master' of github.com:Budibase/budibase into feature/builder-filtering-update
2024-09-11 12:23:06 +01:00
mike12345567
9ea3aca5e4
Typing improvements and fixing issue detected by test cases (old lucene syntax).
2024-09-11 12:21:19 +01:00
Dean
9ea74dcb45
Updates for view tests
2024-09-11 11:56:09 +01:00
Michael Drury
5b776d62ad
Merge branch 'master' into fix/logical-operators-return-none
2024-09-11 10:46:25 +01:00
mike12345567
595dd7ea6d
Fix for test case.
2024-09-10 17:21:36 +01:00
mike12345567
1582e3221f
Adding test case for getting related array column in a JS formula.
2024-09-10 17:04:59 +01:00
mike12345567
2fd5c1a99f
Handling JSON types within relationships, they need to be parsed as well.
2024-09-10 15:45:32 +01:00
Dean
f9e8689ce9
Test fixes for view search
2024-09-10 12:19:41 +01:00
mike12345567
5e80a975dd
Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships
2024-09-10 12:12:00 +01:00
Dean
fac39b2ede
Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update
2024-09-10 11:07:02 +01:00
mike12345567
43ae48cc82
Test cases for return none/all with the logical operators, as well as updates to the hasFilter to support this correctly.
2024-09-09 18:14:02 +01:00
Dean
11b146fcbf
Updates to filter UI and API requests across budibase
2024-09-09 16:36:31 +01:00
Michael Drury
e2c6893aa3
Merge branch 'master' into fix/sql-many-relationships
2024-09-09 16:07:16 +01:00
Adria Navarro
1c5bab07aa
Fix tests
2024-09-09 16:43:43 +02:00
Adria Navarro
77be1cd869
Add metadata on related columns
2024-09-09 16:15:34 +02:00
mike12345567
76273ff860
PR comments.
2024-09-06 16:47:43 +01:00
mike12345567
09824f9a4d
Merge branch 'master' of github.com:Budibase/budibase into aggregate-all-sql-dbs
2024-09-06 16:27:37 +01:00
Adria Navarro
c8d32611c9
Lint
2024-09-06 11:06:07 +02:00
Adria Navarro
c4c3c4a169
Tweak tests
2024-09-06 10:40:57 +02:00
Adria Navarro
70514d739d
Merge branch 'master' into BUDI-8429/row-action-view-security
2024-09-06 10:23:05 +02:00
Peter Clement
2135dbca67
update automation test builder to support ...building
2024-09-04 16:37:33 +01:00
mike12345567
eefb1f01a3
Fix for generic sql test.
2024-09-04 13:18:54 +01:00
mike12345567
fed82dffaf
Linting.
2024-09-04 13:11:03 +01:00
Adria Navarro
a6a1759561
Merge branch 'master' into BUDI-8429/row-action-view-security
2024-09-04 12:27:48 +02:00
Adria Navarro
19963f496f
Add extra tests
2024-09-04 12:26:12 +02:00
Adria Navarro
f4f503690d
Dynamic tests
2024-09-04 12:23:15 +02:00
Adria Navarro
11e8d576e2
Extra tests
2024-09-04 11:11:10 +02:00
Peter Clement
d80123bbcb
use utilities api
2024-09-04 09:31:18 +01:00
Sam Rose
015ef56110
wip
2024-09-04 09:29:05 +01:00
Adria Navarro
00119f9d73
Guard permission
2024-09-04 10:16:59 +02:00
Peter Clement
0716702646
use opts param
2024-09-03 21:31:38 +01:00
Peter Clement
8c7aecfa22
Update packages/server/src/api/routes/utils/validators.ts
...
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 21:14:28 +01:00
Peter Clement
f6f6120e70
Update packages/server/src/api/routes/utils/validators.ts
...
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-03 21:14:05 +01:00
mike12345567
2d6a8d9ff5
Fix for sorting, didn't account for some primitive types.
2024-09-03 18:50:01 +01:00
mike12345567
2a24a3dda6
Correcting test cases.
2024-09-03 18:40:20 +01:00
mike12345567
b29a4e2b37
Work to support all SQL DBs across the board using the aggregation method.
2024-09-03 18:24:50 +01:00
Peter Clement
5c0fd002b4
Merge branch 'master' into feat/branching-api-validation
2024-09-03 16:23:17 +01:00
Peter Clement
839292b84d
add validators and tests for automation branching
2024-09-03 16:16:52 +01:00
Adria Navarro
b74efe5340
Merge branch 'master' into BUDI-8609/run-row-action-as-sync
2024-09-03 16:59:56 +02:00
Adria Navarro
c830e2a589
Fix tests
2024-09-03 16:52:27 +02:00
Adria Navarro
ff126006ec
Merge pull request #14503 from Budibase/BUDI-8564/support-updating-names
...
Support updating names
2024-09-03 16:16:27 +02:00
Adria Navarro
52283e07aa
Tidying
2024-09-03 16:15:33 +02:00
Adria Navarro
4efb3d6ed6
Unify tests
2024-09-03 14:44:55 +02:00
Adria Navarro
3a3151b59d
Add extra test
2024-09-03 14:23:08 +02:00
mike12345567
7e7e23d5d9
Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships
2024-09-03 10:58:40 +01:00
Adria Navarro
3cee97aa02
Merge branch 'master' into feat/pick-relationship-fields
2024-09-03 11:19:18 +02:00
Adria Navarro
6d24eba679
Move describes
2024-09-03 10:42:27 +02:00
Adria Navarro
a9669c1c1d
Extra tests
2024-09-03 10:40:29 +02:00
Adria Navarro
74eb0357a4
Rename link relationship fields
2024-09-03 10:15:26 +02:00
Adria Navarro
1be8289677
Merge branch 'master' into feat/row-action-view-security
2024-09-03 10:13:22 +02:00
Adria Navarro
ae0e3cdb59
Fix test for external
2024-09-02 18:36:44 +02:00
Adria Navarro
2365a6ecd5
Add renaming column tests
2024-09-02 17:32:21 +02:00
mike12345567
fc31a28c10
Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships
2024-09-02 16:13:26 +01:00
Adria Navarro
3d1c861222
Merge branch 'master' into feat/pick-relationship-fields
2024-08-31 20:24:00 +02:00
mike12345567
d5bc5debac
Another fix.
2024-08-30 17:57:02 +01:00
mike12345567
70708dc36e
Adding back missing tests.
2024-08-30 17:47:08 +01:00
mike12345567
7c1f2522e2
Another test.
2024-08-30 17:42:54 +01:00
mike12345567
6249f41bbb
Make sure Lucene correctly sets environment variables in development tests.
2024-08-30 17:34:10 +01:00
mike12345567
bdfd64c98c
Fixing view test.
2024-08-30 17:19:04 +01:00
mike12345567
0311e8433b
Fixing tests so they can work with SQS.
2024-08-30 17:06:30 +01:00
Adria Navarro
64c2a18934
Merge branch 'master' into feat/pick-relationship-fields
2024-08-30 14:45:01 +02:00
mike12345567
6407f5b68d
Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships
2024-08-30 13:44:40 +01:00
Adria Navarro
eb58c696dd
Clean
2024-08-30 10:30:27 +02:00
Adria Navarro
6a8d55a00c
Add tests
2024-08-30 10:30:27 +02:00
Adria Navarro
5cd3b9dc88
Add tests
2024-08-30 10:30:27 +02:00
Adria Navarro
868d193015
Add triggerRowActionAuthorised
2024-08-30 10:30:27 +02:00
Adria Navarro
6a43597dd3
Update paths
2024-08-30 10:30:27 +02:00
Adria Navarro
5ed66e9d40
Lint
2024-08-30 10:30:27 +02:00
Adria Navarro
95d863b4a8
Clean
2024-08-30 10:30:27 +02:00
Adria Navarro
6d1838d907
Create row action trigger test
2024-08-30 10:30:27 +02:00
Adria Navarro
610621823c
Publish
2024-08-30 10:30:27 +02:00
Adria Navarro
922b746029
Crud endpoints only for builder
2024-08-30 10:30:27 +02:00
Adria Navarro
98347b45ce
Extra tests
2024-08-30 10:30:27 +02:00
Adria Navarro
b461025639
Check views
2024-08-30 10:30:27 +02:00
Adria Navarro
0ece6a4d2d
Fix unauthorised tests
2024-08-30 10:30:27 +02:00
Adria Navarro
3ac1343b08
set/unsetViewPermission tests
2024-08-30 10:30:27 +02:00
Adria Navarro
d1c6edc437
Return types
2024-08-30 10:30:27 +02:00
Adria Navarro
2aa71ab419
Set/unset
2024-08-30 10:30:27 +02:00
mike12345567
a9b1a22403
Some improvements to get SQS tests passing.
2024-08-29 18:56:14 +01:00
Sam Rose
d134c21a45
Fix build.
2024-08-29 17:45:47 +01:00
mike12345567
b217e83b31
Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships
2024-08-29 16:54:21 +01:00
Adria Navarro
79ed5cd5a6
Fix
2024-08-29 13:16:27 +02:00
Adria Navarro
351ed643ce
Extra tests
2024-08-29 13:16:27 +02:00
Adria Navarro
275d358df9
Test updated
2024-08-29 13:16:27 +02:00
Adria Navarro
d75f1debda
Update
2024-08-29 13:16:27 +02:00
Adria Navarro
6b259676b2
Enrich on get row from view
2024-08-29 13:16:27 +02:00
Adria Navarro
e443b00a69
Fix test
2024-08-29 13:16:27 +02:00
Adria Navarro
383aad7265
Honor fields on views
2024-08-29 13:16:27 +02:00
Adria Navarro
73ec0bbf09
Renames
2024-08-29 13:16:27 +02:00
Adria Navarro
de29d31c35
Enrich configuration only for views
2024-08-29 13:16:27 +02:00
Adria Navarro
4826a5fbbf
Clean ts
2024-08-29 13:15:03 +02:00
Sam Rose
92957ede23
Merge master.
2024-08-29 12:12:29 +01:00
Adria Navarro
658d4b01b0
Merge branch 'master' into feat/pick-relationship-fields
2024-08-29 13:12:27 +02:00
Adria Navarro
6028ddec84
Move cast
2024-08-29 12:34:17 +02:00
mike12345567
413628ca3f
Merge branch 'master' of github.com:Budibase/budibase into fix/sql-many-relationships
2024-08-28 16:58:23 +01:00
Adria Navarro
bb1232277f
Merge branch 'master' into feat/pick-relationship-fields
2024-08-28 16:35:50 +02:00
Adria Navarro
92c3f4dba6
Merge branch 'master' into BUDI-8562/fix-trimming-views
2024-08-28 16:22:34 +02:00
Adria Navarro
54406fd6b5
Rename fetchView to fetchLegacyView
2024-08-28 14:56:40 +02:00
Adria Navarro
f2d9be985d
Lint
2024-08-28 14:36:19 +02:00
Adria Navarro
19e97dee50
Unify tests
2024-08-28 14:32:59 +02:00
Adria Navarro
e1add8dd6a
Fix retrieve
2024-08-28 14:32:59 +02:00
Adria Navarro
0dba593bdb
Add extra test (failing)
2024-08-28 14:32:59 +02:00
Adria Navarro
d404d60c32
Add extra tests
2024-08-28 14:32:59 +02:00
Adria Navarro
4bd27bac61
Add basic test
2024-08-28 13:36:40 +02:00
Adria Navarro
3af35e6683
Add describe
2024-08-28 13:28:45 +02:00
Adria Navarro
8a9e868527
Move test to right describe
2024-08-28 13:26:23 +02:00
Adria Navarro
9b67481661
Add extra tests
2024-08-28 13:16:42 +02:00
Adria Navarro
defbe20a3d
Undo wrong delete
2024-08-28 12:47:34 +02:00
Adria Navarro
9459dd1820
getSourceId returns table & view data
2024-08-28 12:41:42 +02:00
Adria Navarro
6d8b0881a1
Rename
2024-08-28 12:17:25 +02:00
Adria Navarro
90af43ed87
Fix test
2024-08-28 12:11:28 +02:00
Adria Navarro
bd1018ba2b
Fix broken sqs tests
2024-08-28 12:10:10 +02:00
Adria Navarro
20f8fef15c
Test sqs
2024-08-28 12:09:44 +02:00
Adria Navarro
5a8bb2972b
Change types
2024-08-28 11:36:57 +02:00
Adria Navarro
935aa521ff
Cleanup
2024-08-27 17:02:19 +02:00
Adria Navarro
1594fcc8c4
Test with flags
2024-08-27 16:56:47 +02:00
Sam Rose
8c890af814
Fix view tests.
2024-08-27 15:29:37 +01:00
Sam Rose
be0a14489b
Debugging view test failures.
2024-08-27 15:22:53 +01: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
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
6b48bbf648
Clean empty message
2024-08-27 15:07:06 +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
c2e643cebb
Fix enrichments
2024-08-27 15:07:05 +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
mike12345567
80f3e5954b
Getting processing of SQS relationships working.
2024-08-23 18:30:29 +01: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
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
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
Adria Navarro
f53500450a
Fix wrong test
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
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
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
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
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
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
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
mike12345567
3d65c13ff5
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-08-12 13:44:22 +01:00
Sam Rose
bcefa398a4
Merge master.
2024-08-12 09:43:49 +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
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
mike12345567
efafb3e3c2
Getting composite keys working, fixing p2 issue and adding test case for it.
2024-08-08 18:55:41 +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
Michael Drury
7b41e7cb39
Merge branch 'master' into test-oracle
2024-08-07 16:44:54 +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
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
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
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
1e6bb7ebd7
Fix build on view search
2024-08-06 08:15:30 +02: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
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
mike12345567
0c8228edad
Initial work - some re-typing and updating the role tests to typescript - using role test API to make this a bit easier to adjust going forward.
2024-08-05 15:45:49 +01:00
Adria Navarro
ebca381e9b
Nested $and's and $or's test
2024-08-05 15:09:33 +02: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
Adria Navarro
47de3f0c53
Add or tests
2024-08-05 11:07:37 +02: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
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
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
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
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
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