Commit Graph

17285 Commits

Author SHA1 Message Date
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 23088c036e Replace beforeEach for before All 2023-03-28 16:46:23 +01:00
adrinr 31f94f6c3c Fix tests 2023-03-28 16:46:23 +01:00
adrinr ac1da306f9 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr 14347096e4 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr b50e4df28c Use feature instead of license 2023-03-28 16:46:23 +01:00
adrinr d615e1daed Create feature store 2023-03-28 16:46:23 +01:00
adrinr dd2ec5ed78 Don't allow deleting users that are AD sync 2023-03-28 16:46:23 +01:00
adrinr 247f44ac32 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 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 3c081843f0 Remove unnecessary deletes 2023-03-28 16:46:23 +01:00
adrinr 5d487950b1 Change default scimenabled value 2023-03-28 16:46:23 +01:00
adrinr 045af06edb Use feature flag 2023-03-28 16:46:23 +01:00
adrinr 2fb6f81094 Display api key 2023-03-28 16:46:23 +01:00
adrinr 9094d3c9fd Display right provisioning url 2023-03-28 16:46:23 +01:00
adrinr 5b98d9cbd9 Show settings 2023-03-28 16:46:23 +01:00
adrinr 675d3c5c65 Break components 2023-03-28 16:46:23 +01:00
adrinr 53020e2d2d Create config 2023-03-28 16:46:23 +01:00
adrinr 4a4ba487a0 Allow scim config type 2023-03-28 16:46:23 +01:00
adrinr c80d265ea3 Show SCIM banner on group detail 2023-03-28 16:46:23 +01:00
adrinr 4ba0cf6d55 Don't allow deleting users from group 2023-03-28 16:46:23 +01:00
adrinr 76f6c86c0a Show SCIM banner in group list 2023-03-28 16:46:23 +01:00
adrinr 2e40cc6926 Reuse component 2023-03-28 16:46:23 +01:00
adrinr 1bc568f634 Do not display remove group option when readonly 2023-03-28 16:46:23 +01:00
adrinr 15ed91ef85 Make fields readonly if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr 1a26899d90 Display banner if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr 934a2f09d7 Right checks 2023-03-28 16:46:23 +01:00
adrinr 0c5d33a642 Show SCIM banner if SCIM enabled 2023-03-28 16:46:23 +01:00
adrinr 1838f75dbc Add test 2023-03-28 16:46:23 +01:00
adrinr d9ff01b5f0 Clean code 2023-03-28 16:46:23 +01:00
adrinr 54265816cc Renames 2023-03-28 16:46:23 +01:00
adrinr c48952d056 Add group event scim messages 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 d1c224ed42 Fix tests 2023-03-28 16:46:23 +01:00
adrinr 74573a1625 Rename routes 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 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 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 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 9d0aff96e4 Add members to group 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 771e3b8862 Bookmark optional 2023-03-28 16:46:22 +01:00
adrinr 10e465e07d Fix merge conflicts 2023-03-28 16:46:22 +01:00
adrinr beb4118582 Renames 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 fd0c88afac Add types 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 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 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 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 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 621c06eada Add view 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 7c719df895 Add update 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 97e181fffe Add feature 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 21f01a53c5 Add isScimSync flag 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 437672a6a3 Unify interfaces 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 f8cebeba4e Add create types 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
adrinr f65ded4282 Allow bearer token for auth 2023-03-28 16:46:22 +01:00
Budibase Release Bot 8e368525e4 Update pro version to 2.4.39 2023-03-28 15:22:27 +00:00
Budibase Release Bot ceacffa9b6 v2.4.39 2023-03-28 15:18:48 +00:00
Budibase Staging Release Bot e181b5652a Update pro version to 2.4.27-alpha.10 2023-03-28 14:57:54 +00:00
Budibase Staging Release Bot e753119043 v2.4.27-alpha.10 2023-03-28 14:54:57 +00:00
Michael Drury 08f07d5e3a Merge pull request #10140 from Budibase/fix/gsheet-logout
GSheet logout possible fix
2023-03-28 15:47:34 +01:00
mike12345567 f637512317 Adding error to check why logout might have occurred as well as a possible fix. 2023-03-28 15:14:28 +01:00
Budibase Staging Release Bot 945c358029 Update pro version to 2.4.27-alpha.9 2023-03-28 14:14:20 +00:00
Budibase Staging Release Bot 117edaa8cb v2.4.27-alpha.9 2023-03-28 14:11:12 +00:00
Budibase Release Bot 927599a5b6 Update pro version to 2.4.38 2023-03-28 14:04:24 +00:00
Budibase Release Bot 071a6e0994 v2.4.38 2023-03-28 14:01:14 +00:00
Martin McKeaveney fa30769ddb fix auto columns in sample data 2023-03-28 14:58:22 +01:00
Rory Powell 06794d8085 Chore: Account deletion via API (#10137) 2023-03-28 14:49:46 +01:00
Budibase Release Bot b173e80582 Update pro version to 2.4.37 2023-03-28 10:57:56 +00:00
Budibase Release Bot a3ee18824e v2.4.37 2023-03-28 10:55:00 +00:00
melohagan 9e8ab55e18 Lowercase values for Oracle LIKE (#10134) 2023-03-28 11:46:29 +01:00
Dean 8557c307dd Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-28 11:19:08 +01:00
Dean c914ded42c Feedback updates 2023-03-28 11:18:49 +01:00
deanhannigan dfe6b55c1a Merge branch 'feature/whitelabelling' into feature/whitelabelling-pro 2023-03-28 09:13:47 +01:00