1
0
Fork 0
mirror of synced 2024-09-19 18:59:06 +12:00
Commit graph

977 commits

Author SHA1 Message Date
mike12345567
f40da2dc49 Test fix. 2023-03-29 18:18:37 +01:00
mike12345567
26aeac357d Removing tenancy validity check, instead depending on the PLATFORM_URL environment variable for determining tenant ID. 2023-03-29 16:19:35 +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
mike12345567
70d91acc41 Adding a check for the tenant ID - to make sure it is a real tenant before forcing the user out of the platform based on it. 2023-03-29 14:19:54 +01:00
Rory Powell
d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
adrinr
18ccb0fd27 Add and map display name in scim 2023-03-29 10:41:37 +01:00
adrinr
5e478f2eaa Fix setting scim config 2023-03-29 09:27:52 +01:00
adrinr
23088c036e Replace beforeEach for before All 2023-03-28 16:46:23 +01:00
adrinr
247f44ac32 Fix tests 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
5d8c1e7e92 Merge scim tests 2023-03-28 16:46:23 +01:00
adrinr
2586f30548 Merge tests 2023-03-28 16:46:23 +01:00
adrinr
d1c224ed42 Fix tests 2023-03-28 16:46:23 +01:00
adrinr
74573a1625 Rename routes 2023-03-28 16:46:23 +01:00
adrinr
a5f6fddbdb Fix merge conflicts 2023-03-28 16:46:23 +01:00
adrinr
62cd6a43f2 Remove "duplicated" events 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
2476b64163 Updates 2023-03-28 16:46:23 +01:00
adrinr
25276bafb2 Dry tests 2023-03-28 16:46:23 +01:00
adrinr
7bfdd31daa Test different patch use cases 2023-03-28 16:46:23 +01:00
adrinr
cd202839b7 Add multiple users tests 2023-03-28 16:46:23 +01:00
adrinr
76cb3e6061 Test adding user 2023-03-28 16:46:23 +01:00
adrinr
4ac682a3c2 Move creators to structures 2023-03-28 16:46:22 +01:00
adrinr
586275ed89 Allow fields edit 2023-03-28 16:46:22 +01:00
adrinr
baca156a17 Implement delete endpoint 2023-03-28 16:46:22 +01:00
adrinr
6de4588fc1 Implement find endpoint 2023-03-28 16:46:22 +01:00
adrinr
10e465e07d Fix merge conflicts 2023-03-28 16:46:22 +01:00
adrinr
5dbbdf3f82 Use generic mock dates 2023-03-28 16:46:22 +01:00
adrinr
8f3488707b Add get and create tests 2023-03-28 16:46:22 +01:00
adrinr
8196277a01 Add scim group api test tools 2023-03-28 16:46:22 +01:00
adrinr
4e82957e52 Fix test 2023-03-28 16:46:22 +01:00
adrinr
51ebad2b14 Test activations 2023-03-28 16:46:22 +01:00
adrinr
e222381a6c Test extra cases 2023-03-28 16:46:22 +01:00
adrinr
de716ba869 Add extra tests 2023-03-28 16:46:22 +01:00
adrinr
d452f5cf0d Handle string boolean requests 2023-03-28 16:46:22 +01:00
adrinr
3b07f0e1a2 filter by email 2023-03-28 16:46:22 +01:00
adrinr
05b7467076 Test filter by external id 2023-03-28 16:46:22 +01:00
adrinr
ad2a23d113 Test filtering by user name 2023-03-28 16:46:22 +01:00
adrinr
495c8f4b0e Undo unwanted changes 2023-03-28 16:46:22 +01:00
adrinr
e568c5756f Fix tests 2023-03-28 16:46:22 +01:00
adrinr
fc0c4815af Handle SCIM body requests 2023-03-28 16:46:22 +01:00
adrinr
2fda1bb5d1 Clean tests 2023-03-28 16:46:22 +01:00
adrinr
86d848458e Test second page 2023-03-28 16:46:22 +01:00
adrinr
e679cc3987 Add multifetch test 2023-03-28 16:46:22 +01:00
adrinr
4f2696ed32 Use ctx.identity instead of passing it as param 2023-03-28 16:46:22 +01:00
adrinr
f8959aacb0 Fix merge conflicts 2023-03-28 16:46:22 +01:00
adrinr
829aee1f68 Add tests 2023-03-28 16:46:22 +01:00
adrinr
fbd53d5fd3 Add delete test 2023-03-28 16:46:22 +01:00
adrinr
4f9b5a6aea Patch endpoint 2023-03-28 16:46:22 +01:00
adrinr
89957f5490 Fix merge conflicts 2023-03-28 16:46:22 +01:00
adrinr
24d2937d0b Implement patch tests 2023-03-28 16:46:22 +01:00
adrinr
40a1921f02 Use scim-patch package 2023-03-28 16:46:22 +01:00
adrinr
3500aabc8a Patch endpoint 2023-03-28 16:46:22 +01:00
adrinr
a509dc1739 Add find endpoint tests 2023-03-28 16:46:22 +01:00
adrinr
263d3613be Test 404 2023-03-28 16:46:22 +01:00
adrinr
afdefce55d Add find endpoint tests 2023-03-28 16:46:22 +01:00
adrinr
f62647f284 Feature tests 2023-03-28 16:46:22 +01:00
adrinr
a5b23c4067 Fix types 2023-03-28 16:46:22 +01:00
adrinr
2c157c0feb Test persistation 2023-03-28 16:46:22 +01:00
adrinr
3e68e8ebe8 Add tests 2023-03-28 16:46:22 +01:00
adrinr
f8396725d1 Init pro with the save user function 2023-03-28 16:46:22 +01:00
adrinr
2072664294 Move user search to core 2023-03-28 16:46:22 +01:00
adrinr
39f9ffa4e6 Renames and consistency 2023-03-28 16:46:22 +01:00
adrinr
9c64f54fa9 Rename types 2023-03-28 16:46:22 +01:00
adrinr
81e086680d Test 403s 2023-03-28 16:46:22 +01:00
adrinr
7fef377e1d Improve test helpers 2023-03-28 16:46:22 +01:00
adrinr
b120fce5dd Add tests 2023-03-28 16:46:22 +01:00
adrinr
4068faf9f3 Add scaffolding 2023-03-28 16:46:22 +01:00
adrinr
d083553373 Add scim endpoints 2023-03-28 16:46:22 +01:00
Rory Powell
06794d8085 Chore: Account deletion via API (#10137) 2023-03-28 14:49:46 +01:00
Dean
8557c307dd Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-28 11:19:08 +01:00
deanhannigan
dfe6b55c1a Merge branch 'feature/whitelabelling' into feature/whitelabelling-pro 2023-03-28 09:13:47 +01:00
Rory Powell
60650b031b Move branding read behind pro 2023-03-27 22:28:25 +01:00
Dean
56e1d102fc Added feature flag function for branding to ensure it uses the cached license 2023-03-27 21:15:09 +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
Dean
4de8333f80 Review updates 2023-03-27 18:00:57 +01:00
Dean
6db03768e6 Review updates 2023-03-27 17:28:12 +01:00
mike12345567
82286d519f Fixing some issues with test cases. 2023-03-21 17:27:31 +00:00
Dean
bfd7e49c72 Template fixes and updates to the file picker. Error handling added to display a warning when navigating to an unpublished or invalid app url. 2023-03-21 09:20:43 +00:00
Vinoth Kirubakaran
a46a33877b chore: ran prettier for environment.ts and auth.ts 2023-03-16 12:43:06 +00:00
Vinoth Kirubakaran
9407383c54 Update auth.ts
Updated success and error redirect paths using ENV variables
2023-03-16 12:42:48 +00:00
Vinoth Kirubakaran
0b26cc8743 Update environment.ts
Added new ENV variables for auth redirect paths
2023-03-16 12:42:29 +00:00
Dean
ce33afdeae Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-16 09:07:58 +00:00
Dean
253ee413a2 Working commit 2023-03-16 09:07:21 +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
Dean
f3b58923cf Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-15 09:13:36 +00:00
mike12345567
63cf91218d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-14 14:12:32 +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
Dean
5ce52cad06 Working commit 2023-03-13 12:33:16 +00:00
Michael Drury
51c63d7258 Disable google auth if no config found (#9983)
* Fix for #9937 - Google config was pre-activated always, even if no google config had been created.

* Fixing test case.
2023-03-10 15:19:46 +00:00
Rory Powell
c33ea4dcfe Update deployment templates to remove unused cdn url and fix empty env vars (#9967) 2023-03-09 16:13:26 +00:00
mike12345567
b735259534 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-08 12:37:34 +00:00
Rory Powell
b92d9c60ca Don't require password on update if user doesn't have one (#9941) 2023-03-08 12:00:02 +00:00
mike12345567
ae3671ea42 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-07 17:49:44 +00:00
Martin McKeaveney
72cb60ec02 merge from master 2023-03-07 16:54:33 +00:00