mike12345567
1387eedf7a
Adding events for environment variables (created, deleted, upgrade panel opened).
2023-01-23 18:18:06 +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
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
mike12345567
d7f38a38bc
Adding types for plugin events, specifically for plugin init, import and deletion, this is across the CLI and the server.
2022-09-14 17:35:46 +01:00
Rory Powell
a519eb0cdc
update bulk create and bulk delete backend
2022-08-25 19:41:47 +01:00
Rory Powell
3e0cab64f5
Add timezone to served events
2022-08-10 11:29:11 +01:00
Rory Powell
4525cf4c6e
Trigger served events on ping endpoint
2022-08-10 11:01:54 +01:00
Rory Powell
1a31dff984
Rename async to emit
2022-08-09 14:01:55 +01:00
Rory Powell
cf37563c89
Fix served events
2022-08-09 13:31:12 +01:00
Rory Powell
b093b18e6a
Support per app events
2022-08-08 16:22:26 +01:00
Rory Powell
ae342910c2
Rate limit served:X events
2022-08-08 15:44:29 +01:00
Rory Powell
d123a4de25
Reduce event frequency
2022-08-08 10:47:39 +01:00
Peter Clement
e468f83902
adding tests and pr comments
2022-07-27 10:20:39 +01:00
Peter Clement
0c831f369d
refactor groups into pro and some other pr comments
2022-07-26 20:04:29 +01:00
Peter Clement
c5b9be60c7
Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab
2022-07-19 11:23:31 +01:00
Peter Clement
dfdee4d271
lint
2022-07-18 12:33:56 +01:00
Rory Powell
917cbbb6b1
WIP: Memory leak fix
2022-07-13 08:22:21 -04:00
Rory Powell
acbb411a0a
Ensure tests can't send events even when token is set
2022-06-15 14:09:02 +01:00
Rory Powell
7283e01442
Add deployment environment to identities
2022-06-15 11:46:03 +01:00
Rory Powell
4cfedf7252
Better handle first time startup + dedicated event
2022-06-15 11:20:13 +01:00
Rory Powell
cfad5af382
Add hosting to all identities and events, add installationId to tenant group
2022-06-14 17:34:32 +01:00
Rory Powell
eb0214a231
Back populate no-op migrations on new app and tenant create
2022-06-13 10:51:29 +01:00
Rory Powell
090fdb58e0
app id fixes
2022-06-01 15:17:49 +01:00
Rory Powell
b570563d41
Default to historical timestamp
2022-06-01 14:44:12 +01:00
Rory Powell
bf9c6cbc42
Add awareness of deployment environment
2022-06-01 14:10:00 +01:00
Rory Powell
429f379431
Failover protection with event cache
2022-05-31 21:04:41 +01:00
Rory Powell
fd845284d3
Lots of failure handling and caching
2022-05-30 21:46:08 +01:00
Rory Powell
9610d8f1e7
Identity tenant and installation groups, property updates
2022-05-28 21:38:22 +01:00
Rory Powell
398a4e7034
Installation identities, upgrade / downgrade events, filling in more event properties
2022-05-26 23:57:14 +01:00
Rory Powell
cbc3e72757
app and account properties, add account details to all user and tenant identities
2022-05-26 10:13:26 +01:00
Rory Powell
163b667f95
Historical timestamps
2022-05-25 21:32:08 +01:00