Commit Graph

4966 Commits

Author SHA1 Message Date
Rory Powell d24c7a988e
Merge pull request #9785 from Budibase/configs-refactor-and-server-test-fixes
Configs /  Server tests / Failing real email tests updates
2023-02-27 14:00:21 +00:00
Rory Powell a6027be943
Enforceable SSO (#9787)
* Add ENFORCEABLE_SSO feature flag

* First draft of enforce sso configuration / show single sign on url

* Reading and writing isSSOEnforced + integration with login page

* Enable CI + lint

* Set correct base branch for CI

* Test fix for expected string changed

* Use tenant aware platform url as SSO link

* Bring in latest pro changes

* Lint

* Add useEnforceableSSO mock helper function

* Update configs.spec.ts with coverage for public settings

* Update users.spec.ts with additional tests for isPreventPasswordActions

* Lint

* Update refresh OAuthToken to use correct enum and add case statement
2023-02-27 13:42:51 +00:00
mike12345567 5b09b15d27 Trying to remove audit log test - see if it fixes test stalling issue. 2023-02-27 13:31:52 +00:00
mike12345567 4803e8b7fe Fixing test case. 2023-02-27 13:17:42 +00:00
Dean 52bfaa820c Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-27 09:12:07 +00:00
mike12345567 262227bb28 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 17:03:00 +00:00
Budibase Staging Release Bot 66f74dfbc3 Update pro version to 2.3.18-alpha.12 2023-02-24 15:54:43 +00:00
Budibase Staging Release Bot f77c214b0a v2.3.18-alpha.12 2023-02-24 15:51:56 +00:00
mike12345567 30024e7b81 Moving around processors to separate audit logs out of central event handling. 2023-02-24 13:52:54 +00:00
mike12345567 f407e18db6 Main body of PR comments. 2023-02-24 13:32:45 +00:00
Budibase Staging Release Bot 90c32a8e5c v2.3.18-alpha.11 2023-02-24 13:23:58 +00:00
mike12345567 b9fb7f29a2 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 12:46:58 +00:00
Budibase Staging Release Bot c18c898a22 Update pro version to 2.3.18-alpha.10 2023-02-24 10:51:08 +00:00
Budibase Staging Release Bot 91d09b953d v2.3.18-alpha.10 2023-02-24 10:48:01 +00:00
Budibase Staging Release Bot b497bc00e9 Update pro version to 2.3.18-alpha.9 2023-02-24 09:26:25 +00:00
Budibase Staging Release Bot 6ee4594457 v2.3.18-alpha.9 2023-02-24 09:23:36 +00:00
mike12345567 a3fd0d84d5 Implementing a few basic tests to create and search the audit logs. 2023-02-23 17:23:06 +00:00
Budibase Staging Release Bot 562ee514ac Update pro version to 2.3.18-alpha.8 2023-02-23 14:05:48 +00:00
Budibase Staging Release Bot 76d67319b0 v2.3.18-alpha.8 2023-02-23 14:02:39 +00:00
Rory Powell 51c3b6eb45 Fix for real email tests failing silently 2023-02-23 13:42:10 +00:00
Rory Powell 6da72bb2c6 Configs updates: remove circular deps, dedicated module, typing improvements, reduce db reads 2023-02-23 13:41:35 +00:00
Budibase Staging Release Bot 029c959345 Update pro version to 2.3.18-alpha.7 2023-02-23 12:17:13 +00:00
Budibase Staging Release Bot 452c69ee8c v2.3.18-alpha.7 2023-02-23 12:14:21 +00:00
Dean 4c10f2144b Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-23 11:19:29 +00:00
Dean 9677994f78 Merge commit to dev 2023-02-23 10:38:03 +00:00
mike12345567 3a0b3851a9 Getting downloading working correctly, some minor UI updates, adding a new middleware for converting a query string to a body (useful for when a GET has to be used). 2023-02-22 18:50:27 +00:00
Budibase Staging Release Bot 20a2346b04 Update pro version to 2.3.18-alpha.6 2023-02-22 13:59:23 +00:00
Budibase Staging Release Bot fd87b260e1 v2.3.18-alpha.6 2023-02-22 13:56:31 +00:00
Budibase Staging Release Bot ca90993d44 Update pro version to 2.3.18-alpha.5 2023-02-22 13:37:06 +00:00
Budibase Staging Release Bot bd7576c6b3 v2.3.18-alpha.5 2023-02-22 13:33:55 +00:00
Budibase Staging Release Bot 38d5831a71 Update pro version to 2.3.18-alpha.4 2023-02-22 13:14:32 +00:00
Budibase Staging Release Bot 60cc87c306 v2.3.18-alpha.4 2023-02-22 13:11:38 +00:00
Rory Powell 1abf5f2389
Use `--runInBand` in CI only (#9771)
* Use  in CI only

* Use scripts instead of ternary to pick up correct bash syntax
2023-02-22 13:04:16 +00:00
Budibase Staging Release Bot 4b168c761f Update pro version to 2.3.18-alpha.3 2023-02-22 10:13:25 +00:00
Budibase Staging Release Bot ee49637f6f v2.3.18-alpha.3 2023-02-22 10:10:27 +00:00
Budibase Staging Release Bot 9f7c24912d Update pro version to 2.3.18-alpha.2 2023-02-22 08:43:41 +00:00
Budibase Staging Release Bot 4321a07944 v2.3.18-alpha.2 2023-02-22 08:40:11 +00:00
mike12345567 5518d8d336 Adding new mechanism to get the ipAddress and userAgent of call for audit logs. 2023-02-21 19:14:57 +00:00
Budibase Staging Release Bot e3b1204472 Update pro version to 2.3.18-alpha.1 2023-02-21 17:37:00 +00:00
Budibase Staging Release Bot 865cab09b2 v2.3.18-alpha.1 2023-02-21 17:33:47 +00:00
mike12345567 420502a3e7 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-21 17:26:24 +00:00
mike12345567 00e3365847 Updating worker db config to have replication available (for audit logs). 2023-02-21 17:22:23 +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
Budibase Staging Release Bot 738d371b63 Update pro version to 2.3.18-alpha.0 2023-02-21 17:07:51 +00:00
Budibase Staging Release Bot f4dd710b75 v2.3.18-alpha.0 2023-02-21 17:03:45 +00:00
mike12345567 5a3e287d2d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-21 16:53:28 +00:00
Budibase Staging Release Bot 50886366f5 Update pro version to 2.3.17-alpha.8 2023-02-21 15:24:40 +00:00
Budibase Staging Release Bot c3e4bfe17d v2.3.17-alpha.8 2023-02-21 15:20:48 +00:00
Budibase Staging Release Bot e8e365aa83 Update pro version to 2.3.17-alpha.7 2023-02-21 14:43:54 +00:00
Budibase Staging Release Bot 88f7f79b22 v2.3.17-alpha.7 2023-02-21 14:39:55 +00:00
Rory Powell 03af908a72 Re-order deprovisioning sequence to fix platform user removal 2023-02-21 13:36:14 +00:00
Budibase Staging Release Bot f9792d0e31 Update pro version to 2.3.17-alpha.6 2023-02-21 11:56:26 +00:00
Budibase Staging Release Bot 1e58397f7b v2.3.17-alpha.6 2023-02-21 11:52:45 +00:00
Budibase Staging Release Bot 8094a1b11d Update pro version to 2.3.17-alpha.5 2023-02-21 11:26:45 +00:00
Budibase Staging Release Bot f336cec967 v2.3.17-alpha.5 2023-02-21 11:22:46 +00:00
Rory Powell 32a026eea7 Re-add maxWorkers=2 to worker tests 2023-02-21 09:03:29 +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
Budibase Staging Release Bot 6e197566a8 Update pro version to 2.3.17-alpha.4 2023-02-17 15:00:44 +00:00
Budibase Staging Release Bot 4145478e38 v2.3.17-alpha.4 2023-02-17 14:56:34 +00:00
Budibase Staging Release Bot 3635826e83 Update pro version to 2.3.17-alpha.3 2023-02-17 09:30:40 +00:00
Budibase Staging Release Bot 383b9b560f v2.3.17-alpha.3 2023-02-17 09:25:55 +00:00
Rory Powell e6e1d31e90
Fix tenant creation on user save (#9725) 2023-02-17 09:16:11 +00:00
Budibase Staging Release Bot 122330c792 Update pro version to 2.3.17-alpha.2 2023-02-17 08:36:00 +00:00
Budibase Staging Release Bot 805f74f92a v2.3.17-alpha.2 2023-02-17 08:32:08 +00:00
Budibase Staging Release Bot fced2a00f2 Update pro version to 2.3.17-alpha.1 2023-02-16 16:56:11 +00:00
Budibase Staging Release Bot 5c22c75429 v2.3.17-alpha.1 2023-02-16 16:52:04 +00:00
Budibase Release Bot 05fcc6f325 Update pro version to 2.3.17 2023-02-16 16:41:23 +00:00
Budibase Release Bot a57c922b91 v2.3.17 2023-02-16 16:37:12 +00:00
Budibase Staging Release Bot 96f866e29c Update pro version to 2.3.17-alpha.0 2023-02-16 14:30:28 +00:00
Budibase Staging Release Bot 92d4358c40 v2.3.17-alpha.0 2023-02-16 14:26:19 +00:00
mike12345567 ee70944176 Updating events to include a proper friendly map of audited events. 2023-02-15 19:44:32 +00:00
mike12345567 fd41acf984 Adding in event auditing to server/worker. 2023-02-15 18:03:55 +00:00
Jonny McCullagh 9d43b534e5
add datadog apm (#9693)
* add datadog apm

* datadog init not start

* extra env vars for DD APM

* add datadog apm

* datadog init not start

* extra env vars for DD APM

* add datadog apm

* remove space

* Enable typescript integration with apm agents

* Fix typo

---------

Co-authored-by: Jonny <Jonny McCullagh>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-15 16:28:20 +00:00
Rory Powell c8b25385b1 Update lockfiles 2023-02-15 15:23:12 +00:00
Rory Powell f37b921c9b Merge branch 'master' into merge-master-into-develop 2023-02-15 15:16:59 +00:00
Budibase Release Bot deceabfbc9 Update pro version to 2.3.16 2023-02-15 15:13:06 +00:00
Rory Powell 3da6502c8c Merge master into develop 2023-02-15 15:10:02 +00:00
Budibase Release Bot 0840e8897b v2.3.16 2023-02-15 15:09:01 +00:00
Rory Powell 942965d4f3 Add error logging for user save failure in sso authentication 2023-02-15 14:53:38 +00:00
Budibase Release Bot 169848f4e0 Update pro version to 2.3.15 2023-02-15 13:01:14 +00:00
Budibase Release Bot 3566477d01 v2.3.15 2023-02-15 12:57:32 +00:00
mike12345567 f058527137 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-15 11:29:04 +00:00
Budibase Release Bot e7d5a8e9f9 Update pro version to 2.3.14 2023-02-15 09:47:44 +00:00
Budibase Release Bot d53d727925 v2.3.14 2023-02-15 09:43:10 +00:00
Budibase Staging Release Bot a185850018 Update pro version to 2.3.14-alpha.0 2023-02-14 18:17:13 +00:00
Budibase Staging Release Bot 39e98630a1 v2.3.14-alpha.0 2023-02-14 18:12:57 +00:00
mike12345567 2dc1ce3497 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-14 17:57:23 +00:00
Budibase Release Bot 7ead88453b Update pro version to 2.3.13 2023-02-14 15:18:56 +00:00
Budibase Release Bot 75aa71bff9 v2.3.13 2023-02-14 15:15:07 +00:00
mike12345567 7cd28ca4d3 Moving lucene handling to backend-core so that it can be used for other databases (outside row indexes). 2023-02-13 17:13:59 +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 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
Budibase Release Bot 9a2b18073f Update pro version to 2.3.12 2023-02-13 11:27:47 +00:00
Budibase Release Bot 9c597e3398 v2.3.12 2023-02-13 11:23:03 +00:00
Budibase Release Bot b6f48e8731 Update pro version to 2.3.11 2023-02-12 15:43:59 +00:00
Budibase Release Bot 2764544626 v2.3.11 2023-02-12 15:40:20 +00:00
Budibase Staging Release Bot b49a11fd2d Update pro version to 2.3.11-alpha.0 2023-02-10 19:18:13 +00:00