Commit Graph

99 Commits

Author SHA1 Message Date
mike12345567 52ee5c1ccb Adding pre-commit check for qa-core and examples. 2023-01-06 16:52:18 +00:00
mike12345567 3f9145749e Linting. 2023-01-06 16:46:50 +00:00
Pedro Silva 8c67348ee4 Fix wrong parameter 2022-12-19 14:46:34 +00:00
Pedro Silva 33413e7119 Merge branch 'develop' into api-tests-user-management 2022-12-19 13:56:22 +00:00
Pedro Silva 7dd76df285 Remove unused method 2022-12-19 13:53:52 +00:00
Martin McKeaveney 8a2a5a1f76
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
Pedro Silva 40d1be7d06 Add for app specific custom roles 2022-12-16 18:17:30 +00:00
Martin McKeaveney 523422cbd6 using production appID in BASIC screens test 2022-12-16 15:30:12 +00:00
Pedro Silva 2d01e17a3a Add tests for app specific roles 2022-12-16 11:24:16 +00:00
Pedro Silva 6566ef9fa1 Improve Role tests 2022-12-14 23:15:02 +00:00
Pedro Silva c19cf1b267 Organize user and permissions tests 2022-12-12 16:32:37 +00:00
Pedro Silva 68681d8087 Add access tests for tables 2022-12-11 11:07:14 +00:00
Pedro Silva 14fab0370c Remove toString 2022-12-09 18:10:17 +00:00
Pedro Silva 142a852164 Rename users methods 2022-12-09 18:00:13 +00:00
Pedro Silva 647551ee5d Remove explicit toString 2022-12-09 17:52:33 +00:00
Pedro Silva c824102f75 Add partial user type 2022-12-09 17:49:45 +00:00
Pedro Silva a0838530a0 Changes to types and user generation 2022-12-09 17:34:59 +00:00
Pedro Silva 77418099c7 Remove duplicated assertions 2022-12-06 18:20:02 +00:00
Pedro Silva 106c169570 Fix names 2022-12-06 16:16:07 +00:00
Pedro Silva bc21cb2396 Add tests for Roles 2022-12-06 16:14:00 +00:00
Pedro Silva 0bac38620f Add Tests for changes to user information/roles 2022-12-05 17:54:40 +00:00
Pedro Silva 29f870adff Record generated users passwords in test context 2022-12-02 19:04:23 +00:00
Pedro Silva ea2a90a793 Add generic login method 2022-12-02 18:59:08 +00:00
Pedro Silva 877f3c7235 Add users with all roles 2022-12-02 18:42:56 +00:00
Pedro Silva 3f8959159f Add tests for user management 2022-11-30 11:02:11 +00:00
Pedro Silva 806477cd0b Add verification 2022-11-28 22:13:07 +00:00
Pedro Silva b3dea56363 Add User endpoints 2022-11-22 16:52:56 +00:00
mike12345567 318233d812 Some minor updates after running qa-core tests, found some issues that likely exists before context update. 2022-11-17 16:30:38 +00:00
mike12345567 3faac89c7a Some updates for currentapp.spec.js test case. 2022-11-15 17:35:17 +00:00
Rory Powell c16f731058
Merge pull request #8684 from Budibase/test-updates
Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings
2022-11-15 16:09:20 +00:00
Rory Powell 2212305f08 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
Rory Powell fd913a5e76 Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
Pedro Silva 6d99caf2a6 Remove logic from endpoint methods 2022-11-10 09:45:02 +00:00
Pedro Silva 517893da26 Fix duplicated name failure 2022-11-09 17:05:05 +00:00
Pedro Silva d79e1543b5 Add test for AppPackage 2022-11-09 16:05:15 +00:00
Pedro Silva c2fcc23884 Improve stability of tests 2022-11-08 18:06:53 +00:00
Pedro Silva a7e4c646ea Move assertion to endpoint definition 2022-11-07 15:48:24 +00:00
mike12345567 da9eaca82a Fixing issue with self host build - import of backend-core changes mean that loading the public API files can require setup of backend-core, making it so that the JWT Strategy doesn't need to be setup to load backend-core. 2022-11-01 12:59:10 +00:00
Pedro Silva 9f96884980 Add missing test to app flow 2022-10-28 16:48:29 +01:00
Rory Powell 0b7ca49418 Fix build failure around PouchDB type 2022-10-25 09:02:55 +01:00
mike12345567 9a6b09e2fd Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-24 16:51:53 +01:00
mike12345567 49e103e8ef Fixing test case. 2022-10-21 18:52:39 +01:00
Pedro Silva 644a07c8a3 Fix some tests after merge 2022-10-20 17:48:05 +01:00
Pedro Silva 43ae4da422 Merge branch 'develop' into api-tests-tables 2022-10-20 17:37:46 +01:00
Pedro Silva 312e766414 Improvement from PR comments 2022-10-20 15:31:10 +01:00
Pedro Silva 50aaacb903 Fix EOF 2022-10-19 10:42:57 +01:00
Pedro Silva 9ee872c4ef Requested changes 2022-10-19 10:35:00 +01:00
Pedro Silva ea27fb1038 Remove unecessary const 2022-10-18 17:34:19 +01:00
Pedro Silva eae27b48b6 Add operations on rows and columns 2022-10-18 17:29:13 +01:00
Pedro Silva 5ba7100e48 Add Table endpoints 2022-10-17 18:20:40 +01:00