mike12345567
114dd50dca
Getting proper tenant ID for use by audit logs queue.
2023-03-02 13:39:26 +00:00
mike12345567
d4c7fd100d
Minor fix for audit log system - after the switch to use an async queue for handling of audit log storage, context was lost - in multi-tenant environments need to carry the tenant ID into the queue job so that context can be applied.
2023-03-01 16:38:19 +00:00
mike12345567
706b78b243
Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs
2023-02-27 14:51:33 +00:00
mike12345567
827c7cef4a
Moving is audited and adding in env var for ip address/user agent auditing.
2023-02-27 11:42:52 +00:00
mike12345567
35b670e3ac
Further PR comments.
2023-02-27 11:00:13 +00:00
mike12345567
0debbe759c
Fix based on test cases.
2023-02-24 19:04:40 +00:00
mike12345567
9327c0e096
Fix for auth logout test case.
2023-02-24 17:42:22 +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
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
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
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
mike12345567
5518d8d336
Adding new mechanism to get the ipAddress and userAgent of call for audit logs.
2023-02-21 19:14:57 +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
e4c027093f
Some DB type updates (typing dump function) and adding in main audit log event publishers.
2023-02-21 14:56:38 +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
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
mike12345567
91df9ffbc1
Removing pro from backend-core.
2023-02-15 13:49:30 +00:00
mike12345567
a190bd3da7
Update on audit logs, getting the full write flow from events configured.
2023-02-15 12:37:32 +00:00
Rory Powell
1dc3d44a44
Enable higher concurrency and resiliency in worker tests
2023-02-13 11:57:30 +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
mike12345567
1387eedf7a
Adding events for environment variables (created, deleted, upgrade panel opened).
2023-01-23 18:18:06 +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
Gerard Burns
36f9bd8d71
JSON import changes ( #9288 )
...
* JSON import changes
* Fix lockfiles
* PR Feedback, fix tests
* fix tests
* pr feedback
2023-01-17 15:07:52 +00:00
Dean
9aeca2ad08
Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/user-onboarding-overlays
2023-01-13 09:22:41 +00:00
Dean
5ceac908cc
Merge commit
2023-01-13 09:20:55 +00:00
Rory Powell
6b2b46cc4a
Correlation id's and log context ( #7232 )
...
* Correlation id's and log context
* fix build
* Remove redundant fields from LoggingProcessor.ts
* Only log correlation id when present e.g. this is not present on startup / shutdown / automations
2023-01-11 20:39:33 +00:00
Rory Powell
0b2a445a9a
Replace ts-jest with swc/jest ( #9289 )
...
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00
mike12345567
b5b74b9cad
General work after running some tests in CI - general refactoring as well.
2022-11-28 17:54:04 +00:00
mike12345567
4868083208
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
ea66f7ac38
Disabling js interop in Typescript build of backend-core and worker, fixing build issues.
2022-11-26 14:46:01 +00:00
mike12345567
a38d617138
Complete conversion of backend-core to Typescript.
2022-11-24 18:48:51 +00:00
mike12345567
5aa1f94cfe
Merge branch 'master' of github.com:Budibase/budibase into develop
2022-11-21 15:05:48 +00:00
mike12345567
fd80ceed6e
Adding IDs to backup events.
2022-11-21 12:12:57 +00:00
mike12345567
33827af592
Adding type to triggered.
2022-11-17 23:09:49 +00:00
Michael Drury
027eda2231
PR comments.
2022-11-17 19:38:47 +00:00
mike12345567
575a64d32a
Adding an event for when a backup is triggered.
2022-11-17 17:15:35 +00:00
mike12345567
4f64798ada
Updating middlewares to Typescript, as well as some fixes based on running tests.
2022-11-16 17:24:13 +00:00
mike12345567
b0f6224c18
Some major reworks towards higher levels of typescript.
2022-11-16 17:23:12 +00:00
Rory Powell
2212305f08
Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates
2022-11-14 22:55:47 +00:00
mike12345567
6edffb0d5e
Addressing majority of PR comments.
2022-10-24 10:04:14 +01:00
mike12345567
0ca72f99d1
Adding statistics output for backups.
2022-10-19 16:48:32 +01:00
mike12345567
0cfb1a9f74
Adding in required events for app backup system.
2022-10-17 15:26:09 +01:00
mike12345567
76114aa621
Merge branch 'develop' of github.com:Budibase/budibase into group-fixes
2022-09-22 18:44:16 +01:00
Rory Powell
903808c0d3
License analytics
2022-09-21 15:45:29 +01:00
mike12345567
a1c7e60dfa
Adding a user core bulk update function.
2022-09-21 13:55:10 +01:00