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

2334 commits

Author SHA1 Message Date
Rory Powell
79bec7d86d Add force exit, -e flag and streaming to tests (#10151)
* Add force exit, -e flag and streaming to tests

* Temp remove script usage from worker tests

* Revert "Temp remove script usage from worker tests"

This reverts commit 5e0ed2e92d.

* Always fail test

* Ignore server test package from coverage report

* Unscope server only

* Run all server tests again

* Update backend core test script to fail when any command fails and force exit

* Don't try to require client in test

* Port memory limit fix from develop

* Remove always failing test and commented out block for client require

* Fixing some issues with test cases.

* Revert assertions in internalSearch.spec.js

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-31 10:32:13 +01:00
adrinr
48b964378b Remove all app cookie references (not really needed anymore) 2023-03-31 09:01:40 +01:00
mike12345567
42320b1d95 Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6797 2023-03-30 17:29:58 +01:00
Mateus Badan de Pieri
6404f07cfe first tenancy tests working 2023-03-30 17:27:13 +01:00
mike12345567
b19df9da22 Some final updates to get event spyOn working again. 2023-03-30 17:15:49 +01:00
Mateus Badan de Pieri
d03b27f79f first 2 tests passing 2023-03-30 17:08:18 +01:00
mike12345567
24fc72657d Fixing all broken test cases after breaking out context fully from jestSetup/backend-core jest loading. 2023-03-30 16:35:25 +01:00
mike12345567
47897c8afa Basic moving around of assets. 2023-03-30 16:07:59 +01:00
mike12345567
d6f38bc0ba Merge branch 'develop' of github.com:Budibase/budibase into test/coverage-bckend-core 2023-03-30 14:14:25 +01:00
Budibase Staging Release Bot
46edc6575a v2.4.42-alpha.4 2023-03-30 12:59:11 +00:00
Budibase Staging Release Bot
c60f9795ba v2.4.42-alpha.3 2023-03-30 12:48:33 +00:00
Mateus Badan de Pieri
02f33b59bb changing url 2023-03-30 13:42:04 +01:00
Rory Powell
38e6d61709 Explictly check for google datasource configured (#10165)
* Explictly check for google datasource configured

* Unit tests for getGoogleDatasourceConfig

* Update /api/global/configs/public test + lint
2023-03-30 13:40:59 +01:00
Mateus Badan de Pieri
0c10803cd9 Create file and function to AddTenantToUrl 2023-03-30 13:38:17 +01:00
Budibase Release Bot
01c9908696 v2.4.42 2023-03-30 11:37:03 +00:00
mike12345567
32c78ec9bf This makes it so that Googlesheets works correctly as part of onboarding in the Cloud, in self host the googlesheets onboarding option has been hidden as it is too complex to get the user to setup the correct integrations with their google account while doing the first time onboarding to an app. 2023-03-29 19:58:24 +01:00
Budibase Staging Release Bot
e49ffc2466 v2.4.42-alpha.2 2023-03-29 18:08:50 +00:00
adrinr
efff31e181 Test user groups 2023-03-29 17:02:56 +01:00
Budibase Staging Release Bot
77ab75e461 v2.4.42-alpha.1 2023-03-29 13:57:06 +00:00
Michael Drury
d255bfad0b Merge pull request #10149 from Budibase/fix/budicloud-log-out
Budicloud logout on googlesheet auth
2023-03-29 14:47:15 +01:00
Budibase Staging Release Bot
de4c3deb04 v2.4.42-alpha.0 2023-03-29 12:08:36 +00:00
mike12345567
7a18d19aa6 Merge branch 'master' of github.com:Budibase/budibase into merge-master-develop 2023-03-29 12:41:06 +01:00
Budibase Release Bot
1f0cf9b604 v2.4.41 2023-03-29 11:39:46 +00:00
Rory Powell
d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
Budibase Release Bot
f941ba6fe8 v2.4.40 2023-03-29 07:57:56 +00:00
Budibase Staging Release Bot
31c708b479 v2.4.27-alpha.12 2023-03-28 20:20:49 +00:00
Budibase Staging Release Bot
40625f099c v2.4.27-alpha.11 2023-03-28 17:44:35 +00:00
mike12345567
b7fe83ad17 Adding a check to config for isDev - don't use multi-tenant google SSO default in dev. 2023-03-28 18:14:04 +01:00
adrinr
31f94f6c3c Fix tests 2023-03-28 16:46:23 +01:00
Adria Navarro
e662e8febe Update packages/backend-core/src/configs/configs.ts
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-03-28 16:46:23 +01:00
adrinr
f7a34dedfa Use generic types instead of overrides 2023-03-28 16:46:23 +01:00
adrinr
1a9653a4db Tests configs 2023-03-28 16:46:23 +01:00
adrinr
d0772ee142 Test when scim is disabled 2023-03-28 16:46:23 +01:00
adrinr
1838f75dbc Add test 2023-03-28 16:46:23 +01:00
adrinr
54265816cc Renames 2023-03-28 16:46:23 +01:00
adrinr
8a6400c7d0 Add viaScim to group events 2023-03-28 16:46:23 +01:00
adrinr
7821c637c6 Move event one level up 2023-03-28 16:46:23 +01:00
adrinr
099cc145bf Clean code 2023-03-28 16:46:23 +01:00
adrinr
04bd9dda9c Use new scim context functions 2023-03-28 16:46:23 +01:00
adrinr
62cd6a43f2 Remove "duplicated" events 2023-03-28 16:46:23 +01:00
adrinr
648247b10e Add scim info in update/delete user events 2023-03-28 16:46:23 +01:00
adrinr
6df08799bb Add isScim to user created event 2023-03-28 16:46:23 +01:00
adrinr
31eaa36883 Unify create events 2023-03-28 16:46:23 +01:00
adrinr
924c103ccc Use ids instead of email on the events 2023-03-28 16:46:23 +01:00
adrinr
26f077cc1c Event on delete 2023-03-28 16:46:23 +01:00
adrinr
cbadf69a29 Dispatch event on user update 2023-03-28 16:46:23 +01:00
adrinr
7840470d83 Add create test 2023-03-28 16:46:23 +01:00
adrinr
e6ff0a44fb Dispatch event on scim user created 2023-03-28 16:46:23 +01:00
adrinr
344a34ac7c Fix build errors 2023-03-28 16:46:23 +01:00
adrinr
4ac682a3c2 Move creators to structures 2023-03-28 16:46:22 +01:00
adrinr
771e3b8862 Bookmark optional 2023-03-28 16:46:22 +01:00
adrinr
beb4118582 Renames 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
6c6d060550 Remove view 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
621c06eada Add view 2023-03-28 16:46:22 +01:00
adrinr
f62647f284 Feature tests 2023-03-28 16:46:22 +01:00
adrinr
2072664294 Move user search to core 2023-03-28 16:46:22 +01:00
adrinr
f65ded4282 Allow bearer token for auth 2023-03-28 16:46:22 +01:00
Budibase Release Bot
ceacffa9b6 v2.4.39 2023-03-28 15:18:48 +00:00
Budibase Staging Release Bot
e753119043 v2.4.27-alpha.10 2023-03-28 14:54:57 +00:00
Budibase Staging Release Bot
117edaa8cb v2.4.27-alpha.9 2023-03-28 14:11:12 +00:00
Budibase Release Bot
071a6e0994 v2.4.38 2023-03-28 14:01:14 +00:00
Budibase Release Bot
a3ee18824e v2.4.37 2023-03-28 10:55:00 +00:00
Budibase Staging Release Bot
ba909a6442 v2.4.27-alpha.8 2023-03-28 00:46:16 +00:00
Michael Drury
2295440370 Merge pull request #10120 from Budibase/fix/budi-6657
Fix for user groups adding users to app user metadata tables
2023-03-28 01:35:03 +01:00
Michael Drury
a82bb9f109 adding force exit to all CI jobs. 2023-03-27 23:47:30 +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
Budibase Release Bot
a5b6635850 v2.4.36 2023-03-27 16:52:46 +00:00
Budibase Staging Release Bot
62d0a49761 v2.4.27-alpha.7 2023-03-27 16:40:48 +00:00
Budibase Staging Release Bot
c93459ff4d v2.4.27-alpha.6 2023-03-27 13:54:21 +00:00
mike12345567
4b7446fb37 Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6657 2023-03-27 11:00:12 +01:00
Budibase Staging Release Bot
c5eec07923 v2.4.27-alpha.5 2023-03-24 15:33:56 +00:00
Budibase Release Bot
32e1fd00d3 v2.4.35 2023-03-22 07:21:26 +00:00
mike12345567
82286d519f Fixing some issues with test cases. 2023-03-21 17:27:31 +00:00
Budibase Release Bot
775ae58003 v2.4.34 2023-03-20 10:42:57 +00:00
Michael Drury
34e8009f08 Merge pull request #9949 from Budibase/fix/blacklist
Blacklisting
2023-03-20 10:33:11 +00:00
Budibase Release Bot
1d6fa91249 v2.4.33 2023-03-20 09:22:52 +00:00
Budibase Staging Release Bot
f57f2d3634 v2.4.27-alpha.4 2023-03-16 17:19:17 +00:00
mike12345567
39bfbdfac1 PR comments. 2023-03-16 16:49:31 +00:00
Budibase Release Bot
1d7abe7031 v2.4.32 2023-03-16 13:45:11 +00:00
mike12345567
c106c3291a Merge branch 'develop' of github.com:Budibase/budibase into fix/api-key-error 2023-03-16 13:39:24 +00:00
Budibase Release Bot
ab6d95acc6 v2.4.31 2023-03-16 11:45:05 +00:00
Budibase Staging Release Bot
8b4b73c9f1 v2.4.27-alpha.3 2023-03-16 08:50:36 +00:00
Rory Powell
de89b9112a Simplify errors framework (#10042)
* Simplify errors framework

* Use enum for ErrorCode

* Lint

* Update base BudibaseError type to use enum

* For for public error on UsageLimitError

* Build fix

* Build fix
2023-03-16 08:42:02 +00:00
mike12345567
29fc91d6d1 Making it obvious that API key is invalid - error otherwise is quite cryptic. 2023-03-15 17:26:21 +00:00
Budibase Staging Release Bot
08388311c9 v2.4.27-alpha.2 2023-03-15 16:53:36 +00:00
Budibase Staging Release Bot
e5868c2b6d v2.4.27-alpha.1 2023-03-15 16:11:54 +00:00