Commit Graph

21405 Commits

Author SHA1 Message Date
Adria Navarro 715db97436 Clean code 2023-10-11 13:21:51 +02:00
Adria Navarro 9391854f46 Types 2023-10-11 13:21:19 +02:00
Adria Navarro 6fa5727166 Clean 2023-10-11 13:19:05 +02:00
Adria Navarro ea1c273de0 Clean 2023-10-11 13:18:04 +02:00
Adria Navarro 164e1f4c18 Clean 2023-10-11 13:15:59 +02:00
Adria Navarro 79ef97387b Subtype on datetime 2023-10-11 13:06:18 +02:00
Adria Navarro 3f6d48da1f Fix autoid numbers 2023-10-11 13:03:05 +02:00
Adria Navarro 248c44ac2a Fix relationship field metadata 2023-10-11 12:55:23 +02:00
Adria Navarro 5edc3d3de6 Change formula to be mandatory on FormulaFieldMetadata 2023-10-11 12:34:58 +02:00
Adria Navarro 0113b5d8e8 Remove unnused StringFieldMetadata 2023-10-11 12:33:01 +02:00
Adria Navarro f57104730e Remove subtype from the base field schema 2023-10-11 12:23:54 +02:00
Sam Rose 4bda97d70f Create a failing test for BUDI-7552 2023-10-11 11:07:46 +01:00
Andrew Kingston aa0dc7dd37 Bump 2023-10-11 10:24:49 +01:00
Dean 059bed1cfa Merge remote-tracking branch 'origin/master' into fix/selected-by-user-obscured-nav-item 2023-10-11 10:13:42 +01:00
Andrew Kingston efa2386fd5 Merge branch 'master' into fix/create-duplicate-queries 2023-10-11 07:57:03 +01:00
mike12345567 ff89a15eea Updating jest types - old version was causing some weird errors in Webstorm. 2023-10-10 18:12:28 +01:00
Adria Navarro 74cba9de27 Lint 2023-10-10 18:54:57 +02:00
Adria Navarro 1b7be0d637 Fix import 2023-10-10 18:54:57 +02:00
Adria Navarro a8c814e714 Fixes fixes 2023-10-10 18:54:57 +02:00
Adria Navarro 1f1ebc82e5 Fix more types 2023-10-10 18:54:57 +02:00
Adria Navarro 6c328109b6 Fixes 2023-10-10 18:54:57 +02:00
Adria Navarro ea86ded912 Fixes 2023-10-10 18:54:57 +02:00
Adria Navarro 7ee63365f7 Fix 2023-10-10 18:54:57 +02:00
Adria Navarro 40226c5c3a Fix more types 2023-10-10 18:54:57 +02:00
Adria Navarro 21e2d7ddbe Fix relationship types 2023-10-10 18:54:57 +02:00
Adria Navarro c8ffa98844 Fixes 2023-10-10 18:54:57 +02:00
Adria Navarro dd373cd5e9 Fix types 2023-10-10 18:54:57 +02:00
Adria Navarro fe6535a65f Type schema fields 2023-10-10 18:54:57 +02:00
Michael Drury 5937f2139a Merge branch 'develop' into feat/relationship-configuration 2023-10-10 16:49:50 +01:00
Adria Navarro 54b94f041c Merge pull request #12020 from Budibase/restrict-display-on-import-table
Restrict display on import table
2023-10-10 17:29:08 +02:00
Andrew Kingston a31186ee56 Improve custom data fetch parsing to better support csv-like strings 2023-10-10 15:42:09 +01:00
Adria Navarro 193b8785ee Reset display field if required 2023-10-10 16:17:03 +02:00
Adria Navarro 6124139295 Don't allow selecting unvalid display columns 2023-10-10 16:13:21 +02:00
Adria Navarro 7ba8001ae4 Merge pull request #12008 from Budibase/feature/import_user_column_type
Import user column type
2023-10-10 16:09:50 +02: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
Adria Navarro 530857a6ff Fix 2023-10-10 15:39:05 +02:00
Adria Navarro c49a16fdac Fix tests 2023-10-10 15:35:00 +02:00
Adria Navarro 21420c59fa Fix order 2023-10-10 14:39:55 +02:00
Adria Navarro 78335be26a Clean 2023-10-10 14:20:26 +02:00
Adria Navarro e473c8b3a8 Fix tests 2023-10-10 14:07:12 +02:00
mike12345567 012d0f4fe9 Removing the option to add a filter to the dataset of a user column picker, as there is no current API for searching this. 2023-10-10 12:54:49 +01:00
Adria Navarro 48afa2aa0d Lint 2023-10-10 13:52:47 +02:00
Adria Navarro bd82dae565 Display user/users fields 2023-10-10 13:52:47 +02:00
Adria Navarro d3e8e1f4f8 Fix importing 2023-10-10 13:52:47 +02:00
Adria Navarro b966ed221d Fix bulk delete 2023-10-10 13:52:47 +02:00
Adria Navarro 71159e4f4a Import internal 2023-10-10 13:52:47 +02:00
Adria Navarro fd414dbe4b Enable importing bbrefs as string csv 2023-10-10 13:52:47 +02:00
Adria Navarro 62c6631bc8 Don't cast on the fe 2023-10-10 13:52:47 +02:00
Adria Navarro 979c2aeb00 Return only id and primary display 2023-10-10 13:52:47 +02:00
Adria Navarro df97b7ad93 Expect BB ref data as csv strings 2023-10-10 13:52:47 +02:00
Adria Navarro adf5e6bcf2 Allow users 2023-10-10 13:52:47 +02:00
Adria Navarro f22467fa53 Validate user column 2023-10-10 13:52:47 +02:00
Adria Navarro a514358e57 Allow selecting user column type 2023-10-10 13:52:47 +02:00
Michael Drury 5783ae3e00 Merge branch 'master' into feature/multi-user-type-column 2023-10-10 12:38:51 +01:00
mike12345567 5099d6c3a5 Merge branch 'feature/multi-user-type-column' of github.com:Budibase/budibase into fix/null-user-column-value 2023-10-10 12:10:56 +01:00
Andrew Kingston 08331c3632 Fix bug that was causing an empty grid when adding a new column 2023-10-10 11:59:24 +01:00
mike12345567 27abfdccc2 Removing onChange handler. 2023-10-10 11:50:45 +01:00
mike12345567 95caee66a7 PR comments. 2023-10-10 11:22:59 +01:00
mike12345567 2ef5cb3894 Merge branch 'feature/multi-user-type-column' of github.com:Budibase/budibase into fix/null-user-column-value 2023-10-09 18:31:13 +01:00
mike12345567 fa5e340e60 Merge branch 'feature/multi-user-type-column' of github.com:Budibase/budibase into fix/external-table-keep-types 2023-10-09 18:30:47 +01:00
mike12345567 635f33f81e Make sure that external tables preserve the BB_REFERNECE type, under the hood it is text/array, but it should continue to be treated correctly as its own indpendent type when updating Budibase tables (fetching). 2023-10-09 18:28:09 +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
Andrew Kingston 513aaf1174 Update custom datasource label to 'JSON / CSV' 2023-10-09 16:03:12 +01:00
Andrew Kingston b17ec630c1 Ensure user table editing is still allowed for old apps that are imported 2023-10-09 15:09:11 +01:00
Andrew Kingston 73e208292f Simplify logic to be more readable 2023-10-09 15:05:57 +01:00
Andrew Kingston a4e3cd72cc Add new app feature flag to allow disable user metadata columns in new apps, but allow them in old apps 2023-10-09 15:01:16 +01:00
Adria Navarro 7d6cd53c29 Add comments 2023-10-09 15:37:42 +02:00
Adria Navarro 6f77be622f Simplify 2023-10-09 15:36:17 +02:00
Adria Navarro 0909e0547e Process formulas after processing complex fields 2023-10-09 15:30:07 +02:00
Adria Navarro 065e633742 Don't allow users column as primary display 2023-10-09 15:30:07 +02:00
Adria Navarro d7aa23f740 Testing 2023-10-09 13:21:40 +02:00
Adria Navarro a5477f14d2 Handle users on search input 2023-10-09 13:21:27 +02:00
Andrew Kingston a781860b1c Improve grid handling of non datasource plus and fix focused cell issue with row click actions 2023-10-09 09:36:01 +01:00
Adria Navarro cd5835bfeb Merge branch 'master' into budi-7589/user-column-multi-user-filtering-support 2023-10-09 09:37:44 +02:00
Andrew Kingston c48eca4a0f Update if logic to avoid redundant check 2023-10-09 08:33:28 +01:00
Andrew Kingston e415c516e9 Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-09 08:31:50 +01:00
Andrew Kingston 71a8d5695b Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-09 08:24:06 +01:00
Andrew Kingston 8ce001cd4a Merge branch 'develop' into grid-mobile-scrolling 2023-10-09 08:23:43 +01:00
Adria Navarro 047936bcbf Merge branch 'master' into budi-7589/user-column-multi-user-filtering-support 2023-10-09 09:22:55 +02:00
melohagan d8f1b7960e Fix form block crash on no data tables (#11995)
* Fix form block crash on no data tables

* Refactor

* Refactor
2023-10-09 08:22:19 +01:00
Andrew Kingston 2171b14f50 Merge branch 'develop' into grid-clipboard 2023-10-09 08:06:18 +01:00
Andrew Kingston 0303027754 Merge branch 'develop' into grid-mobile-scrolling 2023-10-09 08:06:04 +01:00
Andrew Kingston 04271838c3 Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-09 08:05:57 +01:00
mike12345567 0dc28122fa Adding test case. 2023-10-06 16:38:36 +01:00
mike12345567 d4335bca73 Quick fix for saving current user._id - make sure it is the correct format of ID. 2023-10-06 16:31:48 +01:00
mike12345567 df29f4c30f Merge branch 'develop' of github.com:Budibase/budibase into backmerge-6-10-23 2023-10-06 15:56:09 +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
Michael Drury 7934e984cc Merge branch 'master' into fix/user-column-search-mapping 2023-10-06 14:30:09 +01:00
melohagan 23b7a8de72 Allow relationship to be deleted even if missing (#11991)
* Allow relationship to be deleted even if missing

* Comment
2023-10-06 14:17:36 +01:00
mike12345567 575693d69a Updating pro. 2023-10-06 14:07:12 +01:00
Adria Navarro 434f2a0670 More nx cache 2023-10-06 14:52:32 +02:00
Adria Navarro 13e985813c Merge branch 'master' into BUDI-7573/use_existing_image_cache 2023-10-06 14:44:35 +02:00
Adria Navarro da53f0a366 Cache output files 2023-10-06 14:32:17 +02:00
mike12345567 bc17bc43fa Fixing issue brought up by some unit tests. 2023-10-06 13:32:12 +01:00
mike12345567 7acc164e12 Fix build. 2023-10-06 13:28:27 +01:00
mike12345567 017b522a3f Comment to explain function. 2023-10-06 12:56:55 +01:00
mike12345567 18cca671d4 PR comments. 2023-10-06 12:56:07 +01:00
Adria Navarro 0d21d13e4b Extract functions 2023-10-06 13:53:34 +02:00
mike12345567 6e6c5bc776 Handle arrays and fix issue brought up by REST testcase. 2023-10-06 12:31:52 +01:00
Michael Drury 8f41554c6f Merge branch 'master' into budi-7589/user-column-multi-user-filtering-support 2023-10-06 12:18:20 +01:00
mike12345567 cfe261a8f6 Merge branch 'master' of github.com:Budibase/budibase into fix/user-column-search-mapping 2023-10-06 12:16:54 +01:00
mike12345567 dc50515bcc Adding negative test case and fixing build issue. 2023-10-06 12:16:37 +01:00
Andrew Kingston c2acac36a8 Improve retention of grid metadata when updating datasources to avoid resetting state 2023-10-06 12:02:30 +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 19254a3f8d Update rollup 2023-10-06 12:31:37 +02:00
Adria Navarro c60de3ebe0 Update vite dependencies 2023-10-06 12:29:12 +02:00
mike12345567 7976772842 Fixing test case. 2023-10-05 23:19:11 +01:00
mike12345567 10fffef467 Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf 2023-10-05 23:05:18 +01:00
mike12345567 5810529350 Quick fix for #11982 - check for both deprecated docker-compose and docker compose V2. 2023-10-05 23:03:34 +01:00
Andrew Kingston 3564fd5621 Improve handling of JSON objects in custom datasources 2023-10-05 19:30:00 +01:00
Andrew Kingston 549ea44245 Improve handling of file uploads 2023-10-05 19:17:13 +01:00
Andrew Kingston ecd2ed3d07 Improve custom datasource schema generation and error resistance 2023-10-05 19:00:11 +01:00
mike12345567 ee4a042204 Typing fixes - unsure why all of these came up suddenly. 2023-10-05 18:40:56 +01:00
Andrew Kingston 0e394f0259 Lint 2023-10-05 18:31:43 +01:00
Andrew Kingston 5990f43f3f Fix issues with fetching features and bindings in custom datasources 2023-10-05 18:30:40 +01:00
mike12345567 3e2f9dfc4e Further enhancement, client library sends up the column it wants enriched and then we can ignore everything else, makes a big difference for enriching users (with a lot of relationships). 2023-10-05 18:23:18 +01:00
Andrew Kingston 9667c954ef Enable uploading a CSV file as a datasource and fix edge cases 2023-10-05 17:55:57 +01:00
Andrew Kingston 43c30d877b Add new custom datasource type 2023-10-05 14:42:26 +01:00
Adria Navarro 9a97f5f076 Fix devdependency type 2023-10-05 13:38:46 +02:00
Adria Navarro 58a22ccde8 Fix initialisation of simple types 2023-10-05 11:16:52 +02:00
Andrew Kingston b75c78dae5 Remove log 2023-10-05 08:24:30 +01:00
Andrew Kingston 922a851710 Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-05 08:23:26 +01:00
Andrew Kingston 88c4d0cd20 Update grids to work with all datasources 2023-10-05 08:23:01 +01:00
mike12345567 069fd33964 Some work towards improving performance of internal DB enrichment, there is a problem with cyclic enrichment due to the outputProcessing, need to decide how to handle formulas on enrichment. 2023-10-04 19:18:21 +01:00
Adria Navarro 6d387946a6 Merge branch 'master' into BUDI-7573/use_existing_image_cache 2023-10-04 18:08:31 +02:00
Adria Navarro f215f69067 Lint 2023-10-04 17:56:04 +02:00
Adria Navarro 91306c79eb Fix tests 2023-10-04 17:55:23 +02:00
Adria Navarro 2d0ac5ffba Fix filtering 2023-10-04 17:55:23 +02:00
Adria Navarro 39b5a2b539 Allow filtering 2023-10-04 17:55:23 +02:00
Adria Navarro ee11ebf8e4 Do not allow multiple users for google sheets 2023-10-04 17:55:23 +02:00
Adria Navarro 46b85ac12c Multiple users column 2023-10-04 17:55:23 +02:00
Adria Navarro 753cb442c2 Allow edit 2023-10-04 17:55:23 +02:00
Adria Navarro 9b45c1fe92 Fix wrong constraints 2023-10-04 17:55:23 +02:00
Adria Navarro 6d5e95af6e Add icons 2023-10-04 17:55:23 +02:00
Adria Navarro 583721ac47 Remove composite types 2023-10-04 17:55:23 +02:00
Adria Navarro 17df64c588 Allow selecting multiple users 2023-10-04 17:55:23 +02:00
Adria Navarro 23702391ff Use field ids instead of playing with the type/subtype 2023-10-04 17:55:23 +02:00
Adria Navarro b19c5ae5c6 Add subtype 2023-10-04 17:55:23 +02:00
Adria Navarro e01600d1bb Remove composite key 2023-10-04 17:55:23 +02:00
Adria Navarro e77cc3dac8 Specify column types instead of using spread 2023-10-04 17:55:23 +02:00
Adria Navarro deeb8ee254 Remove relationshiptype from user type 2023-10-04 17:55:23 +02:00
Adria Navarro bf632ae9a8 Fix 2023-10-04 17:55:23 +02:00
Adria Navarro d22fac9bf9 Replace relationshipType for subtype 2023-10-04 17:55:23 +02:00
Adria Navarro fe15b4d1e3 Use types 2023-10-04 17:55:23 +02:00
Martin McKeaveney d86c251699 Merge branch 'develop' into grid-clipboard 2023-10-04 11:57:45 +01:00
Adria Navarro 63306d3509 Fix filtering pg datasource 2023-10-04 12:20:19 +02:00
Andrew Kingston 77f87af87f Improve grid handling of invalid datasources and fix potential error when encoutering invalid datasources 2023-10-04 09:36:42 +01:00
Andrew Kingston c4a516ccb3 Ensure grid schema structure is predictable and prevent copying IDs for query datasources 2023-10-04 09:25:35 +01:00
Adria Navarro 680ce087ba Merge branch 'master' into BUDI-7573/use_existing_image_cache 2023-10-04 00:28:33 +02:00
Adria Navarro 18545b1c79 Fix vulnerabilities 2023-10-03 23:45:39 +02:00
Adria Navarro 15fd357b54 Update @google-cloud/firestore (yarn audit) 2023-10-03 23:09:57 +02:00
Adria Navarro 9dd5530c4e More cleanups 2023-10-03 22:39:00 +02:00
Adria Navarro 16752bb437 More cleanups 2023-10-03 22:37:00 +02:00
melohagan 4df2f622db Do not re-initialise options if changed (#11964)
* Do not re-initialise options if changed

* Init options onMount
2023-10-03 20:55:53 +01:00
Adria Navarro 42b75a1ec3 Use script 2023-10-03 19:55:23 +02:00
Adria Navarro 429530a34d Clean predocker steps 2023-10-03 19:55:23 +02:00
Adria Navarro 94e9715fef Build only required packages 2023-10-03 19:55:23 +02:00
Adria Navarro e7b47d08bb Do not sanitize on operator change 2023-10-03 18:39:52 +02:00
Andrew Kingston d03fdb6df9 Add initial support for query datasources in grids 2023-10-03 17:35:00 +01:00
mike12345567 5eacc9d93e Lint fix. 2023-10-03 17:34:20 +01:00
mike12345567 2c20d0b738 Spelling fix. 2023-10-03 17:33:58 +01:00
Adria Navarro 02bfaa4378 Clean multiple user checks to simplify 2023-10-03 18:29:35 +02:00
Adria Navarro 2c49638766 Lint 2023-10-03 17:37:14 +02:00
Adria Navarro 3f37416016 Sanitise field 2023-10-03 17:35:40 +02:00
Adria Navarro 0da029c896 Sanitise field 2023-10-03 17:35:36 +02:00
Adria Navarro 83790bc324 Lint 2023-10-03 17:14:33 +02:00
Adria Navarro 4b23139bfe Merge branch 'master' into budi-7583/filtering-data-provider-with-a-user-column-does-not-work 2023-10-03 17:08:33 +02:00
Adria Navarro da95c32a0c Simplify code 2023-10-03 17:06:17 +02:00
Adria Navarro 8ebf473ab2 Disable multiple users for now 2023-10-03 16:58:49 +02:00
Adria Navarro dbd5f7a134 In instead of ContainsAny 2023-10-03 16:58:39 +02:00
Andrew Kingston 5096170575 Merge branch 'develop' into grid-row-click-events 2023-10-03 15:19:01 +01:00
Adria Navarro 0053103974 Fix external 2023-10-03 15:41:00 +02:00
Adria Navarro 28d5fe37de Fix postgres docker-compose integration to 15 2023-10-03 15:26:41 +02:00
Adria Navarro c84d2449f2 Smarter getValidOperatorsForType 2023-10-03 14:26:12 +02:00
Adria Navarro b2429e1fe0 Allow selecting many for many-to-many 2023-10-03 14:05:25 +02:00
Adria Navarro 614bbb0412 Handle has any 2023-10-03 13:51:06 +02:00
Adria Navarro 0834d33f9a Remove none array operators 2023-10-03 13:43:42 +02:00
Adria Navarro 2367ceeb87 Disable when noValue 2023-10-03 13:25:56 +02:00
Adria Navarro 4577ba8239 Change filters 2023-10-03 13:19:28 +02:00
Adria Navarro f7e92992a8 Fix error 2023-10-03 13:12:50 +02:00
Adria Navarro 0702bc6c33 Sanity filter on change 2023-10-03 13:10:53 +02:00
Adria Navarro 9b14f50e8f Apply filter 2023-10-03 12:59:15 +02:00
Adria Navarro 3b93748376 Filter user (single) UI 2023-10-03 12:46:06 +02:00
Michael Drury 0220bc3381 Merge branch 'master' into fix/11947 2023-10-03 11:24:12 +01:00
Adria Navarro af924ae4a2 Use types 2023-10-03 12:01:15 +02:00
melohagan b291633c79 Don't use DrawerBindableSlot in test modal (#11959) 2023-10-03 10:19:19 +01:00
Peter Clement eca0089cb9 Merge remote-tracking branch 'origin/develop' into feat/relationship-configuration 2023-10-03 08:44:27 +01:00
Samuel Martineau 84d30e4f4a Merge branch 'Budibase:develop' into allow-plugins-contribute-datasourceplus 2023-10-02 17:49:34 -04:00
Martin McKeaveney 1e5be5bb96 Merge branch 'develop' into grid-row-click-events 2023-10-02 17:35:38 +01:00
mike12345567 0912720f19 Quick fix for built PKG CLI version, make sure prebuilds are loaded correctly. 2023-10-02 15:43:32 +01:00
Adria Navarro 4389ac0445 Merge branch 'develop' into backmerge-20231002 2023-10-02 15:57:14 +02:00
Adria Navarro 3169962a0a Merge branch 'master' into BUDI-7500/validation-not-triggering-for-required-foreign-keys 2023-10-02 15:35:26 +02:00
Adria Navarro 2df32b7b28 Use _id if populated 2023-10-02 15:34:26 +02:00
Adria Navarro 3546dfc0cf Validate 2023-10-02 15:18:28 +02:00
Adria Navarro 0f0b4d3535 Merge branch 'master' into fix/swaggerapi-version 2023-10-02 15:13:19 +02:00
Adria Navarro aa0ec1c7cb Fix validating on relationshipType change 2023-10-02 15:12:35 +02:00
Adria Navarro 46c40f011e Fix multiple relationship display 2023-10-02 15:00:51 +02:00