Mateus Badan de Pieri
df38368eaf
removing tests
2023-04-12 11:06:01 +01:00
mike12345567
ada052e043
Merging in develop - fixing some test cases which broke in the process.
2023-04-12 10:56:21 +01:00
Mateus Badan de Pieri
f427763308
export function to make test easier
2023-04-12 02:29:30 +01:00
Mateus Badan de Pieri
ef0293bc6c
encryption tests 100%
2023-04-12 02:25:53 +01:00
adrinr
c77ed3d737
Renames
2023-04-11 13:39:13 +01:00
adrinr
e1279ffecd
Use proper errors instead of string throwing
2023-04-11 13:39:13 +01:00
mike12345567
c4a4bdc9da
Fixing tenancy.spec.ts - mocking was a bit messed up, moving it all around to work as expected.
2023-04-11 10:54:04 +01:00
Mateus Badan de Pieri
de613d2b28
latest version
2023-04-11 10:22:47 +01:00
Mateus Badan de Pieri
f1b7ff0f7c
fixing expect on throw
2023-04-05 16:30:00 +01:00
Mateus Badan de Pieri
b0df710a2a
tweaks on some tests
2023-04-05 16:13:39 +01:00
Rory Powell
77ffb8d86d
Run integration suite in CI again / auto detect tenancy / refactors ( #10209 )
...
* qa-core-ci-fixes
* global setup and teardown wip
* Updates to logs and setup
* Remove date and console mocking
* Update CI to spin up minimal dev env
* Update readme
* Fix scopeBackend.sh
* Ensure docker services are initialised before starting worker
* Lint
* Fix admin user being created on startup (#10219 )
* use regular bootstrap and build
* Lint
* Temp: re-use global setup to get around app limit in QA
2023-04-05 15:33:56 +01:00
Mateus Badan de Pieri
6bd950717c
mocked correctly
2023-04-05 14:14:55 +01:00
Rory Powell
976b3a55ca
Update logging to support dd trace attributes ( #10086 )
...
* Update logging middleware to integrate with pino for console logging
* Remove elastic apm references, use updated core middlewares
* Remove redundant LOG_LEVEL definitions
* Remove no longer needed jest logging overrides
* lint
* Backwards compat between console log helpers and pino
* Configurable DISABLE_HTTP_LOGGING
* Don't log 4xx as errors
* Remove redundant ENABLE_4XX_HTTP_LOGGING
* Cleanup migrations and event logging
* Improve bb-alert logging
* Add DISABLE_HTTP_LOGGING to helm chart
* Add ops endpoints for testing
* Disable http logging in dev
* Backwards compatible tracing implementation
* Naming update on http logging env var
* lint
* Update packages/backend-core/src/environment.ts
Co-authored-by: Adria Navarro <adria@revityapp.com>
* Merge
* Lint
* Fix console.warn failing mock by replacing with alerts mock instead
* Lint
---------
Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00
adrinr
c0d7f2329a
Extract valid email util
2023-04-03 16:42:30 +01:00
Adria Navarro
e1669c8260
Merge pull request #10022 from Budibase/feature/scim
...
Feature - SCIM endpoints
2023-04-03 13:22:01 +02:00
Mateus Badan de Pieri
b6fd3b7cf7
primary tests cases
2023-04-03 11:28:20 +01:00
Mateus Badan de Pieri
e6ac534fca
isUserInAppTenant tests working
2023-03-31 15:07:28 +01:00
Michael Drury
1c6465edcb
Merge pull request #10172 from Budibase/fix/budi-6797
...
Googlesheets onboarding - fix in cloud, disable self host
2023-03-31 13:19:29 +01:00
mike12345567
75baba76d6
Resolving PR comments.
2023-03-31 11:38:09 +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
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
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
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
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
Rory Powell
d6992bbf94
Merge branch 'master' into merge-master-develop
2023-03-29 11:52:09 +01: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
e6ff0a44fb
Dispatch event on scim user created
2023-03-28 16:46:23 +01:00
adrinr
771e3b8862
Bookmark optional
2023-03-28 16:46:22 +01:00