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

3664 commits

Author SHA1 Message Date
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
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
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
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