1
0
Fork 0
mirror of synced 2024-09-18 02:08:34 +12:00
Commit graph

526 commits

Author SHA1 Message Date
mike12345567
b4e6cbce7a Some final updates to get tests passing again, issue with publisher tenant ID being the 'unique' format which cannot actually be used. 2023-04-17 15:59:59 +01:00
mike12345567
453d5cc0e6 Further PR comments. 2023-04-17 14:03:54 +01:00
Michael Drury
ef5bcc4b66 Main body of PR comments, switching event handling to be a publisher of async events, a generic event; then adding a new async document update processor, which can later be converted to be part of the event processing pipeline. 2023-04-15 00:37:22 +01:00
Michael Drury
941947f04c Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-6754 2023-04-14 22:42:02 +01:00
Pedro Silva
3147eb2892 Merge branch 'develop' into qa-core-datasource-api-tests 2023-04-14 17:59:40 +01:00
Pedro Silva
e20838fd42 Add rest test and fix type 2023-04-14 17:35:13 +01:00
Andrew Kingston
69f6834886 Improve sheet integration with data section and add horizontal cell inversion 2023-04-13 12:01:16 +01:00
Pedro Silva
695f77fd1d Add types for datasources endpoints 2023-04-13 11:13:21 +01:00
Pedro Silva
a8460169d1 Improvements on types, helpers and assertions 2023-04-12 18:18:28 +01:00
mike12345567
a9fb09424b Merge branch 'develop' of github.com:Budibase/budibase into labday/automation-plugins 2023-04-12 14:27:50 +01:00
adrinr
f882993091 Name and its fields are optional 2023-04-11 16:12:18 +01:00
Michael Drury
1c7c06e983 Bulk of the automation plugin system, supporting custom plugins. 2023-04-10 23:48:54 +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
0771ec55fb Small change to make sure no duplicates ever occur. 2023-04-05 21:22:50 +01:00
mike12345567
0803b08217 Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-6754 2023-04-05 17:59:18 +01: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
mike12345567
e128642bce Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-6754 2023-04-04 13:37:59 +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
Adria Navarro
e1669c8260 Merge pull request #10022 from Budibase/feature/scim
Feature - SCIM endpoints
2023-04-03 13:22:01 +02: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
Peter Clement
0a567a3302 add new status to handle no iterations during loop 2023-03-31 12:23:10 +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
adrinr
18ccb0fd27 Add and map display name in scim 2023-03-29 10:41:37 +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
4a4ba487a0 Allow scim config type 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
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
099cc145bf Clean code 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
7bfdd31daa Test different patch use cases 2023-03-28 16:46:23 +01:00
adrinr
9d0aff96e4 Add members to group 2023-03-28 16:46:23 +01:00
adrinr
586275ed89 Allow fields edit 2023-03-28 16:46:22 +01:00
adrinr
771e3b8862 Bookmark optional 2023-03-28 16:46:22 +01:00
adrinr
beb4118582 Renames 2023-03-28 16:46:22 +01:00
adrinr
8f3488707b Add get and create tests 2023-03-28 16:46:22 +01:00
adrinr
fd0c88afac Add types 2023-03-28 16:46:22 +01:00
adrinr
e222381a6c Test extra cases 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
ad2a23d113 Test filtering by user name 2023-03-28 16:46:22 +01:00
mike12345567
900e6c8129 Adding search index for user. 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
7c719df895 Add update endpoint 2023-03-28 16:46:22 +01:00
adrinr
97e181fffe Add feature 2023-03-28 16:46:22 +01:00
adrinr
3e68e8ebe8 Add tests 2023-03-28 16:46:22 +01:00
adrinr
21f01a53c5 Add isScimSync flag 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
f8cebeba4e Add create types 2023-03-28 16:46:22 +01:00
adrinr
4068faf9f3 Add scaffolding 2023-03-28 16:46:22 +01:00
Rory Powell
60650b031b Move branding read behind pro 2023-03-27 22:28:25 +01:00
Dean
eb3e38bb61 Removed the license agreement toggle 2023-03-27 15:32:45 +01:00
Dean
8131d9dc6f Branding feature flag changes, config trimming and some fixes 2023-03-27 15:17:14 +01: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
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
Rory Powell
65d340543c Sign up/Sign In with Microsoft (#9873)
* Type updates

* Update type def for new account provider type of microsoft
2023-03-15 16:43:29 +00:00
Dean
c7e54947a8 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-15 10:28:08 +00:00
mike12345567
c2de0ade7d Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6723 2023-03-14 14:25:46 +00:00
mike12345567
3d84409a58 Making sure created flag gets carried across for external tables. 2023-03-13 18:18:04 +00:00
Dean
5ce52cad06 Working commit 2023-03-13 12:33:16 +00:00
Adria Navarro
63afd34eb2 Bug - BUDI-6068 filters do not work for google sheets (#9886)
* Add data-utils with filters

* Create data-utils

* Add data-utils to compiled code

* Reuse constants

* Fix tests

* Rename package to shared-core

* Namespace export shared-core

* Rely on rollup to bundle shared-core

* Revert "Rely on rollup to bundle shared-core"

This reverts commit e8b5a2bb9a.

* Updating version and removing private.

* Update version

* Increment versions.

* Implement sort

* Enabling sort

* v2.3.21-alpha.2

* Fix build

* Improve readability

* Move deepGet to shared helper

* Better type usage

* Fix types

* Configure types

* Fix vite refs

* Add dep

* Fixing depencencies on client

* Add missing dev command

* Fix loading issues

* Update versions to latest

* Multiple es6 and commonjs configs

* Config

* Use local packages on rollup for client

* Change shared-core and types entry points

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-09 12:25:12 +00:00
Adria Navarro
158703daef Bug - BUDI-6068 filters do not work for google sheets (#9886)
* Add data-utils with filters

* Create data-utils

* Add data-utils to compiled code

* Reuse constants

* Fix tests

* Rename package to shared-core

* Namespace export shared-core

* Rely on rollup to bundle shared-core

* Revert "Rely on rollup to bundle shared-core"

This reverts commit e8b5a2bb9a.

* Updating version and removing private.

* Update version

* Increment versions.

* Implement sort

* Enabling sort

* v2.3.21-alpha.2

* Fix build

* Improve readability

* Move deepGet to shared helper

* Better type usage

* Fix types

* Configure types

* Fix vite refs

* Add dep

* Fixing depencencies on client

* Add missing dev command

* Fix loading issues

* Update versions to latest

* Multiple es6 and commonjs configs

* Config

* Use local packages on rollup for client

* Change shared-core and types entry points

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-09 08:50:26 +00:00
mike12345567
ae3671ea42 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-07 17:49:44 +00:00
Dean
f622c84ebc Review feedback 2023-03-07 16:39:26 +00:00
Dean
5b9fbbc3b4 Various fixes for update self behaviour 2023-03-07 13:35:18 +00:00
adrinr
77cbe9bc8d Update docs 2023-03-07 13:30:23 +01: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
4d0116a553 Linting. 2023-03-02 18:22:58 +00:00
mike12345567
2125331b14 First pass - converting CLI to Typescript. 2023-03-02 18:21:45 +00:00
Michael Drury
857742c419 Merge pull request #9864 from Budibase/fix/audit-log-fixes
Audit logs fixes
2023-03-02 15:08:20 +00:00
Rory Powell
51b5dc98b4 Account portal no passwords sso (#9861)
* Structures and types updates for account-portal-no-passwords-sso

* lint
2023-03-02 14:38:15 +00:00
mike12345567
2335932978 Some updates to core types - used in pro update. 2023-03-02 10:20:49 +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
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
Dean
a5c6dbe4ae Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-28 16:38:44 +00:00
adrinr
c254c565e4 Use redlock for writethrough 2023-02-28 14:54:34 +01:00
Rory Powell
7ed0586673 Add validation between sso config acivation and sso enforcement 2023-02-28 13:36:54 +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
2fb33e2cf3 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-27 14:51:33 +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
Rory Powell
3d12607b98 Update packages/types/src/documents/global/config.ts
Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-02-27 12:02:49 +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
mike12345567
8fb5168d56 Fix for auth logout test case. 2023-02-24 17:42:22 +00:00
mike12345567
62501b0185 Adding a system for checking audited data in events, so that PII can be removed by posthog processor. 2023-02-24 16:45:33 +00:00
mike12345567
8853776c79 Moving around processors to separate audit logs out of central event handling. 2023-02-24 13:52:54 +00:00
mike12345567
58fab29fb4 Main body of PR comments. 2023-02-24 13:32:45 +00:00
mike12345567
f070be5f65 Moving search index to an enum. 2023-02-24 13:15:14 +00:00
Rory Powell
d3a7286711 Configs updates: remove circular deps, dedicated module, typing improvements, reduce db reads 2023-02-23 13:41:35 +00:00
Dean
234e2fe3f3 Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-23 11:19:29 +00:00
Dean
b4c88bd545 Merge commit to dev 2023-02-23 10:38:03 +00:00
mike12345567
c6dadaa4ff Some work to make sure the user agent and ip address are always passed correctly to audit logs. 2023-02-22 16:10:54 +00:00
mike12345567
22f42ef898 Adding new mechanism to get the ipAddress and userAgent of call for audit logs. 2023-02-21 19:14:57 +00:00
mike12345567
ef30c03fa6 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-21 17:26:24 +00:00
mike12345567
b48acd8cf4 Some DB type updates (typing dump function) and adding in main audit log event publishers. 2023-02-21 14:56:38 +00:00
mike12345567
e223fae02a Updating types to plurals after discussion about API design. 2023-02-21 12:24:43 +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
mike12345567
6cc96f39b1 Minor fixes for friendly audited events, and a new function for comparing app IDs. 2023-02-20 17:20:42 +00:00
mike12345567
b60013cbb8 switching metadataSearch to fullSearch. 2023-02-20 11:29:43 +00:00
mike12345567
70e525b928 Updating types for audit logs to correctly handle the deletion of resources like users or apps. 2023-02-17 19:00:45 +00:00
mike12345567
eca34d73ed Finishing up search API, updating typing in lucene layer. 2023-02-17 17:46:49 +00:00
mike12345567
6ec5e97ce9 Required work to support the new lucene audit logs search indexing. 2023-02-17 16:26:55 +00:00
mike12345567
2afd3e1580 Updating events to include a proper friendly map of audited events. 2023-02-15 19:44:32 +00:00
mike12345567
c60b6da0ab Removing pro from backend-core. 2023-02-15 13:49:30 +00:00
mike12345567
1ed4f4b8fe Update on audit logs, getting the full write flow from events configured. 2023-02-15 12:37:32 +00:00
mike12345567
46e9bf1443 Some updates to add in the audit log DB. 2023-02-13 18:16:13 +00:00
Rory Powell
0e3a17ab18 Merge pull request #9669 from Budibase/budi-6558-configurable-test-log-levels-and-common
Configurable test log levels and common error handling
2023-02-13 14:31:43 +00:00
Rory Powell
ae9979929a Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
Rory Powell
5cd6cb166a Configurable test log levels and common error handling 2023-02-13 11:53:01 +00:00
Peter Clement
2d2c960b75 add audit logs feature 2023-02-13 11:43:25 +00:00
Peter Clement
dd164e92ab Merge branch 'feature/audit-logs' of github.com:Budibase/budibase into feature/audit-logs 2023-02-13 09:51:23 +00:00
mike12345567
73c99910b1 initial commit of API design session outcomes. 2023-02-07 15:32:59 +00:00
adrinr
4eb0c07953 Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite 2023-02-02 10:12:33 +00:00
adrinr
34278349c3 Merge branch 'develop' into feature/dependencies-image 2023-02-01 10:56:22 +00:00
deanhannigan
ee288c1f2d Merge pull request #9409 from Budibase/feature/user-onboarding-overlays
Feature/user onboarding overlays
2023-01-31 16:37:18 +00:00
Adria Navarro
16e53957bc Merge branch 'develop' into feature/dependencies-image 2023-01-30 18:54:05 +00:00
mike12345567
c2eb8fb976 Update to cover the authentication for REST, replacing it with secret value and converting to password field, as well as minor update to env dropdown to only be a password field when not containing an environment variable - #9480. 2023-01-30 18:50:35 +00:00
Dean
2b4d28edb4 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-27 20:21:33 +00:00
Rory Powell
da2c809a09 Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
mike12345567
b38399cb74 Adding test cases as per PR comments. 2023-01-26 18:20:21 +00:00
Adria Navarro Redo
8c68741f98 Fix application delete tests 2023-01-26 18:20:21 +00:00
mike12345567
697cd8b4ea Adding test cases as per PR comments. 2023-01-25 18:27:58 +00:00
mike12345567
557a9a8eeb Adding an API for publishing an event from the frontend. 2023-01-23 18:56:44 +00:00
mike12345567
5a2937c8d2 Adding events for environment variables (created, deleted, upgrade panel opened). 2023-01-23 18:18:06 +00:00
melohagan
0daacf3425 Add fields for MongoDB SSL cert file paths (#8260)
* Added fields for tls certificate files

* lint

* Only include cert fields if SELF_HOSTED

* lint

* Refactor getSchema function

* Add datasource field group with accordion

* Handle no display column on fieldGroup field

* Override text transform accordian header

* Renamed from TLS to SSL in UI config

* readable flag

* Add accordion component

* Refactor
2023-01-23 16:46:02 +00:00
Dean
a10bd138ff Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-23 09:34:20 +00:00
Dean
14da8c0c9e Added new onboarding tour flow for builder 2023-01-23 00:32:01 +00:00
Adria Navarro
27171e7680 Extra typings 2023-01-20 11:48:11 +00:00
Adria Navarro
5fb20abcfd Add enrich test 2023-01-19 20:09:39 +00:00
mike12345567
b659060beb Updating datasource API to remove secrets when returning datasources. 2023-01-18 19:16:19 +00:00
mike12345567
3b219dc4ef Adding a warning for missing ENCRYPTION_KEY variable to the portal. 2023-01-18 17:29:56 +00:00
Adria Navarro
6bc658c1ff Fix types 2023-01-18 11:50:00 +00:00
Adria Navarro
89e0610600 Add basic test 2023-01-17 17:22:31 +00:00
mike12345567
3659768c42 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-17 15:25:17 +00:00
Gerard Burns
48e1695318 JSON import changes (#9288)
* JSON import changes

* Fix lockfiles

* PR Feedback, fix tests

* fix tests

* pr feedback
2023-01-17 15:07:52 +00:00
mike12345567
c645a9bc21 Some type updates and an improvement to encryption to allow selecting the secret from an option list. 2023-01-16 18:15:43 +00:00
mike12345567
10d1455b35 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-16 14:26:26 +00:00
Adria Navarro
946cc35ff7 Type request and body 2023-01-16 10:15:00 +00:00
Adria Navarro
748b55c732 Fix undefineds 2023-01-13 14:48:01 +00:00
Adria Navarro
ff10fa422b Unify endpoints 2023-01-13 14:45:04 +00:00
Adria Navarro
c853d2c78e Rename and move type check 2023-01-13 13:36:35 +00:00
Adria Navarro
a5c145d9f6 Replace BBContext for Ctx 2023-01-13 13:31:48 +00:00
mike12345567
87cf52192d Small update to properly support environments with environment variables, making sure that datasources correctly select based on app ID. 2023-01-12 14:38:12 +00:00
mike12345567
03df57d077 Adding in basic implementation of variable usage, getting from pro and enriching through new datasource SDK. 2023-01-11 17:57:51 +00:00
mike12345567
c9d8668062 Licensing updates for environment variables. 2023-01-09 15:42:09 +00:00
mike12345567
701e2ff860 Types and stubs for environment variables feature. 2023-01-06 16:41:45 +00:00
Martin McKeaveney
84ab7862d1 fixes for google sheets, admin checklist, and deleting an app from API (#8846)
* fixes for google sheets, admin checklist, and deleting an app from API

* code review

* splitting unpublish endpoint, moving deploy endpoint to applications controller. Still to do public API work and move deployment controller into application controller

* updating REST method for unpublish in API test

* unpublish and publish endpoint on public API, delete endpoint unpublishes and deletes app

* removing skip_setup from prodAppDb call

* removing commented code

* unit tests and open API spec updates

* unpublish, publish unit tests - delete still in progress

* remove line updating app name in API test

* unit tests

* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

* v2.2.4

* Update pro version to 2.2.4

* lock changes (#9047)

* v2.2.5

* Update pro version to 2.2.5

* Make looping arrow point in right direction (#9053)

* v2.2.6

* Update pro version to 2.2.6

* Types/attaching license to account (#9065)

* adding license type to account

* removing planDuration

* v2.2.7

* Update pro version to 2.2.7

* Environment variable type coercion fix (#9074)

* Environment variable type coercion fix

* Update .gitignore

* v2.2.8

* Update pro version to 2.2.8

* tests passing

* all tests passing, updates to public API response

* update unpublish call to return 204, openAPI spec and unit

* fixing API tests

Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-19 13:18:00 +00:00
Andrew Kingston
090ae5df49 Master => Develop (#9049)
* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-15 12:13:42 +00:00
Rory Powell
786039055e File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00
mike12345567
472454aef4 build fixes. 2022-12-07 18:04:20 +00:00
Andrew Kingston
0b6c459fbd Add basic component type 2022-11-29 16:21:59 +00:00
Andrew Kingston
8567ae70af Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-29 12:22:56 +00:00
Michael Drury
4f4eb4da26 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-29 11:13:54 +00:00
mike12345567
a02e9017ec Final fixes after re-running all test suites. 2022-11-28 19:12:23 +00:00
mike12345567
12d6e60525 One file left in the server, some fixes after converting the internal row controller. 2022-11-26 15:42:53 +00:00
mike12345567
658f12281d Fixes based on server build so far. 2022-11-26 15:10:41 +00:00
mike12345567
90362b65c1 Disabling js interop in Typescript build of backend-core and worker, fixing build issues. 2022-11-26 14:46:01 +00:00
mike12345567
a3bb2e0d77 Automation overhaul to Typescript, plus type updates. 2022-11-25 19:57:07 +00:00
mike12345567
eeebd0fe70 Typescript conversion of linked row controller. 2022-11-25 18:54:57 +00:00
mike12345567
7eac8fafd6 Some server typescript re-writes, only automations left and some controllers. 2022-11-25 15:01:46 +00:00
Andrew Kingston
abedb5d9eb Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-25 11:24:57 +00:00
Rory Powell
30a5d9939f Update Price type def 2022-11-25 11:00:35 +00:00
mike12345567
d3c4c99e16 Complete conversion of backend-core to Typescript. 2022-11-24 18:48:51 +00:00
Andrew Kingston
3480f6741c Rename table settings migration and only run on dev apps 2022-11-24 14:23:04 +00:00
mike12345567
bfaef13768 Refactoring worker, converting all controllers/routes to Typescript and all imports of backend-core to new style. 2022-11-23 18:25:20 +00:00
mike12345567
4959a491d7 Merge branch 'develop' of github.com:Budibase/budibase into refactor/backend-core-import 2022-11-23 10:30:57 +00:00
Rory Powell
6f3f858d81 Account portal <-> backend-core fixes 2022-11-22 22:24:45 +00:00
mike12345567
02ede5d067 Finally removing all usages of backend-core/ type imports from server, including some further typescript conversions. 2022-11-22 19:49:59 +00:00
mike12345567
92210144ff More controller typescript conversions. 2022-11-22 16:52:25 +00:00
Andrew Kingston
c01b9af1f0 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
mike12345567
8a4da7d4ce Typescript conversion of the table controllers. 2022-11-22 13:56:01 +00:00
mike12345567
4cdcafac36 More Typescript conversion, as part of backend-core importing improvements. 2022-11-22 12:41:36 +00:00
mike12345567
de82eca502 Some typescript conversions, moving a few imports around. 2022-11-21 18:33:34 +00:00
mike12345567
3e7bed067b Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-11-21 15:06:44 +00:00
mike12345567
cfbed0b236 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-21 15:05:48 +00:00
mike12345567
f49233d883 Fix for table deletion, updating DatabaseImpl to define pouch functions directly. 2022-11-21 14:41:19 +00:00
mike12345567
3c93101fdb Adding IDs to backup events. 2022-11-21 12:12:57 +00:00
Rory Powell
6cb71b5272 Add remove overload to allow for doc removal 2022-11-21 11:38:37 +00:00
Andrew Kingston
c58067a589 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-21 10:30:25 +00:00
Rory Powell
e6589fd4c1 Require params on db.remove 2022-11-21 10:07:51 +00:00
mike12345567
12a9ed6dcb Adding type to triggered. 2022-11-17 23:09:49 +00:00
Michael Drury
3aa5c25da9 PR comments. 2022-11-17 19:38:47 +00:00