Commit Graph

161 Commits

Author SHA1 Message Date
Adria Navarro 5681f47a38 Clean schema error messages while changing datasources 2023-05-23 11:00:55 +02:00
Andrew Kingston 53eceec978 Update comments 2023-05-22 16:01:12 +01:00
Andrew Kingston cfa07a68ae Handle table, query and datasource events using builder socket 2023-05-22 15:59:44 +01:00
Andrew Kingston 84a5739c53 Work around table API inconsistencies to handle table schema updates 2023-04-13 16:51:26 +01:00
Andrew Kingston 69f6834886 Improve sheet integration with data section and add horizontal cell inversion 2023-04-13 12:01:16 +01:00
adrinr faa1c27d29 Refresh sql columns on defining relationships 2023-03-31 10:53:50 +01:00
mike12345567 b659060beb Updating datasource API to remove secrets when returning datasources. 2023-01-18 19:16:19 +00:00
Andrew Kingston e38e0db2c3 Remove useless rows store and remove unecessary state updates 2022-12-19 12:35:35 +00:00
Andrew Kingston 20bd1815ac Fix issue creating columns due to 'draft' concept when mutating table schemas 2022-12-19 12:22:07 +00:00
Andrew Kingston 3b1819952d Builder data section routing refactor (#8996)
* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Lint

* Fix BBUI import

* Fix datasource navigator selected state not working for internal DB or sample data
2022-12-17 14:13:06 +00:00
Dean 63d9a5977b Default datasource behaviour with order of preference: DefaultDB, Internal then External 2022-11-15 14:29:58 +00:00
mike12345567 2acdf6b7eb Feature to allow adding apps from within the groups interface, rather than having to go to apps individually to do this. 2022-09-26 17:54:00 +01:00
mike12345567 ee40819c9e Merge branch 'master' of github.com:Budibase/budibase into develop 2022-09-16 16:13:20 +01:00
mike12345567 7736acd0c0 PR comments, removing console logs, as well as trying to get jest tests working in builder. 2022-09-15 22:47:37 +01:00
Mel O'Hagan fb51090752 Allow list of named tables to be fetched 2022-08-17 18:16:11 +01:00
mike12345567 22d2e41f7b Allowing query backend to attempt to convert types in returned JSON to build a better base schema. 2022-07-13 10:53:50 +01:00
Martin McKeaveney 02320c0ee0 Beta tab initial test for E2E, needs styled 2022-06-08 10:20:47 +01:00
Andrew Kingston 316d5d682f Improve role colours and ordering 2022-05-10 14:02:00 +01:00
mike12345567 eec65930f4 Fixing an issue with the tables store, some calls depended on the fetch returning the table list. 2022-03-09 11:22:02 +00:00
Rory Powell c1a2836dd1 Fix REST Import 2022-03-01 07:36:47 +00:00
Andrew Kingston 453386696f Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
Andrew Kingston 6a7aed1c0d Update parts of builder with core API refactor 2022-01-20 18:42:30 +00:00
Rory Powell 22407446ee Navigation fixes for duplicate and delete query 2022-01-05 13:27:15 -05:00
mike12345567 d61cb6c037 Some fixes after testing dynamic variables in rest a bit more. 2021-12-17 14:08:48 +00:00
Rory Powell 8df37dae85 Merge branch 'develop' into feature/rest-redesign 2021-12-08 12:36:12 +00:00
Rory Powell ad52b06a75 Merge pull request #3644 from Budibase/rest-import
Rest import
2021-12-08 11:54:38 +00:00
Rory Powell 4f642a03a4 Refactor store actions to allow self reference 2021-12-08 11:01:12 +00:00
mike12345567 c0512fa242 Adding query save, fixing routing to handle existing rest queries, adding in full saving of enabled headers functionality, fixing various issues discovered while testing. 2021-12-07 18:24:10 +00:00
Rory Powell 52ea1fe1da Duplicate queries 2021-12-07 12:26:00 +00:00
mike12345567 5936fe0f5f Adding all response capabilities. 2021-12-06 17:39:51 +00:00
Rory Powell 224516787d Merge + Linting 2021-12-02 14:54:47 +00:00
Rory Powell c421499a46 cURL import working 2021-11-29 17:21:30 +00:00
Rory Powell c53f5e3d2b Update backend to be extensible for different import sources 2021-11-29 10:37:31 +00:00
mike12345567 5e9f3969c9 Fixing a few issues that became obvious when I was looking at examples of what gets sent to the API for table saving. 2021-11-26 14:14:53 +00:00
Rory Powell 71ba024974 WIP: Rest API import 2021-11-25 17:14:07 +00:00
mike12345567 9336ae5826 Updating test case to mock response value. 2021-11-24 15:10:52 +00:00
mike12345567 f959ea0add Adding more error tracking around column creation, to reduce confusion/users not understanding required settings. 2021-11-24 14:55:14 +00:00
mike12345567 ea0000df51 Updating UI to have a table/column deletion check which makes sure the user understands what they are doing, also disabling external table deletion. 2021-11-22 15:26:24 +00:00
mike12345567 599702bfe9 Fixing issue where deleted datasources wouldn't clear out queries. 2021-11-11 17:13:35 +00:00
mike12345567 5c8670c7f4 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-rbac-timeouts 2021-11-11 13:50:42 +00:00
mike12345567 c0e3505ce8 Fixing constants import. 2021-11-10 17:55:37 +00:00
mike12345567 7f055ed8dc Adding a way to switch between string and options, as well as number and boolean types, this is very useful for SQL tables. 2021-11-10 15:01:44 +00:00
mike12345567 b3590537ba Adding the ability to set a permission for data source queries. 2021-11-09 16:25:23 +00:00
mike12345567 c82cf534d8 Updating external table UI a bit, adding the concept of defining an existing relationship, updating the data sources UI to make it a bit less cluttered and make the creation of tables more obvious. 2021-11-01 21:15:46 +00:00
mike12345567 329156d6cc SQL table building. 2021-10-28 19:39:42 +01:00
mike12345567 ce00ddcf68 Fixing builder jest tests. 2021-10-27 13:33:11 +01:00
mike12345567 ac1d6ee23e Fixing #2820 - SQL system no longer includes tables without a primary key constraint and it displays an error to handle this. 2021-10-26 20:03:54 +01:00
Andrew Kingston 38b32d78a8 Merge pull request #2790 from Budibase/data-ui-pagination
Data UI pagination and searching
2021-09-30 11:13:47 +01:00
Andrew Kingston f9c8cd8506 Automatically refresh data as needed when rows or columns are updated 2021-09-29 12:07:35 +01:00
Peter Clement f45638d874 Merge remote-tracking branch 'origin/develop' into feature/datasource-wizard 2021-09-28 14:26:25 +01:00
Peter Clement 1a1c0f2892 check tables can be fetched before saving config 2021-09-28 12:25:57 +01:00
Andrew Kingston f5f8e25c9f Fix huge amount of bugs with data UI state, URL parameters and state/URL sync 2021-09-27 18:25:19 +01:00
Andrew Kingston 16febcf3b9 Ensure datasource containing the currently selected table is always expanded 2021-09-21 17:21:25 +01:00
Martin McKeaveney 0cbc23dc3d Revert "Filter users table out of DataSource component and NewScreenModal" 2021-08-26 10:11:48 +01:00
Maurits Lourens 180d857d1d Filter users table out of DataSource component and NewScreenModal 2021-08-24 12:33:02 +02:00
Maurits Lourens de944480da update the name of the datasource 2021-08-17 23:57:11 +02:00
Martin McKeaveney 0399e15ef0 refetch rows when row created 2021-06-21 11:10:46 +01:00
mike12345567 40e06cc5d1 Formatting and fixing an issue with mysql not being able to return a row that it has created, updated or deleted. 2021-06-18 13:14:45 +01:00
Martin McKeaveney dd4ed9b69d tidy up, fix UI tests 2021-06-17 14:45:08 +01:00
Martin McKeaveney 08b74d2cec lint 2021-06-17 14:06:31 +01:00
Martin McKeaveney a7029017b0 table, view, datasource selection logic 2021-06-17 13:57:27 +01:00
Martin McKeaveney 2737949602 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 23:27:47 +01:00
Martin McKeaveney 9841a74e39 datasource selection logic - unselect other entities when choosing datasource 2021-06-16 23:27:38 +01:00
mike12345567 615b207fbb Formatting. 2021-06-16 18:39:59 +01:00
Martin McKeaveney 9e41068a5d end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
Martin McKeaveney ba09f2df4b consolidate postgres datas sources 2021-06-16 15:45:57 +01:00
mike12345567 6733b61b78 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Martin McKeaveney e3cced9d97 consolidate data sources and queries together in one UI 2021-06-15 19:48:05 +01:00
Andrew Kingston 32a3c2bbb6 Lint with prettier 2021-06-15 19:39:40 +01:00
Martin McKeaveney de279fa6a9 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
Martin McKeaveney 114eac4134 external/internal tables and datasources merged, removed autocapture, re-added logout action 2021-06-11 17:52:08 +01:00
Michael Drury 81a9a40a18 Merge pull request #1558 from Budibase/fix/cypress-fixes
Fix/Update Cypress test cases
2021-06-07 17:16:37 +01:00
Martin McKeaveney e4febf1ad0 fix rbac for tables 2021-06-07 14:29:06 +01:00
mike12345567 781bd7bab6 Fixing internal table issues and updating createTable cypress test case. 2021-06-02 12:32:07 +01:00
Andrew Kingston 5de98bb672 Implement new admin get self endpoint, move auth store to the portal, and implement working password changing and name changing 2021-05-19 14:05:08 +01:00
mike12345567 e9b9ada128 Building up the API interactions for the forgotten password flow. 2021-05-18 15:26:09 +01:00
Andrew Kingston 735c724a0d Handle auth in top level routes and redirect as required. Change default route to be portal 2021-05-06 14:49:11 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 b4c8bf81f7 Swapping over everything to use the new user ID and updating everything after some end to end testing. 2021-04-20 17:17:44 +01:00
mike12345567 9af9761753 Some changes to initial login form, improvements based on testing and attempts to fix cypress test failures. 2021-04-15 15:57:55 +01:00
mike12345567 6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
Martin McKeaveney 509a04d914 logout button 2021-04-13 13:56:28 +01:00
Martin McKeaveney 252c50029f prevent login page flash on initial render 2021-04-13 13:41:12 +01:00
Martin McKeaveney d72a6dc8df currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney 3226ee90e2 Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
Martin McKeaveney c4a9d8c9f0 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
Martin McKeaveney 468b9b97f9 builder login 2021-04-12 10:47:48 +01:00
Martin McKeaveney 98576f586e login page 2021-04-11 11:35:55 +01:00
Keviin Åberg Kultalahti 66cd1c6c04 lint fixes 2021-04-01 12:55:09 +02:00
Keviin Åberg Kultalahti dd5959eb0c re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 50da4159e1 fixes views store 2021-04-01 11:53:22 +02:00
Keviin Åberg Kultalahti e57fc278c2 adds back babel-jest 2021-04-01 09:26:36 +02:00
Keviin Åberg Kultalahti 82485607df lint fix 2021-04-01 08:40:30 +02:00
Keviin Åberg Kultalahti 12fbd6245c fix merge regression 2021-03-31 13:48:30 +02:00
Keviin Åberg Kultalahti c5bdb590f9 merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 17dea3124d wip: views store tests 2021-03-30 18:10:58 +02:00
Keviin Åberg Kultalahti 9bdfe8336d adds tables store tests 2021-03-30 15:37:53 +02:00
Keviin Åberg Kultalahti 71dc4938da adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti d22d5c7c28 fix last roles store test 2021-03-30 10:49:42 +02:00