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
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
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
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
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
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
39f9ffa4e6
Renames and consistency
2023-03-28 16:46:22 +01:00
adrinr
81e086680d
Test 403s
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
Dean
4de8333f80
Review updates
2023-03-27 18:00:57 +01: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
b92d9c60ca
Don't require password on update if user doesn't have one ( #9941 )
2023-03-08 12:00:02 +00:00
Dean
ab45e06edb
Review updates
2023-03-07 16:17:29 +00:00
Dean
ec9e570ac2
Test updates
2023-03-07 14:21:55 +00:00
Dean
5b9fbbc3b4
Various fixes for update self behaviour
2023-03-07 13:35:18 +00:00
Rory Powell
4c43ba2943
Bypass password onboarding for enforced sso ( #9851 )
2023-03-01 21:56:30 +00:00
Rory Powell
6917abb6e7
lint
2023-03-01 15:31:46 +00:00
Rory Powell
c83684ed83
Prevent showing user exists for password disabled actions
2023-03-01 14:49:44 +00:00
Dean
09adef4d59
Fixes for invitation unit tests
2023-02-28 22:27:02 +00:00
Dean
a5c6dbe4ae
Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux
2023-02-28 16:38:44 +00:00
Rory Powell
7ed0586673
Add validation between sso config acivation and sso enforcement
2023-02-28 13:36:54 +00:00
Dean
dd08845a44
Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux
2023-02-28 09:38:15 +00:00
Dean
61ed62e6c4
Builder user onboarding
2023-02-28 09:37:03 +00:00
mike12345567
2fb33e2cf3
Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs
2023-02-27 14:51:33 +00:00
mike12345567
fefc6d920f
Fixing open handle issue - now that the worker has access to queues needs to shut them down.
2023-02-27 14:41:28 +00:00
Rory Powell
2c46109e7d
Enforceable SSO ( #9787 )
...
* Add ENFORCEABLE_SSO feature flag
* First draft of enforce sso configuration / show single sign on url
* Reading and writing isSSOEnforced + integration with login page
* Enable CI + lint
* Set correct base branch for CI
* Test fix for expected string changed
* Use tenant aware platform url as SSO link
* Bring in latest pro changes
* Lint
* Add useEnforceableSSO mock helper function
* Update configs.spec.ts with coverage for public settings
* Update users.spec.ts with additional tests for isPreventPasswordActions
* Lint
* Update refresh OAuthToken to use correct enum and add case statement
2023-02-27 13:42:51 +00:00
mike12345567
db2a8c125a
Trying to remove audit log test - see if it fixes test stalling issue.
2023-02-27 13:31:52 +00:00
mike12345567
0a9344622a
Fixing test case.
2023-02-27 13:17:42 +00:00
mike12345567
58fab29fb4
Main body of PR comments.
2023-02-24 13:32:45 +00:00
mike12345567
0b48075688
Implementing a few basic tests to create and search the audit logs.
2023-02-23 17:23:06 +00:00
Rory Powell
2d993adec8
Fix for real email tests failing silently
2023-02-23 13:42:10 +00:00
Rory Powell
d3a7286711
Configs updates: remove circular deps, dedicated module, typing improvements, reduce db reads
2023-02-23 13:41:35 +00:00
mike12345567
01076bd35f
Getting downloading working correctly, some minor UI updates, adding a new middleware for converting a query string to a body (useful for when a GET has to be used).
2023-02-22 18:50:27 +00:00
mike12345567
ef30c03fa6
Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs
2023-02-21 17:26:24 +00:00
Rory Powell
cacf275a99
Prevent SSO users from setting / resetting a password ( #9672 )
...
* Prevent SSO users from setting / resetting a password
* Add support for ENABLE_SSO_MAINTENANCE_MODE
* Add typing to self api and build out user update sdk
* Integrate sso checks with user sdk. Integrate user sdk with self api
* Test fixes
* Move self update into SDK
* Lock down maintenance mode to admin user
* Fix typo
* Add health status response and return type signature to accounts.getStatus
* Remove some unnecessary comments
* Make sso save user function non optional
* Remove redundant check on sso auth details provider
* Update syncProfilePicture function name to getProfilePictureUrl
* Update packages/worker/src/sdk/users/events.ts
Co-authored-by: Adria Navarro <adria@revityapp.com>
* Add ENABLE_EMAIL_TEST_MODE flag
* Fix for logging in as sso user when existing user has password already
* Hide password update and force reset from ui for sso users
* Always disable sso maintenance mode in cloud
---------
Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-02-21 08:23:53 +00:00
mike12345567
05ceee1cfe
Moving lucene handling to backend-core so that it can be used for other databases (outside row indexes).
2023-02-13 17:13:59 +00:00
Rory Powell
0e3a17ab18
Merge pull request #9669 from Budibase/budi-6558-configurable-test-log-levels-and-common
...
Configurable test log levels and common error handling
2023-02-13 14:31:43 +00:00
Rory Powell
ae9979929a
Enable higher concurrency and resiliency in worker tests
2023-02-13 11:57:30 +00:00
Rory Powell
5cd6cb166a
Configurable test log levels and common error handling
2023-02-13 11:53:01 +00:00
adrinr
74fe4ead31
Remove addTenantToGlobalDb from helpers
2023-02-03 09:59:57 +00:00
adrinr
4116d19a2b
Clean tests
2023-02-03 09:54:25 +00:00
adrinr
34278349c3
Merge branch 'develop' into feature/dependencies-image
2023-02-01 10:56:22 +00:00
deanhannigan
7540cad45c
Merge pull request #9467 from Budibase/feature/auth-screens-redesign
...
Selfhost onboarding UX/UI updates
2023-01-31 16:13:46 +00:00
Adria Navarro
16e53957bc
Merge branch 'develop' into feature/dependencies-image
2023-01-30 18:54:05 +00:00
adrinr
55de45e86b
Fix tenancy issues
2023-01-30 16:45:04 +00:00
adrinr
7d279e2eca
Fix test race conditions
2023-01-30 12:29:39 +00:00
adrinr
651c367f75
Fix worker tests
2023-01-27 17:59:14 +00:00
Dean
d37c0e4b5d
UI Onboarding UI/UX auth refactoring
2023-01-27 13:44:57 +00:00
Rory Powell
da2c809a09
Merge branch 'develop' into feature/environment-variables
2023-01-27 11:27:11 +00:00
mike12345567
63d882efc6
Adding frontend event publishing for events like upgrade panel opened.
2023-01-23 19:18:02 +00:00
mike12345567
557a9a8eeb
Adding an API for publishing an event from the frontend.
2023-01-23 18:56:44 +00:00
Andrew Thompson
0f5d0a0992
fix auth config validation for saving deactivation ( #9361 )
2023-01-19 13:06:38 +00:00