Commit Graph

1921 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Sam Rose f3e0dfd466
Update to @budibase/nano 10.1.5 2024-01-31 11:55:29 +00:00
Adria Navarro 9da9935c95 Types 2024-01-29 23:25:12 +01: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
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
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
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
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
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 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
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