Dean
e1a87f2072
Reverted eval call to direct. Indirect appears to cause issues in cloud
2023-05-26 10:22:28 +01:00
Adria Navarro
2d2d50a5df
Merge branch 'develop' into chore/esbuild
2023-05-18 11:34:11 +02:00
Adria Navarro
3933a3881b
Test dynamodb connection
2023-05-15 17:58:09 +02:00
Adria Navarro
f426ba1ac3
Merge branch 'chore/npmless-builds' into chore/esbuild
2023-05-02 14:56:34 +01:00
mike12345567
5363693ac3
Removing automation logs from app exports as they are not useful - they take up space and the imported app won't have ran any automations yet. I have added it as a flag so that this does not affect backups (as you would want to maintain logs for backups).
2023-04-27 11:36:52 +01:00
mike12345567
361005b521
Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild
2023-04-13 17:23:58 +01:00
adrinr
e8e77cc140
Use esbuild for server
2023-03-31 12:32:41 +01:00
adrinr
8d45e44e2f
Fix types
2023-03-30 11:30:35 +01:00
mike12345567
f070be5f65
Moving search index to an enum.
2023-02-24 13:15:14 +00:00
mike12345567
41eb0c3964
Updating worker db config to have replication available (for audit logs).
2023-02-21 17:22:23 +00:00
mike12345567
6ec5e97ce9
Required work to support the new lucene audit logs search indexing.
2023-02-17 16:26:55 +00:00
adrinr
9bb1a2fa18
Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite
2023-02-06 09:12:13 +00:00
adrinr
420cb36ca7
Replace beforeeach for before alls
2023-02-03 19:02:40 +00:00
adrinr
fe8853580e
Tweak tests
2023-02-03 18:40:25 +00:00
adrinr
9f8522a901
Improve link controller tests
2023-02-03 17:59:15 +00:00
adrinr
4eb0c07953
Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite
2023-02-02 10:12:33 +00:00
adrinr
abe3e2921f
Race conditions
2023-01-31 22:50:52 +00:00
Adria Navarro
7f53cbeca7
Fix types
2023-01-20 09:58:59 +00:00
Adria Navarro
6bc658c1ff
Fix types
2023-01-18 11:50:00 +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
Dean
dc001bc27f
Merge remote-tracking branch 'origin/develop' into fix/sample-data-edit-removed-delete-fixed
2022-11-29 12:54:22 +00:00
Dean
7d0e2c289d
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
12d6e60525
One file left in the server, some fixes after converting the internal row controller.
2022-11-26 15:42:53 +00:00
mike12345567
658f12281d
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
eeebd0fe70
Typescript conversion of linked row controller.
2022-11-25 18:54:57 +00:00
mike12345567
7eac8fafd6
Some server typescript re-writes, only automations left and some controllers.
2022-11-25 15:01:46 +00:00
mike12345567
02ede5d067
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
192c9b56e2
Import refactoring and some review updates.
2022-11-21 15:53:47 +00:00
Dean
0441704c57
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
02a902ebd3
Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource
2022-11-21 11:10:29 +00:00
Dean
e932aa105b
Shifted the budibase datasource constant to backend-core
2022-11-17 16:28:48 +00:00
mike12345567
c6366c573a
Final server test fixes, after all updates to context/removal of context faking.
2022-11-15 19:04:39 +00:00
mike12345567
5f658a0398
Converting further DB layers to TS - fixing mocks.
2022-11-15 18:33:24 +00:00
Dean
f73b4f8b01
Review updates
2022-11-15 17:03:35 +00:00
mike12345567
72c9aadae0
Updating test cases - trying to get everything in order for merge.
2022-11-14 20:25:05 +00:00
Dean
ebccc21e7f
Fixed imports
2022-11-13 22:34:01 +00:00
Dean
ff7a3b8cef
Default Datasource and sample row data
2022-11-13 21:37: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
f5557fd805
Fetching a list of backup/restore events includes the full user object.
2022-10-20 15:05:50 +01:00
Rory Powell
79226777b1
Merge develop
2022-09-28 08:56:45 +01:00
mike12345567
5ba7942282
Moving table, datasource and datasource plus document types into the backend core.
2022-05-25 10:52:19 +01:00
mike12345567
8e704cc70f
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
194b76985c
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
9899781fc5
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
192fb1307e
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
41144db055
Remove remaining direct usage of CouchDB. Add common pouch config to backend-core
2022-04-19 16:45:27 +01:00
Rory Powell
dd9503ac09
Add typescript linting at the top level
2022-03-25 11:17:58 +00:00
mike12345567
7b3318a19e
Switching the basic single row read to use the enrich endpoint.
2022-02-28 12:54:32 +00:00
Rory Powell
02c0c49594
Deprovision and local couch db url fix
2022-02-18 17:36:23 +00:00
Andrew Kingston
d34e57382e
Replace all spaces with underscores in column names rather than just the first one
2022-02-14 10:21:31 +00:00