Commit Graph

344 Commits

Author SHA1 Message Date
Dean 37dd75823f PR feedback, signature to signature single 2024-05-17 17:04:15 +01:00
Dean 166206f185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-15 16:35:31 +01:00
Adria Navarro 81801582e9 Add type guards 2024-05-14 17:43:42 +02:00
Dean b0a65b4699 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-13 16:22:19 +01:00
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
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 9c08a40e7e Clean 2024-03-20 00:11:13 +01:00
Adria Navarro b62044b4b8 Fix tests 2024-03-19 23:26:04 +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 2660149fea move constant to shared-core 2024-02-13 15:14:03 +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
melohagan a5a3b12936
Return false don't throw (#12460)
Co-authored-by: Sam Rose <hello@samwho.dev>
2023-11-29 10:10:59 +00: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
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 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 2aac1c992a Correct bugs with Datasource+ plugins 2023-09-26 21:26:40 -04: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
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
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
mike12345567 b4b52d9266 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 13:16:29 +01: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
mike12345567 dce38908c9 PR comments (backend). 2023-08-01 10:56:47 +01:00
mike12345567 7ee4802af2 Linting. 2023-07-31 13:45:06 +01:00
mike12345567 52d05c2910 Making sure booleans returned from user role functions in shared core. 2023-07-31 13:37:01 +01:00
Andrew Kingston fdfedfdd92 Fix websocket error 2023-07-31 11:21:11 +01:00
mike12345567 7b9f86d7ea Fix found by authorized test case. 2023-07-28 17:06:53 +01:00
mike12345567 8253ad0a2e Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-26 14:24:29 +01:00
mike12345567 43bfb943a3 Some fixes post testing. 2023-07-25 18:52:59 +01:00
Andrew Kingston cf178808bf Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-24 12:03:28 +01:00
Andrew Kingston 869cb0777b Validate query names to avoid parentheses 2023-07-24 12:02:24 +01:00
mike12345567 87d80e08f5 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-21 17:34:27 +01:00
mike12345567 bb032852e5 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-21 16:26:34 +01:00
mike12345567 3abe5d4cb2 Frontend work to support logging in as an app builder - also making sure when a new app is created that the user is assigned app access to it. 2023-07-20 18:34:12 +01:00
Andrew Kingston 5d0918a6cb Prevent invalid characters in column names when importing tables 2023-07-20 12:21:09 +01:00
mike12345567 e469abb679 reworking frontend to use shared core functions to check if is admin or builder (needs further expansion). 2023-07-19 18:05:02 +01:00
mike12345567 85dea47a31 Moving user admin/builder functions to shared-core for frontend to use. 2023-07-19 16:19:34 +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
Dean db501fb10a Enabled collaboration behaviour in the automation section 2023-07-10 09:30:15 +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
Andrew Kingston 99bf0ca03b Sync publish and unpublish events between all users 2023-07-04 13:18:38 +01:00
Andrew Kingston 7be2d6896e Add indicators to show selected state in data section 2023-07-04 08:58:14 +01:00
Andrew Kingston d80cca9a11 Allow all users into the design section, enable multi dev collab on screens, improve routing 2023-07-03 11:14:07 +01:00
mike12345567 25d0f3f518 Adding settings tab for SQL datasources. 2023-06-28 11:59:53 +01:00
Adria Navarro a14b29efac Improve fetch performance 2023-06-07 12:29:36 +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 0506096e72 Fixing filtering plus pagination in googlesheets, the pagination previously was first which broke the filtering. 2023-06-05 10:03:47 +01:00
Andrew Kingston 680e609b52 Remove plural forms of enums and use TS enum rather than JS const 2023-05-31 17:03: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
Andrew Kingston cc7df474c9 Standardise usage of user avatars and colours across the entire platform 2023-05-26 09:24:53 +01:00
Adria Navarro f27c4ae55a Use nx/esbuild for worker docker & dev 2023-05-19 14:45:05 +02:00
Mel O'Hagan 66a573dcc9 Fix fuzzy search internal DB 2023-04-20 18:14:41 +01:00
Mel O'Hagan e58cd0a106 Check substring if contains not array 2023-04-20 17:30:45 +01:00
mike12345567 32c78ec9bf This makes it so that Googlesheets works correctly as part of onboarding in the Cloud, in self host the googlesheets onboarding option has been hidden as it is too complex to get the user to setup the correct integrations with their google account while doing the first time onboarding to an app. 2023-03-29 19:58:24 +01:00
mike12345567 ddaafe6379 Merge branch 'master' of github.com:Budibase/budibase into fix/9886 2023-03-10 14:49:41 +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