mike12345567
2b96de3c30
Merge branch 'master' of github.com:Budibase/budibase into fix/backups-remove-automation-logs
2023-10-31 10:38:07 +00:00
Michael Drury
9643d9c0e2
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column
2023-10-30 17:41:44 +00:00
mike12345567
41d99f6a58
Updating app backup exports to not include automation logs as these bloat the backups.
2023-10-30 17:41:08 +00:00
Sam Rose
af59039d1c
Add tests for attachment processing endpoint.
2023-10-30 16:46:27 +00:00
Michael Drury
c0a9b0a678
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column
2023-10-27 13:36:52 +01:00
mike12345567
854ff47e1c
Final fix - removing external from create table (internal).
2023-10-26 18:36:07 +01:00
mike12345567
e12cef305a
Fixing export.
2023-10-26 18:34:21 +01:00
mike12345567
983091e901
Fix for tests - row.spec.ts needs to pick correct table create.
2023-10-26 18:21:06 +01:00
mike12345567
d0f989597a
Updating tests to be more consistent in how they pick to create an internal or external table.
2023-10-26 17:27:54 +01:00
mike12345567
19eaafd946
Fixing some test cases.
2023-10-26 16:32:34 +01:00
melohagan
9616e8e551
Custom role navigation links ( #12056 )
...
* Refactor routing unit tests
* Filter out higher level roles in preview
* unit test
* Refactor
---------
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-10-26 15:28:12 +00:00
mike12345567
ed0670a008
Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things.
2023-10-26 13:19:09 +01:00
mike12345567
455b26bac9
Making sure the source ID is always set when creating a table - the frontend expects this to be set for every table so making the type represent this correctly.
2023-10-25 19:00:25 +01:00
Sam Rose
78afba63de
Emit table updates to the builder socket, and some minor refactoring.
2023-10-25 11:03:35 +01:00
Sam Rose
febfab0927
Fix tests/types.
2023-10-23 10:48:10 +01:00
Sam Rose
9dd16381a7
Merge base branch.
2023-10-23 09:52:17 +01:00
Sam Rose
a3ad8780de
Implement many-to-many user column migrations.
2023-10-19 17:28:55 +01:00
Sam Rose
6ae5451fdf
Create failing test.
2023-10-18 16:56:55 +01:00
mike12345567
cef71ff708
Adding test cases for navbar update.
2023-10-13 18:03:10 +01:00
Sam Rose
c76e110350
Add BulkImportResponse as a type after merging Adri's type changes.
2023-10-11 16:58:24 +01:00
Sam Rose
123f96db12
Pull origin, resolve merge conflicts.
2023-10-11 16:49:34 +01:00
Sam Rose
a0e9abb95b
Responding to PR feedback.
2023-10-11 16:45:02 +01:00
Adria Navarro
248c44ac2a
Fix relationship field metadata
2023-10-11 12:55:23 +02:00
Adria Navarro
40226c5c3a
Fix more types
2023-10-10 18:54:57 +02:00
Adria Navarro
8c99ac3f9b
Test search
2023-09-28 10:00:25 +02:00
Adria Navarro
a87e3dd0fc
Extra tests
2023-09-28 10:00:25 +02:00
mike12345567
e916178046
Adding test case for new endpoint and covering public, builder and normal roles.
2023-09-27 15:46:04 +01:00
mike12345567
85887d0371
Adding test case for app import functionality.
2023-09-20 18:25:34 +01:00
Adria Navarro
d1e1ad4930
Revert TestConfiguration changes
2023-09-13 16:33:04 +02:00
Adria Navarro
9c6e880479
Fix update datasource test helper
2023-09-13 15:03:21 +02:00
Adria Navarro
142fb18c17
Fix tests
2023-09-13 14:09:48 +02:00
Adria Navarro
6bae382d81
Fix tests
2023-09-13 12:23:59 +02:00
Adria Navarro
cf74f19381
Use test api
2023-09-13 10:13:54 +02:00
Adria Navarro
4d12ee53da
LegacyView test api
2023-09-13 09:59:17 +02:00
Adria Navarro
14259c82f3
Use test api
2023-09-13 09:57:41 +02:00
Adria Navarro
b5e6b42db2
Reuse tables
2023-09-12 20:40:00 +02:00
Adria Navarro
458de1282e
Use api for testing
2023-09-12 20:17:21 +02:00
Adria Navarro
f0872c1fa3
Improve api
2023-09-12 19:59:37 +02:00
Adria Navarro
fccb2f625c
Use configs
2023-09-12 19:39:40 +02:00
Adria Navarro
3843581e56
Unify
2023-09-12 19:31:58 +02:00
Adria Navarro
cb762cc336
Use api for testing
2023-09-12 19:03:30 +02:00
Adria Navarro
b63b61655b
Fixes
2023-09-08 15:54:27 +02:00
Adria Navarro
9e799c6b93
Legacy views tests
2023-09-08 10:43:19 +02:00
Adria Navarro
e2b8226de1
Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest
2023-09-08 09:11:27 +02:00
Adria Navarro
1c8060272d
Fix import
2023-09-06 01:49:54 +02:00
Adria Navarro
14303c9eb0
Extend test create api
2023-09-05 11:41:30 +02:00
Adria Navarro
e4479ee522
Use docker utils helpers
2023-09-04 19:05:04 +02:00
Adria Navarro
8931309669
Datasource test api
2023-09-04 18:53:32 +02:00
Adria Navarro
cb6977a18b
Create non-plus datasource
2023-09-04 17:01:49 +02:00
Adria Navarro
122cd843ab
Type ds in testconfiguration
2023-09-04 16:25:34 +02:00
Adria Navarro
900c773ce9
Renamings
2023-09-04 12:17:37 +02:00
Adria Navarro
cefb57d78a
Merge branch 'develop' into views-v2-frontend
2023-08-30 15:12:56 +02:00
Andrew Kingston
a22fc8d208
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-24 12:07:23 +01:00
Adria Navarro
12be5a3d83
Setuo init pro mocks
2023-08-24 11:47:51 +02:00
Adria Navarro
972cc9916b
Add inheritance tests
2023-08-24 09:39:38 +02:00
Adria Navarro
e4feb64fe5
Use extracted functions
2023-08-22 12:19:20 +03:00
Adria Navarro
d8473b4a23
Renames
2023-08-22 12:09:21 +03:00
Adria Navarro
1283431b32
Move permissions get into the config api
2023-08-22 12:06:44 +03:00
Adria Navarro
10e0abec3e
Test deleting when forbidden
2023-08-22 10:30:12 +03:00
Adria Navarro
96f9a34136
Test adding when forbidden
2023-08-22 10:26:46 +03:00
Adria Navarro
f1232eac90
Add permission api to testconfig
2023-08-22 10:24:43 +03:00
Andrew Kingston
6d46fb2963
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-21 11:57:28 +01:00
mike12345567
7110351bdc
Revert "revert develop into master"
...
This reverts commit fd099658a0
.
2023-08-18 14:33:21 +01:00
mike12345567
95b8a4ea10
Adding feature flagging, the option to only start the automations, or the API, meaning we can split the service if needed.
2023-08-17 16:39:25 +01:00
mike12345567
4bbae677b2
Updating tests/search to handle no schema means no data, rather than all data.
2023-08-14 12:44:05 +01:00
mike12345567
0abd1deb34
Updating test cases, fixes based on running through view/row API.
2023-08-08 13:19:22 +01:00
Adria Navarro
464ba92b47
Fix tests
2023-08-03 14:32:03 +03:00
Adria Navarro
d28120de3a
Make search a post request
2023-08-03 04:58:37 +02:00
Adria Navarro
624dc5ff26
Merge branch 'develop' into BUDI-7189/split_fields_and_ui
2023-08-01 11:59:18 +02:00
Adria Navarro
c425194a85
Check schemas on patch
2023-08-01 11:38:36 +02:00
Adria Navarro
b528257bbe
Change viewrequest to accept schema
2023-08-01 10:45:00 +02:00
Adria Navarro
3335c86a84
Delete row from view
2023-07-31 16:14:14 +02:00
Adria Navarro
d1ad443d18
Patch
2023-07-31 15:41:13 +02:00
Adria Navarro
eaa7d9bf81
trimViewRowInfo middleware and api test
2023-07-31 12:03:03 +02:00
Adria Navarro
77c2ce590c
Use test api for patch
2023-07-26 13:55:02 +02:00
Adria Navarro
783e8a5b08
Change url to include the id
2023-07-25 19:34:52 +02:00
Adria Navarro
9235afb5d9
Test updating v1
2023-07-25 15:49:32 +02:00
Adria Navarro
2412056292
Update basic test
2023-07-25 15:34:25 +02:00
Adria Navarro
76d32b40fd
Merge pull request #11286 from Budibase/BUDI-7189/create_view_schema_endpoint
...
Return schema from table endpoint
2023-07-24 15:42:03 +01:00
Adria Navarro
3f2fa1a8dc
Remove view endpoint
2023-07-24 15:17:04 +02:00
Adria Navarro
22dd218b1a
Fetch schema
2023-07-24 15:17:04 +02:00
Adria Navarro
46cb7c7117
Table tests to ts
2023-07-24 15:17:04 +02:00
Adria Navarro
f3f0ee0959
Return view schema endpoint
2023-07-24 15:17:04 +02:00
Adria Navarro
1760980aad
Allow overriding default sort
2023-07-24 15:16:31 +02:00
Adria Navarro
56e6d48ec7
Remove :tableid from view create
2023-07-24 15:15:44 +02:00
Adria Navarro
6d973ce99a
Infer table on search
2023-07-24 15:15:44 +02:00
Adria Navarro
36b82681ff
Remove tableid from remove view url
2023-07-24 15:15:44 +02:00
Adria Navarro
ac0ae34808
Fix search
2023-07-24 15:15:44 +02:00
Adria Navarro
d6121d1504
Remove fetch view
2023-07-24 15:15:44 +02:00
Adria Navarro
56ee61d76c
Remove get from delete tests
2023-07-24 15:15:44 +02:00
Adria Navarro
76f89e10d3
Create/delete, save to table
2023-07-24 15:15:44 +02:00
Adria Navarro
b82876b147
Remove view fetch logic
2023-07-24 15:15:44 +02:00
Adria Navarro
ebd93eb109
Persist queries on crud views
2023-07-24 15:15:43 +02:00
Adria Navarro
6809bb4510
Use api for view search tests
2023-07-24 15:15:43 +02:00
Adria Navarro
2feb22ef64
Use api for viewv2 tests
2023-07-24 15:15:43 +02:00
Adria Navarro
8478816eef
Clean
2023-07-24 15:15:43 +02:00
Adria Navarro
a42f6753de
Clean
2023-07-24 15:15:43 +02:00
Adria Navarro
e71d883dfd
Change status codes
2023-07-24 15:15:43 +02:00
Adria Navarro
1e6a65d4e9
Extract viewapi to its own file
2023-07-24 15:15:43 +02:00
Adria Navarro
7140df6ed3
Better typing responses
2023-07-24 15:15:43 +02:00
Adria Navarro
5731b26079
Namespacing
2023-07-24 15:15:43 +02:00
Adria Navarro
f7452aa7fa
Extract test utils
2023-07-24 15:15:43 +02:00
Adria Navarro
7f3de5d40e
Move view code to test config
2023-07-24 15:15:43 +02:00
Adria Navarro
81e847daeb
Rename tests
2023-07-24 15:15:43 +02:00
Adria Navarro
85aa105972
Type row tests
2023-07-13 12:17:24 +02:00
Michael Drury
f7cdf5f2bc
Merge pull request #11001 from Budibase/feature/custom-role-readable-ids
...
Custom roles - readable IDs
2023-06-27 16:17:08 +01:00
mike12345567
4d2aa2a67b
PR comments.
2023-06-27 12:45:00 +01:00
mike12345567
47260f23bf
PR comments.
2023-06-27 10:01:06 +01:00
mike12345567
7e79c827a7
Test fixes, as well as issue discovered by test around _id generation and event triggering.
2023-06-26 19:10:04 +01:00
mike12345567
3eff4d85d0
Adding a test case for the removal of automation logs from app sync, as well as adding to the publish/sync filter a check to not carry over automation logs.
2023-06-26 18:52:15 +01:00
mike12345567
ced1dd95c7
Updating roles tests to make sure ID always valid.
2023-06-26 16:35:16 +01:00
Peter Clement
986348f511
sync automation tests
2023-05-23 15:55:25 +01:00
Michael Drury
42c37eea46
Merge pull request #10276 from Budibase/labday/automation-plugins
...
Automation step plugins
2023-04-18 17:33:25 +01:00
mike12345567
23e99ca4b7
Adding group and user tests for user sync.
2023-04-12 19:59:05 +01:00
mike12345567
ac37d00f69
Updating plugins to have a SDK, which can be used for automation action retrieval as well as datasources.
2023-04-11 16:37:26 +01:00
Michael Drury
1c7c06e983
Bulk of the automation plugin system, supporting custom plugins.
2023-04-10 23:48:54 +01:00
Adria Navarro
cfb93063b2
Merge pull request #10153 from Budibase/budi-6803-delete-users-when-group-removed
...
BUDI-6803 - Remove users that should not be there anymore when syncGlobalUsers
2023-03-31 13:15:11 +02:00
adrinr
48b964378b
Remove all app cookie references (not really needed anymore)
2023-03-31 09:01:40 +01:00
adrinr
4cb6b99982
Types
2023-03-29 16:42:55 +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
82286d519f
Fixing some issues with test cases.
2023-03-21 17:27:31 +00:00
Rory Powell
e116941750
Rotatable secrets ( #9982 )
...
* Rotatable secrets
* Set new api encryption key var
* Lint
* Use fallback keys instead of array
* Point api encryption key to dedicated value
* Add API_ENCRYPTION_KEY to cli
* Lint + add api encryption key to env files
2023-03-13 15:02:59 +00:00
Martin McKeaveney
26660b12fb
PR comments
2023-03-06 10:33:49 +00:00
Rory Powell
4e1bebe897
Server flaky tests fixes - improving tenancy config
2023-02-23 13:43:27 +00:00
Rory Powell
a57f0c9dea
Merge branch 'develop' into rory/february
2023-02-20 09:57:17 +00:00
Rory Powell
ae9979929a
Enable higher concurrency and resiliency in worker tests
2023-02-13 11:57:30 +00:00
mike12345567
7def2059f7
Updating test case which has been occasionally throwing 409 issues.
2023-02-10 18:29:29 +00:00
Mateus Badan de Pieri
89bad2d45a
Merge branch 'develop' into tests/environment-variables
2023-02-07 16:15:57 +00:00
adrinr
452147c308
Cleanup tests
2023-02-07 12:45:41 +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
4cab97b8ab
Improve automation tests
2023-02-03 17:49:21 +00:00
adrinr
4a8db61b6b
Fix automation timeouts
2023-02-03 16:28:29 +00:00
adrinr
2e29ac9ec7
Rename name for id
2023-02-03 12:09:56 +00:00
adrinr
4b4b9cce08
Fix ts
2023-02-03 11:30:30 +00:00
adrinr
5d58fc5948
Dry
2023-02-03 11:28:27 +00:00
adrinr
a80fc4aaa8
Remove isDockerisedTest
2023-02-02 10:50:20 +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
c7d0a077be
Replace faker for chance
2023-02-01 17:11:50 +00:00
adrinr
2ab3680538
Fix installation race conditions
2023-01-31 17:27:25 +00:00
adrinr
abdd658012
Prepopulate dbs
2023-01-31 16:51:08 +00:00
mike12345567
263d588191
Environment variable test base.
2023-01-31 15:27:16 +00:00
Adria Navarro
16e53957bc
Merge branch 'develop' into feature/dependencies-image
2023-01-30 18:54:05 +00:00
Rory Powell
da2c809a09
Merge branch 'develop' into feature/environment-variables
2023-01-27 11:27:11 +00:00
mike12345567
b38399cb74
Adding test cases as per PR comments.
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
b94546b1a1
Fix user test
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
33f1628000
Fix issues with parallel tests and self/cloud modes
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
6a4fe1d5e6
Fix automation test
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
9242470f6f
Fix snapshots test
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
a54c1a1647
Set expected id
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
067462f458
Use multitenancy for tests
2023-01-26 18:20:21 +00:00
mike12345567
697cd8b4ea
Adding test cases as per PR comments.
2023-01-25 18:27:58 +00:00
Adria Navarro
6259ffad3b
Wipe db before tests
2023-01-24 18:51:15 +00:00
Adria Navarro
9371f19419
Remove mocks
2023-01-24 17:48:49 +00:00
Adria Navarro
46994a45f9
Update openapi specs
2023-01-20 12:12:59 +00:00
Adria Navarro
27171e7680
Extra typings
2023-01-20 11:48:11 +00:00
Adria Navarro
62b372ce59
Fix broken tests
2023-01-20 10:29:11 +00:00
Adria Navarro
bcfb0f3727
Change tests to use internal apis
2023-01-19 17:23:48 +00:00
Adria Navarro
e13433557a
Add search test
2023-01-19 11:00:51 +00:00
Adria Navarro
233f54f036
Add update test
2023-01-18 17:11:52 +00:00
Adria Navarro
4ae43f1a96
Retrieve row test
2023-01-18 16:46:40 +00:00
Adria Navarro
6bc658c1ff
Fix types
2023-01-18 11:50:00 +00:00
Adria Navarro
1d66110d01
More typings
2023-01-18 10:45:42 +00:00
Adria Navarro
cc930097a8
Implement test
2023-01-17 17:39:59 +00:00
Adria Navarro
89e0610600
Add basic test
2023-01-17 17:22:31 +00:00
Adria Navarro
da8f7eff6c
Delete apps on end
2023-01-17 10:28:51 +00:00
Adria Navarro
343a19250b
Typing supertest parameters
2023-01-16 15:35:41 +00:00
mike12345567
fc5f6ca530
Adding the ability to store environment variables to context, to make them more easily available/re-usable, as well as exposing them to queries.
2023-01-13 19:53:46 +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
Martin McKeaveney
84ab7862d1
fixes for google sheets, admin checklist, and deleting an app from API ( #8846 )
...
* fixes for google sheets, admin checklist, and deleting an app from API
* code review
* splitting unpublish endpoint, moving deploy endpoint to applications controller. Still to do public API work and move deployment controller into application controller
* updating REST method for unpublish in API test
* unpublish and publish endpoint on public API, delete endpoint unpublishes and deletes app
* removing skip_setup from prodAppDb call
* removing commented code
* unit tests and open API spec updates
* unpublish, publish unit tests - delete still in progress
* remove line updating app name in API test
* unit tests
* v2.1.46
* Update pro version to 2.1.46
* v2.2.0
* Update pro version to 2.2.0
* Fix for budibase plugin skeleton, which utilises the old import style.
* Fix side nav styles
* v2.2.1
* Update pro version to 2.2.1
* using dist folder to allow importing constants for openAPI specs
* v2.2.2
* Update pro version to 2.2.2
* Fix for user enrichment call (updating to @budibase/nano fork) (#9038 )
* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.
* Incrementing Nano version to attempt to fix yarn registry issues.
* v2.2.3
* Update pro version to 2.2.3
* Fix SQL table `_id` filtering (#9030 )
* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field
* Remove like operator from internal tables and only allow basic operators on SQL table _id column
* Update data section filtering to respect new rules
* Update automation section filtering to respect new rules
* Update dynamic filter component to respect new rules
* v2.2.4
* Update pro version to 2.2.4
* lock changes (#9047 )
* v2.2.5
* Update pro version to 2.2.5
* Make looping arrow point in right direction (#9053 )
* v2.2.6
* Update pro version to 2.2.6
* Types/attaching license to account (#9065 )
* adding license type to account
* removing planDuration
* v2.2.7
* Update pro version to 2.2.7
* Environment variable type coercion fix (#9074 )
* Environment variable type coercion fix
* Update .gitignore
* v2.2.8
* Update pro version to 2.2.8
* tests passing
* all tests passing, updates to public API response
* update unpublish call to return 204, openAPI spec and unit
* fixing API tests
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-19 13:18:00 +00:00
Peter Clement
9d841bc947
Server and Worker tests ( #8928 )
...
* automation unit tests
* row processor tests
* update executeQuery test
* update groups assertion
* some more worker tests
* plugin tests and tidying up
* linting
* temporarily disable group tests
* more tests
* fix import
* fix backup tests
* add pro mocks to worker
* check for app existence in import test
* test new tsconfig
* testing changes
* Pro test utils (#9020 )
* Pro test utils changes
* Add test fixes
* Remove ts-ignore
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-12 22:02:32 +00:00
mike12345567
a02e9017ec
Final fixes after re-running all test suites.
2022-11-28 19:12:23 +00:00
mike12345567
e62ebc8fbb
Updates to fix build.
2022-11-28 13:24:39 +00:00
mike12345567
de82eca502
Some typescript conversions, moving a few imports around.
2022-11-21 18:33:34 +00:00
mike12345567
31c198888a
Updating some enums, plural to single.
2022-11-17 14:59:18 +00:00
mike12345567
4328ed1b67
Updating middlewares to Typescript, as well as some fixes based on running tests.
2022-11-16 17:24:13 +00:00
mike12345567
535fab7997
Some major reworks towards higher levels of typescript.
2022-11-16 17:23:12 +00:00
Rory Powell
9973f2e161
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
3d98acc28a
Minor test rework after improving startup, a lot of mocks weren't being used correctly.
2022-10-27 15:15:08 +01:00
Rory Powell
5614c5db61
Replace isTest check with mock for triggering app backup
2022-10-24 13:05:40 +01:00
mike12345567
8744d0a86c
Renaming data source -> datasource as per Mel's request.
2022-09-14 12:11:20 +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
Rory Powell
500e697974
Trigger served events on ping endpoint
2022-08-10 11:01:54 +01:00
mike12345567
3b4d7950d0
Merge branch 'master' of github.com:Budibase/budibase into fix/memory-leak
2022-07-14 16:40:23 +01:00
Rory Powell
1c4473ba30
WIP: Memory leak fix
2022-07-13 08:22:21 -04:00
Dean
28f722cf4b
Fixes for Rest API request UI. Rest test fixes for XML API request body. Fix for raw XML api request body parsing issue. General fixes for query testing.
2022-06-17 12:00:42 +01:00
Rory Powell
7ebfaf8a31
Failover protection with event cache
2022-05-31 21:04:41 +01:00
Rory Powell
4841c84861
Merge branch 'feature/posthog-v2' into feature/event-backfill
2022-05-23 10:29:33 +01:00
Rory Powell
443b664e33
Finish global migration
2022-05-20 21:16:29 +01:00
Rory Powell
756f5b51aa
App migrations finished
2022-05-20 12:29:31 +01:00
Rory Powell
8da427284c
Stub out migrations + start tests + add build watching for backend-core
2022-05-18 10:56:44 +01:00
Rory Powell
1caf4b1965
Merge branch 'develop' into feature/posthog-v2
2022-04-27 16:32:00 +01:00
mike12345567
345bbf603c
Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it.
2022-04-21 14:56:14 +01:00
mike12345567
151ed604f8
Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases.
2022-04-20 23:10:39 +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
33719fcb09
Merge branch 'feature/licensing' into feature/posthog-v2
2022-04-12 17:12:46 +01:00
Rory Powell
befb61c915
smtp events + centralise worker test config
2022-04-06 17:00:17 +01:00
Rory Powell
ec4e9df4c2
Refactor automation tests to run independently
2022-04-06 12:34:31 +01:00
Rory Powell
6128dfadcf
Logout events
2022-04-05 16:56:28 +01:00
Rory Powell
8d39bf9f2e
sso auth + datasource events, test updates
2022-04-05 15:46:04 +01:00