Commit Graph

21204 Commits

Author SHA1 Message Date
Adria Navarro fe6535a65f Type schema fields 2023-10-10 18:54:57 +02: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
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
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 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
Adria Navarro cd5835bfeb Merge branch 'master' into budi-7589/user-column-multi-user-filtering-support 2023-10-09 09:37:44 +02: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
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
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
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
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
mike12345567 5810529350 Quick fix for #11982 - check for both deprecated docker-compose and docker compose V2. 2023-10-05 23:03:34 +01:00
Adria Navarro 58a22ccde8 Fix initialisation of simple types 2023-10-05 11:16:52 +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
Adria Navarro 63306d3509 Fix filtering pg datasource 2023-10-04 12:20:19 +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 e7b47d08bb Do not sanitize on operator change 2023-10-03 18:39:52 +02: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
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