1
0
Fork 0
mirror of synced 2024-09-21 11:53:49 +12:00
Commit graph

209 commits

Author SHA1 Message Date
adrinr
771e3b8862 Bookmark optional 2023-03-28 16:46:22 +01:00
adrinr
43c25436c8 Test skip with filters 2023-03-28 16:46:22 +01:00
adrinr
348b06948b Test limits 2023-03-28 16:46:22 +01:00
adrinr
9a2eaaad42 Test deep pagination 2023-03-28 16:46:22 +01:00
adrinr
30c66748af Add skip tests 2023-03-28 16:46:22 +01:00
adrinr
47cc291551 Exclude session fields 2023-03-28 16:46:22 +01:00
adrinr
f181cb02d0 Remove comment 2023-03-28 16:46:22 +01:00
adrinr
5ffa51d1f4 Rename 2023-03-28 16:46:22 +01:00
adrinr
41537cd00c Add comments 2023-03-28 16:46:22 +01:00
adrinr
bf32801917 Handle skip on execution 2023-03-28 16:46:22 +01:00
adrinr
a91e4b4da1 Make QueryBuilder vars private 2023-03-28 16:46:22 +01:00
adrinr
06245fee98 Make includeDocs private 2023-03-28 16:46:22 +01:00
adrinr
1c828db694 Return total rows 2023-03-28 16:46:22 +01:00
adrinr
c763c6fae5 Expose index 2023-03-28 16:46:22 +01:00
mike12345567
900e6c8129 Adding search index for user. 2023-03-28 16:46:22 +01:00
adrinr
2072664294 Move user search to core 2023-03-28 16:46:22 +01:00
mike12345567
bff6a51af2 Adding test case for scenario. 2023-03-13 11:48:13 +00:00
mike12345567
212b93cbe9 Fix for not contains with all or - variety of changes needed to achieve the actual expected functionality. 2023-03-13 11:48:03 +00:00
mike12345567
b47101e1fb Updating lucene test case to improve coverage. 2023-02-27 21:48:05 +00:00
mike12345567
c3a3fa1176 Adding a lucene test case. 2023-02-27 21:18:06 +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
mike12345567
58fab29fb4 Main body of PR comments. 2023-02-24 13:32:45 +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
6cc96f39b1 Minor fixes for friendly audited events, and a new function for comparing app IDs. 2023-02-20 17:20:42 +00:00
mike12345567
70e525b928 Updating types for audit logs to correctly handle the deletion of resources like users or apps. 2023-02-17 19:00:45 +00:00
mike12345567
eca34d73ed Finishing up search API, updating typing in lucene layer. 2023-02-17 17:46:49 +00:00
mike12345567
6ec5e97ce9 Required work to support the new lucene audit logs search indexing. 2023-02-17 16:26:55 +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
mike12345567
464ab7a1bb Merge branch 'develop' of github.com:Budibase/budibase into fix/cli-memory-issues 2023-02-07 09:56:49 +00:00
mike12345567
4d86df057b Some fixes for #8770 - the CLI was very memory intensive when working with large databases, that contained many revisions. We don't need the revisions for app exports/backups, therefore I've updated our export systems to drop the revision history as it compacts the database significantly and speeds up exports/reduces memory usage. 2023-02-06 17:54:40 +00:00
adrinr
11a7742d90 Cleanup 2023-02-03 19:23:36 +00:00
adrinr
79ee85dab3 Remove remaning faker refs 2023-02-01 17:19:56 +00:00
adrinr
c7d0a077be Replace faker for chance 2023-02-01 17:11:50 +00:00
Adria Navarro
b125b5478b Merge branch 'develop' into feature/dependencies-image 2023-02-01 16:32:00 +00:00
mike12345567
048cf8f188 PR comments. 2023-02-01 13:01:38 +00:00
adrinr
e639b7cf26 More seq 2023-02-01 11:46:31 +00:00
mike12345567
f4379fcb4f Updates to use our new Nano layer for CouchDB integration rather than PouchDB. 2023-01-31 19:49:31 +00:00
adrinr
b2813db5db Handle db creation race conditions 2023-01-31 16:15:11 +00:00
adrinr
e4c898c327 Use test-containers for backend-core tests 2023-01-27 11:43:36 +00:00
Adria Navarro Redo
8c68741f98 Fix application delete tests 2023-01-26 18:20:21 +00:00
Adria Navarro
26fa3bd484 tweak tests 2023-01-24 15:46:50 +00:00
Adria Navarro
fc6c4d5290 Remove test logic from getAllDbs 2023-01-24 14:06:28 +00:00
mike12345567
75df57c3d1 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-11 10:31:57 +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
ea5b515783 Playing around with getting tests working. 2023-01-04 19:47:56 +00:00
Andrew Kingston
090ae5df49 Master => Develop (#9049)
* 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

Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-15 12:13:42 +00:00
Rory Powell
786039055e File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00