Commit Graph

2100 Commits

Author SHA1 Message Date
mike12345567 9327c0e096 Fix for auth logout test case. 2023-02-24 17:42:22 +00:00
mike12345567 1be17ee3bb Fixing circular dependencies which were blocking tests. 2023-02-24 17:31:58 +00:00
mike12345567 262227bb28 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 17:03:00 +00:00
mike12345567 699d7da4ea Adding test case for PII clear out. 2023-02-24 16:51:04 +00:00
mike12345567 0b013f305f Adding a system for checking audited data in events, so that PII can be removed by posthog processor. 2023-02-24 16:45:33 +00:00
Budibase Staging Release Bot f77c214b0a v2.3.18-alpha.12 2023-02-24 15:51:56 +00:00
mike12345567 3f4ea4b152 Fixing build issue. 2023-02-24 13:55:36 +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 98e6530913 Moving search index to an enum. 2023-02-24 13:15:14 +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 91d09b953d v2.3.18-alpha.10 2023-02-24 10:48:01 +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 76d67319b0 v2.3.18-alpha.8 2023-02-23 14:02:39 +00:00
Rory Powell 744bb9690e Server flaky tests fixes - improving tenancy config 2023-02-23 13:43:27 +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 452c69ee8c v2.3.18-alpha.7 2023-02-23 12:14:21 +00:00
mike12345567 e5aaa5f243 Adding the ability to cleanup users from get functions (default is old behaviour). 2023-02-23 11:28:18 +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
mike12345567 4b6bb111aa Some work to make sure the user agent and ip address are always passed correctly to audit logs. 2023-02-22 16:10:54 +00:00
Budibase Staging Release Bot fd87b260e1 v2.3.18-alpha.6 2023-02-22 13:56:31 +00:00
Budibase Staging Release Bot bd7576c6b3 v2.3.18-alpha.5 2023-02-22 13:33:55 +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 ee49637f6f v2.3.18-alpha.3 2023-02-22 10:10:27 +00:00
Budibase Staging Release Bot 4321a07944 v2.3.18-alpha.2 2023-02-22 08:40:11 +00:00
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
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 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
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 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 c3e4bfe17d v2.3.17-alpha.8 2023-02-21 15:20:48 +00:00
mike12345567 e4c027093f Some DB type updates (typing dump function) and adding in main audit log event publishers. 2023-02-21 14:56:38 +00:00
Budibase Staging Release Bot 88f7f79b22 v2.3.17-alpha.7 2023-02-21 14:39:55 +00:00
Budibase Staging Release Bot 1e58397f7b v2.3.17-alpha.6 2023-02-21 11:52:45 +00:00
Budibase Staging Release Bot f336cec967 v2.3.17-alpha.5 2023-02-21 11:22:46 +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
mike12345567 029c046a3a Minor fixes for friendly audited events, and a new function for comparing app IDs. 2023-02-20 17:20:42 +00:00
Rory Powell bd09914e4e Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00
mike12345567 2fdf8639b1 Updating types for audit logs to correctly handle the deletion of resources like users or apps. 2023-02-17 19:00:45 +00:00
mike12345567 5b6b4c4b9b Finishing up search API, updating typing in lucene layer. 2023-02-17 17:46:49 +00:00
mike12345567 343ff1271d Required work to support the new lucene audit logs search indexing. 2023-02-17 16:26:55 +00:00
Budibase Staging Release Bot 4145478e38 v2.3.17-alpha.4 2023-02-17 14:56:34 +00:00
Budibase Staging Release Bot 383b9b560f v2.3.17-alpha.3 2023-02-17 09:25:55 +00:00
Budibase Staging Release Bot 805f74f92a v2.3.17-alpha.2 2023-02-17 08:32:08 +00:00
Budibase Staging Release Bot 5c22c75429 v2.3.17-alpha.1 2023-02-16 16:52:04 +00:00
Budibase Release Bot a57c922b91 v2.3.17 2023-02-16 16:37:12 +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
Rory Powell f37b921c9b Merge branch 'master' into merge-master-into-develop 2023-02-15 15:16:59 +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
mike12345567 91df9ffbc1 Removing pro from backend-core. 2023-02-15 13:49:30 +00:00
Budibase Release Bot 3566477d01 v2.3.15 2023-02-15 12:57:32 +00:00
mike12345567 a190bd3da7 Update on audit logs, getting the full write flow from events configured. 2023-02-15 12:37: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 d53d727925 v2.3.14 2023-02-15 09:43:10 +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 75aa71bff9 v2.3.13 2023-02-14 15:15:07 +00:00
mike12345567 7bc850f6d8 Some updates to add in the audit log DB. 2023-02-13 18:16:13 +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 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
Budibase Release Bot 9c597e3398 v2.3.12 2023-02-13 11:23:03 +00:00
Budibase Release Bot 2764544626 v2.3.11 2023-02-12 15:40:20 +00:00
Budibase Staging Release Bot 78a458fe5d v2.3.11-alpha.0 2023-02-10 19:14:12 +00:00
mike12345567 720e7019c2 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
Budibase Release Bot bf7e6e3eeb v2.3.10 2023-02-10 15:54:05 +00:00
Budibase Release Bot 060a85bce4 v2.3.9 2023-02-10 13:46:46 +00:00
mike12345567 fc55ef6bf0 Adding mock required for pro. 2023-02-10 13:14:08 +00:00
Budibase Release Bot 8585ac4202 v2.3.8 2023-02-10 11:12:21 +00:00
Budibase Release Bot 43df6c14ad v2.3.7 2023-02-10 09:12:01 +00:00
Budibase Release Bot 3f6923584a v2.3.6 2023-02-09 11:58:13 +00:00
Budibase Release Bot 10d4f80313 v2.3.5 2023-02-07 19:16:07 +00:00
Budibase Release Bot d21ee4eefb v2.3.4 2023-02-07 18:46:27 +00:00
mike12345567 7c44aaaf00 Merge branch 'develop' of github.com:Budibase/budibase into tests/environment-variables 2023-02-07 18:33:07 +00:00
Mateus Badan de Pieri ee73069a51 Merge branch 'develop' into tests/environment-variables 2023-02-07 16:15:57 +00:00
Budibase Release Bot f4b7ca6d7f v2.3.3 2023-02-07 16:11:38 +00:00
Budibase Staging Release Bot eb1989dc20 v2.3.2-alpha.3 2023-02-07 16:01:59 +00:00
Michael Drury 6049897d56
Merge pull request #9368 from Budibase/test/9339-sqlpostgres-row-api-test-suite
Test - #9339 sqlpostgres row api test suite
2023-02-07 15:38:09 +00:00
Budibase Staging Release Bot 8f9e22e715 v2.3.2-alpha.2 2023-02-07 15:32:37 +00:00
Budibase Staging Release Bot a98390416d v2.3.2-alpha.1 2023-02-07 15:02:13 +00:00
Budibase Release Bot a42002afe5 v2.3.2 2023-02-07 13:17:50 +00:00
Budibase Staging Release Bot d43382e598 v2.3.2-alpha.0 2023-02-07 11:56:18 +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 bc0571fe27 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-07 09:54:39 +00:00
Budibase Release Bot 452bf83150 v2.3.1 2023-02-06 20:09:07 +00:00
Adria Navarro 9a8ae45c54 Spin up postgres only on the postgres test 2023-02-06 19:43:08 +00:00