1
0
Fork 0
mirror of synced 2024-08-16 02:22:08 +12:00
Commit graph

1860 commits

Author SHA1 Message Date
mike12345567
40b4943766 Fix for dynamic variables being duplicated when creating new REST queries - also moved some stuff to backend SDK to make a bit re-usable, allowing backend to detect duplicate dynamic variables and error. 2023-07-20 13:07:19 +01:00
Rory Powell
5ac024a655 Merge branch 'develop' into feature/offline-license 2023-07-20 12:27:04 +01:00
mike12345567
85dea47a31 Moving user admin/builder functions to shared-core for frontend to use. 2023-07-19 16:19:34 +01:00
Mitch-Budibase
ecf75a9685 lint 2023-07-19 15:42:12 +01:00
Mitch-Budibase
7eb65ed347 Merge branch 'develop' into account-api-tests 2023-07-19 15:21:50 +01:00
mike12345567
91847504c8 Adding test cases for admin/builder checking middlewares. 2023-07-18 18:10:15 +01:00
mike12345567
39746e0bf0 Main body of work to handle the new approach of per app builders support. 2023-07-18 16:57:48 +01:00
Martin McKeaveney
8c5177facb Merge pull request #10858 from Budibase/labday/debug-panel
Labday/debug panel
2023-07-18 12:25:37 +01:00
mike12345567
e30509c4f9 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-18 11:32:38 +01:00
Adria Navarro
c4c62e5c6f Remove any from couchdb.get response 2023-07-18 10:48:55 +02:00
Andrew Kingston
d3ab2a31d0 Merge pull request #11186 from Budibase/app-list-improvements
Show all users editing an app in the app list
2023-07-18 08:12:50 +01:00
Martin McKeaveney
fb1ecbb5c9 code review and test 2023-07-17 22:33:37 +01:00
Adria Navarro
e336ba4b5e Type and fix tests 2023-07-17 11:13:21 +02:00
Rory Powell
4a38d55ce8 Lint 2023-07-14 16:55:48 +01:00
Rory Powell
c464e5c91d Type /api/accounts/search request + response bodies 2023-07-14 15:22:44 +01:00
melohagan
89c0d3b389 Add BigInt type support (#11145) (#11195)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-11 14:01:55 +01:00
Andrew Kingston
b335e492d7 Show all users editing an app in the app list 2023-07-10 17:42:27 +01:00
Rory Powell
7c4fe15781 Request / response renames 2023-07-10 16:12:19 +01:00
Rory Powell
d0d5a55047 /api/internal/accounts/:accountId/license/offline 2023-07-10 12:49:45 +01:00
Rory Powell
6ae59d767b offline license sdk module 2023-07-10 12:48:52 +01:00
Rory Powell
574c361f6b /api/global/license/offline/identifier API 2023-07-08 13:07:10 +01:00
mike12345567
e1494e54d9 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-07 16:07:18 +01:00
melohagan
7a06fcee0f Add BigInt type support (#11145)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-07 15:11:41 +01:00
Rory Powell
d02f474fd1 Be more explicit about offline license vs offline license token 2023-07-06 21:26:46 +01:00
Rory Powell
efe53bb217 Update license endpoints to provide consistent pattern for offline license and license key (create, read, delete) 2023-07-06 20:46:25 +01:00
mike12345567
6d24a30d91 Basic refactor work, the types required for the new API endpoints. 2023-07-05 18:28:04 +01:00
mike12345567
6495b55b9d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-29 17:06:14 +01:00
Adria Navarro
b6f9ae762d Lint 2023-06-28 14:59:49 +01:00
Adria Navarro
47d6113fee Submit nested 2023-06-28 14:33:52 +01:00
Adria Navarro
758b4f8254 Allow open by default for field groups 2023-06-28 14:33:52 +01:00
Adria Navarro
352ea72c53 Select and conditional fields 2023-06-28 14:33:52 +01:00
Adria Navarro
534b4fffb4 Allow hiding config 2023-06-28 14:33:52 +01:00
Andrew Kingston
801f5655ac Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-06-27 16:50:51 +01:00
Michael Drury
f7cdf5f2bc Merge pull request #11001 from Budibase/feature/custom-role-readable-ids
Custom roles - readable IDs
2023-06-27 16:17:08 +01:00
Michael Drury
5e8cf41feb Merge pull request #11013 from Budibase/fix/sql-relationship-fixes
Further SQL relationship fixes
2023-06-27 16:16:53 +01:00
Andrew Kingston
8c9d4a9126 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-06-27 16:09:59 +01:00
mike12345567
4d2aa2a67b PR comments. 2023-06-27 12:45:00 +01:00
Dean
eaecd3ab68 Merge remote-tracking branch 'origin/develop' into merge-master 2023-06-27 09:31:35 +01:00
Andrew Kingston
b7603f8bf1 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-06-26 17:56:11 +01:00
Dean
b6caebe431 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-26 15:51:31 +01:00
Andrew Kingston
5f407259dc Enable component nesting validation for new apps 2023-06-26 10:39:38 +01:00
mike12345567
c2b4dec88f Fix to make foreign keys auto-columns when used in relationships as well as making sure that when fetching tables that they can be removed, using the old fetch mechanism (to be replaced, but needs to work for now). 2023-06-23 18:09:52 +01:00
Dean
a61cf5fa45 Merge remote-tracking branch 'origin/master' into fix/oidc-custom-icons-fixed 2023-06-23 14:58:47 +01:00
Dean
ceecd85d76 OIDC icon fix recreated on a new branch 2023-06-23 14:47:58 +01:00
mike12345567
baecab785d Handling the removal of the role_ prefix where applicable so that new role IDs present in the exact same way as built in roles. 2023-06-22 18:02:35 +01:00
mike12345567
cbfeea121c Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-20 18:09:23 +01:00
melohagan
b0debf17ef Table disappears from side bar when changing display name (#10909)
* Pass sourceId on fetch tables

* Use ExternalTable type
2023-06-20 17:07:12 +01:00
Dean
f04f42546a Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-20 12:33:48 +01:00
Adria Navarro
d337c52adf Add feature flags 2023-06-19 17:56:11 +01:00
Adria Navarro
7a4eb3113d Add external schema endpoint 2023-06-19 17:56:11 +01:00
Dean
2304032423 Added embed state, behaviours and event tracking to client app. UI/UX Refactoring 2023-06-16 12:30:08 +01:00
Rory Powell
5f716a62a4 Revert "Merge branch 'develop' into master"
This reverts commit 67fb9de7f4, reversing
changes made to ebec885b0a.
2023-06-16 10:13:43 +01:00
Michael Drury
deffe9d3d4 Merge branch 'develop' of github.com:Budibase/budibase into feature/table-fetching-frontend 2023-06-09 13:21:30 +01:00
melohagan
c0578d4cc2 Send meeting invite via automation email smtp (#10787)
* Pass calendar props into sendSmtpEmail

* Add calendar event to message

* Add Checkbox and DatePicker automation field UI

* Add URL prop

* Add url to sendSmtpEmail unit test

* Refactor

* Code review comments

* Make location optional

* Add EmailInvite type

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-06-08 14:25:35 +01:00
mike12345567
dab1db2271 Updating datasource save API to allow specifying a filter for which tables to fetch and then linking this up with the new frontend. 2023-06-06 18:27:03 +01:00
Andrew Kingston
d70e49d74f Add event for tracking user collaboration 2023-06-06 10:11:51 +01:00
Andrew Kingston
4a0e23a171 Transfer lock to next oldest session when disconnecting from the builder 2023-06-05 13:54:17 +01:00
mike12345567
fba3ec987e Merge branch 'develop' of github.com:Budibase/budibase into fix/datasource-info-endpoint 2023-05-31 17:37:17 +01:00
mike12345567
651d50a064 Updating datasource information endpoint to POST which allows sending up an unfinished/unsaved datasource for fetching information with. Also changing how verification and information endpoints work so that enrichment is used and therefore env vars can also be used. 2023-05-31 17:04:29 +01:00
Andrew Kingston
8a2d4b7052 Merge branch 'develop' of github.com:Budibase/budibase into websocket-redis-integration 2023-05-31 16:28:14 +01:00
Andrew Kingston
ffbbf04e86 Lint 2023-05-31 16:08:35 +01:00
Andrew Kingston
05e34076f7 Fully rewrite websocket redis integration to use individual keys per session, enable TTLs on sesisons, prune sessions when users connect and add a heartbeat to sockets 2023-05-31 15:13:22 +01:00
Andrew Kingston
d3fdb52bf5 Store all socket users in redis to allow all server instances to be aware of all users 2023-05-31 10:21:50 +01:00
mike12345567
7c7bd4d5cb Fix for debugging with webstorm the old way (if desired), updating the builder middleware to be more multi-dev capable, ignoring 409s when attempting to update the last updated at for apps (if multiple devs hit at same time, only use one) also updating writethrough cache to retry once, with the extended TTL on locks, plus the multi-dev collab it can take a minute to update usage quota doc when a lot of updates occur at once. 2023-05-30 17:41:20 +01:00
Adria Navarro
e3ce16d0c9 Update local versions to 0.0.0 2023-05-29 10:54:10 +02:00
mike12345567
7ba21d836b Merge branch 'develop' of github.com:Budibase/budibase into feature/sync-automations 2023-05-26 16:42:01 +01:00
Peter Clement
5a73b02827 update feature array to be an object 2023-05-26 11:02:47 +01:00
Adria Navarro
77a619945b Merge pull request #10680 from Budibase/budi-6933-verify-data-source-connection-during
Verify data source connection before saves
2023-05-26 10:47:42 +02:00
Peter Clement
70dfd9e8e5 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-26 09:26:51 +01:00
Peter Clement
4d5a922684 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-24 15:05:58 +01:00
Martin McKeaveney
bbab2a9adc merge 2023-05-24 11:25:49 +01:00
Adria Navarro
237cda064c Simplify integration features 2023-05-24 10:50:51 +02:00
mike12345567
590844c8a9 PR comments. 2023-05-23 12:22:22 +01:00
Peter Clement
754b30dd5c add features property to automation defintions 2023-05-22 15:46:42 +01:00
mike12345567
83ddb9c8dd Adding feature to denote fetch table names function. 2023-05-22 14:28:18 +01:00
mike12345567
ad358fe1ca Merge branch 'develop' of github.com:Budibase/budibase into feature/table-fetching 2023-05-22 12:56:10 +01:00
Pedro Silva
3648af5fc0 Merge branch 'develop' into tests/qa-22-improve-qa-core-boilerplate 2023-05-22 12:24:40 +01:00
Michael Drury
38e39cf2f2 Adding negative test case for connections and adding test of table name fetching for postgres. 2023-05-19 13:36:05 +01:00
Peter Clement
d271bbdadb rename syncWebHooks to syncAutomations 2023-05-19 10:07:02 +01:00
Michael Drury
2223027d28 Adding API for retrieving table names. 2023-05-18 23:22:52 +01:00
Michael Drury
732ebb4f87 Adding function to fetch table names. 2023-05-18 22:09:44 +01:00
Peter Clement
e1eda14204 move sync automations away from bull and call directly 2023-05-18 17:01:53 +01:00
Peter Clement
f680fbd822 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-18 11:35:25 +01:00
Rory Powell
a685f181da Merge branch 'master' into develop 2023-05-18 09:10:51 +01:00
Pedro Silva
06e7430ab8 Merge branch 'develop' into tests/qa-22-improve-qa-core-boilerplate 2023-05-17 21:34:44 +01:00
Pedro Silva
eff22c4e74 Remove type casting any from test methods 2023-05-17 21:32:50 +01:00
Budibase Release Bot
30dd224a34 v2.6.18 2023-05-17 16:13:35 +00:00
Budibase Release Bot
e4835d5f91 v2.6.17 2023-05-17 14:39:18 +00:00
Rory Powell
0aff89a479 Merge pull request #10626 from Budibase/chore/automation-logging-updates
Automation logging updates
2023-05-17 14:58:16 +01:00
Rory Powell
578b599428 Lint 2023-05-17 14:10:22 +01:00
Rory Powell
42f472b038 Type updates for automation jobs 2023-05-17 12:26:07 +01:00
Budibase Release Bot
ceeeb0ad8d v2.6.16 2023-05-16 15:05:12 +00:00
Budibase Release Bot
4c4892a157 v2.6.15 2023-05-16 12:24:17 +00:00
Budibase Release Bot
897e08d0ec v2.6.14 2023-05-16 12:03:33 +00:00
Budibase Release Bot
e26daac58f v2.6.13 2023-05-16 10:21:37 +00:00
mike12345567
6b7269b954 Refactoring response from integrations to a simple type. 2023-05-15 17:36:16 +01:00
mike12345567
bd74f8eef7 Updating testConnection usage. 2023-05-15 17:08:23 +01:00
mike12345567
571987a2ce Merge branch 'feature/datasource-connections' of github.com:Budibase/budibase into feature/datasource-conns 2023-05-15 17:00:30 +01:00
Budibase Release Bot
005c3556d6 v2.6.12 2023-05-15 15:51:10 +00:00
Peter Clement
007f5ca8a9 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-15 15:19:44 +01:00
Adria Navarro
1c2c00e621 Fix bool 2023-05-15 13:16:56 +02:00
Adria Navarro
ffef2499cc Implement the check as part of the integration 2023-05-15 13:16:56 +02:00
Adria Navarro
239a51a2c0 Typings 2023-05-15 13:16:56 +02:00
Peter Clement
c86c2b4096 add synchronous webhook functionality 2023-05-12 15:57:34 +01:00
Budibase Release Bot
6c694762e2 v2.6.11 2023-05-12 14:29:07 +00:00
Budibase Release Bot
eccb0edb0f v2.6.10 2023-05-11 17:35:07 +00:00
melohagan
395cf4a667 Add JSON payload support for Make and Zapier (#10529)
* Rename Integromat to Make. Update logo.

* Add JSON type for automations

* Support deprecated values in JSON

* Fix json query editor width bug

* Push body to schema if missing

* Support JSON body

* Add JSON payload support for Zapier

* Update packages/server/src/automations/steps/make.ts

Co-authored-by: Martin McKeaveney <martin@budibase.com>

* July -> November

* Add unit tests

---------

Co-authored-by: Martin McKeaveney <martin@budibase.com>
2023-05-11 17:49:33 +01:00
Peter Clement
1626571081 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-11 11:53:12 +01:00
Budibase Release Bot
530c8ce8d7 v2.6.9 2023-05-10 13:43:51 +00:00
Peter Clement
1539bf234b add ability to trigger synchronous automation from button action 2023-05-09 12:10:20 +01:00
Budibase Release Bot
86f0cd8353 v2.6.8 2023-05-08 15:52:34 +00:00
mike12345567
57a633b926 Implementing main body of connection verification endpoint. 2023-05-05 17:40:39 +01:00
Adria Navarro
10fcca92f6 Paginate users on group views 2023-05-05 16:33:01 +01:00
Adria Navarro
bbd0690518 Type response 2023-05-05 16:32:27 +01:00
mike12345567
ce6c5bfa68 Base connection work - extending the base integration to include the option of a connection check function. 2023-05-05 15:47:55 +01:00
mike12345567
c880282be3 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-05-05 15:44:32 +01:00
Budibase Release Bot
1de22e3758 v2.6.7 2023-05-05 14:30:04 +00:00
Budibase Release Bot
0f8d74157c v2.6.6 2023-05-05 11:50:53 +00:00
melohagan
25b42f0a28 Rename Integromat to Make. Update logo. (#10492) 2023-05-05 12:41:24 +01:00
Budibase Release Bot
eb5e962e65 v2.6.5 2023-05-05 11:18:39 +00:00
Budibase Release Bot
76ad8bca7c v2.6.4 2023-05-05 10:47:43 +00:00
Budibase Release Bot
0aa270ad0a v2.6.3 2023-05-05 06:58:10 +00:00
Budibase Release Bot
2086b5d5dd v2.6.2 2023-05-04 13:33:20 +00:00
Budibase Release Bot
2774e92d83 v2.6.1 2023-05-04 10:39:20 +00:00
Budibase Release Bot
56eb0a318c v2.6.0 2023-05-04 10:00:54 +00:00
Adria Navarro
ce0d527d75 Merge branch 'chore/npmless-builds' into chore/pipeline_npm_version_updates
# Conflicts:
#	packages/backend-core/package.json
#	packages/bbui/package.json
#	packages/builder/package.json
#	packages/cli/package.json
#	packages/client/package.json
#	packages/frontend-core/package.json
#	packages/sdk/package.json
#	packages/server/package.json
#	packages/shared-core/package.json
#	packages/string-templates/package.json
#	packages/types/package.json
#	packages/worker/package.json
#	yarn.lock
2023-05-04 10:29:45 +01:00
Budibase Release Bot
2506f61812 v2.5.10 2023-05-04 07:54:29 +00:00
Budibase Staging Release Bot
991e91e204 v2.5.10-alpha.1 2023-05-03 17:28:55 +00:00
Budibase Staging Release Bot
9e986ac69d v2.5.10-alpha.0 2023-05-03 15:23:47 +00:00
Rory Powell
e1a147e823 Merge branch 'master' into develop 2023-05-03 16:06:42 +01:00
Budibase Staging Release Bot
1fcc64154e v2.5.6-alpha.45 2023-05-03 13:14:55 +00:00
Rory Powell
7762235769 Merge branch 'develop' into pricing/hubspot-updates 2023-05-03 13:51:13 +01:00
Rory Powell
9647ac5dee Create hubspot expansions and churns as users are added and deleted 2023-05-02 20:08:51 +01:00
Budibase Staging Release Bot
b911b04a03 v2.5.6-alpha.44 2023-05-02 18:09:57 +00:00
Budibase Staging Release Bot
cf2488cd35 v2.5.6-alpha.43 2023-05-02 14:42:41 +00:00
Budibase Staging Release Bot
9f7b212f22 v2.5.6-alpha.42 2023-05-02 08:44:05 +00:00
Rory Powell
38d0fd943a Remove business minimum quantity from backend 2023-04-29 22:06:41 +01:00
Budibase Staging Release Bot
a89d7f1f46 v2.5.6-alpha.41 2023-04-29 09:06:58 +00:00
Rory Powell
26fb217850 Add licenseRequestedAt time to license type 2023-04-28 22:40:06 +01:00
Budibase Release Bot
9e62b6dc4b v2.5.9 2023-04-28 16:26:24 +00:00
Budibase Staging Release Bot
dadf6128bc v2.5.6-alpha.40 2023-04-28 11:05:14 +00:00
Rory Powell
a20dfa588a Type updates for plan changed event 2023-04-27 21:58:42 +01:00
Budibase Staging Release Bot
b654985ab9 v2.5.6-alpha.39 2023-04-27 16:18:51 +00:00
Budibase Staging Release Bot
d223643e93 v2.5.6-alpha.38 2023-04-27 15:16:50 +00:00
Budibase Staging Release Bot
06cdb7c202 v2.5.6-alpha.37 2023-04-27 13:47:04 +00:00
Budibase Staging Release Bot
ead89bf0bf v2.5.6-alpha.36 2023-04-27 09:31:32 +00:00
Budibase Staging Release Bot
f8d4e95fbd v2.5.6-alpha.35 2023-04-27 07:34:19 +00:00
Budibase Staging Release Bot
aad034e53e v2.5.6-alpha.34 2023-04-26 16:16:22 +00:00
Pedro Silva
e2937d985c Merge pull request #10264 from Budibase/qa-core-datasource-api-tests
Qa core datasource api tests
2023-04-26 17:09:09 +01:00
Budibase Staging Release Bot
f6a0a66437 v2.5.6-alpha.33 2023-04-26 14:58:55 +00:00
Martin McKeaveney
e70e3ae662 rename 2023-04-26 15:58:21 +01:00
Martin McKeaveney
84f52683b2 chatgpt automation block 2023-04-26 15:55:44 +01:00
Pedro Silva
796c50d3e0 Merge branch 'develop' into qa-core-datasource-api-tests 2023-04-26 15:51:47 +01:00
Budibase Staging Release Bot
e178afe171 v2.5.6-alpha.32 2023-04-26 13:47:10 +00:00
Budibase Staging Release Bot
457c1ce0a1 v2.5.6-alpha.31 2023-04-26 12:16:31 +00:00
Budibase Staging Release Bot
26007dcd69 v2.5.6-alpha.30 2023-04-25 19:44:40 +00:00
Rory Powell
aee52af7f0 Add feature and quota overrides to qa core for cloud tests (#10417)
* Fix qa core suite

* Update package.json

* Lint
2023-04-25 20:36:27 +01:00
Budibase Staging Release Bot
ca85d48ca6 v2.5.6-alpha.29 2023-04-25 16:52:46 +00:00
Budibase Staging Release Bot
2d2a368f23 v2.5.6-alpha.28 2023-04-25 10:50:10 +00:00
Budibase Staging Release Bot
5b4b3b6fd1 v2.5.6-alpha.27 2023-04-25 09:11:46 +00:00
Budibase Staging Release Bot
8804b9f5a2 v2.5.6-alpha.26 2023-04-24 19:15:05 +00:00
adrinr
25bc89a9b6 Remove package versions 2023-04-24 19:58:40 +01:00
Budibase Staging Release Bot
9056cd41c7 v2.5.6-alpha.25 2023-04-24 18:31:54 +00:00
Budibase Staging Release Bot
dfe28d171c v2.5.6-alpha.24 2023-04-24 17:41:06 +00:00
Budibase Staging Release Bot
88a6cd50dd v2.5.6-alpha.23 2023-04-24 16:58:46 +00:00
Budibase Staging Release Bot
19e8836870 v2.5.6-alpha.22 2023-04-24 16:43:56 +00:00
Budibase Staging Release Bot
4786ce58ed v2.5.6-alpha.21 2023-04-24 16:01:58 +00:00
Budibase Staging Release Bot
9ee56025f1 v2.5.6-alpha.20 2023-04-24 12:45:50 +00:00
Budibase Staging Release Bot
360b828e66 v2.5.6-alpha.19 2023-04-24 11:10:02 +00:00
Budibase Staging Release Bot
4a8a6c8bbc v2.5.6-alpha.18 2023-04-24 10:38:25 +00:00
Budibase Release Bot
2f2084a426 v2.5.8 2023-04-24 08:47:42 +00:00
Budibase Staging Release Bot
548ba5a07a v2.5.6-alpha.17 2023-04-24 08:45:56 +00:00
Rory Powell
ec06f13aa6 Per user pricing (#10378)
* Update pro version to 2.4.44-alpha.9 (#10231)

Co-authored-by: Budibase Staging Release Bot <>

* Track installation and unique tenant id on licence activate (#10146)

* changes and exports

* removing the extend

* Lint + tidy

* Update account.ts

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>

* Type updates for loading new plans (#10245)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS` (#10247)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete + migration (#10250)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Lint

* Types and structures for user subscription quantity sync (#10280)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing for licensing (#10346)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing

* Lint

* Pricing/billing page (#10353)

* bbui updates for billing page

* Require all PlanTypes in PlanMinimums for compile time safety

* fix test package utils

* Incoming user limits warnings (#10379)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* Types and test updates for subscription quantity changes in account-portal (#10372)

* Add chance extensions for `arrayOf`. Update events spies with license events

* Add generics to doInTenant response

* Update account structure with quota usage

* User count limits (#10385)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* user limit messaging on add users modal

* user limit messaging on import users modal

* update licensing store to be more generic

* some styling updates

* remove console log

* Store tweaks

* Add startDate to Quota type

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>

* Lint

* Support custom lock options

* Reactivity fixes for add user modals

* Update ethereal email creds

* Add warn for getting invite from code error

* Extract disabling user import condition

* Handling unlimited users in modals logic and adding start date processing to store

* Lint

* Integration testing fixes (#10389)

* lint

---------

Co-authored-by: Mateus Badan de Pieri <mateuspieri@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Peter Clement <PClmnt@users.noreply.github.com>
2023-04-24 09:31:48 +01:00
Budibase Release Bot
93f7bd54d8 v2.5.7 2023-04-21 17:29:12 +00:00
Budibase Staging Release Bot
b3d989e249 v2.5.6-alpha.16 2023-04-21 13:45:11 +00:00
Budibase Staging Release Bot
06e6c20cf1 v2.5.6-alpha.15 2023-04-21 11:43:34 +00:00
Budibase Staging Release Bot
c196fc1f3e v2.5.6-alpha.14 2023-04-21 11:24:59 +00:00
Budibase Staging Release Bot
91e7fe8ec1 v2.5.6-alpha.13 2023-04-21 07:16:47 +00:00
Budibase Staging Release Bot
269cbc8b2c v2.5.6-alpha.12 2023-04-20 18:35:09 +00:00
Budibase Release Bot
5a9c7d83b1 v2.5.6 2023-04-20 14:30:34 +00:00
Andrew Kingston
7afd716e91 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-20 15:24:25 +01:00
Budibase Release Bot
5c292bbecd v2.5.5 2023-04-20 08:51:41 +00:00
Budibase Staging Release Bot
34b3781b59 v2.5.6-alpha.6 2023-04-19 13:29:39 +00:00
Andrew Kingston
9b2b071b88 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-18 21:00:42 +01:00
Budibase Staging Release Bot
06ec04dcec v2.5.6-alpha.5 2023-04-18 16:40:23 +00:00
Michael Drury
42c37eea46 Merge pull request #10276 from Budibase/labday/automation-plugins
Automation step plugins
2023-04-18 17:33:25 +01:00
Budibase Staging Release Bot
a13cdefd01 v2.5.6-alpha.4 2023-04-18 13:44:25 +00:00
Andrew Kingston
876522bf1e Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-18 10:48:53 +01:00
Budibase Staging Release Bot
287ba01691 v2.5.6-alpha.3 2023-04-18 09:44:21 +00:00
Andrew Kingston
7ae3341e22 Add rowHeight property to table types 2023-04-18 10:38:29 +01:00
Andrew Kingston
a4515e1162 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-18 08:29:27 +01:00
Budibase Staging Release Bot
443319f4a5 v2.5.6-alpha.2 2023-04-17 16:55:49 +00:00
Andrew Kingston
208e481bbc Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-17 17:00:56 +01:00
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
b6f14a3f55 Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-6754 2023-04-17 14:58:40 +01:00
mike12345567
453d5cc0e6 Further PR comments. 2023-04-17 14:03:54 +01:00
Budibase Staging Release Bot
b62633587f v2.5.6-alpha.1 2023-04-17 11:33:21 +00:00
Budibase Staging Release Bot
b81be5d686 v2.5.5-alpha.4 2023-04-17 10:51:12 +00:00
Budibase Staging Release Bot
f9c5fd489b v2.5.5-alpha.3 2023-04-17 10:30:38 +00:00
Budibase Staging Release Bot
457e1d7a1a v2.5.5-alpha.2 2023-04-17 09:34:23 +00:00
mike12345567
d506ef52f8 Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-6754 2023-04-17 10:16:15 +01:00
Budibase Staging Release Bot
e60b09b03e v2.5.5-alpha.1 2023-04-17 09:01:24 +00: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
Budibase Staging Release Bot
8e87a5e700 v2.5.5-alpha.0 2023-04-14 16:45:33 +00:00
Pedro Silva
e20838fd42 Add rest test and fix type 2023-04-14 17:35:13 +01:00
mike12345567
b36702ca72 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-04-14 17:32:04 +01:00
Budibase Staging Release Bot
e8e704259e v2.4.44-alpha.26 2023-04-14 11:34:48 +00:00
Adria Navarro
cb3482a6e9 Merge pull request #10304 from Budibase/fix/build_error
Fix - Add skiplibcheck on @budibase/types
2023-04-14 13:25:55 +02:00
Budibase Staging Release Bot
9f4a340927 v2.4.44-alpha.25 2023-04-14 11:18:12 +00:00
adrinr
d20e475fad Change skiplibcheck on @budibase/types 2023-04-14 12:18:08 +01:00
adrinr
1a26877f08 v2.4.44-alpha.24 2023-04-14 12:10:49 +01:00
Budibase Staging Release Bot
788b7b6492 v2.4.44-alpha.23 2023-04-14 11:03:56 +00:00
Budibase Staging Release Bot
fc971ed3ad v2.4.44-alpha.22 2023-04-14 10:17:37 +00:00
Budibase Release Bot
52aa5f1a66 v2.5.4 2023-04-14 09:05:38 +00:00
Budibase Staging Release Bot
a529556e07 v2.4.44-alpha.21 2023-04-13 18:55:33 +00:00
adrinr
0aa5b3da03 Merge branch 'develop' into chore/yarn_workspaces 2023-04-13 19:29:45 +01:00
Budibase Staging Release Bot
c9ffbe46e1 v2.4.44-alpha.20 2023-04-13 12:39:28 +00:00
adrinr
eebae26d7d Undo not needed tsconfig changes 2023-04-13 12:43:39 +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
adrinr
3672acd68e Fix backend-core tests 2023-04-13 10:54:35 +01:00
adrinr
36c412e57b Remove unused yarn.lock 2023-04-13 10:54:35 +01:00
adrinr
70475c3250 Use yarn workspaces with nx 2023-04-13 10:54:18 +01:00
Budibase Staging Release Bot
a89b04203e v2.4.44-alpha.19 2023-04-13 09:27:17 +00:00
Budibase Staging Release Bot
1e9ae6aec1 v2.4.44-alpha.18 2023-04-12 21:27:37 +00:00
Pedro Silva
a8460169d1 Improvements on types, helpers and assertions 2023-04-12 18:18:28 +01:00
Budibase Staging Release Bot
4eb5201f6a v2.4.44-alpha.17 2023-04-12 15:38:04 +00:00
mike12345567
a9fb09424b Merge branch 'develop' of github.com:Budibase/budibase into labday/automation-plugins 2023-04-12 14:27:50 +01:00
Budibase Staging Release Bot
9afbb300fa v2.4.44-alpha.16 2023-04-12 13:07:38 +00:00
Budibase Staging Release Bot
ad393a829d v2.4.44-alpha.15 2023-04-12 12:42:23 +00:00
Budibase Staging Release Bot
f65a308ffd v2.4.44-alpha.14 2023-04-12 10:58:55 +00:00
Budibase Staging Release Bot
a4e2c41c1c v2.4.44-alpha.13 2023-04-12 09:07:40 +00:00
adrinr
f882993091 Name and its fields are optional 2023-04-11 16:12:18 +01:00
Budibase Release Bot
fb268f1655 v2.5.3 2023-04-11 13:46:26 +00:00
Budibase Staging Release Bot
08dbee5384 v2.4.44-alpha.12 2023-04-11 13:42:48 +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
Michael Drury
1c7c06e983 Bulk of the automation plugin system, supporting custom plugins. 2023-04-10 23:48:54 +01:00
Budibase Staging Release Bot
a3c0510ed7 v2.4.44-alpha.10 2023-04-10 18:53:08 +00:00
Budibase Release Bot
1b0635e957 v2.5.2 2023-04-07 21:30:39 +00: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
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
Budibase Staging Release Bot
f02f996744 v2.4.44-alpha.8 2023-04-05 12:18:30 +00:00
Budibase Staging Release Bot
244b911efb v2.4.44-alpha.7 2023-04-04 14:53:06 +00:00
Budibase Staging Release Bot
e94a05887f v2.4.44-alpha.6 2023-04-04 14:18:08 +00: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
917c5100ad v2.5.1 2023-04-04 09:24:27 +00:00
Budibase Staging Release Bot
7bc049c02b v2.4.44-alpha.5 2023-04-04 09:09:48 +00: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
Budibase Staging Release Bot
2c9b354a1b v2.4.44-alpha.4 2023-04-03 15:13:42 +00:00
Budibase Release Bot
be8dfd2ef1 v2.5.0 2023-04-03 13:10:52 +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
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
Budibase Release Bot
051d39690a v2.4.44 2023-04-02 18:15:15 +00:00
Budibase Staging Release Bot
97cfcb6b93 v2.4.44-alpha.1 2023-03-31 23:01:55 +00:00
Budibase Staging Release Bot
5e3cf7af1b v2.4.44-alpha.0 2023-03-31 22:37:36 +00: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
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
Budibase Release Bot
2118bcea3a v2.4.43 2023-03-31 09:42:50 +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
01c9908696 v2.4.42 2023-03-30 11:37:03 +00:00
Budibase Staging Release Bot
e49ffc2466 v2.4.42-alpha.2 2023-03-29 18:08:50 +00:00
Budibase Staging Release Bot
77ab75e461 v2.4.42-alpha.1 2023-03-29 13:57:06 +00:00
Budibase Staging Release Bot
de4c3deb04 v2.4.42-alpha.0 2023-03-29 12:08:36 +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
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
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
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
31c708b479 v2.4.27-alpha.12 2023-03-28 20:20:49 +00:00
Budibase Staging Release Bot
40625f099c v2.4.27-alpha.11 2023-03-28 17:44:35 +00: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