Commit Graph

435 Commits

Author SHA1 Message Date
Adria Navarro e451e99f6b Fixes 2024-05-13 12:35:01 +02:00
Adria Navarro 95faefcb87 DRY 2024-05-09 12:28:44 +02:00
Dean a29301a2fc Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-08 09:43:30 +01:00
Adria Navarro 04ed10b06e Lint 2024-05-06 08:06:44 +02:00
Adria Navarro 9a6e6ed115 Fix data between old and new 2024-05-06 08:06:43 +02:00
Adria Navarro 24aec6efb1 Clean types 2024-04-26 13:30:08 +02:00
Adria Navarro d45aa9beaf Merge branch 'master' into budi-8123/single-user-column-type 2024-04-26 12:47:35 +02:00
Adria Navarro 1aad2ee6d2 Fix after renames 2024-04-26 12:23:11 +02:00
Adria Navarro afdbf4cc42 Add BB_REFERENCE_SINGLE type 2024-04-25 13:20:59 +02:00
Dean f6691fc9ef Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-18 15:10:30 +01:00
mike12345567 933c3fdec4 Merge branch 'master' of github.com:Budibase/budibase into more-sqs-tests-4 2024-04-18 10:55:33 +01:00
Dean 04d3226185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-18 09:08:16 +01:00
Adria Navarro 5572467d39
Merge branch 'master' into feat/budi-8126 2024-04-17 16:01:08 +02:00
mike12345567 828d78f2af Fixing build after recent type updates. 2024-04-17 14:47:56 +01:00
mike12345567 25dba0be35 This removes the SearchQuery which was a duplication of the SearchFilters interface - the duplicated types were not correctly getting overlay on each other, causing build errors. 2024-04-17 13:54:23 +01:00
Adria Navarro 3e32ce4d24 Use shared-core 2024-04-17 12:12:09 +02:00
Adria Navarro 8161dfc0a9 Create SWITCHABLE_TYPES in shared-core 2024-04-17 12:12:09 +02:00
Adria Navarro ca158c33e8 DRY 2024-04-17 10:33:20 +02:00
Dean 9c7fed9eb8 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-11 15:06:59 +01:00
Adria Navarro a4a095b6a1 Handle formulas for getValidOperatorsForType 2024-04-11 11:37:59 +02:00
Adria Navarro e8dbb8f681 Remove todo 2024-04-11 09:14:04 +02:00
Michael Drury 5437188385
Revert "Revert "Single attachment column type"" 2024-04-03 16:05:18 +01:00
Michael Drury 1cfe4da027
Revert "Single attachment column type" 2024-04-03 16:01:45 +01:00
Adria Navarro a8c3011071 Rename FieldType.ATTACHMENT to FieldType.ATTACHMENTS 2024-04-03 12:54:20 +02:00
Adria Navarro c96e8b273d Fix types 2024-04-03 12:53:55 +02:00
Dean ee3462648d Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-03-26 12:07:10 +00:00
jvcalderon 1da10c9a5f Merge branch 'master' into feature/onboarding 2024-03-25 12:51:57 +01:00
Dean a773c167d5 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-03-22 15:26:23 +00:00
Dean 6b5938aef6 Merging 2024-03-22 15:26:05 +00:00
Adria Navarro c70b50277f Fix tsconfig.json 2024-03-20 17:37:27 +01:00
Sam Rose 4783426b0f
Merge branch 'master' of github.com:budibase/budibase into reenable-no-unused-vars 2024-03-20 11:46:59 +00:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Adria Navarro 2f016d86e3 Remove .d.ts 2024-03-20 11:01:53 +01:00
Adria Navarro 9c08a40e7e Clean 2024-03-20 00:11:13 +01:00
Adria Navarro 94a93a5bb6 Run jest 2024-03-19 23:40:55 +01:00
Adria Navarro abbe9deb1c Add test command 2024-03-19 23:28:03 +01:00
Adria Navarro b62044b4b8 Fix tests 2024-03-19 23:26:04 +01:00
Adria Navarro 73f3e0c53b Clean dependencies 2024-03-19 23:25:53 +01:00
jvcalderon 6728fdad1d VERIFYING_EMAIL 2024-03-14 15:35:45 +01:00
jvcalderon 8ae579b1d7 Lint 2024-03-14 13:15:35 +01:00
Andrew Kingston 2732a11b4b
Update packages/shared-core/src/constants/index.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-13 14:29:50 +00:00
Andrew Kingston 2d12a1a8fa Add server-side validation for snippet names 2024-03-13 11:48:17 +00:00
jvcalderon 40cb22a7d5 Adds OnboardingProcessCorrelationKey 2024-03-12 13:45:09 +01:00
Peter Clement 632b9a26f4 remove log 2024-03-06 14:42:30 +00:00
Peter Clement 1f107041a1 use vitest each 2024-03-06 11:57:45 +00:00
Peter Clement eb00ce401f pr comments 2024-03-06 10:10:28 +00:00
Peter Clement b232371eff remove uneeded comment 2024-03-06 10:01:42 +00:00
Peter Clement 3d9a7e5ddf fix type 2024-03-04 10:07:06 +00:00
Peter Clement 5679acb868 fix types 2024-03-04 09:55:28 +00:00
Peter Clement e3c514e45a Update test lucene builder and add more tests 2024-03-04 09:48:47 +00:00
Peter Clement 2933571c62 update runLuceneQuery in client to allow for all filter matching 2024-02-28 08:34:41 +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
mike12345567 1f4a254ec5 Fix for integration test, make sure to carry auth headers over correctly. 2024-02-15 15:47:56 +00:00
Peter Clement aaf476ca25 Merge remote-tracking branch 'refs/remotes/origin/fix/add-cron-validation' into fix/add-cron-validation 2024-02-13 15:14:28 +00:00
Peter Clement 2660149fea move constant to shared-core 2024-02-13 15:14:03 +00:00
mike12345567 523f211d1a pinning cron-validate version. 2024-02-13 13:42:58 +00:00
mike12345567 5546b8ffe6 PR comments. 2024-02-12 13:28:12 +00:00
mike12345567 8bf79c5f10 Adding some basic cron validation to publishing, currently the error is not explained if it is hit - still need some frontend for this, but this now means that an error is provided to users when attempting to publish, and we can re-use this validation in the automation UI. Need to have both backend and frontend validation as invalid CRONs will already exist, backend makes sure these are error'd on. 2024-02-09 18:04:40 +00:00
jvcalderon 03f7fb37ed Calculate creators count when group role changes 2024-01-18 11:14:25 +01:00
melohagan 59ca41d837
Support number array binding filtering in automations (#12708)
* Support number array binding filtering in automations

* Remove ts-ignore

* Fix action trigger array test input

* Unit tests

* Refactor

* lint
2024-01-09 10:25:36 +00:00
Adria Navarro f3e046ba98 Move header constants to shared-core 2023-12-14 10:07:46 +01:00
Adria Navarro 9c9f45436f Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-04 09:30:00 +01:00
melohagan a5a3b12936
Return false don't throw (#12460)
Co-authored-by: Sam Rose <hello@samwho.dev>
2023-11-29 10:10:59 +00:00
Adria Navarro e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
Andrew Kingston d8b646de29 Don't consider admin app access as creator access 2023-11-24 16:15:42 +00:00
Andrew Kingston ce5d6267cc Move per creator utils into backend core, allow creators to create apps 2023-11-23 17:13:51 +00:00
Andrew Kingston 974b117500 Allow creators to use the builder portal 2023-11-23 15:29:34 +00:00
Andrew Kingston 9b99991b2e Update SDK to account for new creator builder flag 2023-11-23 14:01:58 +00:00
melohagan f35e3cb99c
Handle dates in query range filter (#12413)
* Handle dates in query range filter

* Add unit tests for runLuceneQuery

* Fix build errors
2023-11-21 16:08:20 +00:00
Sam Rose 303ae3c58b
Block some code extensions that could be used maliciously. 2023-11-21 11:41:32 +00:00
Sam Rose 71b8b300bf
Add archive file formats to blocklist. 2023-11-21 11:26:25 +00:00
Sam Rose b4cb97963c
Move from an allow list to a block list of file extensions. 2023-11-21 10:40:25 +00:00
Adria Navarro a945b52f9a Rename dev:builder to dev (unifying account-portal) 2023-11-07 19:15:40 +01:00
Dean a39accdb42 Test coverage added for the component. Minor refactor 2023-11-07 15:07:00 +00:00
Sam Rose 6bb6f106d5
Apply valid file types to AttachmentCell. 2023-10-27 16:46:30 +01:00
Sam Rose 2160f4e5e2
Add valid extension list to shared-core. 2023-10-27 16:24:02 +01:00
jvcalderon f643bc5ee8 Keep only migrations 2023-10-24 10:24:00 +02:00
jvcalderon 648410348d [Revert] [Added] Per user per creator changes 2023-10-23 13:27:59 +02:00
Andrew Kingston 41e72a28c9
Merge branch 'master' into grid-all-datasources 2023-10-18 15:59:12 +01:00
Andrew Kingston fb69c3a0da Add new shared core util for determining whether columns can be sort columns or not 2023-10-18 15:38:37 +01:00
jvcalderon 44474b063a Merge branch 'master' into features/per-user-per-creator-realease2 2023-10-18 13:43:11 +02:00
jvcalderon 5b2f55a592 Per user per creator changes 2023-10-18 13:36:34 +02:00
Sam Rose 767900aec6
Remove type information from JSDoc in .ts files, it's redundant. 2023-10-17 16:46:32 +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
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
mike12345567 f1b73058c2 Merge branch 'fix/update-vm2' of github.com:Budibase/budibase into backmerge-20231011 2023-10-11 18:49:39 +01:00
Adria Navarro 31469cb2d6 Fix rebuilding shared-core 2023-10-10 16:05:41 +02:00
Adria Navarro e0f51fb7db Fixes 2023-10-10 15:53:10 +02:00
Adria Navarro 36909ff7f6 Export bannedDisplayColumnTypes 2023-10-10 15:50:12 +02:00
mike12345567 95caee66a7 PR comments. 2023-10-10 11:22:59 +01:00
mike12345567 c87a67a37a Converting user IDs where necessary to global user IDs in the frontend, correcting the null entry when using current user IDs, or other user IDs, as a default value for a user column form type. 2023-10-09 18:18:34 +01:00
mike12345567 d8b7f930e9 Merging. 2023-10-06 15:55:10 +01:00
Michael Drury c7c63a7b83 Merge branch 'master' into budi-7589/user-column-multi-user-filtering-support 2023-10-06 15:54:12 +01:00
mike12345567 3de8c53166 Adding a mapping layer to search queries so that we can map search inputs based on the table schema if desired - primarily for the user column. 2023-10-06 11:57:11 +01:00
Adria Navarro 39b5a2b539 Allow filtering 2023-10-04 17:55:23 +02:00
Adria Navarro 02bfaa4378 Clean multiple user checks to simplify 2023-10-03 18:29:35 +02:00
Adria Navarro da95c32a0c Simplify code 2023-10-03 17:06:17 +02:00
Adria Navarro dbd5f7a134 In instead of ContainsAny 2023-10-03 16:58:39 +02:00
Adria Navarro c84d2449f2 Smarter getValidOperatorsForType 2023-10-03 14:26:12 +02:00
Adria Navarro 4577ba8239 Change filters 2023-10-03 13:19:28 +02:00
Adria Navarro 3b93748376 Filter user (single) UI 2023-10-03 12:46:06 +02:00
Adria Navarro af924ae4a2 Use types 2023-10-03 12:01:15 +02:00
Samuel Martineau 84d30e4f4a Merge branch 'Budibase:develop' into allow-plugins-contribute-datasourceplus 2023-10-02 17:49:34 -04:00
Samuel Martineau 08bbfa09c2 Merge branch 'Budibase:develop' into allow-plugins-contribute-datasourceplus 2023-09-26 21:28:26 -04:00
Samuel-Martineau 2aac1c992a Correct bugs with Datasource+ plugins 2023-09-26 21:26:40 -04:00
Adria Navarro 6cfb5e8fb5 Clean dependencies from shared-core 2023-09-26 12:53:09 +02:00
Adria Navarro 02ab0a134e Update ts to 5.x 2023-09-22 18:17:19 +02:00
mike12345567 c361588bd4 Updating the yarn dev process to not include a removal of the dist directory as part of the streamed watchers - this seems to create a problem for shared core and moving this up a level to a parallel run before the watchers massively improves stability. 2023-09-06 18:17:44 +01:00
Peter Clement 2360e5d8a5 Merge remote-tracking branch 'origin/develop' into feat/per-app-builder-fe 2023-08-31 11:07:39 +01:00
Peter Clement 8d5f6cf7af add api for per app builder and help function 2023-08-24 11:38:12 +01:00
Andrew Kingston 6d46fb2963 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-21 11:57:28 +01:00
Adria Navarro 5dca30986e Merge branch 'develop' into chore/fix_os_contributor 2023-08-21 10:27:22 +03:00
Adria Navarro 8ca838dad2 Fix types on shared-pro build 2023-08-21 10:07:36 +03:00
Adria Navarro 05be953647 Shared and types are commonjs (for pro users) 2023-08-21 10:06:37 +03:00
Adria Navarro ea84b7ffe3 Fix shared-core on dev:builder 2023-08-21 09:54:08 +03:00
mike12345567 188004021a linting. 2023-08-18 14:40:04 +01:00
mike12345567 7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
mike12345567 e174211440 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-08-17 17:34:44 +01:00
Andrew Kingston b5546f8d9b Update server and builder to properly sync changes with tables and views across all users 2023-08-17 16:04:56 +01:00
melohagan b57a8c1130 Move when filter empty option into filter drawer (#11262)
* Add when filter empty dropdown

* Add unit tests

* "fix" typescript issue

* Add empty filter check for external

* Add unit test

* Hide empty filter option for custom query

* Make onEmptyFilter optional

* Fix unit tests

* Remove onEmptyFilter automation input

* Remove unused var

* Refactor

* Fix path

* Fix type issue

* Fix types
2023-08-17 13:31:52 +01:00
Martin McKeaveney fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
mike12345567 9bac4b8bf2 Getting shared-core to build consistently as part of the yarn dev command. 2023-08-16 16:58:35 +01:00
mike12345567 b4b52d9266 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 13:16:29 +01:00
Adria Navarro 9e6bfaa958 Merge branch 'develop' into backmerge-20230809 2023-08-09 17:36:31 +03:00
Adria Navarro 9734776953 Add required nx dependencies 2023-08-09 17:20:36 +03:00
Adria Navarro b441cbe3ec Include all dist 2023-08-09 17:06:05 +03:00
Adria Navarro 4c7dfc978e Whitelist .npmignore from backend-core 2023-08-09 16:41:44 +03:00
Adria Navarro bfdb785436 Tweak shared-core content to exclude src 2023-08-09 16:36:14 +03:00
mike12345567 f55aed2ee5 Adding NPM ignore files so that doesn't default to the .gitignore when publishing to NPM. 2023-08-09 13:31:30 +01:00
mike12345567 33257db010 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-08-09 11:39:46 +01:00
Adria Navarro 8e655dae66 Fix path 2023-08-08 19:36:36 +03:00
Adria Navarro b91677f0ce Fix declarations 2023-08-08 19:33:57 +03:00
Adria Navarro b882a64ad7 Shared-core via esbuild 2023-08-08 18:45:02 +03:00
Adria Navarro 77568af704 Change filter query to store the expected shape 2023-08-07 13:14:18 +03:00
Adria Navarro 74287370df Move filter types to types 2023-08-07 11:18:36 +03:00
Andrew Kingston 858a0796bd Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-02 14:50:40 +01:00
Adria Navarro 7944f72820 Fix integration tests 2023-08-02 10:59:15 +02:00
Adria Navarro bb861e45a8 Remove unnecessary nx dependencies for build 2023-08-02 10:02:39 +02:00
Adria Navarro 803c79fa55 Fix build 2023-08-02 01:57:13 +02:00
Adria Navarro 4f723720fe Fix tsBuildInfoFile 2023-08-02 00:40:09 +02:00
Adria Navarro 4281d2ca53 Build types and shared-core 2023-08-02 00:21:59 +02:00
Adria Navarro c59bfdb920 Remove unnecessary out folder 2023-08-01 19:23:48 +02:00
Adria Navarro 4b5751003f Revert "Remove composite"
This reverts commit f9115f1554bbadadc3a0ef91d00d170fa05e45b6.
2023-08-01 19:23:48 +02:00
Adria Navarro 012ab80176 Remove base 2023-08-01 19:23:31 +02:00
Adria Navarro 50ca4de0f7 Remove cjs refs 2023-08-01 19:23:31 +02:00
Adria Navarro 250a4e890f Remove composite 2023-08-01 19:23:23 +02:00
Adria Navarro 7e30047b3f Fix dev:builder 2023-08-01 19:22:59 +02:00
Adria Navarro f5131f673c Fix dev build 2023-08-01 19:22:59 +02:00
Adria Navarro e011ccd0c4 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 16:49:06 +01:00