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
mike12345567
278242fb55
Moving limits and offsets back into pre-query.
2024-06-18 12:47:59 +01:00
mike12345567
03b82c0923
Merge branch 'master' of github.com:Budibase/budibase into feature/count-rows-to-return
2024-06-17 13:41:40 +01:00
Sam Rose
6516a01657
Merge branch 'master' into uncomment-search-test-todos
2024-06-17 13:34:53 +01:00
melohagan
9ecf82e0f6
Add endpoint to GET tenant info from tenant global DB. ( #13923 )
...
* Add GET tenant info endpoint
* Add GET global tenant to endpoint list.
* Use correct not found code
* Fix unit test
* Code review comments
* Ignore account portal check types
* remove account-portal-ui from type check ignore
* Remove ignore account-portal-ui from type check
2024-06-17 09:22:44 +00:00
mike12345567
1b36d8af51
Getting counting flow working correctly for external datasources.
2024-06-14 19:00:59 +01:00
mike12345567
e402f9c571
Merge branch 'uncomment-search-test-todos' of github.com:Budibase/budibase into feature/count-rows-to-return
2024-06-14 18:16:47 +01:00
mike12345567
77556820bf
Bit more work towards row counting, as well as moving external SQL to use row + 1 for working out pagination.
2024-06-14 18:12:36 +01:00
Sam Rose
a54048e308
Solve all remaining TODOs in search.spec.ts.
2024-06-14 14:57:31 +01:00
mike12345567
2c6262844b
Some work to limiting, changing how limiting works for pagination so that filtering on relationships doesn't cause problems.
2024-06-14 14:35:35 +01:00
Sam Rose
c27e9c266c
Replace SortDirection with SortOrder, SortDirection is being removed.
2024-06-14 09:45:30 +01:00
Sam Rose
a140a002e2
Merge branch 'master' of github.com:budibase/budibase into fix/aws-session-token-s3-ver2
2024-06-11 18:04:40 +01:00
Michael Drury
869c7e546a
Merge branch 'master' into disable-app-migration-cache
2024-06-11 13:17:16 +01:00
melohagan
115737c46c
Create Tenant endpoint + tenant_info doc ( #13902 )
...
* Create Tenant endpoint + tenant_info doc
* Don't catch on tenant_info put
* PR comments
* unit test
2024-06-11 12:16:15 +01:00
mike12345567
334334bbcd
Adding a check for QA.
2024-06-11 12:13:18 +01:00
mike12345567
75c3b842ad
Fixing issue with in memory queue.
2024-06-10 23:34:08 +01:00
mike12345567
1bd5a41712
Setting debug properly
2024-06-10 15:29:32 +01:00
mike12345567
fe789e7462
Adding test containers debug.
2024-06-10 15:17:01 +01:00
Hector Valcarcel
65c2039d0c
Chore: Allow using an AWS_SESSION_TOKEN for object storage with AWS S3
2024-06-10 11:48:54 +01:00
mike12345567
ee391b30d6
Fixing an issue with multi-tenant app migration failures - the app migration context wasn't getting the tenant ID as needed. Also added some better logging as well as cleaning up the queues properly to remove these dud events.
2024-06-07 22:50:06 +01:00
Michael Drury
b76d535202
Merge branch 'master' into BUDI-7656/add-migration
2024-06-07 10:24:50 +01:00
mike12345567
ab6614a683
Capturing any 500s which occur from SQS cleanup - it appears to 500 if there is nothing to do.
2024-06-06 17:38:52 +01:00
Michael Drury
ea1d3000c2
Merge branch 'master' into BUDI-7656/add-migration
2024-06-06 16:49:48 +01:00
mike12345567
70aa43680d
Addressing PR comments.
2024-06-06 16:49:03 +01: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
4f6076d2ba
Merge branch 'master' of github.com:Budibase/budibase into BUDI-7656/add-migration
2024-06-05 16:29:45 +01:00
mike12345567
cf6f86cb2f
Updating migrations to correctly cover all the required elements.
2024-06-04 17:24:11 +01:00
mike12345567
e3b1655ad0
Merge branch 'master' of github.com:Budibase/budibase into BUDI-7656/add-migration
2024-06-04 12:56:59 +01:00
Adria Navarro
a562655361
Merge branch 'master' into feat/readonly-columns
2024-06-04 12:04:49 +02:00
Adria Navarro
2d953f19cc
Clean validation message
2024-06-04 11:11:50 +02:00
mike12345567
155de99b68
Streaming to disk before passing onto S3.
2024-06-03 11:46:20 +01:00
mike12345567
75501c2251
Updating object store stream upload to make sure the stream has finished being processed before trying to upload to AWS (and only uploading a partial stream).
2024-05-31 17:57:31 +01:00
mike12345567
f3d1a8aabc
Merge branch 'master' of github.com:Budibase/budibase into BUDI-7656/add-migration
2024-05-29 17:20:29 +01:00
Michael Drury
aa232db669
Merge branch 'master' into fix/template-app-rows
2024-05-29 15:06:09 +01:00
Adria Navarro
f5f471a4aa
Merge branch 'master' into BUDI-8284/readonly-settings-columns-in-views
2024-05-29 15:41:20 +02:00
mike12345567
6b7a4f07cb
Quick fix for ambiguous column names _id.
2024-05-29 11:56:52 +01:00
mike12345567
83fa6f952a
re-jigging, making this part of filters rather than meta.
2024-05-28 18:34:08 +01:00
mike12345567
cb99007a42
Fix for issue with templated apps - some template apps are *very* old and therefore don't necessarily abide by the rules that are generally followed for new apps, this is something we should resolve, but for now adding an option that allows searching for only a specific document type.
2024-05-28 18:30:06 +01:00
Adria Navarro
422b1e2753
Fix tests
2024-05-27 14:31:45 +02:00
mike12345567
3b310b188e
Fixing issue with column quoting.
2024-05-24 17:52:40 +01:00
mike12345567
b18ca2670a
Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs
2024-05-24 12:22:20 +01:00
Michael Drury
a3d2871330
Merge branch 'master' into feature/audit-log-sqs
2024-05-23 16:52:50 +01:00
mike12345567
66686fd970
Making sure all JSON column types are correctly handled.
2024-05-23 15:00:13 +01:00
mike12345567
0c28d05d40
Some work to correctly handle JSON columns from SQS as well.
2024-05-23 14:57:38 +01:00
mike12345567
99536c2d0b
PR comments.
2024-05-23 14:24:49 +01:00
Adria Navarro
e169454490
Move utils to backend-core
2024-05-23 14:59:51 +02:00
mike12345567
ff8684d9b4
Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs
2024-05-22 15:23:24 +01:00
mike12345567
a2200a38fb
Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs
2024-05-20 14:09:57 +01:00
mike12345567
d1b6a542fa
Getting audit log searching with sqs working - a bit more work than expected but fixed quite a few SQS bugs along the way.
2024-05-17 20:26:34 +01:00
mike12345567
d7f3109a22
Making sqlite design doc generation more accessible.
2024-05-17 12:35:31 +01:00
Adria Navarro
19cb7b83e0
Merge branch 'master' into BUDI-8248/reduce-googleapi-calls
2024-05-17 12:28:28 +02:00
Adria Navarro
7807b734bb
Persist googlesheet refs in context
2024-05-17 12:07:28 +02:00
mike12345567
0efa1f06ab
Moving some stuff around to make way for other services using the sql layers.
2024-05-16 17:33:47 +01:00
mike12345567
647a8c2a74
Final fix for remove function.
2024-05-16 13:52:38 +01:00
mike12345567
06d6d84b55
Addressing PR comments.
2024-05-16 13:27:54 +01:00
mike12345567
aa51db20ee
Changing how cleanup works - the cleanup is now part of the DB deletion, making sure it cannot be missed.
2024-05-14 15:41:48 +01:00
mike12345567
673211dfbb
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-05-14 14:38:00 +01:00
mike12345567
39147b80b6
PR comments.
2024-05-14 11:23:50 +01:00
mike12345567
5b5e7e47a2
Fixing some issues with updating rows with attachments, there were some UI bugs that had been raised (undefined being displayed) and the uploading from a URL was not working as expected, due to the stream not matching the expected format of the S3 SDK - this has been fixed by converting the stream to a true readable stream with .
2024-05-13 18:11:40 +01:00
mike12345567
a8e0443cf7
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-05-13 14:01:14 +01:00
mike12345567
f25703b88e
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-05-13 13:54:00 +01:00
Adria Navarro
2c68c3ffb1
Merge branch 'master' into chore/remove-unused-packages
2024-05-13 14:38:46 +02:00
Adria Navarro
4bec2a3a48
Merge branch 'master' into feat/budi-8123-single-user
2024-05-13 10:53:49 +02:00
mike12345567
10608f9bb7
Final final fix.
2024-05-10 11:59:11 +01:00
mike12345567
de2d0e6b89
Adding error field.
2024-05-10 11:51:57 +01:00
mike12345567
1aa89c61b6
One small change to keep 404 functionality on destroy DB.
2024-05-10 11:32:57 +01:00
mike12345567
76449782b5
Fixes an issue with fetch information being passed up from DatabaseImpl, making sure errors are fully sanitised.
2024-05-10 11:27:49 +01:00
mike12345567
a3d079f847
Fixing an issue with cleanup, making sure the correct app is cleaned up on deletion.
2024-05-09 18:33:29 +01:00
mike12345567
fd7f6455bd
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-05-09 17:38:24 +01:00
Adria Navarro
d83e5e21f2
Merge branch 'master' into feat/budi-8123-single-user
2024-05-09 18:05:16 +02:00
deanhannigan
c1874f3376
Merge branch 'master' into feature/filter-bindings
2024-05-09 14:34:07 +01:00
Peter Clement
db273bcd36
Support attachment columns in Automations ( #13567 )
...
* base work to support attachments in create / update row
* handle single attachment column
* fix tests
* pro
* fix some types
* handle case where file exists in storage
* improve attacment processing
* refactor slightly and ensure correct url is used for existing attachments
* add test
* Fixing a build issue.
* update tests
* some lint
* remove cursed backend-core test util
* addressing pr comments
* refactoring nasty automationUtils upload code
* remove uneeded check
* use basneeame for fallback filename
* add a test to ensure coverage of single attachment column type
* fail early when fetching object metadata
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2024-05-09 14:30:56 +01:00
Dean
4c6629d15f
Merge remote-tracking branch 'origin/master' into feature/filter-bindings
2024-05-09 11:05:58 +01:00
mike12345567
21ce586d93
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-05-08 17:04:34 +01:00
Sam Rose
5783ee790f
Fix Lucene tests.
2024-05-08 15:36:26 +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
mike12345567
2e8b655417
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-05-08 12:36:42 +01:00
deanhannigan
42a5d3d0e0
Merge branch 'master' into feature/filter-bindings
2024-05-08 10:22:45 +01:00
mike12345567
a2d4f8523c
Some typing improvements, as well as getting deletion/setup working a bit better.
2024-05-07 18:27:47 +01:00
Sam Rose
946bd0ef7d
Fix lucene.spec.ts.
2024-05-07 17:11:05 +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
Sam Rose
32bd505ef9
Respond to PR feedback.
2024-05-07 10:38:47 +01:00
mike12345567
070659c7b1
Fixing an issue with typing + wrong parameter being passed to the direct Couch call functionality.
2024-05-03 18:00:43 +01:00
Sam Rose
27e68f79f5
Remove extraneous comment.
2024-05-03 17:34:03 +01:00
Sam Rose
1777f1f8fe
Fix boolean searching for Lucene/SQS
2024-05-03 17:29:20 +01:00
Dean
3823ffa4fd
Ensure snippet context is disabled by default in test. Add override for search
2024-05-02 17:59:55 +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
Adria Navarro
6570b2efcc
Remove unused packages from backend-core
2024-05-01 11:38:59 +01:00
mike12345567
7f1500ac86
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-04-26 15:48:40 +01:00
Sam Rose
dd02224806
Restart testcontainers every day, and add a script to kill them.
2024-04-26 14:01:52 +01:00
Adria Navarro
1c4fc21870
Lint
2024-04-25 16:36:47 +02:00
Adria Navarro
e0216bb00c
Lint
2024-04-25 13:20:59 +02:00
Adria Navarro
d63c5830e5
Typings
2024-04-25 13:20:59 +02:00
Michael Drury
2187d25711
Revert "Changing client library to be retrieved via pre-signed URL for Cloud"
2024-04-24 17:12:36 +01:00
mike12345567
f76abb0ca9
Getting rid of linting error.
2024-04-24 15:59:11 +01:00
mike12345567
849253faba
Bringing back the old mechanism of returning the client library through a pre-signed URL, rather than always serving through the service.
2024-04-24 15:37:47 +01:00
mike12345567
6ff00135bf
Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup
2024-04-22 17:22:53 +01:00
Peter Clement
a4c0328c53
REST file handling and SMTP automation block attachments ( #13403 )
...
* handle files in rest connector
* fetch presigned url and return
* further updates to handle files in rest connector
* remove unused important and fix extension bug
* wrong expiry param
* tests
* add const for temp bucket
* handle ttl on bucket
* more bucket ttl work
* split out fileresponse and xmlresponse into utils
* lint
* remove log
* fix tests
* some pr comments
* update function naming and lint
* adding back needed response for frontend
* use fsp
* handle different content-disposition and potential path traversal
* add test container for s3 / minio
* add test case for filename* and ascii filenames
* move tests into separate describe
* remove log
* up timeout
* switch to minio image instead of localstack
* use minio image instead of s3 for testing
* stream file upload instead
* use streamUpload and update signatures
* update bucketcreate return
* throw real error
* tidy up
* pro
* pro ref fix?
* pro fix
* pro fix?
* move minio test provider to backend-core
* update email builder to allow attachments
* testing for sending files via smtp
* use backend-core minio test container in server
* handle different types of url
* fix minio test provider
* test with container host
* lint
* try different hostname?
* Revert "try different hostname?"
This reverts commit cfefdb8ded
.
* fix issue with fetching of signed url with test minio
* update autoamtion attachments to take filename and url
* fix tests
* pro ref
* fix parsing of url object
* pr comments and linting
* pro ref
* fix pro again
* fix pro
* account-portal
* fix null issue
* fix ref
* ref
* When sending a file attachment in email fetch it directly from our object store
* add more checks to ensure we're working with a signed url
* update test to account for direct object store read
* formatting
* fix time issues within test
* update bucket and path extraction to regex
* use const in regex
* pro
* Updating TTL handling in upload functions (#13539 )
* Updating TTL handling in upload functions
* describe ttl type
* account for ttl creation in existing buckets and update types
* fix tests
* pro
* pro
2024-04-22 15:30:57 +00:00
mike12345567
8189952f0b
Adding implementation to DB for purge and cleanup APIs of SQS, to make sure the DB is cleared of any unused tables or rows.
2024-04-19 18:03:38 +01:00
mike12345567
8bb6956925
Merge branch 'master' of github.com:Budibase/budibase into fix-oidc-error-logging
2024-04-19 13:29:21 +01:00
melohagan
6bdc726d55
Allow a displayName to be passed when creating admin user ( #13516 )
...
* Allow a displayName to be passed when creating admin user
* Set the first and last names
* Don't format handlebars files on save
* Use familyName and givenName
2024-04-18 12:52:00 +00:00
Adria Navarro
f12e654811
Merge branch 'master' into chore/remove-disabling-nounusedvars
2024-04-17 15:49:35 +02:00
mike12345567
25dba0be35
This removes the SearchQuery which was a duplication of the SearchFilters interface - the duplicated types were not correctly getting overlay on each other, causing build errors.
2024-04-17 13:54:23 +01:00
Adria Navarro
a88924a418
Remove // eslint-disable-next-line no-unused-vars
2024-04-17 12:24:41 +02:00
Adria Navarro
ec93ea59c1
Remove // eslint-disable-next-line @typescript-eslint/no-unused-vars
2024-04-17 12:17:03 +02:00
Adria Navarro
ca158c33e8
DRY
2024-04-17 10:33:20 +02:00
mike12345567
6e4a66b2e1
Initial implementation of generating SQS junction table definitions.
2024-04-11 18:19:47 +01:00
Michael Drury
c190a9983f
Merge branch 'master' into fix-oidc-error-logging
2024-04-11 17:01:04 +01:00
Martin McKeaveney
4a6e1b7192
fix all cases of lint rule
2024-04-10 17:39:12 +01:00
mike12345567
20da8bb816
Adding support for SQS prepared statement API.
2024-04-10 17:36:57 +01:00
Sam Rose
c5580b4767
Get SQS plumbing working in tests.
2024-04-09 15:31:32 +01:00
mike12345567
efe66186f4
Last PR comment - fixing issue with lucene test case.
2024-04-09 12:37:03 +01:00
mike12345567
5f44b98b7f
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-04-05 16:36:36 +01:00
mike12345567
86150c58ce
Fixing issue with BB_ADMIN environment variables for user creation introduced by user password becoming optional. Adding a test case as well to cover this to avoid it breaking in future.
2024-04-05 12:14:51 +01:00
mike12345567
d11c316572
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-04-04 15:02:25 +01:00
Sam Rose
79184e70af
Remove CONTAINER_NAMESPACE, it wasn't the solution.
2024-04-03 12:32:29 +01:00
Sam Rose
258226ddef
Better error message when multiple images are found.
2024-04-03 11:40:14 +01:00
Sam Rose
8cffdeda56
Re-use containers and create namespaces for each test.
2024-04-03 11:33:39 +01:00
Sam Rose
3dff4bf334
Fix lint.
2024-04-03 11:20:43 +01:00
Sam Rose
e3fbce25fa
Merge branch 'master' of github.com:budibase/budibase into reuse-containers
2024-04-03 11:15:11 +01:00
mike12345567
9b8b422f1b
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-04-03 10:16:23 +01:00
mike12345567
8c326b501b
Adding support for oneOf ID search of users, today the relationship picker attempts to use this for the users table, but it was not supported.
2024-04-02 17:12:31 +01:00
mike12345567
5e186b5c8a
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-04-02 12:05:34 +01:00
mike12345567
4c755b3af3
Improving typing around search, there was duplicates of SearchParams and SearchResponse - which were a little different, bring all of this together under the types library.
2024-03-28 17:57:37 +00:00
Sam Rose
90cfdd661d
Rework how we connect to containers.
2024-03-28 17:36:26 +00:00
Martin McKeaveney
32a5ce24ec
remove automatic ssoId generation
2024-03-28 15:46:43 +00:00
José Vte. Calderón
b5e0bd1aad
Merge branch 'master' into feature/update-global-user
2024-03-28 12:05:29 +01:00
jvcalderon
b77106480e
Adds POST /api/global/users/sso endpoint
2024-03-28 11:46:58 +01:00
Sam Rose
204b16876a
Run yarn lint:fix
2024-03-27 16:46:11 +00:00
Sam Rose
831c174362
Give SQL integrations their own database when fetching a new datasource.
2024-03-27 15:25:37 +00:00
mike12345567
de518de8fa
Merging issue with static index.
2024-03-26 12:53:45 +00:00
Sam Rose
6ee8f421a5
Merge branch 'master' of github.com:budibase/budibase into remove-jest-testcontainers
2024-03-26 10:05:21 +00:00
Sam Rose
415b27a008
Don't need a globalTeardown, testcontainers handles the removal of containers.
2024-03-26 10:00:34 +00:00
Sam Rose
5d7cd511b5
Correct path to global functions in jest.config.ts.
2024-03-26 09:51:10 +00:00
Sam Rose
f3e9e3d35e
Share a single globalSetup/globalTeardown.
2024-03-26 09:49:33 +00:00
Sam Rose
afacee978d
Add missing environment vars for backend-core tests.
2024-03-25 17:40:46 +00:00