Commit Graph

791 Commits

Author SHA1 Message Date
Adria Navarro 8564509ca9 Allow bb_refs to externals 2023-09-14 17:51:09 +02:00
Adria Navarro 2c715f5144 Renamings 2023-09-14 17:49:48 +02:00
Adria Navarro 6f78825592 Clean 2023-09-14 16:51:15 +02:00
Adria Navarro 78c5216ee8 Merge dev fields to fields 2023-09-14 16:49:41 +02:00
Adria Navarro 3c4e550c7d Clean 2023-09-14 16:43:34 +02:00
Adria Navarro 1b1819b4a5 Clean 2023-09-14 16:16:47 +02:00
Adria Navarro 29b2e3b8f1 Handle internal types frontend 2023-09-14 16:06:02 +02:00
Adria Navarro 85a9b9ab21 Typings 2023-09-14 15:18:54 +02:00
Andrew Kingston 54fcc52197 Merge branch 'develop' into user-table-changes 2023-09-14 13:26:07 +01:00
Adria Navarro eb748db3be Add user type column selector 2023-09-14 10:45:27 +02:00
Conor Webb ca743e77fb Fixed typo of label for number type column. 2023-09-11 07:52:43 +01:00
Andrew Kingston bac5d52107 Add users table button explaining why it is readonly 2023-09-08 11:05:09 +01:00
Andrew Kingston 8375297f2d Make users table readonly and add WIP for button explaining change 2023-09-08 09:56:01 +01:00
mike12345567 662e8d9c31 Quick fix for disabling formula changing, swapping between static and dynamic can cause problems. 2023-09-07 17:02:11 +01:00
mike12345567 83875cd2d6 Merge branch 'develop' of github.com:Budibase/budibase into merge-master-develop 2023-09-05 12:29:27 +01:00
mike12345567 d096f359d7 Revert "Revert "Merge branch 'develop' into master""
This reverts commit 3265042025.
2023-09-05 12:28:56 +01:00
Adria Navarro d68d449f1f DRY 2023-09-04 12:11:59 +02:00
Adria Navarro a1da8e495c Merge branch 'develop' into BUDI-7393/display_inheritance_permission 2023-09-04 09:53:34 +02:00
Adria Navarro bb8aacd830 Improve messaging 2023-09-01 17:23:47 +02:00
Adria Navarro 0dc03abe5f Display dependant info 2023-09-01 17:03:33 +02:00
Adria Navarro 8c801f2bbe Handle disabled 2023-09-01 11:44:40 +02:00
Adria Navarro 5b7756936d Change api interfaces 2023-09-01 11:33:59 +02:00
Andrew Kingston d47bb4f191 Show tooltip when initially applying filters to a table 2023-09-01 10:07:37 +01:00
Adria Navarro 466f1e6132 Display inherit option 2023-09-01 10:52:06 +02:00
Adria Navarro bdaf179f20 Remove placeholder 2023-09-01 10:16:49 +02:00
Adria Navarro 3192bbe4dd Clean 2023-09-01 09:56:12 +02:00
Adria Navarro d36c7d744f Rename 2023-08-31 10:24:52 +02:00
Dean 2f36b2f805 Ensure the default export value is only set once 2023-08-31 08:51:00 +01:00
Dean 4d2f76e5be Fix for view export filtering and view tableblock exception 2023-08-31 08:42:31 +01:00
Andrew Kingston db28b29cf7 Prevent views with same name but different casing 2023-08-30 15:40:26 +01:00
Andrew Kingston c2b6a7d016 Ensure grid metadata is saved when creating views, even if not yet associated with the table 2023-08-30 08:21:10 +01:00
Adria Navarro 0fe02c189c Copy change 2023-08-29 15:41:31 +02:00
Martin McKeaveney 3265042025 Revert "Merge branch 'develop' into master"
This reverts commit 99adc2039b, reversing
changes made to fec20e526e.
2023-08-29 14:27:39 +01:00
Adria Navarro 12b869d7d1 Display required license 2023-08-29 12:47:15 +02:00
Adria Navarro ce11a5a852 Lock feature based on ff 2023-08-29 12:47:15 +02:00
Andrew Kingston dcb6350339 Enable creating views for SQL tables 2023-08-25 15:21:59 +01:00
Andrew Kingston e77644ce11 Lint 2023-08-22 11:48:06 +01:00
Andrew Kingston c936304410 Fix grid config store so that schema overrides work 2023-08-22 11:31:25 +01:00
Andrew Kingston 59559ee93c Remove log and account for onEmptyFilter in grid button 2023-08-21 16:53:09 +01:00
Andrew Kingston 77f6a6d6c1 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-21 16:38:00 +01:00
Peter Clement a48a22f1b8 fix tooltips 2023-08-17 10:06:49 +01:00
Andrew Kingston 1ddd0bca21 Allow configuring access for views 2023-08-15 16:32:36 +01:00
mike12345567 822a086666 Refactoring to make it so that visible: false columns are removed from views, and when returning view schema, all columns are enriched. 2023-08-11 14:57:53 +01:00
Andrew Kingston a671a85c46 Add WIP updates for view endpoint updates 2023-08-11 13:17:10 +01:00
Peter Clement 6b75a653f8 focus input when popover opens 2023-08-11 12:00:33 +01:00
Peter Clement f7c1db5926 focus input when popover opens 2023-08-11 11:59:40 +01:00
Andrew Kingston a72c94426f Hydrate view filters and allow filter changes to be saved to views 2023-08-08 09:29:05 +01:00
Andrew Kingston dd4b304736 Fix creating views 2023-08-04 15:20:30 +01:00
Andrew Kingston ef4ff87d8a Remove filter button on views for now 2023-08-04 15:17:30 +01:00
Andrew Kingston 8a9db6d8de Remove log 2023-08-04 15:15:43 +01:00
Andrew Kingston cd2231630f Improve updating of viewV2 state and restore grid<>builder sync for datasource definitions 2023-08-04 14:54:45 +01:00
Andrew Kingston e3cf0667be Refactor grid to split up stores and provide better separation of datasource-specific logic 2023-08-03 11:18:19 +01:00
Andrew Kingston ab47e49dd9 Update create view modal to only depend on grid context 2023-08-02 15:27:34 +01:00
Andrew Kingston d825c32fdf Hide access button for now 2023-08-01 14:25:16 +01:00
Andrew Kingston 0d65d34456 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-01 09:10:31 +01:00
Peter Clement 2ee7cb008b Reworked Column Configuration in the data section (#11379)
* base work for using popover to create and edit columns

* more work to enable editing column in popover

* update styling of column type configs

* add new option picker component

* some updates to how the popover is opened and the new picker

* more updates to support the popover handling correctly

* update the popover to support a custom z index

* some styling around the colour picker

* update naming

* fix lint errors

* fix lint

* update filename

* incremental column numbers based on existing schema

* move func declaration

* add option color object to schema not constraints

* ux / pr comment updates

* undefined var

* fix issue with deleting option

* change background color

* update popove z-index
2023-07-31 14:28:11 +00:00
Andrew Kingston 8204935dfa Add ability to update views, create views with existing filters and sorting applied 2023-07-30 12:49:07 +01:00
Andrew Kingston 1aea6fce09 Fix grid import and export for tables 2023-07-28 16:02:31 +01:00
Andrew Kingston 24182b3f1b Fix refreshing table definition 2023-07-27 14:22:13 +01:00
Andrew Kingston deb4092cd3 Refactor grid stores and how config is handled 2023-07-27 14:17:26 +01:00
Andrew Kingston c4e4b5c979 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-07-26 16:28:21 +01:00
Andrew Kingston 2d3da0dfcf Fix null issues in view fetch, fix edit view popover, improve handling of nullish view params 2023-07-26 14:26:34 +01:00
Andrew Kingston 352b7ebe1c Add dedicated route for routes v1, improve view creation modal, fix selection state 2023-07-26 14:07:07 +01:00
Andrew Kingston 150961fcf2 WIP: split views into separate stores, fix datasource list, use unique data table for views V2 2023-07-26 13:23:31 +01:00
Adria Navarro de0f3f7463 Merge branch 'develop' into backmerge-master-20230726 2023-07-26 12:50:52 +01:00
Adria Navarro e0b91d5941 Use defaults 2023-07-25 15:54:10 +02:00
Adria Navarro df40420470 On view created 2023-07-25 15:54:10 +02:00
Adria Navarro a602dcc5ec Refactor after merge 2023-07-25 15:54:10 +02:00
Adria Navarro 95faeea286 datasourceType setup 2023-07-25 15:54:10 +02:00
Dean f813a26ff0 packages/builder/src/components/backend/DataTable/DataTable.svelte 2023-07-25 14:32:21 +01:00
Dean e8dd3f9d90 Remove the define relationship button in the datatable when relationships are unsupported 2023-07-25 11:46:22 +01:00
mike12345567 bb032852e5 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-21 16:26:34 +01:00
Michael Drury fe8c92be79 Merge pull request #11315 from Budibase/types/improve-field-schema
Table types improvement - split up FieldSchema
2023-07-21 13:29:24 +01:00
mike12345567 7673673db2 Updating RelationshipTypes -> RelationshipType. 2023-07-21 12:57:47 +01:00
Andrew Kingston 5d0918a6cb Prevent invalid characters in column names when importing tables 2023-07-20 12:21:09 +01:00
Andrew Kingston 6df0ff57a4 Fix edit icons being shown in preview results table 2023-07-18 16:18:02 +01:00
Andrew Kingston a2238911fa Fix link to users portal 2023-07-18 16:14:49 +01:00
Adria Navarro c7f6f6b73c Merge branch 'develop' into backmerge-20230711 2023-07-11 15:34:58 +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
melohagan 8f94f6c53b Number of filters set is different between match any and match all in the Data section (#11194)
* Make sure displayed filter count is correct

* Fix for false boolean filter

* Correct filter count in Data section
2023-07-11 13:48:17 +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
Gerard Burns 808e0d1ef2 Linting improvements (#11119) 2023-07-05 18:00:50 +01:00
Gerard Burns 1f59986a87 Use constant for keeping modal open (#11067) 2023-07-05 13:49:39 +01:00
Adria Navarro 2cbead8bc4 Fetch relationships 2023-07-03 11:47:42 +01:00
Adria Navarro 6cb664060e Refetch tables on many to many 2023-07-03 10:13:42 +01:00
Michael Drury 67bee6704b Merge pull request #10803 from GitStartHQ/BUDIOSS-29
Fix CSV encoding issue
2023-06-29 11:15:40 +01:00
mike12345567 664fb3965c Fixing notification update in EditRoles. 2023-06-28 17:40:50 +01:00
mike12345567 81c8bee81e Quick fix to stop custom role names from being updated. 2023-06-28 17:17:24 +01:00
Michael Drury f7cdf5f2bc Merge pull request #11001 from Budibase/feature/custom-role-readable-ids
Custom roles - readable IDs
2023-06-27 16:17:08 +01:00
Gerard Burns c749209172 PR Feedback 2023-06-27 15:49:17 +01:00
mike12345567 fc537a0aab Further PR comments. 2023-06-27 14:56:24 +01:00
Gerard Burns 4387eb2a67 Update datasource config to use tabs 2023-06-27 14:33:11 +01:00
Andrew Kingston 4d3ea4cc3e Merge pull request #11029 from Budibase/use-modal-for-editing-datasources-v3
Use modal for editing datasources v3
2023-06-26 18:11:16 +01:00
Gerard Burns 88582b871e replace use of datasources.save with datasources.update 2023-06-26 14:15:04 +01:00
mike12345567 b94801d10a Merge branch 'develop' of github.com:Budibase/budibase into feature/custom-role-readable-ids 2023-06-26 12:39:41 +01:00
Andrew Kingston aebc3b2bb8 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-26 09:05:06 +01:00
Andrew Kingston bcbeae2279 Rework grid buttons, removing add row and add column buttons, and compression height and width into new size button 2023-06-22 08:16:59 +01:00
mike12345567 45120c60ba Getting basic regex in place to make sure role names can be IDs. 2023-06-21 17:08:54 +01:00
Andrew Kingston 5350cdf346 Revert testing whitelist 2023-06-19 17:45:07 +01:00
Andrew Kingston 9d8b5e99af Add column setting to grid 2023-06-19 17:38:44 +01:00
Andrew Kingston 68f21274ed Add settings to grid block for filtering and sorting, and refactor grid logic to allow external control of these stores 2023-06-19 09:54:24 +01:00
Andrew Kingston 70eda7ff81 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-16 10:02:42 +01:00
Andrew Kingston 9e535a1ca4 Account for table 'type' field meaning different things in different endpoints 2023-06-15 09:35:22 +01:00
Andrew Kingston 99a8fc7c12 Revert websocket changes and just fetch datasources constantly 2023-06-15 09:27:45 +01:00
Jonny McCullagh 757ca6a166 Merge master develop (#10897)
* Binding drawer fixes

* Added missing headless flag for the bindable combobox

* Fix for QueryEditor width

* Fix svelte transitions in grid new row component breaking routify

* Bump version to 2.7.7

* fix REST connector failure to save

* Bump version to 2.7.8

* Bump version to 2.7.9

* Unexpected token when export data (#10721)

* Tidy ID string for JSON parse

* Display error for composite keys

* Unit test WIP

* directly assign the mock function on the datasource

* Unit tests for exportRows ID handling

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>

* Return all rows if oneOf value is falsey (#10638)

* Bump version to 2.7.10

* Make sure divider fields are left-most (#10627)

* Make sure divider fields are left most

* Refactor

* Bump version to 2.7.11

* Temporarily remove the focus store update as it triggers a full redraw of the component settings

* Linting

* Removed commented out code

* Bump version to 2.7.12

* Bump version to 2.7.13

* Do not show Business tag for Email action (#10867)

* Bump version to 2.7.14

* new deploy trigger (#10892)

* point the deploys at the new env

* Bump version to 2.7.15

---------

Co-authored-by: Dean <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: Budibase Staging Release Bot <>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-06-14 16:18:09 +01:00
Andrew Kingston 61a143628b Revert tableType flag and derive from table instead 2023-06-07 10:48:08 +01:00
gitstart 0ae378dbec Update other places where download is used
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-06-07 06:43:30 +00:00
Dean b2633dc2db Binding drawer fixes 2023-06-06 17:46:40 +01:00
gitstart 05851f6b19 Fix CSV encoding issue
Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com>
2023-06-06 15:18:15 +00:00
Andrew Kingston 0582dd40b2 Ensue table schema change made via grids are properly synced with backend stores, given absence of websocket events for own events 2023-06-02 15:28:48 +01:00
Andrew Kingston 2db3012ae0 Fix JSON editor overflow row edit modal 2023-06-02 15:13:57 +01:00
Dean 24d57e8fd2 Merge remote-tracking branch 'origin/develop' into feature/db-query-save-prompt 2023-05-31 11:56:55 +01:00
Andrew Kingston 520158c8f9 Merge branch 'develop' of github.com:Budibase/budibase into data-section-multidev 2023-05-26 09:39:06 +01:00
deanhannigan 567ee451dd Merge pull request #10702 from Budibase/fix/data-export-rows
Fixes and updates for export internal rows
2023-05-26 09:08:35 +01:00
melohagan b5c98871ad Update table data via CSV import (#10313)
* Add identifierFields select for import

* Update rows on import (Internal DB)

* Only allow internal DB to upsert import CSV

* Clear identifierFields when turning off update

* Passing table instead of tableId

* Pass table

* Pass tableType
2023-05-25 18:05:07 +01:00
Dean 146940f6ae Added error handling for export row front end and fixed row export backend behaviour 2023-05-25 17:50:52 +01:00
Andrew Kingston 183fb3d29b Fix issue with schema mutation in grids. Use displayName to represent grid column labels. Allow deletion of duplicated user columns 2023-05-25 08:51:24 +01:00
Andrew Kingston cfa07a68ae Handle table, query and datasource events using builder socket 2023-05-22 15:59:44 +01:00
Andrew Kingston 3794d8e204 Simplify websocket comms for grid and improve builder socket 2023-05-18 08:57:20 +01:00
mike12345567 14806809e8 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-05-16 14:54:44 +01:00
Dean 3e19afd390 Merge fix 2023-05-15 12:10:19 +01:00
Dean 5b2f37e175 Merge remote-tracking branch 'origin/develop' into feature/db-query-save-prompt 2023-05-15 12:09:25 +01:00
Dean 6fa59da628 Merge remote-tracking branch 'origin/develop' into feature/portal-pending-users-section 2023-05-15 11:02:25 +01:00
Dean ea458639b3 Navigation updates 2023-05-15 09:14:18 +01:00
Dean 03c048f978 Merge remote-tracking branch 'origin/master' into fix/inclusion-row-parsing 2023-05-05 15:22:49 +01:00
Andrew Kingston 86ce8eb831 Fix table ID being passed in to access modal 2023-05-05 10:45:34 +01:00
Andrew Kingston e01e91e075 Fix row selection being cleared when exporting rows, and ignore download-js click events in click-outside handler 2023-05-05 09:13:06 +01:00
Dean 98963c1505 Fix for inclusion parsing for arrays and options. View table fix to hide edit button 2023-05-04 11:21:24 +01:00
Dean 19ed0ec3f5 Feedback updates and a fix for z-index issue in user side panel 2023-05-03 11:22:38 +01:00
Andrew Kingston b07e5095e9 Increase support for lower resolutions in the grid UI by using tooltips instead of text for some buttons at low horizontal breakpoints 2023-04-28 11:13:40 +01:00
Andrew Kingston 128411a61b Fix legacy delete button in edit row modal not doing anything 2023-04-25 08:58:41 +01:00
Andrew Kingston 5155727b56 Update grid button text and refactor gutter cell into own component 2023-04-24 11:22:03 +01:00
Andrew Kingston 943d17966e Remove import button for users table 2023-04-21 10:50:50 +01:00
Andrew Kingston 6bf6d15849 Rename sheet to grid 2023-04-20 08:17:07 +01:00
Andrew Kingston 06e1f2954a Add schemaOverrides prop to sheet and use it to customise user table schema 2023-04-18 13:41:17 +01:00
Andrew Kingston a06f584e7d Use unique user edit modal for editing users in sheets 2023-04-18 13:12:20 +01:00
Andrew Kingston 91ee5be7c5 Disable row import button for users table and add optional chaining to spreadsheetsocket invocations to fix tests 2023-04-18 11:31:19 +01:00
Andrew Kingston 8aff208acd Improve sheet loading state 2023-04-18 09:08:38 +01:00
Andrew Kingston 208e481bbc Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-17 17:00:56 +01:00
Andrew Kingston c614c0739f Lint 2023-04-17 16:22:59 +01:00
Andrew Kingston f7f1ee49a6 Improve sheet loading states 2023-04-13 14:30:01 +01:00
Andrew Kingston 69f6834886 Improve sheet integration with data section and add horizontal cell inversion 2023-04-13 12:01:16 +01:00
Andrew Kingston 7bbb8e5648 Fix importing and exporting with sheets 2023-04-12 10:03:58 +01:00
Andrew Kingston 38f326dce4 Fix filters not working 2023-04-11 23:25:19 +01:00
Andrew Kingston 6290112d06 Improve data fetch reset logic, fix issues with stale cache in spreadsheets 2023-04-11 22:21:07 +01:00
Michael Drury bfec84e1df Removing console logging. 2023-04-05 20:32:41 +01:00
mike12345567 022b3acbcc Linting. 2023-04-05 17:54:05 +01:00
mike12345567 373952a59b Fixing #10155 - some options errors were being swallowed and in general it was never considered to be an error state due to the 'handled' flag being consistently sent, changed the logic a bit here. 2023-04-05 17:43:35 +01:00
Andrew Kingston 7050c6713a Remove log and add notification when creating or editing columns 2023-03-31 13:21:53 +01:00
adrinr 6f69798f27 Undo wrongly commited code 2023-03-31 11:27:44 +01:00