1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00
Commit graph

2052 commits

Author SHA1 Message Date
Sam Rose 8f61b69ee5
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles 2024-02-26 17:28:51 +00:00
Sam Rose c15554547b
Respond to PR feedback. 2024-02-26 17:28:37 +00:00
Sam Rose b9600d8330
More progress on modernising application tests. 2024-02-26 11:57:56 +00:00
mike12345567 cbce9af2b0 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-23 16:18:37 +00:00
deanhannigan ddcc433484
Merge branch 'master' into feature/app-list-actions 2024-02-23 11:34:31 +00:00
Dean ea978923cb Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-23 11:32:16 +00:00
melohagan 896b879ce7
Feature/query array schema (#13118)
* Revert "Revert "Add nestedSchemaFields to RestQueryViewer (#13102)""

This reverts commit 6545af12fa.

* Revert "Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…""

This reverts commit ae4bc362c3.
2024-02-22 17:06:08 +00:00
Dean d7fa333fce Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-22 16:30:05 +00:00
Dean 18f09f4e13 Duplicate app behaviour and test updates 2024-02-22 15:00:16 +00:00
Martin McKeaveney ae4bc362c3
Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…"
This reverts commit 0c9d13c79a.
2024-02-21 21:30:22 +00:00
Sam Rose b2c4f04aa6
Typing and config.api'ing application.spec.ts, WIP 2024-02-21 17:52:58 +00:00
melohagan 0c9d13c79a
Dynamic schema generation for query arrays: bug fix and refactor (#13082)
* Bug fix and refactor

* lint

* Refactor

* refactor

* lint

* type fixes

* Unit test fix and refactor

* refactor

* Make name option for preview, required for query

* Refactor unit tests

* Fix test

* update account-portal

* Revert "update account-portal"

This reverts commit e378f8d702.

* simplify set iteration

* comment
2024-02-21 15:33:13 +00:00
Sam Rose ba66bc3232
Merge master. 2024-02-21 15:06:59 +00:00
Sam Rose bb793149f4
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-02-21 11:07:30 +00:00
mike12345567 285916d0bf Some PR comments/build issue. 2024-02-20 11:11:27 +00:00
Sam Rose 93b18b81e0
Fix re-used context in JS runner. 2024-02-20 10:49:45 +00:00
mike12345567 19090dd547 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-19 16:29:29 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
Sam Rose 5c2a93a956
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-02-16 16:52:13 +00:00
Dean 0aa75fc7cb Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-15 15:26:14 +00:00
melohagan 649dafba47
n8n automation action integration (#12992)
* Add n8n automation action

* Add authorization header support

* add unit tests

* Replace test.com with example.com

* Add HttpMethod enum to types

* fix unit test

* Add required field label asterisk
2024-02-15 13:05:03 +00:00
Dean e9e5281e82 Initial commit form screen flow and tour refactor 2024-02-14 12:11:24 +00:00
Adria Navarro 411dd55259 Update types 2024-02-08 16:27:48 +01:00
Adria Navarro 0d0171fa08 Move cpulimits responsability 2024-02-08 09:38:09 +01:00
Adria Navarro 218ba1d283 VM types 2024-02-08 09:38:09 +01:00
Sam Rose 7a012f1f4b
Add tests for create queries. 2024-02-05 16:49:21 +00:00
mike12345567 f73f78c67c Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-05 10:04:07 +00:00
Sam Rose 080cfc8dcf
Merge branches 'master' and 'budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-01-31 15:52:02 +00:00
Sam Rose f3e0dfd466
Update to @budibase/nano 10.1.5 2024-01-31 11:55:29 +00:00
mike12345567 bb0b776684 Updating how aliasing is handled. 2024-01-30 17:57:10 +00:00
Sam Rose a268e55607
Plumbing for showing a maintenance page when SQS is required but missing. 2024-01-30 17:31:11 +00:00
mike12345567 7245ceb58f Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-30 11:32:09 +00:00
Adria Navarro 9da9935c95 Types 2024-01-29 23:25:12 +01:00
mike12345567 fcf8cf61da Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-29 12:35:54 +00:00
jvcalderon 82f457008f Add Microsoft to LoginSource enum 2024-01-29 09:12:56 +01:00
mike12345567 57d512b041 Some missed conversions. 2024-01-24 17:09:26 +00:00
melohagan 1636677ce9
Merge branch 'master' into fix/budi-7916 2024-01-24 08:58:13 +00:00
mike12345567 2810d66c92 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-23 17:38:46 +00:00
Peter Clement 3030db8eb6
Merge branch 'master' into feat/configure-automation-chaining 2024-01-23 14:47:31 +00:00
Peter Clement a4797366ad fix types 2024-01-23 12:08:20 +00:00
mike12345567 e5e51ede81 Merge branch 'master' of github.com:Budibase/budibase into fix/budi-7916 2024-01-22 13:39:29 +00:00
melohagan bd0202e7b5
Error deleting datasource on first attempt at deleting (#12819)
* Add badge photo to the employee import

* Update revisions from relationships when loop deleting tables
2024-01-22 10:25:21 +00:00
mike12345567 db7c2c804b Updating query responses to follow the same form consistently. 2024-01-19 18:13:12 +00:00
Peter Clement 00fda6af41 update emitter to account for a new chaining property 2024-01-18 16:38:34 +00:00
mike12345567 1ca075ebea Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-17 11:37:20 +00:00
Peter Clement 66696b1fd9
Merge branch 'master' into feat/automation-features 2024-01-16 15:48:45 +00:00
Adria Navarro 0cce142571 Use lock to prevent race conditions on invite 2024-01-16 11:20:27 +01:00
Peter Clement 99ffe7db6b missed type 2024-01-15 14:51:07 +00:00
mike12345567 88c54bcc1d Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-15 12:26:31 +00:00
Peter Clement 394a8c4d94 more naming updates 2024-01-15 10:11:16 +00:00
mike12345567 8483a53178 This removes the need for constant DB HEAD requests to check if a database exists or not. Instead, it tries to make the request, and if it fails it will check if the reason for failure is the database not existing. If it doesn't exist it runs through the same old flow to confirm that it definitely doesn't exist, and if it doesn't then it will create it. 2024-01-11 16:44:15 +00:00
Peter Clement bbdd3f017f Merge remote-tracking branch 'origin/master' into feat/automation-features 2024-01-11 10:56:45 +00:00
Peter Clement 78ef231e03 fix issue with being able to select any automation to trigger 2024-01-10 16:34:52 +00:00
Adria Navarro 92eb185390 Type BuildSchemaFromSource 2024-01-08 18:54:57 +01:00
mike12345567 b4b8e16f22 PR comments. 2024-01-05 13:58:31 +00:00
mike12345567 f2f16cfcee Adding an option to disable password validation when creating an admin user - this means that the environment variables used for BB_ADMIN creation can have any length of password (not breaking change). 2024-01-05 13:17:10 +00:00
Peter Clement 724eacdc72 Merge remote-tracking branch 'origin/master' into feat/automation-features 2024-01-04 16:45:26 +00:00
Adria Navarro 7413fd96a8
Merge branch 'master' into chore/node-20 2024-01-03 14:15:21 +01:00
Peter Clement 6ab439d5d7 Merge remote-tracking branch 'origin/master' into feat/automation-features 2024-01-03 12:02:15 +00:00
Peter Clement 734ad2c1ae further work for triggering automations from other automations 2024-01-03 11:59:15 +00:00
mike12345567 4ddcecfd04 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-02 16:21:05 +00:00
Peter Clement 49676f2cae recomitting trigger another automation work 2023-12-30 18:51:08 +00:00
Adria Navarro c7bb63da35 Update node refs to 20 2023-12-22 14:55:22 +01:00
Adria Navarro 0c77cf2b40 Fix concurrent saves 2023-12-22 14:37:54 +01:00
mike12345567 185e4d2f82 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2023-12-12 13:47:07 +00:00
Adria Navarro 1e267fca5b Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-11 09:50:48 +01:00
Adria Navarro e5d27181f2
Merge branch 'master' into BUDI-7655/migration-backend 2023-12-11 09:31:56 +01:00
mike12345567 8110a33fd8 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2023-12-07 13:12:16 +00:00
mike12345567 8628c67c90 Fixing typing issues. 2023-12-05 18:17:27 +00:00
mike12345567 33b7e4d5d2 Some final refactoring, using proper jwt lib rather than requiring (proper typing). 2023-12-05 16:28:19 +00:00
Adria Navarro 8ac9420e5b Add middleware to queue 2023-12-04 16:30:07 +01:00
Adria Navarro c6840960a4 Add appMigrationMetadata utils 2023-12-04 16:30:06 +01:00
Adria Navarro 9c9f45436f Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-04 09:30:00 +01:00
mike12345567 e76dc01859 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2023-12-01 13:53:14 +00:00
Adria Navarro fb72b77ac1 Use jest.useFakeTimers 2023-11-30 18:39:33 +01:00
Adria Navarro a8ac4eed6d Autoextend without ttl 2023-11-30 18:39:33 +01:00
Adria Navarro e81e37b613 Clean comments 2023-11-30 18:39:33 +01:00
Adria Navarro a32582eb8a Use autoextend as locktype 2023-11-30 18:39:33 +01:00
Adria Navarro f71e1ac03a Allow locks without TTL 2023-11-30 18:39:33 +01:00
mike12345567 65cddae9da Getting relationship aliasing working. 2023-11-28 18:43:38 +00:00
mike12345567 20dae6ed82 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2023-11-28 18:15:25 +00:00
Adria Navarro e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
mike12345567 cb7c1898f2 Getting basic aliasing working after some testing. 2023-11-27 19:02:06 +00:00
Andrew Kingston 24e6b3103d Add creator permission type 2023-11-23 16:22:42 +00:00
Andrew Kingston 9b99991b2e Update SDK to account for new creator builder flag 2023-11-23 14:01:58 +00:00
Sam Rose 15767e2fd5
Merge branch 'master' of github.com:budibase/budibase into bug/budi-7008-i-was-able-to-send-two-invitations-to-the-same-user-email-2 2023-11-10 11:15:38 +00:00
mike12345567 f41a128b60 Merge branch 'master' of github.com:Budibase/budibase into fix/12154-invalid-table-fetches 2023-11-09 17:08:28 +00:00
mike12345567 dde446286d Switching getMultiple to default to failure if not all entries found, then updating usages. 2023-11-09 17:08:14 +00:00
Sam Rose 7f530eeab5
Add tests for the onboarding endpoint. 2023-11-09 15:13:59 +00:00
Sam Rose 822c03b0ef
Refactor onboardUsers endpoint. 2023-11-09 15:02:44 +00:00
mike12345567 37e34c8ed2 Adding the ability to fail on getMultiple if needed. 2023-11-09 14:53:14 +00:00
mike12345567 a26f2e83e4 Some of the new table getters did not account for table IDs not being found, adding a new function which properly accounts for IDs being missing and manages it correctly, rather than leaving tables in an undefined state. 2023-11-09 14:45:23 +00:00
jvcalderon 1f85b56a99 Revert "Day passes are optional"
This reverts commit 8436a8d220.
2023-11-09 11:44:36 +01:00
jvcalderon 8436a8d220 Day passes are optional 2023-11-09 09:55:38 +01:00
jvcalderon 37e04769db Merge branch 'master' into features/enterprise-basic-plan 2023-11-08 17:28:28 +01:00
Adria Navarro 6fd8a58850
Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-08 17:05:42 +01:00
Sam Rose 969508cd1c
Merge branch 'better-types-in-global-users' of github.com:budibase/budibase into better-types-in-global-users-2 2023-11-08 13:53:28 +00:00
mike12345567 935ec4c47e Updating layout typing. 2023-11-08 12:57:07 +00:00
mike12345567 e8fb43d30c Updating DesignDocument and View typing - making it more clear how view and lucene indexing works. 2023-11-08 12:46:00 +00:00
Sam Rose d146df5f73
Convert user.spec.js to user.spec.ts 2023-11-08 11:53:00 +00:00
Sam Rose 0633a3de65
WIP 2023-11-08 10:03:22 +00:00
Adria Navarro a945b52f9a Rename dev:builder to dev (unifying account-portal) 2023-11-07 19:15:40 +01:00
Sam Rose fdfda100c1
Ensure that the DB always returns Documents. 2023-11-07 18:14:52 +00:00
Adria Navarro ef914882d4 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-07 19:06:33 +01:00
Dean 61106bf8d5 Merge remote-tracking branch 'origin/master' into fix/export-row-data 2023-11-07 15:21:47 +00:00
jvcalderon e2037b3335 Merge branch 'master' into features/enterprise-basic-plan 2023-11-07 13:40:42 +01:00
melohagan f28eb054f3
Set the relationship type (#12275)
* Set the relationship type

* Add users type

* Set user relationship type saveColumn

* Set relationshipType for users type on save

* Add relatioshipType to schema

* Refactor

* Check isUsersColumn

* Make relationshipType optional

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-11-07 11:59:51 +00:00
Dean 9bb9fb5549 Reintroduce filtering and sorting for exported row data 2023-11-06 17:00:47 +00:00
Adria Navarro 0bea3ccbbe
Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-06 10:48:47 +01:00
Adria Navarro fb9215d2e4 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-06 10:32:56 +01:00
jvcalderon cfc0258f3f Change Posthog's feature flags Ids 2023-11-04 12:46:50 +01:00
jvcalderon b07382fa2e WIP - Migrating worker 2023-11-04 11:04:09 +01:00
mike12345567 a62d82afb8 Fixing user migration issue where relationships created from the other side (from user table) where not being migrated correctly. 2023-11-02 18:14:25 +00:00
Adria Navarro 8c90b9ddfb Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-02 13:35:17 +01:00
mike12345567 2b96de3c30 Merge branch 'master' of github.com:Budibase/budibase into fix/backups-remove-automation-logs 2023-10-31 10:38:07 +00:00
Adria Navarro 18b8d6d3ef Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-10-31 09:55:30 +01:00
Michael Drury 9643d9c0e2
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-30 17:41:44 +00:00
mike12345567 41d99f6a58 Updating app backup exports to not include automation logs as these bloat the backups. 2023-10-30 17:41:08 +00:00
Sam Rose af59039d1c
Add tests for attachment processing endpoint. 2023-10-30 16:46:27 +00:00
Sam Rose d0fecc1c64
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-30 09:45:21 +00:00
jvcalderon cd283ad0b0 Merge branch 'master' into feature/per-creator-final 2023-10-30 09:02:02 +01:00
Adria Navarro 09075b4347 Update @budibase/nano 2023-10-27 16:37:36 +02:00
Adria Navarro cb6c9f6ecb Update nano 2023-10-27 15:11:16 +02:00
Michael Drury 2bfdd9769e
Merge pull request #12177 from Budibase/feature/make-table-source-id-required
Make sourceId property of table required (for all table types)
2023-10-27 13:35:47 +01:00
Sam Rose ae356b6a50
Bump version of @budibase/nano to complete the DatabaseQueryOpts type usage. 2023-10-26 15:51:28 +01:00
Sam Rose 536d85d828
WIP: Improving the use of DatabaseQueryOpts. 2023-10-26 15:04:33 +01:00
mike12345567 ed0670a008 Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things. 2023-10-26 13:19:09 +01:00
mike12345567 455b26bac9 Making sure the source ID is always set when creating a table - the frontend expects this to be set for every table so making the type represent this correctly. 2023-10-25 19:00:25 +01:00
Sam Rose e3a702c214
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-25 14:54:39 +01:00
jvcalderon 65111c81ef Reactivate sync quotas migration 2023-10-25 08:44:59 +02:00
Sam Rose fb998502bb
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-24 17:34:41 +01:00
jvcalderon cea1c04b73 Creators count functionality 2023-10-24 17:16:44 +02:00
jvcalderon f643bc5ee8 Keep only migrations 2023-10-24 10:24:00 +02:00
Sam Rose 42e31d19fb
Merge master. 2023-10-23 16:18:51 +01:00
jvcalderon 648410348d [Revert] [Added] Per user per creator changes 2023-10-23 13:27:59 +02:00
Sam Rose a563cf3594
Merge master. 2023-10-23 09:39:34 +01:00
mike12345567 04a2bbc61a Two fixes here - a quick fix for the builder side panel, making sure it fills up with users correctly (not all, but enough to make it look more pleasant) as well as dropping user search endpoint permissions to allow basic users to access it for user columns. 2023-10-20 15:45:35 +01:00
mike12345567 470735cc97 Updating types across old table utilities. 2023-10-19 12:26:29 +01:00
Sam Rose 6ae5451fdf
Create failing test. 2023-10-18 16:56:55 +01:00
Sam Rose c84abb3e86
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-18 15:15:06 +01:00
jvcalderon 5b2f55a592 Per user per creator changes 2023-10-18 13:36:34 +02:00
Sam Rose 5747f30b5f
Precondition checks to make sure the migration is from the right column to the right column. 2023-10-18 12:04:50 +01:00
Sam Rose 37fe91e488 Merge branch 'master' of github.com:Budibase/budibase into fix/budi-7433-google-sheets-validation-wont-let-you-import-any-sheets-if 2023-10-16 16:05:45 +01:00
Martin McKeaveney 2ef9871fda merge with master 2023-10-16 14:42:50 +01:00
mike12345567 16d551542e Frontend component of updating the API and accounting for default value not being in the paginated results of the relationship picker. 2023-10-12 19:00:53 +01:00
Sam Rose 16451904c9 Expose an errors object via the buildSchemaFromDb endpoint. 2023-10-12 17:12:49 +01:00
Sam Rose 1faf920c67 DatasourcePlus deals exclusively in ExternalTables, reflect that in the types. 2023-10-12 16:38:15 +01:00
mike12345567 6bbce23910 Updating user fetch functionality to send up lucene syntax for searching to global user endpoint. 2023-10-12 16:31:32 +01:00
Sam Rose 85b3af2971 Refactor DatasourcePlus's buildSchema to return a value, rather than rely on member variables. 2023-10-12 16:27:18 +01:00
mike12345567 f1b73058c2 Merge branch 'fix/update-vm2' of github.com:Budibase/budibase into backmerge-20231011 2023-10-11 18:49:39 +01:00