Commit Graph

4384 Commits

Author SHA1 Message Date
Budibase Staging Release Bot 1785fd8300 Update pro version to 2.4.44-alpha.7 2023-04-04 14:56:03 +00:00
Budibase Staging Release Bot 244b911efb v2.4.44-alpha.7 2023-04-04 14:53:06 +00:00
Budibase Staging Release Bot bcf5bb9ca0 Update pro version to 2.4.44-alpha.6 2023-04-04 14:21:08 +00:00
Budibase Staging Release Bot e94a05887f v2.4.44-alpha.6 2023-04-04 14:18:08 +00: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
mike12345567 a2cabb01d5 Removing user app sync calls from worker - no longer required. 2023-04-04 13:53:30 +01:00
Budibase Release Bot b1325e4742 Update pro version to 2.5.1 2023-04-04 09:27:35 +00:00
Budibase Release Bot 917c5100ad v2.5.1 2023-04-04 09:24:27 +00:00
Rory Powell 5eecb6e686 Remove loop for get account during user bulk import (#10203) 2023-04-04 10:14:20 +01:00
Budibase Staging Release Bot 149aa9bbd2 Update pro version to 2.4.44-alpha.5 2023-04-04 09:12:51 +00:00
Budibase Staging Release Bot 7bc049c02b v2.4.44-alpha.5 2023-04-04 09:09:48 +00:00
Adria Navarro e3f8612b37 Merge pull request #10201 from Budibase/budi-6822-allow-ad-users-without-emails-set
BUDI-6822 - Allow AD users without emails set
2023-04-04 10:57:53 +02:00
adrinr 6862a2d26b Downgrade python 2023-04-04 08:44:05 +01:00
adrinr 2b89b3fb15 Update pino-pretty versions 2023-04-04 08:44:05 +01:00
adrinr e0bcc42c80 Make scim info extensible and the object unaware of the data 2023-04-03 19:06:03 +01:00
Budibase Staging Release Bot b841cec4c9 Update pro version to 2.4.44-alpha.4 2023-04-03 15:16:50 +00:00
Budibase Staging Release Bot 2c9b354a1b v2.4.44-alpha.4 2023-04-03 15:13:42 +00:00
Budibase Release Bot fbbb36b809 Update pro version to 2.5.0 2023-04-03 13:14:16 +00:00
Budibase Release Bot be8dfd2ef1 v2.5.0 2023-04-03 13:10:52 +00:00
Budibase Staging Release Bot 5172c45ce8 Update pro version to 2.4.44-alpha.3 2023-04-03 11:37:14 +00:00
Budibase Staging Release Bot 52cc24121e v2.4.44-alpha.3 2023-04-03 11:33:44 +00:00
Adria Navarro e1669c8260 Merge pull request #10022 from Budibase/feature/scim
Feature - SCIM endpoints
2023-04-03 13:22:01 +02:00
Budibase Staging Release Bot 4a2e1b8019 Update pro version to 2.4.44-alpha.2 2023-04-03 11:12:19 +00:00
Budibase Staging Release Bot 1c84b14582 v2.4.44-alpha.2 2023-04-03 11:09:04 +00:00
Budibase Release Bot d68930ee61 Update pro version to 2.4.44 2023-04-02 18:18:15 +00:00
Budibase Release Bot 051d39690a v2.4.44 2023-04-02 18:15:15 +00:00
Budibase Staging Release Bot 94b280ab8e Update pro version to 2.4.44-alpha.1 2023-03-31 23:04:58 +00:00
Budibase Staging Release Bot 97cfcb6b93 v2.4.44-alpha.1 2023-03-31 23:01:55 +00:00
Budibase Staging Release Bot 2ac6d7679a Update pro version to 2.4.44-alpha.0 2023-03-31 22:40:47 +00:00
Budibase Staging Release Bot 5e3cf7af1b v2.4.44-alpha.0 2023-03-31 22:37:36 +00:00
Rory Powell e9322be28f Merge branch 'develop' into merge-master-develop 2023-03-31 12:39:22 +01:00
Rory Powell 44aa19a99a Merge branch 'master' into merge-master-develop 2023-03-31 12:26:04 +01:00
Budibase Staging Release Bot 175cbaf4b0 Update pro version to 2.4.42-alpha.6 2023-03-31 11:11:39 +00:00
Budibase Staging Release Bot 9c8fcacf2a v2.4.42-alpha.6 2023-03-31 11:08:33 +00:00
Budibase Staging Release Bot a999a43406 Update pro version to 2.4.42-alpha.5 2023-03-31 10:46:08 +00:00
Budibase Staging Release Bot 889ea356e6 v2.4.42-alpha.5 2023-03-31 10:43:16 +00:00
Budibase Release Bot 78f76ca0df Update pro version to 2.4.43 2023-03-31 09:46:24 +00:00
Budibase Release Bot 2118bcea3a v2.4.43 2023-03-31 09:42:50 +00: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
adrinr 48b964378b Remove all app cookie references (not really needed anymore) 2023-03-31 09:01:40 +01:00
Budibase Staging Release Bot 61de98c959 Update pro version to 2.4.42-alpha.4 2023-03-30 13:02:05 +00:00
Budibase Staging Release Bot 46edc6575a v2.4.42-alpha.4 2023-03-30 12:59:11 +00:00
Budibase Staging Release Bot c60f9795ba v2.4.42-alpha.3 2023-03-30 12:48:33 +00: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
Budibase Release Bot de2aecb11e Update pro version to 2.4.42 2023-03-30 11:40:28 +00:00
Budibase Release Bot 01c9908696 v2.4.42 2023-03-30 11:37:03 +00:00
Budibase Staging Release Bot 774641259f Update pro version to 2.4.42-alpha.2 2023-03-29 18:12:47 +00:00
Budibase Staging Release Bot e49ffc2466 v2.4.42-alpha.2 2023-03-29 18:08:50 +00:00
mike12345567 f40da2dc49 Test fix. 2023-03-29 18:18:37 +01:00
mike12345567 26aeac357d Removing tenancy validity check, instead depending on the PLATFORM_URL environment variable for determining tenant ID. 2023-03-29 16:19:35 +01:00
Budibase Staging Release Bot 0257617ba1 Update pro version to 2.4.42-alpha.1 2023-03-29 14:01:00 +00:00
Budibase Staging Release Bot 77ab75e461 v2.4.42-alpha.1 2023-03-29 13:57:06 +00: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
mike12345567 70d91acc41 Adding a check for the tenant ID - to make sure it is a real tenant before forcing the user out of the platform based on it. 2023-03-29 14:19:54 +01:00
Budibase Staging Release Bot 981fd586a9 Update pro version to 2.4.42-alpha.0 2023-03-29 12:11:38 +00:00
Budibase Staging Release Bot de4c3deb04 v2.4.42-alpha.0 2023-03-29 12:08:36 +00:00
Budibase Release Bot 0a6c6a9d1b Update pro version to 2.4.41 2023-03-29 11:43:04 +00:00
mike12345567 7a18d19aa6 Merge branch 'master' of github.com:Budibase/budibase into merge-master-develop 2023-03-29 12:41:06 +01:00
Budibase Release Bot 1f0cf9b604 v2.4.41 2023-03-29 11:39:46 +00:00
Rory Powell d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
adrinr 18ccb0fd27 Add and map display name in scim 2023-03-29 10:41:37 +01:00
adrinr 5e478f2eaa Fix setting scim config 2023-03-29 09:27:52 +01:00
Budibase Release Bot 8dc5f87972 Update pro version to 2.4.40 2023-03-29 08:00:57 +00:00
Budibase Release Bot f941ba6fe8 v2.4.40 2023-03-29 07:57:56 +00:00
Budibase Staging Release Bot 5eca2cc59e Update pro version to 2.4.27-alpha.12 2023-03-28 20:24:06 +00:00
Budibase Staging Release Bot 31c708b479 v2.4.27-alpha.12 2023-03-28 20:20:49 +00:00
Budibase Staging Release Bot bd2269d861 Update pro version to 2.4.27-alpha.11 2023-03-28 17:47:28 +00:00
Budibase Staging Release Bot 40625f099c v2.4.27-alpha.11 2023-03-28 17:44:35 +00: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 8196277a01 Add scim group api test tools 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 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 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 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 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 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 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 4068faf9f3 Add scaffolding 2023-03-28 16:46:22 +01:00
adrinr d083553373 Add scim endpoints 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
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
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
Dean 8557c307dd Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-28 11:19:08 +01:00
deanhannigan dfe6b55c1a Merge branch 'feature/whitelabelling' into feature/whitelabelling-pro 2023-03-28 09:13:47 +01:00
Budibase Staging Release Bot 9a02364856 Update pro version to 2.4.27-alpha.8 2023-03-28 00:49:45 +00:00
Budibase Staging Release Bot ba909a6442 v2.4.27-alpha.8 2023-03-28 00:46:16 +00:00
Michael Drury 2295440370 Merge pull request #10120 from Budibase/fix/budi-6657
Fix for user groups adding users to app user metadata tables
2023-03-28 01:35:03 +01:00
Michael Drury a82bb9f109 adding force exit to all CI jobs. 2023-03-27 23:47:30 +01:00
Rory Powell 60650b031b Move branding read behind pro 2023-03-27 22:28:25 +01:00
Dean 51f2557e9a Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-27 21:15:31 +01:00
Dean 56e1d102fc Added feature flag function for branding to ensure it uses the cached license 2023-03-27 21:15:09 +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
Dean 4de8333f80 Review updates 2023-03-27 18:00:57 +01:00
Budibase Release Bot d5ccd1cc87 Update pro version to 2.4.36 2023-03-27 16:55:39 +00:00
Budibase Release Bot a5b6635850 v2.4.36 2023-03-27 16:52:46 +00:00
Budibase Staging Release Bot 3dcb457263 Update pro version to 2.4.27-alpha.7 2023-03-27 16:44:02 +00:00
Budibase Staging Release Bot 62d0a49761 v2.4.27-alpha.7 2023-03-27 16:40:48 +00:00
Dean 6db03768e6 Review updates 2023-03-27 17:28:12 +01:00
Dean 1d97e2a908 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-27 15:21:35 +01:00
Budibase Staging Release Bot b1f2031a6c Update pro version to 2.4.27-alpha.6 2023-03-27 13:57:40 +00:00
Budibase Staging Release Bot c93459ff4d v2.4.27-alpha.6 2023-03-27 13:54:21 +00:00
mike12345567 4b7446fb37 Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6657 2023-03-27 11:00:12 +01:00
Dean 1b6a2bebf9 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-27 10:56:13 +01:00
Budibase Staging Release Bot 05ba08a956 Update pro version to 2.4.27-alpha.5 2023-03-24 15:37:17 +00:00
Budibase Staging Release Bot c5eec07923 v2.4.27-alpha.5 2023-03-24 15:33:56 +00:00
Budibase Release Bot 033b7a2355 Update pro version to 2.4.35 2023-03-22 07:24:29 +00:00
Budibase Release Bot 32e1fd00d3 v2.4.35 2023-03-22 07:21:26 +00:00
Martin McKeaveney 4b24eadb92 Merge pull request #10056 from StarZeus/BUDI-9344
Configuration for Google Auth and OIDC Redirect URLs #9892
2023-03-22 07:03:32 +00:00
mike12345567 82286d519f Fixing some issues with test cases. 2023-03-21 17:27:31 +00:00
Dean bfd7e49c72 Template fixes and updates to the file picker. Error handling added to display a warning when navigating to an unpublished or invalid app url. 2023-03-21 09:20:43 +00:00
Budibase Release Bot ed927475d5 Update pro version to 2.4.34 2023-03-20 10:45:56 +00:00
Budibase Release Bot 775ae58003 v2.4.34 2023-03-20 10:42:57 +00:00
Budibase Release Bot 3186373837 Update pro version to 2.4.33 2023-03-20 09:26:00 +00:00
Budibase Release Bot 1d6fa91249 v2.4.33 2023-03-20 09:22:52 +00:00
Dean 5e84020849 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-20 09:07:19 +00:00
Budibase Staging Release Bot e54173ee4c Update pro version to 2.4.27-alpha.4 2023-03-16 17:22:17 +00:00
Budibase Staging Release Bot f57f2d3634 v2.4.27-alpha.4 2023-03-16 17:19:17 +00:00
Budibase Release Bot 7ee305231d Update pro version to 2.4.32 2023-03-16 13:48:54 +00:00
Budibase Release Bot 1d7abe7031 v2.4.32 2023-03-16 13:45:11 +00:00
Vinoth Kirubakaran a46a33877b chore: ran prettier for environment.ts and auth.ts 2023-03-16 12:43:06 +00:00
Vinoth Kirubakaran 9407383c54 Update auth.ts
Updated success and error redirect paths using ENV variables
2023-03-16 12:42:48 +00:00
Vinoth Kirubakaran 0b26cc8743 Update environment.ts
Added new ENV variables for auth redirect paths
2023-03-16 12:42:29 +00:00
Budibase Release Bot e841ccd0ed Update pro version to 2.4.31 2023-03-16 11:48:02 +00:00
Budibase Release Bot ab6d95acc6 v2.4.31 2023-03-16 11:45:05 +00:00
Dean ce33afdeae Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-16 09:07:58 +00:00
Dean 253ee413a2 Working commit 2023-03-16 09:07:21 +00:00
Budibase Staging Release Bot 739a44c79b Update pro version to 2.4.27-alpha.3 2023-03-16 08:53:36 +00:00
Budibase Staging Release Bot 8b4b73c9f1 v2.4.27-alpha.3 2023-03-16 08:50:36 +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
Budibase Staging Release Bot f065f9b621 Update pro version to 2.4.27-alpha.2 2023-03-15 16:57:13 +00:00
Budibase Staging Release Bot 08388311c9 v2.4.27-alpha.2 2023-03-15 16:53:36 +00:00
Budibase Staging Release Bot 15b683867c Update pro version to 2.4.27-alpha.1 2023-03-15 16:15:14 +00:00
Budibase Staging Release Bot e5868c2b6d v2.4.27-alpha.1 2023-03-15 16:11:54 +00:00
Budibase Staging Release Bot 17db2d407a Update pro version to 2.4.27-alpha.0 2023-03-15 10:37:16 +00:00
Budibase Staging Release Bot b86bd34fff v2.4.27-alpha.0 2023-03-15 10:34:05 +00:00
Budibase Release Bot 3edb9a76d5 Update pro version to 2.4.30 2023-03-15 10:25:04 +00:00