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
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
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
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
Michael Drury
34e8009f08
Merge pull request #9949 from Budibase/fix/blacklist
...
Blacklisting
2023-03-20 10:33:11 +00:00
mike12345567
39bfbdfac1
PR comments.
2023-03-16 16:49:31 +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
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
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
mike12345567
bff6a51af2
Adding test case for scenario.
2023-03-13 11:48:13 +00:00
mike12345567
212b93cbe9
Fix for not contains with all or - variety of changes needed to achieve the actual expected functionality.
2023-03-13 11:48:03 +00:00
Michael Drury
5eabe9db22
Merge pull request #9779 from Budibase/jonny/api-metrics
...
metrics api endpoint
2023-03-10 12:12:51 +00:00
mike12345567
564c724be1
Provides the option for blacklisting IPs.
2023-03-08 16:30:26 +00:00
adrinr
84d450a931
Renames
2023-03-07 12:47:27 +01:00
adrinr
49493d80be
Use name suffix instead of complex key object
2023-03-07 12:45:20 +01:00
adrinr
4d854ea5a7
Merge remote-tracking branch 'origin/develop' into bug/budi-5901-usage-quota-document-conflicts-can-cause
2023-03-07 12:41:58 +01:00
mike12345567
c51b9fb4b3
Merge branch 'develop' of github.com:Budibase/budibase into jonny/api-metrics
2023-03-06 15:23:35 +00:00
mike12345567
96208a5e8a
Fixing build issue.
2023-03-03 12:05:30 +00:00
mike12345567
04ef7eeb9c
Minor fixes - after removing axios altogether and adding a start script to make life easier for running from ts.
2023-03-03 10:03:33 +00:00
mike12345567
2bc0e988af
Getting proper tenant ID for use by audit logs queue.
2023-03-02 13:39:26 +00:00
mike12345567
2335932978
Some updates to core types - used in pro update.
2023-03-02 10:20:49 +00:00
mike12345567
b787fafb32
Removing skip setup, tests depend on this behaviour - will update in separate PR.
2023-03-01 19:45:59 +00:00
mike12345567
5b150e7748
Removing migration change and fixing #9738 - making sure that exports with excludeRows enabled don't include attachments.
2023-03-01 19:43:40 +00:00
mike12345567
923e9d8ec4
Adding in test check.
2023-03-01 19:17:45 +00:00
mike12345567
eba18a4159
Fix for #9739 - there was an issue with the mango syntax, when working with multi attachment columns it was using an AND comparator instead of OR, it should be searching for rows that contain any attachment column, not all attachment columns.
2023-03-01 19:01:13 +00:00
Michael Drury
a7d5f0fa7e
Merge pull request #9844 from Budibase/fix/audit-log-muli-tenant
...
Audit log multi-tenancy fix
2023-03-01 17:27:55 +00:00
mike12345567
bba6f6941c
Minor fix for audit log system - after the switch to use an async queue for handling of audit log storage, context was lost - in multi-tenant environments need to carry the tenant ID into the queue job so that context can be applied.
2023-03-01 16:38:19 +00:00
Rory Powell
c83684ed83
Prevent showing user exists for password disabled actions
2023-03-01 14:49:44 +00:00
Rory Powell
2dfca0f67c
Fix settings doc id in new installs
2023-03-01 14:32:01 +00:00
adrinr
04566dbabd
Merge remote-tracking branch 'origin/develop' into bug/budi-5901-usage-quota-document-conflicts-can-cause
2023-03-01 13:31:56 +01:00
adrinr
dded8beaeb
Fix writethrough falling behind
2023-03-01 13:16:57 +01:00
Dean
a5c6dbe4ae
Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux
2023-02-28 16:38:44 +00:00
adrinr
b922fc3b00
Improve testing
2023-02-28 15:03:18 +01:00
adrinr
c1462a7c9c
Clean code
2023-02-28 14:54:43 +01:00
adrinr
c254c565e4
Use redlock for writethrough
2023-02-28 14:54:34 +01:00
adrinr
66217d6b08
Return redlock execution info
2023-02-28 12:52:43 +01:00
adrinr
24161d12bf
Type locks
2023-02-28 12:47:28 +01:00
Rory Powell
ab69bbc299
lint
2023-02-28 11:03:56 +00:00
Rory Powell
312c01a879
Prefer default config for google sheets in cloud, don't use env vars for regular auth
2023-02-28 10:36:29 +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
b47101e1fb
Updating lucene test case to improve coverage.
2023-02-27 21:48:05 +00:00
mike12345567
c3a3fa1176
Adding a lucene test case.
2023-02-27 21:18:06 +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
0fa984f26f
Moving is audited and adding in env var for ip address/user agent auditing.
2023-02-27 11:42:52 +00:00