1
0
Fork 0
mirror of synced 2024-09-10 22:46:09 +12:00
Commit graph

17837 commits

Author SHA1 Message Date
adrinr
5ea8086be0 Remove scripts 2023-04-11 16:52:59 +01:00
adrinr
859b10c4be Change references on jest 2023-04-11 16:51:50 +01:00
Andrew Kingston
361ab9e3cd Add validation to duplicating rows 2023-04-11 16:46:17 +01:00
mike12345567
ac37d00f69 Updating plugins to have a SDK, which can be used for automation action retrieval as well as datasources. 2023-04-11 16:37:26 +01:00
Andrew Kingston
4a6713e9d3 Add multiple validation improvements 2023-04-11 16:34:13 +01:00
adrinr
f882993091 Name and its fields are optional 2023-04-11 16:12:18 +01:00
Budibase Release Bot
471bb82f7b Update pro version to 2.5.3 2023-04-11 13:49:55 +00:00
Budibase Release Bot
fb268f1655 v2.5.3 2023-04-11 13:46:26 +00:00
Budibase Staging Release Bot
2e60ca7526 Update pro version to 2.4.44-alpha.12 2023-04-11 13:46:00 +00:00
Budibase Staging Release Bot
08dbee5384 v2.4.44-alpha.12 2023-04-11 13:42:48 +00:00
Michael Drury
3eafda506f Merge pull request #10227 from Budibase/fix/10155
Fixing #10155 - some options errors were being swallowed and in gener…
2023-04-11 14:35:11 +01:00
adrinr
9a330b85f8 Fix timeouts 2023-04-11 14:20:15 +01:00
Andrew Kingston
6c203a1e66 Increase horizontal padding when scrolling to a selected cell 2023-04-11 14:19:02 +01:00
Andrew Kingston
1726948f67 Add custom colors for drop shadows and blue-100 to all themes, fix sticky column shadow 2023-04-11 14:07:27 +01:00
adrinr
c77ed3d737 Renames 2023-04-11 13:39:13 +01:00
adrinr
56567de04a Fix tests 2023-04-11 13:39:13 +01:00
adrinr
e1279ffecd Use proper errors instead of string throwing 2023-04-11 13:39:13 +01:00
adrinr
57a3ff96ea Add new test for conflicting user email 2023-04-11 13:39:13 +01:00
Budibase Staging Release Bot
0acb821b70 Update pro version to 2.4.44-alpha.11 2023-04-11 12:31:40 +00:00
mike12345567
e54b48465b Merge branch 'develop' of github.com:Budibase/budibase into labday/automation-plugins 2023-04-11 13:31:39 +01:00
Budibase Staging Release Bot
6aefc6b643 v2.4.44-alpha.11 2023-04-11 12:28:43 +00:00
Adria Navarro
37b56b8084 Merge pull request #10253 from Budibase/handle_removing_users
BUDI-6838 - Remove users on deactivation - Amend tests
2023-04-11 14:21:08 +02:00
Andrew Kingston
ab70dfbcf0 Fix resize overlays 2023-04-11 12:19:54 +01:00
Andrew Kingston
fe70793e75 Refactor stores to fix dependency issues, use modals for adding rows, simplify sheet 2023-04-11 12:17:08 +01:00
mike12345567
c4a4bdc9da Fixing tenancy.spec.ts - mocking was a bit messed up, moving it all around to work as expected. 2023-04-11 10:54:04 +01:00
Mateus Badan de Pieri
de613d2b28 latest version 2023-04-11 10:22:47 +01:00
Michael Drury
1c7c06e983 Bulk of the automation plugin system, supporting custom plugins. 2023-04-10 23:48:54 +01:00
Michael Drury
4badd04e33 Some automation fixes and adding option to disable logging for CLI. 2023-04-10 22:33:53 +01:00
Budibase Staging Release Bot
069fb64245 Update pro version to 2.4.44-alpha.10 2023-04-10 18:55:59 +00:00
Budibase Staging Release Bot
a3c0510ed7 v2.4.44-alpha.10 2023-04-10 18:53:08 +00:00
Maurits Lourens
2cc2b94346 fix small typo (#10252) 2023-04-10 19:45:29 +01:00
adrinr
122db55dce Fix tests 2023-04-10 18:47:22 +01:00
Andrew Kingston
81a28eb4da Large refactors to row creation, naming and sheet APIs 2023-04-10 18:46:34 +01:00
Budibase Release Bot
7d63586c8c Update pro version to 2.5.2 2023-04-07 21:33:30 +00:00
Budibase Release Bot
1b0635e957 v2.5.2 2023-04-07 21:30:39 +00:00
Martin McKeaveney
3b32120f83 bumping worker leaf version 2023-04-07 22:06:19 +01:00
Martin McKeaveney
60d7764add bump vm2 versions 2023-04-07 21:58:36 +01:00
mike12345567
400a112a4b Refactoring automation steps to be better defined in Typescript, which allows writing the validator for automations. 2023-04-06 18:11:44 +01:00
Michael Drury
58d0a82108 First sync test, checking that a user is created correctly. 2023-04-05 22:35:01 +01:00
Michael Drury
0771ec55fb Small change to make sure no duplicates ever occur. 2023-04-05 21:22:50 +01:00
Michael Drury
70c9d06832 Adding group management to background user/group sync. 2023-04-05 20:51:47 +01:00
Michael Drury
bfec84e1df Removing console logging. 2023-04-05 20:32:41 +01:00
mike12345567
0803b08217 Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-6754 2023-04-05 17:59:18 +01:00
mike12345567
022b3acbcc Linting. 2023-04-05 17:54:05 +01:00
mike12345567
01be92c9db Reverting test sql changes. 2023-04-05 17:50:14 +01:00
mike12345567
373952a59b Fixing #10155 - some options errors were being swallowed and in general it was never considered to be an error state due to the 'handled' flag being consistently sent, changed the logic a bit here. 2023-04-05 17:43:35 +01:00
Andrew Kingston
da2023974e Update new row component, fix z-index issues, improve UX 2023-04-05 17:36:38 +02:00
Mateus Badan de Pieri
f1b7ff0f7c fixing expect on throw 2023-04-05 16:30:00 +01:00
Mateus Badan de Pieri
b0df710a2a tweaks on some tests 2023-04-05 16:13:39 +01:00
Budibase Staging Release Bot
6396548064 Update pro version to 2.4.44-alpha.9 2023-04-05 14:44:51 +00:00
Budibase Staging Release Bot
efa1ea7b1b v2.4.44-alpha.9 2023-04-05 14:41:48 +00:00
Rory Powell
77ffb8d86d Run integration suite in CI again / auto detect tenancy / refactors (#10209)
* qa-core-ci-fixes

* global setup and teardown wip

* Updates to logs and setup

* Remove date and console mocking

* Update CI to spin up minimal dev env

* Update readme

* Fix scopeBackend.sh

* Ensure docker services are initialised before starting worker

* Lint

* Fix admin user being created on startup (#10219)

* use regular bootstrap and build

* Lint

* Temp: re-use global setup to get around app limit in QA
2023-04-05 15:33:56 +01:00
Mateus Badan de Pieri
6bd950717c mocked correctly 2023-04-05 14:14:55 +01:00
Budibase Staging Release Bot
18ccf134b9 Update pro version to 2.4.44-alpha.8 2023-04-05 12:21:27 +00:00
Budibase Staging Release Bot
f02f996744 v2.4.44-alpha.8 2023-04-05 12:18:30 +00:00
adrinr
38535e8ef4 Format 2023-04-05 12:17:32 +01:00
adrinr
ae9f91885f Fix flaky tests 2023-04-05 12:17:02 +01:00
mike12345567
e699f4684a Updating the global user sync to be more accurate and also remove old user metadata from apps that users don't have access to anymore. 2023-04-04 18:03:56 +01:00
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
mike12345567
e128642bce Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-6754 2023-04-04 13:37:59 +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
Peter Clement
c571a3f881 Fix issue with REST bindings not being shown in drawer 2023-04-04 09:12:15 +01: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
Michael Drury
ff98ba5a0a Adding a document update queue based on the events which can be used to track when certain documents have changed, using this for users and groups to detect when a re-sync is needed. 2023-04-04 00:25:15 +01:00
adrinr
e0bcc42c80 Make scim info extensible and the object unaware of the data 2023-04-03 19:06:03 +01:00
adrinr
ad4f70b826 Type emails 2023-04-03 16:45:55 +01:00
adrinr
c0d7f2329a Extract valid email util 2023-04-03 16:42:30 +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
mike12345567
29def1408a Fixing syntax error and linting. 2023-04-03 15:36:34 +01:00
Michael Drury
2f57b3b16d Merge pull request #10077 from robert4dt/develop
Handle application/pdf content type in rest integration
2023-04-03 15:30:03 +01: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
Michael Drury
9e68e9cf2f Merge pull request #10181 from Budibase/fix/same-tab-googlesheets-onboarding
Minor googlesheets onboarding improvement
2023-04-03 12:22:09 +01: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
Peter Clement
f2eced6ea4 Merge pull request #10180 from Budibase/fix/no-iterations-loop
Add new status to handle no iterations during loop
2023-04-03 12:00:15 +01:00
adrinr
d943e387b1 Expose actual error message 2023-04-03 12:00:06 +01:00
Mateus Badan de Pieri
b6fd3b7cf7 primary tests cases 2023-04-03 11:28:20 +01: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
Andrew Kingston
5ab0652c87 Fix scroll not working in new row 2023-04-01 10:50:42 +01: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
Michael Drury
d09ed24346 Merge pull request #10185 from Budibase/fix/409-user-test
User test sporadic 409 fix
2023-03-31 23:52:27 +01: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
Michael Drury
d3e749d2de Fix for 409 conflict which occurs in one of the user test cases - should stop it occurring in future. 2023-03-31 23:32:33 +01:00
Michael Drury
09a48a1d21 Merge branch 'develop' of github.com:Budibase/budibase into fix/no-iterations-loop 2023-03-31 23:29:21 +01:00
Andrew Kingston
a50e9ccbc7 Fix overlapping long form text borders 2023-03-31 20:35:29 +01:00
Andrew Kingston
fcb8b9e9b1 Add resizable rows 2023-03-31 20:33:08 +01:00
Andrew Kingston
a0299d4c7c Move new row component to top, automatically invert cell renderers when required 2023-03-31 17:37:59 +01:00
mike12345567
2e80bab7ad Removing requirement for built client library in component test case. 2023-03-31 17:13:25 +01:00
Mateus Badan de Pieri
e6ac534fca isUserInAppTenant tests working 2023-03-31 15:07:28 +01:00
mike12345567
ea70b6232f Making login page open SSO authorization on same page, rather than leaving a dead tab. 2023-03-31 14:52:18 +01:00
mike12345567
8673ed1dae Minor improvement - opening the google authorization in the same tab as onboarding rather than creating a dead tab. 2023-03-31 14:03:34 +01:00
mike12345567
906d614c64 Merge branch 'merge-master-develop' of github.com:Budibase/budibase into merge-master-develop 2023-03-31 13:51:20 +01:00
Budibase Staging Release Bot
420190f577 Update pro version to 2.4.42-alpha.8 2023-03-31 12:37:45 +00:00
Budibase Staging Release Bot
329beee00d v2.4.42-alpha.8 2023-03-31 12:34:45 +00:00
Andrew Kingston
7050c6713a Remove log and add notification when creating or editing columns 2023-03-31 13:21:53 +01:00
Adria Navarro
7d794f005e Merge pull request #10162 from Budibase/bug/budi-6782-internal-table-all-row-ids-for
Bug - BUDI-6782 - Internal table all row ids for
2023-03-31 14:21:15 +02: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
Andrew Kingston
5d554d0616 Fix selecting newly created rows 2023-03-31 13:16:40 +01:00
mike12345567
e9f69dcfea Adding default state. 2023-03-31 12:51:45 +01:00
Rory Powell
e9322be28f Merge branch 'develop' into merge-master-develop 2023-03-31 12:39:22 +01:00
Budibase Staging Release Bot
cdc545d0bb Update pro version to 2.4.42-alpha.7 2023-03-31 11:34:54 +00:00
Budibase Staging Release Bot
99bea8e7ce v2.4.42-alpha.7 2023-03-31 11:31:30 +00:00
Rory Powell
44aa19a99a Merge branch 'master' into merge-master-develop 2023-03-31 12:26:04 +01:00
Peter Clement
0a567a3302 add new status to handle no iterations during loop 2023-03-31 12:23:10 +01:00
Adria Navarro
cfb93063b2 Merge pull request #10153 from Budibase/budi-6803-delete-users-when-group-removed
BUDI-6803 - Remove users that should not be there anymore when syncGlobalUsers
2023-03-31 13:15:11 +02:00
Andrew Kingston
ff4c0aed46 Fix add row button not appearing when horizontal scrollbar is hidden 2023-03-31 12:13:00 +01:00
Budibase Staging Release Bot
175cbaf4b0 Update pro version to 2.4.42-alpha.6 2023-03-31 11:11:39 +00:00
Andrew Kingston
b2d2cf3989 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-31 12:08:58 +01:00
Budibase Staging Release Bot
9c8fcacf2a v2.4.42-alpha.6 2023-03-31 11:08:33 +00:00
Andrew Kingston
d8800c2823 Fix options ordering 2023-03-31 12:07:49 +01:00
Adria Navarro
ceba91fd5c Merge pull request #10176 from Budibase/bug/budi-6631-define-existing-relationships-doesnt
[BUG] Refresh sql columns on defining relationships
2023-03-31 13:00:58 +02:00
Andrew Kingston
dbf5bfe83d Ensure all sheet feature flags work as expected and fix multi row deletion 2023-03-31 12:00:32 +01: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
mike12345567
75baba76d6 Resolving PR comments. 2023-03-31 11:38:09 +01:00
adrinr
6f69798f27 Undo wrongly commited code 2023-03-31 11:27:44 +01:00
adrinr
4ca6982d27 Prevent double deletions 2023-03-31 11:25:51 +01:00
adrinr
faa1c27d29 Refresh sql columns on defining relationships 2023-03-31 10:53:50 +01: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
Andrew Kingston
58141b5183 Improve animations for adding rows and handle add row failure 2023-03-31 10:17:18 +01:00
Andrew Kingston
fc009b722f Add new footer for adding rows, improve store memoization, support inverting all data types 2023-03-31 10:12:52 +01:00
adrinr
ec0acadd0a Fix user crossover on the bulder when no using account portal 2023-03-31 09:46:56 +01:00
adrinr
6a257bf9c3 Tweak tests 2023-03-31 09:01:40 +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
mike12345567
b19df9da22 Some final updates to get event spyOn working again. 2023-03-30 17:15:49 +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
Andrew Kingston
11dd5fc805 Sort columns to put autocolumns last 2023-03-30 16:23:13 +01:00
Andrew Kingston
0c53e06267 Fix text cell not using full width 2023-03-30 16:16:07 +01:00
Andrew Kingston
7570c52879 Allow expanding rows using existing edit row modal 2023-03-30 16:12:28 +01:00
mike12345567
47897c8afa Basic moving around of assets. 2023-03-30 16:07:59 +01:00
adrinr
8e8f4ac02d Add extra assertion 2023-03-30 15:16:45 +01:00
adrinr
2dd8b078e5 Test removing users from group 2023-03-30 15:14:16 +01:00
adrinr
b8fe9671b1 Rename test 2023-03-30 15:12:40 +01:00
mike12345567
d6f38bc0ba Merge branch 'develop' of github.com:Budibase/budibase into test/coverage-bckend-core 2023-03-30 14:14:25 +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
deanhannigan
b2e6d3647e Merge pull request #10167 from Budibase/feature/whitelabelling
Fix for meta card title override behaviour
2023-03-30 13:48:46 +01:00
Budibase Staging Release Bot
c60f9795ba v2.4.42-alpha.3 2023-03-30 12:48:33 +00:00
Mateus Badan de Pieri
02f33b59bb changing url 2023-03-30 13:42:04 +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
Mateus Badan de Pieri
0c10803cd9 Create file and function to AddTenantToUrl 2023-03-30 13:38:17 +01:00
Dean
3cba6109f6 First for meta card title override behaviour 2023-03-30 13:08:40 +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
Martin McKeaveney
586a31e4b9 Merge pull request #10141 from Budibase/fix/sample-data-auto-ids
fix auto columns in sample data
2023-03-30 12:25:54 +01:00
adrinr
8d45e44e2f Fix types 2023-03-30 11:30:35 +01:00
adrinr
eb0d445295 Add test for autoid when importing 2023-03-30 10:37:38 +01:00
adrinr
6c610a3181 Types (with forced checks!) 2023-03-30 10:21:50 +01:00
adrinr
420cfd0f96 Fix autoids when importing internal data 2023-03-30 10:12:50 +01:00
Andrew Kingston
5640b2fa89 Make sheet gutter width customisable 2023-03-30 09:19:39 +01:00
Andrew Kingston
09f4f210ee Remove log 2023-03-30 08:53:26 +01:00
Andrew Kingston
d3c17308ab Fix one-to-many relationships allowing selecting multiple rows on both sides 2023-03-30 08:53:09 +01:00
Andrew Kingston
7ba064dd31 Rollback state changes when row saving fails 2023-03-30 08:52:43 +01:00
Andrew Kingston
aaa0f1a7a0 Disable websocket in sheets 2023-03-30 08:52:22 +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
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
adrinr
301ad598ad Test user group deletion 2023-03-29 17:05:32 +01:00
adrinr
efff31e181 Test user groups 2023-03-29 17:02:56 +01:00
adrinr
4cb6b99982 Types 2023-03-29 16:42:55 +01:00
adrinr
8783f0123d Add tests for admins vs app users 2023-03-29 16:42:31 +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
adrinr
b368c14308 Add unit tests to test new users 2023-03-29 16:18:32 +01:00
adrinr
e25429632b Remove users that should not be there anymore when syncGlobalUsers 2023-03-29 15:35:55 +01:00
Andrew Kingston
b7bea0556c Remove redundant sheet schema context and fix issues with mutating table schema 2023-03-29 15:35:36 +01:00
Budibase Staging Release Bot
0257617ba1 Update pro version to 2.4.42-alpha.1 2023-03-29 14:01:00 +00:00
Andrew Kingston
eeda58822c Improve preservation of column widths in sheets when making schema changes 2023-03-29 14:57:56 +01: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
b6be98fa4e Making logic around logout very explicit. 2023-03-29 14:22:07 +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
mike12345567
e5ba70e7b4 Removing validation endpoint for external tables, always valid. 2023-03-29 12:16:14 +01:00
mike12345567
e10943e6f8 Removing external table validation - will have to come up with a best way to do this and a test suite for it. 2023-03-29 12:13:23 +01:00
mike12345567
25fd16f753 Revert "Revert "Merge pull request #10038 from Budibase/fix/budi-6723" (#10143)"
This reverts commit 89d19a87a7.
2023-03-29 12:12:38 +01:00
Andrew Kingston
31f6f9db7b Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-29 12:09:57 +01: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
204b6d2950 Fix config type 2023-03-29 09:31:07 +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
Rory Powell
89d19a87a7 Revert "Merge pull request #10038 from Budibase/fix/budi-6723" (#10143)
This reverts commit b1b18bef18, reversing
changes made to e841ccd0ed.
2023-03-29 08:48:06 +01: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
Andrew Kingston
f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01: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
Martin McKeaveney
bcbed08a40 Merge pull request #9951 from Budibase/settings-panel-update
Settings panel layout update
2023-03-28 18:36:58 +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
23088c036e Replace beforeEach for before All 2023-03-28 16:46:23 +01:00
adrinr
31f94f6c3c Fix tests 2023-03-28 16:46:23 +01:00
adrinr
ac1da306f9 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr
14347096e4 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr
b50e4df28c Use feature instead of license 2023-03-28 16:46:23 +01:00
adrinr
d615e1daed Create feature store 2023-03-28 16:46:23 +01:00
adrinr
dd2ec5ed78 Don't allow deleting users that are AD sync 2023-03-28 16:46:23 +01:00
adrinr
247f44ac32 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
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
3c081843f0 Remove unnecessary deletes 2023-03-28 16:46:23 +01:00
adrinr
5d487950b1 Change default scimenabled value 2023-03-28 16:46:23 +01:00
adrinr
045af06edb Use feature flag 2023-03-28 16:46:23 +01:00
adrinr
2fb6f81094 Display api key 2023-03-28 16:46:23 +01:00
adrinr
9094d3c9fd Display right provisioning url 2023-03-28 16:46:23 +01:00
adrinr
5b98d9cbd9 Show settings 2023-03-28 16:46:23 +01:00
adrinr
675d3c5c65 Break components 2023-03-28 16:46:23 +01:00
adrinr
53020e2d2d Create config 2023-03-28 16:46:23 +01:00
adrinr
4a4ba487a0 Allow scim config type 2023-03-28 16:46:23 +01:00
adrinr
c80d265ea3 Show SCIM banner on group detail 2023-03-28 16:46:23 +01:00
adrinr
4ba0cf6d55 Don't allow deleting users from group 2023-03-28 16:46:23 +01:00
adrinr
76f6c86c0a Show SCIM banner in group list 2023-03-28 16:46:23 +01:00
adrinr
2e40cc6926 Reuse component 2023-03-28 16:46:23 +01:00
adrinr
1bc568f634 Do not display remove group option when readonly 2023-03-28 16:46:23 +01:00
adrinr
15ed91ef85 Make fields readonly if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr
1a26899d90 Display banner if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr
934a2f09d7 Right checks 2023-03-28 16:46:23 +01:00
adrinr
0c5d33a642 Show SCIM banner if SCIM enabled 2023-03-28 16:46:23 +01:00
adrinr
1838f75dbc Add test 2023-03-28 16:46:23 +01:00
adrinr
d9ff01b5f0 Clean code 2023-03-28 16:46:23 +01:00
adrinr
54265816cc Renames 2023-03-28 16:46:23 +01:00
adrinr
c48952d056 Add group event scim messages 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
d1c224ed42 Fix tests 2023-03-28 16:46:23 +01:00
adrinr
74573a1625 Rename routes 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
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
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
7840470d83 Add create test 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
344a34ac7c Fix build errors 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
9d0aff96e4 Add members to group 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
771e3b8862 Bookmark optional 2023-03-28 16:46:22 +01:00
adrinr
10e465e07d Fix merge conflicts 2023-03-28 16:46:22 +01:00
adrinr
beb4118582 Renames 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
fd0c88afac Add types 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
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
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
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
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
621c06eada Add view 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
7c719df895 Add update 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
97e181fffe Add feature 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
21f01a53c5 Add isScimSync flag 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
437672a6a3 Unify interfaces 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
f8cebeba4e Add create types 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
adrinr
f65ded4282 Allow bearer token for auth 2023-03-28 16:46:22 +01:00