Rory Powell
79bec7d86d
Add force exit, -e flag and streaming to tests ( #10151 )
...
* Add force exit, -e flag and streaming to tests
* Temp remove script usage from worker tests
* Revert "Temp remove script usage from worker tests"
This reverts commit 5e0ed2e92d
.
* Always fail test
* Ignore server test package from coverage report
* Unscope server only
* Run all server tests again
* Update backend core test script to fail when any command fails and force exit
* Don't try to require client in test
* Port memory limit fix from develop
* Remove always failing test and commented out block for client require
* Fixing some issues with test cases.
* Revert assertions in internalSearch.spec.js
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-31 10:32:13 +01:00
Rory Powell
9d6d781244
Use `--runInBand` in CI only ( #9771 )
...
* Use in CI only
* Use scripts instead of ternary to pick up correct bash syntax
2023-02-22 13:04:16 +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
Rory Powell
905de31cd6
Merge pull request #9525 from Budibase/chore/default-local-dev-accounts-disabled
...
Set DISABLE_ACCOUNT_PORTAL=1 by default in local dev
2023-02-03 09:54:21 +00:00
Rory Powell
f28b1dc79a
Set DISABLE_ACCOUNT_PORTAL=1 by default in local dev
2023-02-02 16:38:23 +00:00
Dean
0eed617866
Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features
2023-02-01 14:12:43 +00:00
Rory Powell
1612044dc1
Merge branch 'develop' into subdomain-tenancy
2022-11-15 16:18:59 +00:00
Rory Powell
9973f2e161
Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates
2022-11-14 22:55:47 +00:00
Rory Powell
5da699e27c
Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings
2022-11-14 13:29:46 +00:00
Rory Powell
72562278c0
Support path variable tenancy detection, add /api/system/* tests, update no tenancy matchers to be more accurate
2022-11-11 11:10:07 +00:00
Rory Powell
6783fd713e
Update tenancy detection to honour any subdomain pattern according to platform url
2022-11-09 16:35:16 +00:00
Rory Powell
5d973de503
Add TENANT_FEATURE_FLAGS to default dev environment
2022-09-23 13:48:19 +01:00
Rory Powell
a551532e73
Navigation updates, cookie constant, update link-dependencies and localdomain scripts
2022-09-14 10:53:14 +01:00
Rory Powell
59a53736ac
update bulk create and bulk delete backend
2022-08-25 19:41:47 +01:00
Rory Powell
12aa9fa1ce
Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings
2022-06-10 22:57:12 +01:00
Rory Powell
0cf777a0cd
Build fixes
2022-06-09 12:33:10 +01:00
Rory Powell
a4eef3daab
Add awareness of deployment environment
2022-06-01 14:10:00 +01:00
Rory Powell
7ebfaf8a31
Failover protection with event cache
2022-05-31 21:04:41 +01:00
Rory Powell
857cd2d735
Merge branch 'develop' into feature/posthog-v2
2022-05-28 23:03:31 +01:00
mike12345567
9a88cdecd5
Adding scripts for generating heavy use of worker.
2022-05-25 11:48:18 +01:00
Rory Powell
5ab9f1a9c5
Table CRUD events + add timekeeper for tests
2022-04-11 14:39:31 +01:00
Rory Powell
02c0c49594
Deprovision and local couch db url fix
2022-02-18 17:36:23 +00:00
Martin McKeaveney
cca6d18af4
point to MinIO instance instead of through proxy
2022-01-30 21:25:56 +01:00
mike12345567
94ee13ffc4
Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata.
2021-11-04 14:53:03 +00:00
Rory Powell
5ffed2824e
Introduce dev modes, update contributor guide
2021-10-08 13:13:16 +01:00
Rory Powell
2f589a2f42
Add API keys between account portal and budibase
2021-10-04 13:40:50 +01:00
Rory Powell
d63186ff8f
Fix email link from internal bb onboarding. Prevent account holder from being deleted
2021-10-04 11:30:59 +01:00
Rory Powell
3bef997168
Support for tenancy subdomain locally + improvements
2021-10-01 15:55:57 +01:00
mike12345567
a0f69251c8
Adding the ability to run the monorepo in cloud mode without the connected account portal (login, org setting and admin creation are all available again) as well as re-working how the redirects work to massively reduce the chance of cycles which I was experiencing constantly.
2021-09-29 16:55:59 +01:00
Rory Powell
00e2b50f26
fix tests
2021-09-20 12:58:58 +01:00
Rory Powell
1d873d9e11
Move all session population to budibase (bug fix)
2021-09-20 11:26:19 +01:00
Rory Powell
689065d2b8
Redirect to account portal login page in the cloud
2021-09-14 14:18:13 +01:00
Rory Powell
62e93d2302
Add self host enable/disable scripts
2021-09-14 12:21:16 +01:00
Martin McKeaveney
f4232bd7d7
couchDB auth options
2021-08-17 14:11:03 +01:00
mike12345567
46ea3f3e9e
Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
...
This reverts commit 4834b765be
, reversing
changes made to 2456e69483
.
2021-08-05 09:59:08 +01:00
Martin McKeaveney
df927e3feb
merge with master
2021-08-04 13:20:11 +01:00
Michael Drury
ec26f6ab5e
Merge branch 'develop' into feature/multi-tenants
2021-08-04 10:07:31 +01:00
Michael Drury
b86a6fddc9
Revert "Multi-tenancy/organisations"
2021-08-04 10:02:24 +01:00
mike12345567
61de20616f
Fixing worker dev script to not overwrite env file everytime.
2021-07-30 15:40:39 +01:00
Rory Powell
648661877a
Add watchtower hooks
2021-07-29 20:32:18 +01:00
mike12345567
219962cb8a
Adding ability to disable/enable multi-tenancy flags easily.
2021-07-26 16:17:56 +01:00
mike12345567
4606248ffd
Fixing up everything found when testing with Cypress.
2021-07-26 13:19:47 +01:00
mike12345567
4d0faa38e3
Changing how apps are retrieved to be more efficient.
2021-07-23 20:01:53 +01:00
mike12345567
313302cae2
Fixing test cases and bugs that they raised.
2021-07-22 22:36:16 +01:00
mike12345567
83db31f899
A lot of general fixes around getting logged in, setting up users etc.
2021-07-19 19:00:53 +01:00
mike12345567
06353409bc
Making sure the email sends out the write port if no platform URL is set.
2021-05-21 14:38:46 +01:00
mike12345567
8e1f18e456
Changing INTERNAL_KEY to INTERNAL_API_KEY.
2021-05-11 15:23:03 +01:00
mike12345567
7736869148
Some updates, working towards supporting automation send smtp email also removing the styling template, adding to base.
2021-05-11 12:02:29 +01:00
mike12345567
83c16a9f14
Formatting.
2021-05-05 17:49:53 +01:00
mike12345567
2ee4fd21e4
Updating testing system across the board after playing around with it, having the worker tests run when top level test is ran, fixing environment in worker when testing, removing the use of redis (replacing with ioredis-mock) when in test.
2021-05-05 17:49:34 +01:00