melohagan
db25511948
Changes relating to adding accountName to Account entity ( #14712 )
...
* Remove unused code
* Typing compromise because Account extends CreateAccount
* Update account-portal
* Update account-portal
2024-10-07 12:26:55 +02:00
Sam Rose
27578db4b7
Fix SQS error handling.
2024-10-07 09:48:33 +01:00
Sam Rose
11dc2766cc
Merge branch 'master' into fix/related-rows-dont-exist
2024-10-04 14:30:45 +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
mike12345567
a6f6942288
Fixing an issue with corrupt relationship records referencing rows which don't exist, this is a temporary measure as these relationships should be cleaned up correctly but for now ignore any which reference rows which no longer exist.
2024-10-03 16:10:07 +01:00
Martin McKeaveney
c70bd87ac2
merge with master
2024-10-02 16:52:00 +01:00
Sam Rose
50c307df4d
Add more view calculation tests, and implement count distinct.
2024-10-02 16:49:14 +01:00
Sam Rose
ee897e4d7e
Fix imports.
2024-10-02 10:05:56 +01:00
Sam Rose
4dd6afd435
Symbolise the special __bb_total count field name.
2024-10-02 09:57:18 +01:00
Sam Rose
7b9af81fd5
Clean up params and isSqs
2024-10-02 09:44:20 +01:00
Sam Rose
ddd229062c
Rename total field when doing row counts.
2024-10-02 09:39:54 +01:00
Sam Rose
08f1c4dadc
Update packages/backend-core/src/sql/sql.ts
...
Co-authored-by: Adria Navarro <adria@budibase.com>
2024-10-02 09:35:15 +01:00
Martin McKeaveney
36996f71d0
merge
2024-10-01 16:39:09 +01:00
Sam Rose
7cee1509aa
Fix sqlAlias.spec.ts
2024-10-01 16:17:11 +01:00
Sam Rose
addd54a8e8
Fix generic-sql.spec.ts
2024-10-01 15:39:33 +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
Sam Rose
987a24fabc
wip
2024-10-01 11:48:14 +01:00
Sam Rose
c0cc2a9e3d
Move isSupportedUserSearch from backend-core to shared-core.
2024-09-30 15:16:24 +01:00
Sam Rose
62e1e66ce9
Merge master.
2024-09-30 09:54:36 +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
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
Adria Navarro
4fe0af81ec
Fix test runs
2024-09-26 14:15:08 +02: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
b93e6cb986
Merge master.
2024-09-26 10:54:30 +01:00
Adria Navarro
012c7142fc
Merge branch 'master' into BUDI-8565/related-columns
2024-09-25 16:24:06 +02:00
Sam Rose
b68a51bd55
Merge master.
2024-09-25 14:59:47 +01:00
Sam Rose
40d1d48ddf
Increase PostHog flag polling interval to 3 minutes.
2024-09-25 14:46:16 +01:00
Adria Navarro
e4259b4d61
ENRICHED_RELATIONSHIPS on for dev
2024-09-25 13:08:10 +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
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
mike12345567
a5cb1b39dc
All docs no error fix.
2024-09-24 15:51:41 +01:00
mike12345567
ad60f8a811
All docs returns no docs if 404.
2024-09-24 15:47:07 +01:00
mike12345567
6d8921978b
Quick temporary fix for issue - previously the invalid state was never reset, which can cause apps to go missing completely, updating this so it will fix it self after a short while.
2024-09-24 15:30:39 +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
mike12345567
c643c82654
Fix for SQL server.
2024-09-24 13:44:26 +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
Michael Drury
617b7df07e
Merge branch 'master' into fix/mysql-correlated-queries
2024-09-23 18:41:43 +01:00
mike12345567
676058bbbd
Updates to limit the response of JSON_ARRAYAGG in mysql/mariaDB - rather than using a limited sub-query which is dis-allowed in MySQL/MariaDB due to the nature of the correlated sub-query.
2024-09-23 17:16:34 +01:00
Sam Rose
6cf7c55fd9
Merge master.
2024-09-23 14:14:23 +01:00
mike12345567
b0252469ed
Removing wrap for MySQL.
2024-09-23 12:33:25 +01:00
mike12345567
efdfbe7229
Fixing an issue that was stopping the limit from being applied to MySQL, it needs to wrap the query the same as all other DBs, however it needs to apply the where statement in a slightly different manner.
2024-09-20 17:58:31 +01:00
Martin McKeaveney
95a08514b4
merge
2024-09-20 17:39:19 +01:00
Sam Rose
b8a3210286
Merge master.
2024-09-20 15:41:57 +01:00
Sam Rose
9588192a52
Merge master.
2024-09-20 11:46:58 +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
Sam Rose
4b86c49af2
Merge branch 'master' into remove-view-readonly-column-licensing-master
2024-09-19 11:57:10 +01:00
Sam Rose
74effbb55b
Fix tests.
2024-09-19 11:41:10 +01:00
Martin McKeaveney
dadce14a71
Merge branch 'master' into budi-8608-ai-platform-level-config-pt-2
2024-09-19 10:48:01 +01:00
Martin McKeaveney
e0fb44f63f
lint
2024-09-19 10:21:49 +01:00
Sam Rose
6d7cffa43e
Make flag name more accurate.
2024-09-19 10:15:18 +01:00
Sam Rose
be5a4f5d97
Require a flag to be set to query PostHog for feature flags.
2024-09-19 10:11:24 +01:00
Martin McKeaveney
69b2bf9bdb
lint
2024-09-18 14:21:10 +01:00
Andrew Kingston
fd3c8c4a11
Make view readonly columns available for free
2024-09-17 16:34:00 +01:00
Martin McKeaveney
224be10b6c
support for overriding models
2024-09-17 16:08:59 +01:00
mike12345567
63c0d9afb8
Sorting the field list to make sure we have the important fields at the top (if known).
2024-09-16 18:27:53 +01:00
mike12345567
68a710699d
Getting external DBs to correctly handle when too many fields.
2024-09-16 18:09:01 +01:00
mike12345567
9d6fc54a99
Adding function parameter limit control for different SQL DBs, every DB has different limits with Postgres being the lowest at 100. We need to fix for wide tables which are related.
2024-09-16 16:12:07 +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
Martin McKeaveney
7fc0f38296
Merge branch 'master' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config-pt-2
2024-09-16 11:54:12 +01:00
Martin McKeaveney
c85bc88bf9
draft of openai impl
2024-09-16 11:54:04 +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
mike12345567
ef3f726346
Fixing test cases.
2024-09-12 16:23:00 +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
Michael Drury
cdcefc397c
Merge branch 'master' into fix/role-permission-update
2024-09-12 13:30:05 +01:00
melohagan
49a4e252c6
Allow an account holder to login to account-portal if the tenant has been deleted. ( #14547 )
...
* Add email to session for populate user
* Add email param
* use param object
* Type fix for tests
* Fix test
* Temporarily remove account-portal tests
2024-09-12 08:38:11 +00: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
Michael Drury
9feebdbb13
Merge branch 'master' into fix/sql-use-ctes
2024-09-11 15:04:48 +01:00
melohagan
8b8595293b
Export publishEvent ( #14560 )
2024-09-11 14:02:42 +00:00
mike12345567
c9b64e3591
SQLite uses CTE with SQS 2.1.1.
2024-09-11 13:41:54 +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
Martin McKeaveney
9179569cd7
Merge branch 'master' into budi-8608-ai-platform-level-config
2024-09-11 10:43:41 +01:00
mike12345567
f63c95e44c
Adding SQL_MAX_RELATED_ROWS environment variable, defaults to 500, allows for 500 rows per relationship.
2024-09-10 13:59:21 +01:00
Martin McKeaveney
0cf626be91
Merge
2024-09-10 11:00:33 +01:00
Martin McKeaveney
96fbc8fff0
feature flag support
2024-09-09 18:07:47 +01:00
Martin McKeaveney
b4a4f81308
linting
2024-09-09 16:52:56 +01:00
Michael Drury
e2c6893aa3
Merge branch 'master' into fix/sql-many-relationships
2024-09-09 16:07:16 +01:00
Martin McKeaveney
57698170a8
lint
2024-09-09 13:55:26 +01:00
mike12345567
157e75b9a6
Using a CTE for the main query, then adding the JSON aggregation on afterwards - fixing issue with offset pagination applying the JSON aggregation to all rows before hand.
2024-09-06 19:34:02 +01: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
Martin McKeaveney
b949940653
remove comments
2024-09-06 15:44:23 +01:00
Martin McKeaveney
cdb0e2509c
testing configuration, unit tests for AI config
2024-09-06 14:53:26 +01:00
mike12345567
f7d9b8a9b3
Updating select statement generation.
2024-09-05 19:04:45 +01:00
Peter Clement
b1b861139d
feature flag the branch action definition
2024-09-05 14:25:04 +01:00
mike12345567
e30469ce16
Getting MariaDB to work again.
2024-09-04 18:14:24 +01:00
mike12345567
637ac55a9f
Slight refactor.
2024-09-04 17:42:30 +01:00
Sam Rose
cda778598d
Fix some MSSQL test cases.
2024-09-04 16:41:36 +01:00
Sam Rose
e90aff959f
Resolve merge conflicts.
2024-09-04 16:24:19 +01:00
Sam Rose
12db64513b
Revert to testing against mssql 2017, attempt to get relationship aggreggation working.
2024-09-04 16:21:32 +01:00
mike12345567
79de7b2c45
Updating to use a sub-query with a wrapper to get the JSON aggregations.
2024-09-04 16:17:25 +01:00
mike12345567
fed82dffaf
Linting.
2024-09-04 13:11:03 +01:00
Sam Rose
015ef56110
wip
2024-09-04 09:29:05 +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
Martin McKeaveney
ca4b17bc9b
icons, styling of AI configs and further simplification
2024-09-03 15:11:52 +01:00
mike12345567
ac7838f80d
Fixing an issue with inconsistent relationship order.
2024-09-03 12:09:33 +01: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
1be8289677
Merge branch 'master' into feat/row-action-view-security
2024-09-03 10:13:22 +02:00
Martin McKeaveney
f328ae4bf9
account for arrays
2024-09-02 20:45:32 +01:00
Martin McKeaveney
99035ad8ae
rough pass on AI platform CRUD
2024-09-02 20:16:58 +01: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
fc3684c73c
Merge branch 'master' into feat/pick-relationship-fields
2024-09-02 16:05:17 +02:00
Sam Rose
3a516e8356
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at
2024-09-02 11:13:11 +01:00
Adria Navarro
3d1c861222
Merge branch 'master' into feat/pick-relationship-fields
2024-08-31 20:24:00 +02:00
Michael Drury
9b84d959dc
Merge branch 'master' into fix/sqs-default-dev-on
2024-08-30 18:07:51 +01:00
Sam Rose
955a3a6883
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at
2024-08-30 17:47:36 +01:00
melohagan
3f357561d0
The UI should indicate who the account holder is ( #14470 )
...
* Get tenantInfo in user fetch
* Add account holder label in users table
* Don't allow account holder to be selected in users table
* Sort account holder to top of list
* Only use account holder role in users table
* lint
* Remove joi validation from tenant-info endpoint
* Remove dayPasses
* Catch CouchDB 404 and return undefined
* Don't allow account holder role to be changed UI
* Don't offer delete option for tenant owner
* Backend validation to ensure account holder role cannot be updated
* Don't allow account holder role to be changed UI
* Get tenantOwner in separate call
* Pass data into SelectEditRenderer
* Rename var to __selectable
* setEnrichedUsers
* Update pro reference
* Only load tenantOwner once
2024-08-30 16:29:38 +00:00
Sam Rose
7cbfd7be84
Disable creation of createdAt and createdBy auto columns when default values is enabled.
2024-08-30 15:58:11 +01:00
mike12345567
b622df2683
Defaulting SQS to on in development environments, this removes the need for setting it in the management scripts.
2024-08-30 15:10:55 +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
dd14d0b646
Fix return types
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
mike12345567
3e51dde6d2
Check for alias as well when deciding whether filter requires relationship addition.
2024-08-29 17:58:11 +01:00
mike12345567
628964364a
Getting through join working as expected.
2024-08-28 18:55:15 +01:00
mike12345567
49c1f34b5d
Saving at this point - got exists working.
2024-08-28 18:41:02 +01:00
mike12345567
0c604b7310
Moving things around, making join logic more accessible.
2024-08-27 18:34:05 +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
mike12345567
b11ee56a38
Adding limit in for wide tables to be related correctly.
2024-08-23 18:54:46 +01:00
mike12345567
5d53e64360
Getting fields from all relationships loading correctly.
2024-08-23 18:45:13 +01:00
mike12345567
ab5f50d2b8
Implementing a JSON aggregate method of selecting relationships.
2024-08-23 18:00:52 +01:00
Adria Navarro
2322925c62
Merge branch 'master' into fix/conditions-on-views
2024-08-21 14:38:24 +02:00
Adria Navarro
dc5a7dbc62
Fixes
2024-08-21 14:25:48 +02:00
Adria Navarro
e536ec5093
Fix conditions
2024-08-21 13:01:42 +02:00
mike12345567
a5533bb033
Fixing test cases.
2024-08-19 16:49:40 +01:00
mike12345567
a1fae4d799
Making sure filters are always added to end, this is important for OR situations.
2024-08-15 18:52:17 +01:00
mike12345567
4995056ba0
Updating tests.
2024-08-15 17:09:15 +01:00
mike12345567
21cc83daf4
PR comment.
2024-08-15 16:58:17 +01:00
mike12345567
5c63439c8d
Fixing an issue where old feature flags would cause issues, all feature flags are expected to be known, this allows unknown feature flags to just be ignored.
2024-08-15 16:51:29 +01:00
Sam Rose
008ef58bf8
Merge branch 'master' of github.com:Budibase/budibase into feature-flag-sqs
2024-08-15 16:27:57 +01:00
Sam Rose
c12a96b4d8
Fix backend-core tests.
2024-08-15 16:21:12 +01:00
Michael Drury
57362ad5d0
Merge branch 'master' into fix/disallow-backend-core-barrel-file
2024-08-15 16:06:38 +01:00
mike12345567
26871a7deb
Disallowing access to the backend-core barrel file as it can cause problems, it should only ever be imported externally via @budibase/backend-core.
2024-08-15 15:48:39 +01:00
Sam Rose
06a7801d8c
Remove global audit logs SQS flag.
2024-08-15 15:37:51 +01:00
Sam Rose
dc28b7e133
Don't error if you can't get the current tenant ID.
2024-08-15 15:21:58 +01:00
Sam Rose
354e5dd34c
More specifically import feature flags.
2024-08-15 15:17:37 +01:00
Sam Rose
86717b536b
Use new feature flag API for SQS.
2024-08-15 14:58:11 +01:00
Sam Rose
4a1fd6481f
Remove old, unused feature flags.
2024-08-15 10:53:43 +01:00
Sam Rose
011859397d
Expose a nicer API for getting/setting feature flags on the current context.
2024-08-14 15:56:12 +01:00
Sam Rose
08a56ef480
Cache feature flags per-request, set default values flag to false by default.
2024-08-14 15:41:26 +01:00
Sam Rose
eeba71b69b
Setup DEFAULT_VALUES feature flag.
2024-08-14 12:26:17 +01:00
mike12345567
c3cabaeb48
Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance
2024-08-12 18:25:27 +01:00
Sam Rose
b5465f1b63
Disable PostHog feature flags in prod.
2024-08-12 16:32:25 +01:00
Sam Rose
b01c111567
Log PostHog payload.
2024-08-12 15:34:23 +01:00
Sam Rose
72a37ed1a7
Add some logging to see if I can figure out why PostHog flags aren't coming through.
2024-08-12 15:33:48 +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
c14f108d4d
Respond to PR comments.
2024-08-12 09:58:46 +01:00
Sam Rose
0eaf6b7d42
Make it possible to get flag values from the license.
2024-08-12 09:58:46 +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
Sam Rose
7505d60888
Extract out processor and spy variables to reduce repetition.
2024-08-09 11:31:05 +01:00
Sam Rose
4887ca261e
Improve testing of feature flags by not polluting production flags with test ones.
2024-08-09 11:27:43 +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
Sam Rose
079dcdcc6e
Merge branch 'master' into posthog-feature-flags
2024-08-08 17:59:57 +01:00
melohagan
c86b1d7ca5
Auto login the user after password is set ( #14344 )
...
* login after creating super admin user
* Allow keyboard enter key in create account from invite
* Allow enter key to submit password reset
* Min length for password validation should be 12
* Default PASSWORD_MIN_LENGTH to 12
* fix unit tests
* Fix unit tests
* Add passwordMinLength to admin store
2024-08-08 17:45:04 +01:00
Sam Rose
8803109496
Add DataDog tracing to feature flags.
2024-08-07 17:50:39 +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
Sam Rose
d7e07bb44a
Fix worker tests.
2024-08-07 17:33:47 +01:00
Sam Rose
a9b4d0017f
add tests for posthog feature flags
2024-08-07 16:59:33 +01:00
Michael Drury
7b41e7cb39
Merge branch 'master' into test-oracle
2024-08-07 16:44:54 +01: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
77c8aa3f64
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators
2024-08-07 11:41:31 +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
Adria Navarro
58162410ea
Fix merge conflicts
2024-08-05 17:32:40 +02:00
Adria Navarro
9743aca715
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators
2024-08-05 17:28:58 +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
Adria Navarro
2e23a0e4ce
Implement SQL and/or
2024-08-05 12:33:44 +02:00
Sam Rose
bc797238aa
row.spec.ts passing in full
2024-08-02 17:17:33 +01:00
Sam Rose
2671b9d5ef
More row.spec.ts fixes.
2024-08-02 16:58:12 +01:00
Sam Rose
7ab442eae7
Merge master.
2024-08-02 15:29:48 +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
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
Sam Rose
ea7a6195bf
Merge branch 'master' of github.com:budibase/budibase into test-oracle
2024-07-30 17:58:44 +01:00
mike12345567
b470ecc7d9
Merge branch 'test-oracle' of github.com:Budibase/budibase into test-oracle
2024-07-30 17:54:10 +01:00
mike12345567
f0bdbd5b4d
Fixing not contains with oracle.
2024-07-30 17:53:53 +01:00
Sam Rose
d7199c9def
Fix a few more clob problems.
2024-07-30 17:41:39 +01:00
Sam Rose
aa7894604f
Fix dates and times for good? maybe?
2024-07-30 16:56:59 +01:00
Adria Navarro
643d57b583
Add extra tests
2024-07-30 17:29:03 +02:00
Adria Navarro
61d73b1f59
Add createdAd and updatedAt on bulkDocs
2024-07-30 17:26:49 +02:00
Adria Navarro
e07bc5b572
Add bulkDocs test
2024-07-30 17:26:29 +02:00
Adria Navarro
8280c2ccfd
Add databaseImpl.put tests
2024-07-30 17:22:21 +02:00
Sam Rose
c6ec710abe
Solve _some_ date problems.
2024-07-30 16:03:03 +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
5bce8e595d
Plumb FieldSchema into parse.
2024-07-30 11:03:54 +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
5cb294f33e
Fix binding mismatch problem in oneOf queries.
2024-07-29 14:54:58 +01:00
melohagan
60f7c03e17
Fix/verify sso bug ( #14253 )
...
* Delete associated SSO user
* Update reset password screen
* Partial type removed
* lint
* Split getFirstPlatformUser from getPlatformUsers
* lint
* Use correct method
* Code review comments
* lint
2024-07-29 13:25:46 +01:00
Sam Rose
50d1972127
wip
2024-07-29 09:57:24 +01:00
Adria Navarro
f9bfe51c81
Rename external
2024-07-26 14:37:47 +02:00
Adria Navarro
3a095c5071
Renames
2024-07-26 14:35:36 +02:00
mike12345567
4e0a84f7f8
PR comment.
2024-07-25 10:26:02 +01:00
mike12345567
7c6c12f325
Adding a small utility to DB layer for bulk removing documents, this is a problem that Mel ran into, the fact it doesn't default to throwing errors, I've updated a few cases and added functionality for it to maintain compatiability with the old way of doing things (errors silenced).
2024-07-24 18:13:27 +01:00
Sam Rose
46cd06bacf
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint
2024-07-24 16:10:45 +01:00
Sam Rose
b9742fcf8e
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint
2024-07-23 11:52:48 +01:00
Martin McKeaveney
c9b66cd002
Merge branch 'master' into fix-oracle-parse
2024-07-23 11:41:11 +01:00
Martin McKeaveney
d50c937c68
use oracle coalesce
2024-07-23 11:39:50 +01:00
melohagan
41cb8ee0e9
any type for createMockContext ( #14211 )
2024-07-23 08:49:49 +00:00
Martin McKeaveney
68640c8e6d
fix tests
2024-07-23 09:44:58 +01:00
Martin McKeaveney
9035674f00
adding for not equals query
2024-07-22 21:27:59 +01:00
Martin McKeaveney
537c92b371
tidy
2024-07-22 21:23:27 +01:00
Martin McKeaveney
88ea3fdc07
unit tests and logic added to prevent coalesce being used by oracle
2024-07-22 21:00:20 +01:00
Sam Rose
f3c73fe4a8
Support primitives in feature flags, make flag types flow, remove some obsolete feature flag systems.
2024-07-22 17:43:53 +01:00
Sam Rose
c64d76eb84
Respond to PR comments.
2024-07-19 15:07:58 +01:00
Sam Rose
669692e722
Make switch exhaustive.
2024-07-18 11:41:37 +01:00
Sam Rose
481bf9a8b8
Fix generic-sql.spec.ts
2024-07-18 11:40:44 +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
0b2a5162a4
Fix the problem, and the tests.
2024-07-18 11:00:10 +01:00
Sam Rose
aea9cda8f5
wip
2024-07-17 15:45:35 +01:00
Adria Navarro
1c69cfaeda
Fix initialisation
2024-07-12 12:32:36 +02:00
Adria Navarro
50c8449f4b
Add extra test
2024-07-12 12:17:37 +02:00
Sam Rose
e70e7eeb1d
Merge branch 'master' into fix-flake
2024-07-11 15:08:59 +01:00
Sam Rose
d530909c3b
Fix a flake in the redis.spec.ts file.
2024-07-11 13:58:28 +01:00
mike12345567
8d308b591a
Enabled SQS in self-host/development (single tenancy) as long as the SQS_ENABLED flag has been set, tenants don't need to be specified as there are no tenants.
2024-07-11 13:33:56 +01:00
mike12345567
73881e9895
Only default the CouchDB SQL URL if we are in dev, otherwise attempt to work out what it is based on the main CouchDB URL (as this should work in all default production environments).
2024-07-11 11:11:28 +01:00
Sam Rose
56c6742a0e
Create a way to enable SQS for all tenants.
2024-07-10 15:22:18 +01:00
Sam Rose
551d413900
Merge branch 'master' into sqs-per-tenant
2024-07-10 11:39:31 +01:00
Sam Rose
5356cfdce5
Fix uses of SearchFilterOperator.
2024-07-10 11:08:11 +01:00
Sam Rose
2fa14ab35f
Merge branch 'master' into sqs-per-tenant
2024-07-09 17:30:33 +01:00
Adria Navarro
38f7b88735
Type filters
2024-07-09 14:01:44 +02:00
Adria Navarro
9c6347f7fd
Move constants to types
2024-07-09 12:24:59 +02: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
5387717183
Fix
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
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
Sam Rose
1851e11bc0
wip
2024-07-08 13:28:48 +01:00
Adria Navarro
85827bbf93
Refactor breakRowIdField
2024-07-08 13:27:30 +02:00
mike12345567
e4375c2196
Fixing a build issue uncovered by tests.
2024-07-05 15:27:54 +01:00
mike12345567
62ca71f00e
Merge branch 'master' of github.com:Budibase/budibase into fix/invalid-time-value
2024-07-05 15:02:36 +01: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
a1d07e0ef0
Merge branch 'master' of github.com:budibase/budibase into budi-8417-check-error-responses-in-middleware-for-environment
2024-07-04 13:46:48 +01:00
Adria Navarro
ddcf5598b4
Merge branch 'master' into chore/fix-npm-vulnerabilities
2024-07-04 12:30:40 +02:00
Sam Rose
257ee8fb70
Fix tests actually.
2024-07-04 10:46:09 +01:00
Adria Navarro
7b51799e8d
depcheck clean
2024-07-04 11:22:54 +02:00
Adria Navarro
8da83dac58
Merge branch 'master' into chore/fix-npm-vulnerabilities
2024-07-04 11:08:51 +02:00
Sam Rose
16e293a9ff
Fix tests.
2024-07-04 09:55:36 +01:00
Michael Drury
4933658b98
Merge branch 'master' into fix/couchdb-integration
2024-07-03 17:36:16 +01:00
Sam Rose
4f01cb50cd
Merge branch 'master' of github.com:budibase/budibase into budi-8417-check-error-responses-in-middleware-for-environment
2024-07-03 17:16:44 +01:00
Sam Rose
75360bdb9b
Merge branch 'master' into merge-env-vars
2024-07-03 17:06:14 +01:00
Sam Rose
bab3c07727
Add a couple more secrets.
2024-07-03 16:33:32 +01:00
Sam Rose
d9b94c1dcf
Don't detect empty strings.
2024-07-03 16:31:42 +01:00
Sam Rose
253110ac6f
Detect secrets in error messages.
2024-07-03 16:31:42 +01:00
Sam Rose
cd98882127
Move secrets into backend-core.
2024-07-03 16:30:23 +01:00
Adria Navarro
e74847585e
Merge branch 'master' into BUDI-8416/allow-updating-email-via-scim
2024-07-03 15:59:47 +02:00
Adria Navarro
8fd2cce093
Remove platform user on remove
2024-07-03 15:52:48 +02:00
mike12345567
cb41e4d5a1
Fix for CouchDB integration, the typing in it was very poor and wise hiding issues, I've updated how this is implemented so that static typing can catch issues with it.
2024-07-03 12:50:33 +01:00
mike12345567
cb50cca40b
Stripping credentials from Couch URLs + test cases.
2024-07-03 11:25:21 +01:00
Adria Navarro
19e4e8fdb4
Allow updating email
2024-07-03 12:18:06 +02:00
Adria Navarro
3ed9c9a4a5
Test
2024-07-03 12:15:56 +02:00
Adria Navarro
88e054c366
Basic update test
2024-07-03 12:06:37 +02:00
Adria Navarro
4ddd450a89
More tests
2024-07-03 11:59:12 +02:00
Adria Navarro
8372632579
Add extra tests
2024-07-03 11:14:30 +02:00
Adria Navarro
6510a47c06
Add basic userDB.save test
2024-07-03 11:10:51 +02:00
Adria Navarro
ae4cfd7b47
Fix pouchdb-replication-stream vulnerability
2024-07-02 15:23:47 +02:00
Michael Drury
c1f7561839
Merge branch 'master' into fix/sqs-internal-columns
2024-06-27 18:19:03 +01:00
mike12345567
3394e974d3
Getting casting working again, have to pass down prefix for checking against fields.
2024-06-27 18:18:41 +01:00
Michael Drury
cfeab17ed8
Revert "Revert "Disallow prohibited columns""
2024-06-26 12:40:16 +01:00
Michael Drury
9c92b8eff9
Merge branch 'master' into sustaining/typescript-5.5.2
2024-06-26 11:03:01 +01:00
Sam Rose
314d62bea0
Revert "Disallow prohibited columns"
2024-06-25 14:29:56 +01:00
melohagan
4ac9b657e5
Remove deprecated properties ( #13958 )
...
* Remove deprecated properties
* Fix backend-core test
* Don't run account-portal tests
* Update account-portal ref
* Run account portal unit tests
* Revert "Run account portal unit tests"
This reverts commit b509bf31a4
.
* Revert "Update account-portal ref"
This reverts commit 186391fbb6
.
2024-06-25 08:26:52 +01:00
mike12345567
a7b995e2ad
Merge branch 'master' of github.com:Budibase/budibase into sustaining/typescript-5.5.2
2024-06-24 18:05:32 +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
58d8f2bb64
Respond to PR feedback.
2024-06-24 17:30:10 +01:00
Sam Rose
da1eb6f6ac
Fix primary key appearing twice in the SQL ORDER BY clause.
2024-06-24 17:09:27 +01:00
mike12345567
ebf8f54bb7
Upgrading to Typescript 5.5.2
2024-06-24 16:41:28 +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
Michael Drury
0d946e7be3
Merge branch 'master' into fix/relationship-filtering-table-or-column
2024-06-24 14:35:30 +01:00
Peter Clement
aefe46b253
Adds _id and _rev back to internal datasource filter options ( #13977 )
...
* Adds _id and _rev back to internal datasource filter options
* add bb default datasource const into shared-core
* re-export var from shared-core
2024-06-24 14:31:27 +01:00
mike12345567
1402716f5c
Some type updates.
2024-06-24 13:10:30 +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
def3b0260e
Disallowing prohibited columns consistently, no matter the case, and backend validation for this as well.
2024-06-20 18:48:22 +01:00
mike12345567
67c00c9e4c
Addressing PR comments.
2024-06-19 18:46:48 +01:00
Sam Rose
602faf1c67
Add test for composite primary keys for external datasource imports.
2024-06-19 17:52:48 +01:00
mike12345567
2aa911b217
re-jigging things to get counting working properly again.
2024-06-19 17:10:15 +01:00
mike12345567
2d74927177
updating how counting disables sorting.
2024-06-19 15:08:12 +01:00
mike12345567
1056efdbf6
Changing how counting occurs in SQL layer.
2024-06-19 14:56:06 +01:00
Michael Drury
223df424fc
Merge branch 'master' into feature/count-rows-to-return
2024-06-19 14:20:31 +01:00
mike12345567
bdbb4c0a66
Commenting on a bug in knex
2024-06-19 13:59:03 +01:00
mike12345567
0de94d3535
Addressing some PR comments.
2024-06-19 11:52:50 +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
mike12345567
5c45370722
Fixing an issue with the sort order not being deterministic consistently.
2024-06-18 13:39:10 +01:00