Commit Graph

3629 Commits

Author SHA1 Message Date
Michael Drury 9b84d959dc
Merge branch 'master' into fix/sqs-default-dev-on 2024-08-30 18:07:51 +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
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
Sam Rose 265000f7e1
Merge master. 2024-08-27 14:37:19 +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
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