Commit Graph

617 Commits

Author SHA1 Message Date
Rory Powell 19c86fa738
Update locks error logging (#9768)
* Fix intermittent backend-core migration test failure

* Update lock logging
2023-02-22 08:32:03 +00:00
Rory Powell f153fb8e82
Run CI steps in parallel (#9760)
* Parallel CI

* Add build to integration test

* Add checkout to top of each run

* Revert branch update for ci job

* Experiment with --runInBand for CI

* Fix intermittent backend-core migration test failure

* Fix hanging worker redis connection

* Update naming from reset to newTenant
2023-02-21 17:13:24 +00:00
Rory Powell 1b041c41c3
Prevent SSO users from setting / resetting a password (#9672)
* Prevent SSO users from setting / resetting a password

* Add support for ENABLE_SSO_MAINTENANCE_MODE

* Add typing to self api and build out user update sdk

* Integrate sso checks with user sdk. Integrate user sdk with self api

* Test fixes

* Move self update into SDK

* Lock down maintenance mode to admin user

* Fix typo

* Add health status response and return type signature to accounts.getStatus

* Remove some unnecessary comments

* Make sso save user function non optional

* Remove redundant check on sso auth details provider

* Update syncProfilePicture function name to getProfilePictureUrl

* Update packages/worker/src/sdk/users/events.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Add ENABLE_EMAIL_TEST_MODE flag

* Fix for logging in as sso user when existing user has password already

* Hide password update and force reset from ui for sso users

* Always disable sso maintenance mode in cloud

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-02-21 08:23:53 +00:00
Rory Powell bd09914e4e Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00
Rory Powell 3da6502c8c Merge master into develop 2023-02-15 15:10:02 +00:00
Rory Powell 91e63c8ec4 Rename LOG_4XX to ENABLE_4XX_HTTP_LOGGING and enable by default 2023-02-13 14:39:24 +00:00
Rory Powell c78b21ef5f
Merge pull request #9669 from Budibase/budi-6558-configurable-test-log-levels-and-common
Configurable test log levels and common error handling
2023-02-13 14:31:43 +00:00
Rory Powell d68880665c
Merge pull request #9670 from Budibase/budi-6559-enable-higher-concurrency-and-resiliency
Enable higher concurrency and resiliency in worker tests
2023-02-13 14:31:14 +00:00
Rory Powell f9c60d2d11 Add LOG_4XX to environment 2023-02-13 12:27:49 +00:00
Rory Powell 3f0f5b7346 Enable use of redis container in worker tests 2023-02-13 12:09:16 +00:00
Rory Powell 1dc3d44a44 Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
Rory Powell d99794c040 Configurable test log levels and common error handling 2023-02-13 11:53:01 +00:00
mike12345567 8a6a10a398 Merge branch 'develop' of github.com:Budibase/budibase into fix/cli-memory-issues 2023-02-07 09:56:49 +00:00
mike12345567 7722bf8d87 Some fixes for #8770 - the CLI was very memory intensive when working with large databases, that contained many revisions. We don't need the revisions for app exports/backups, therefore I've updated our export systems to drop the revision history as it compacts the database significantly and speeds up exports/reduces memory usage. 2023-02-06 17:54:40 +00:00
Adria Navarro 95ada723ce Don't log on CI 2023-02-04 21:04:40 +00:00
adrinr 06ffca74cd Cleanup 2023-02-03 19:23:36 +00:00
adrinr c747cabe73 Rename name for id 2023-02-03 12:09:56 +00:00
adrinr 6d3117d6ac Dry 2023-02-03 11:28:27 +00:00
adrinr 9034a7f7e8 Merge branch 'develop' into feature/dependencies-image 2023-02-03 10:44:40 +00:00
adrinr f70a3d095c Clean code 2023-02-03 09:37:34 +00:00
Dean f51fa2e18a Merge remote-tracking branch 'origin/develop' into fix/add-onboarding-tour-tenant-flag 2023-02-02 11:38:57 +00:00
Dean 04386d01c2 Added new unit tests for feature flags 2023-02-02 11:38:10 +00:00
adrinr 13db0d20e2 Undone user cache changes 2023-02-01 17:20:48 +00:00
adrinr 8589ee24a8 Remove remaning faker refs 2023-02-01 17:19:56 +00:00
adrinr aa8aa2b311 Replace faker for chance 2023-02-01 17:11:50 +00:00
Adria Navarro 25fb740aef
Merge branch 'develop' into feature/dependencies-image 2023-02-01 16:32:00 +00:00
Dean 7242dd4162 Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features 2023-02-01 14:12:43 +00:00
mike12345567 a71ee1b693 PR comments. 2023-02-01 13:01:38 +00:00
adrinr 13a1b15f93 Increase timeout 2023-02-01 12:29:03 +00:00
adrinr 4865feeeca More seq 2023-02-01 11:46:31 +00:00
adrinr 4b1d47b900 Merge branch 'develop' into feature/dependencies-image 2023-02-01 10:56:22 +00:00
mike12345567 c038e483e2 Updates to use our new Nano layer for CouchDB integration rather than PouchDB. 2023-01-31 19:49:31 +00:00
adrinr 057ec7d540 Fix installation race conditions 2023-01-31 17:27:25 +00:00
deanhannigan 7a1464bb9d
Merge pull request #9409 from Budibase/feature/user-onboarding-overlays
Feature/user onboarding overlays
2023-01-31 16:37:18 +00:00
adrinr 6090ed36f2 Handle db creation race conditions 2023-01-31 16:15:11 +00:00
Adria Navarro 35a92a5fad
Merge branch 'develop' into feature/dependencies-image 2023-01-30 18:54:05 +00:00
adrinr 3df4c553e7 Run conflicting tests in sequential mode 2023-01-30 13:35:09 +00:00
adrinr d6da46a079 Use test-containers for backend-core tests 2023-01-27 11:43:36 +00:00
adrinr e11f1d1d44 Fix issues with parallel tests and self/cloud modes 2023-01-26 18:20:21 +00:00
Adria Navarro Redo bf0f7d5bab Fix user test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 498d1776e0 Fix snapshots test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo d46ef8e68c Fix application delete tests 2023-01-26 18:20:21 +00:00
Adria Navarro 730c40e6b9 tweak tests 2023-01-24 15:46:50 +00:00
Adria Navarro aafc70dcff Remove test logic from getAllDbs 2023-01-24 14:06:28 +00:00
mike12345567 1387eedf7a Adding events for environment variables (created, deleted, upgrade panel opened). 2023-01-23 18:18:06 +00:00
Adria Navarro b0ffdc079d Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-23 18:08:19 +00:00
Adria Navarro 963791bc12 Add jest-testcontainers-config 2023-01-23 15:52:23 +00:00
Dean 103bdeaf53 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-23 09:34:20 +00:00
Dean 37a454a7d3 Added new onboarding tour flow for builder 2023-01-23 00:32:01 +00:00
mike12345567 8a7922110d Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-20 19:55:11 +00:00