mike12345567
b622df2683
Defaulting SQS to on in development environments, this removes the need for setting it in the management scripts.
2024-08-30 15:10:55 +01:00
Sam Rose
86717b536b
Use new feature flag API for SQS.
2024-08-15 14:58:11 +01:00
Sam Rose
4a1fd6481f
Remove old, unused feature flags.
2024-08-15 10:53:43 +01:00
mike12345567
243ccee645
Enables SQS in dev!
2024-06-06 16:10:58 +01:00
Adria Navarro
abbe9deb1c
Add test command
2024-03-19 23:28:03 +01:00
Sam Rose
b2c4f04aa6
Typing and config.api'ing application.spec.ts, WIP
2024-02-21 17:52:58 +00:00
Sam Rose
8e9db069e5
Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future.
2024-02-08 16:32:14 +00:00
Adria Navarro
ba2b54f842
Use env variables instead of checking if isdev
2024-01-03 10:12:22 +01:00
Adria Navarro
116b1ce909
Ensure .env is created properly
2023-12-13 13:14:13 +01:00
Adria Navarro
56ae857d49
Add version to dev .env
2023-10-20 16:21:48 +02:00
Adria Navarro
f600ad7711
Editing scripts
2023-09-26 18:08:37 +02:00
Adria Navarro
fcba916f0c
Add bail in jest
2023-08-02 11:25:52 +02:00
Rory Powell
976b3a55ca
Update logging to support dd trace attributes ( #10086 )
...
* Update logging middleware to integrate with pino for console logging
* Remove elastic apm references, use updated core middlewares
* Remove redundant LOG_LEVEL definitions
* Remove no longer needed jest logging overrides
* lint
* Backwards compat between console log helpers and pino
* Configurable DISABLE_HTTP_LOGGING
* Don't log 4xx as errors
* Remove redundant ENABLE_4XX_HTTP_LOGGING
* Cleanup migrations and event logging
* Improve bb-alert logging
* Add DISABLE_HTTP_LOGGING to helm chart
* Add ops endpoints for testing
* Disable http logging in dev
* Backwards compatible tracing implementation
* Naming update on http logging env var
* lint
* Update packages/backend-core/src/environment.ts
Co-authored-by: Adria Navarro <adria@revityapp.com>
* Merge
* Lint
* Fix console.warn failing mock by replacing with alerts mock instead
* Lint
---------
Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00
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