mike12345567
98e6530913
Moving search index to an enum.
2023-02-24 13:15:14 +00:00
mike12345567
00e3365847
Updating worker db config to have replication available (for audit logs).
2023-02-21 17:22:23 +00:00
mike12345567
343ff1271d
Required work to support the new lucene audit logs search indexing.
2023-02-17 16:26:55 +00:00
adrinr
1f00989109
Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite
2023-02-06 09:12:13 +00:00
adrinr
f64bf4e0d8
Replace beforeeach for before alls
2023-02-03 19:02:40 +00:00
adrinr
50c1fc0237
Tweak tests
2023-02-03 18:40:25 +00:00
adrinr
c2642b8f7d
Improve link controller tests
2023-02-03 17:59:15 +00:00
adrinr
7c38749131
Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite
2023-02-02 10:12:33 +00:00
adrinr
5253f68d61
Race conditions
2023-01-31 22:50:52 +00:00
Adria Navarro
6d5a8bba84
Fix types
2023-01-20 09:58:59 +00:00
Adria Navarro
d91634b6d0
Fix types
2023-01-18 11:50:00 +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
Dean
d6e88ae6b4
Merge remote-tracking branch 'origin/develop' into fix/sample-data-edit-removed-delete-fixed
2022-11-29 12:54:22 +00:00
Dean
c1e1ba51f3
Disabled the ability to rename the Sample Data datasource. Updated the backend to ensure that renaming doesn't alter its structure and block deletion
2022-11-28 17:25:10 +00:00
mike12345567
3aed49778f
One file left in the server, some fixes after converting the internal row controller.
2022-11-26 15:42:53 +00:00
mike12345567
4868083208
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
17865a5ef4
Typescript conversion of linked row controller.
2022-11-25 18:54:57 +00:00
mike12345567
0c73662f32
Some server typescript re-writes, only automations left and some controllers.
2022-11-25 15:01:46 +00:00
mike12345567
6f6d000cb8
Finally removing all usages of backend-core/ type imports from server, including some further typescript conversions.
2022-11-22 19:49:59 +00:00
Dean
ce1ddb4458
Import refactoring and some review updates.
2022-11-21 15:53:47 +00:00
Dean
a123e65e78
Import fixes for backend core constants. Minor name change for default data source from Test DB to Sample Data
2022-11-21 12:47:36 +00:00
Dean
4a94ef8bf9
Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource
2022-11-21 11:10:29 +00:00
Dean
2d81f516e0
Shifted the budibase datasource constant to backend-core
2022-11-17 16:28:48 +00:00
mike12345567
cca1b59c76
Final server test fixes, after all updates to context/removal of context faking.
2022-11-15 19:04:39 +00:00
mike12345567
8b2cfd9dfa
Converting further DB layers to TS - fixing mocks.
2022-11-15 18:33:24 +00:00
Dean
f082e4596c
Review updates
2022-11-15 17:03:35 +00:00
mike12345567
1af47003c5
Updating test cases - trying to get everything in order for merge.
2022-11-14 20:25:05 +00:00
Dean
355419a722
Fixed imports
2022-11-13 22:34:01 +00:00
Dean
00545ee884
Default Datasource and sample row data
2022-11-13 21:37:50 +00:00
mike12345567
bbc8965d55
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
0478d9b154
Fetching a list of backup/restore events includes the full user object.
2022-10-20 15:05:50 +01:00
Rory Powell
9af16738e5
Merge develop
2022-09-28 08:56:45 +01:00
mike12345567
62bc2f2be3
Moving table, datasource and datasource plus document types into the backend core.
2022-05-25 10:52:19 +01:00
mike12345567
7b461c03dd
Fixing issue #5778 - making sure to only remove the first app_ element of the app ID.
2022-05-09 12:29:44 +01:00
mike12345567
6880e7bde9
Fix for #5269 - the sub type was being lost in some scenarios related to the user table being updated - making sure it is consistently kept when dealing with either of the related tables.
2022-04-26 14:24:51 +01:00
mike12345567
7792a07899
Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes.
2022-04-20 17:33:42 +01:00
mike12345567
ea6f580501
Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them.
2022-04-19 19:42:52 +01:00
Rory Powell
769f48f935
Remove remaining direct usage of CouchDB. Add common pouch config to backend-core
2022-04-19 16:45:27 +01:00
Rory Powell
70c54e983d
Add typescript linting at the top level
2022-03-25 11:17:58 +00:00
mike12345567
172850ae87
Switching the basic single row read to use the enrich endpoint.
2022-02-28 12:54:32 +00:00
Rory Powell
d9ead48c59
Deprovision and local couch db url fix
2022-02-18 17:36:23 +00:00
Andrew Kingston
d6e568dbe3
Replace all spaces with underscores in column names rather than just the first one
2022-02-14 10:21:31 +00:00
Michael Drury
91c2a40c89
Final pass refactoring - need to test but all code in server converted.
2022-01-28 00:05:39 +00:00
mike12345567
40c6eb2007
Main body of work, refactoring most usages.
2022-01-27 18:18:31 +00:00
mike12345567
836a2f5863
Switching out @budibase/auth to @budibase/backend-core.
2022-01-10 19:33:00 +00:00
mike12345567
b0ef15684b
Adding query save, fixing routing to handle existing rest queries, adding in full saving of enabled headers functionality, fixing various issues discovered while testing.
2021-12-07 18:24:10 +00:00
mike12345567
4794a5374e
Fixing an issue with user metadata not always being present when user accessing app, causing weird issues.
2021-10-21 17:23:10 +01:00
mike12345567
ccd2913857
Final cleanup, just need to handle view migration (to self host from cloud).
2021-09-29 17:43:16 +01:00
mike12345567
8f70ad9cdc
Performance improvements after testing - switching to temporary in memory queries for cloud views.
2021-09-21 15:59:50 +01:00
mike12345567
0651b874ac
Fixing issues with automation steps found during testing.
2021-09-20 19:21:04 +01:00