1
0
Fork 0
mirror of synced 2024-09-21 03:43:21 +12:00
Commit graph

62 commits

Author SHA1 Message Date
Sam Rose
3d590e879e
Rely on withEnv and setEnv functions in respective environment.ts files. 2024-08-09 10:30:27 +01:00
Sam Rose
f3c73fe4a8
Support primitives in feature flags, make flag types flow, remove some obsolete feature flag systems. 2024-07-22 17:43:53 +01:00
mike12345567
0efa1f06ab Moving some stuff around to make way for other services using the sql layers. 2024-05-16 17:33:47 +01:00
mike12345567
4c755b3af3 Improving typing around search, there was duplicates of SearchParams and SearchResponse - which were a little different, bring all of this together under the types library. 2024-03-28 17:57:37 +00:00
jvcalderon
64d3114c9f Refactor: usersUtils -> userUtils 2024-01-18 12:03:26 +01:00
jvcalderon
03f7fb37ed Calculate creators count when group role changes 2024-01-18 11:14:25 +01:00
Adria Navarro
1403f65708 Revert "Add breaking change"
This reverts commit 62e445c1e6.
2024-01-03 13:00:14 +01:00
Adria Navarro
62e445c1e6 Add breaking change 2024-01-03 12:59:05 +01:00
Adria Navarro
59fba524bc Lint 2024-01-02 16:33:00 +01:00
Adria Navarro
c15a917e00 Validate password in backend-core 2024-01-02 12:29:27 +01:00
Adria Navarro
db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Adria Navarro
00f65f396e
Merge branch 'master' into fix/build-references 2023-11-17 14:45:41 +00:00
Adria Navarro
e8abb5cb46 Detect non-barrel workspace usages 2023-11-17 14:39:52 +01:00
Sam Rose
4c7c10b121
Set Redis initialisation back to how it was before I started messing with it. 2023-11-10 16:17:18 +00:00
Sam Rose
94983c289f
Hook redis init flow into overall worker init flow. 2023-11-10 11:39:26 +00:00
Michael Drury
12a7811847
Revert "Reverting changes to bull parameters" 2023-11-03 13:05:23 +00:00
Michael Drury
96534e625f
Revert "Updating bull parameters - help queue stalling" 2023-11-03 12:22:32 +00:00
mike12345567
17b6985f06 Adding a duration utility for changing between time types. 2023-11-01 17:48:13 +00:00
mike12345567
ba5e390b3f Quick PR comments. 2023-08-17 17:44:59 +01:00
mike12345567
249625ad1a Updating backend tests to actually utilise the redis container which is spun up as part of the tests, doing away with the somewhat problematic ioredis-mock which was breaking some tests due to the addition of the changes for multi-dev collab. 2023-05-31 17:18:01 +01:00
Michael Drury
ff98ba5a0a Adding a document update queue based on the events which can be used to track when certain documents have changed, using this for users and groups to detect when a re-sync is needed. 2023-04-04 00:25:15 +01:00
Rory Powell
d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
mike12345567
cf5316ec8d General fixes for open handles, attempting to find and close all issues in server which are stopping shutdown of Jest suite. 2023-03-27 19:38:49 +01:00
mike12345567
564c724be1 Provides the option for blacklisting IPs. 2023-03-08 16:30:26 +00:00
mike12345567
2fb33e2cf3 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-27 14:51:33 +00:00
mike12345567
d6b0b7610a Fixing circular dependencies which were blocking tests. 2023-02-24 17:31:58 +00:00
Rory Powell
d3a7286711 Configs updates: remove circular deps, dedicated module, typing improvements, reduce db reads 2023-02-23 13:41:35 +00:00
mike12345567
ef30c03fa6 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-21 17:26:24 +00:00
mike12345567
05ceee1cfe 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
ae9979929a Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
Rory Powell
fba7ef26ad 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
d6e9380c06 General work after running some tests in CI - general refactoring as well. 2022-11-28 17:54:04 +00:00
mike12345567
d3c4c99e16 Complete conversion of backend-core to Typescript. 2022-11-24 18:48:51 +00:00
mike12345567
bc857d7bb8 PR comments - still experiencing build issues. 2022-11-17 13:31:54 +00:00
mike12345567
535fab7997 Some major reworks towards higher levels of typescript. 2022-11-16 17:23:12 +00:00
mike12345567
3f6cdd787c Replacing CLS with local-storage, simplified usage which should remove the memory leak permenantly. 2022-11-14 18:00:20 +00:00
mike12345567
bc94f20794 Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00
mike12345567
c744d23832 Major update - removing the use of context for PouchDB instances, swapping knowledge of PouchDB to the PouchLike structure that replaces it. 2022-11-09 16:53:42 +00:00
mike12345567
a24694a4ea Refactoring a lot of content around webhooks to Typescript, as well as fixing webhooks and automation app IDs on import of new app. 2022-10-25 18:19:18 +01:00
mike12345567
35525bfedd Moving queue implementation into backend-core - so that pro can access. 2022-10-13 17:27:04 +01:00
Rory Powell
84685d3340 Add locking framework 2022-10-10 08:21:17 +01:00
mike12345567
c382b86fb2 Self API in worker conversion to typescript. 2022-09-22 14:09:20 +01:00
Rory Powell
8cfd6a9faa Merge branch 'develop' into feature/day-pass-pricing 2022-09-15 08:55:33 +01:00
NEOLPAR
171970108e fix build error exporting and declaring plugins 2022-09-09 12:01:04 +01:00
Rory Powell
59a53736ac update bulk create and bulk delete backend 2022-08-25 19:41:47 +01:00
Rory Powell
8fc8308530 Merge branch 'develop' into feature/day-pass-pricing 2022-08-19 14:08:03 +01:00
Rory Powell
76e18fb6de Support tiered pricing for day passes and update upgrade UI 2022-08-16 12:13:47 +01:00
mike12345567
b803a3fd93 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
mike12345567
52d16d1099 Updating sessions to TS, adding env var to set the session update length, adding reasons for invalidation, making sure errors are never considered authenticated. 2022-08-05 17:13:03 +01:00
mike12345567
cfe3db835b Updating pino logging to remove health check spam. 2022-08-04 20:23:45 +01:00