Commit Graph

609 Commits

Author SHA1 Message Date
Andrew Kingston dbbe76951d Add ID and rev data bindings back in 2021-01-15 14:47:36 +00:00
Andrew Kingston fba2f27638 Update and improve state <-> URL binding 2021-01-15 14:23:27 +00:00
Martin McKeaveney a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Andrew Kingston a6cbf46849 Fix crash when evaluating data bindings for a component with no definition 2021-01-15 11:02:00 +00:00
Andrew Kingston ec4a4047b6 Improve data binding popup and finish component bindings 2021-01-15 10:59:22 +00:00
mike12345567 0e9d831e73 Linting. 2021-01-14 17:02:05 +00:00
mike12345567 16a25a7cff When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId. 2021-01-14 17:01:31 +00:00
Andrew Kingston 5211d316f8 Add new data bindings for context bindings and most work for component bindings 2021-01-14 15:39:50 +00:00
Martin McKeaveney 1b51113c44 pass field values in binding drawer 2021-01-14 14:22:24 +00:00
Andrew Kingston cdfcff4bbb Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Andrew Kingston 6b9e61e7e6 Fix component navigation, fix settings editing, fix design editing 2021-01-14 09:09:23 +00:00
Michael Shanks fbb4fd482f Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Andrew Kingston af73139a87 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 9b035df33e WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 33d63607e2 Add all CRUD ops to airtable integration 2021-01-12 17:45:43 +00:00
Michael Shanks f5f66f9a58 allow new automation from button action setup 2021-01-12 15:21:27 +00:00
Martin McKeaveney 23d83739b0 readable to writable bindings 2021-01-12 10:28:41 +00:00
Martin McKeaveney a48869a2f0 merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 8e40f4b5f8 Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
Martin McKeaveney 963d8cb679 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
mike12345567 acbc15ad84 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
Martin McKeaveney d7a0d29b03 switching between queries 2021-01-06 12:28:51 +00:00
Andrew Kingston 750d00a95a Update colorpicker to work with nullish values by always providing a fallback default value 2021-01-06 10:17:51 +00:00
Andrew Kingston faa090f6f1 Add fontend store method to reset styles and delete unset styles when updating styles 2021-01-05 11:44:58 +00:00
Martin McKeaveney 755fa0ac4a allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston 1a1aa5963d Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Martin McKeaveney d27a264c96 better UI feedback 2021-01-04 10:39:17 +00:00
Martin McKeaveney 30b4c2467f codemirror 2020-12-30 11:46:37 +00:00
mike12345567 207415a932 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
Martin McKeaveney 29b51bc6c2 separation of datasources and queries 2020-12-18 18:19:43 +00:00
mike12345567 31bc45985f Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 2020-12-18 12:54:20 +00:00
mike12345567 9162aa522b Linting. 2020-12-16 09:43:08 +00:00
mike12345567 cc34838f45 Updating deployment service, checking in builder the builder settings info stored in DB before deploying. 2020-12-15 17:27:45 +00:00
mike12345567 c65ed9ad46 Linting. 2020-12-15 16:42:40 +00:00
mike12345567 21978007cf Adding feature to allow configured the builder to point at a self hosted system instead of production (for deployment). 2020-12-15 16:41:55 +00:00
Andrew Kingston 8b352fe40a Allow independent selection of screen IDs and layout IDs so that selections persist between toggling tabs. Update logic around role selection and screen filtering 2020-12-14 11:14:16 +00:00
Andrew Kingston cae551fa77 Keep honouring selected screen access role after swapping to layout tab 2020-12-11 15:29:25 +00:00
Andrew Kingston 8022fc1230 Select new role when creating screen with a different role than the selected one 2020-12-09 19:04:46 +00:00
Andrew Kingston 48a1932bc3 Lint 2020-12-09 18:56:54 +00:00
Andrew Kingston e5a34871c7 Add role selection for viewing screens and smart handling of preview screen 2020-12-09 18:18:47 +00:00
mike12345567 a94ce70cee Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 18:01:38 +00:00
Andrew Kingston 248a1f456f Fix empty screen list when deleting a table backing an autoscreen which is currently selected 2020-12-09 16:01:16 +00:00
Andrew Kingston e0d902d279 Fix merge bug 2020-12-09 15:58:34 +00:00
Andrew Kingston 045f0f1bfe Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-09 15:57:32 +00:00
Andrew Kingston b842a2addc Cache roles in store and add role selector for screens 2020-12-09 15:35:57 +00:00
Andrew Kingston 4e748dad2b Fix bugs around selecting screens and layouts when creating them 2020-12-09 14:51:42 +00:00
Andrew Kingston 0bb192ce0c Purge all references to _css prop or saving stylesheets 2020-12-09 12:22:30 +00:00
Andrew Kingston 31b3fac659 Fix crash when having a screen selected that was deleted 2020-12-09 11:37:09 +00:00
Martin McKeaveney fb569a4425 fixing bugs found during testing 2020-12-08 16:55:43 +00:00
Andrew Kingston ff3e79696d Fix bug which caused autolinks to not be generated 2020-12-08 15:21:01 +00:00
Martin McKeaveney a7789067d3 fix layout bugs, some tidy up 2020-12-07 20:29:41 +00:00
Martin McKeaveney bc6ae452d1 fix layout selection issues 2020-12-07 16:06:20 +00:00
Martin McKeaveney a9d0c68a60 component store refactor - remove concept of currentPreviewItem and currentComponentInfo 2020-12-07 15:27:46 +00:00
Martin McKeaveney 6b5c1ffafa consolidate routing and component selection 2020-12-05 12:09:58 +00:00
Martin McKeaveney 40f6093198 allow renaming of layouts 2020-12-05 09:43:00 +00:00
Martin McKeaveney 64c4f0d300 deletion and error handling of layouts 2020-12-04 23:42:22 +00:00
Martin McKeaveney 3b049bc286 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
Andrew Kingston 5f811b9852 Remove log statement 2020-12-04 14:07:23 +00:00
Andrew Kingston f1d4b60b97 Add basic role by default to new screens 2020-12-04 14:06:55 +00:00
Martin McKeaveney 277524b86e accommodate login layout 2020-12-03 17:31:38 +00:00
Martin McKeaveney 0a5eac2c7f more intelligent routing for screens and pages 2020-12-03 15:15:14 +00:00
mike12345567 2a41f57382 Linting and update to try and fix issues when screens are created, screen saving now generates CSS. 2020-12-03 12:08:33 +00:00
Andrew Kingston 13a137ecd1 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney 9b25a61706 allow editing of screen layout from modal 2020-12-02 16:15:14 +00:00
Martin McKeaveney 13824dcf09 merge 2020-12-02 14:15:07 +00:00
Martin McKeaveney 894eeb8757 merge 2020-12-02 13:44:44 +00:00
Martin McKeaveney ffc7e14bb2 fix preview save 2020-12-02 13:41:00 +00:00
mike12345567 1a9f1aed9b Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567 05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
Martin McKeaveney 33c40063af layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston a54dd9509f Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston b8bc583fd9 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 07229858c8 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
mike12345567 8a013c33c3 Major re-work, client library stills needs some work but it appears layouts and screens are no longer inter-dependent. 2020-11-25 17:56:09 +00:00
mike12345567 e1314b0d88 Starting work on builder, very broken. 2020-11-24 18:11:34 +00:00
mike12345567 d8b794cb97 Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-23 11:30:15 +00:00
Andrew Kingston 093d7f95b9 Tidy up data binding 2020-11-20 10:49:39 +00:00
Martin McKeaveney 6bc9c86623 fix for delete screens 2020-11-19 21:07:25 +00:00
Martin McKeaveney 7218a95a02 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 17:08:10 +00:00
mike12345567 5bbc99ef18 Removing unused statement. 2020-11-19 17:07:39 +00:00
mike12345567 aa5dbf84d1 Removing unused line. 2020-11-19 17:05:25 +00:00
Martin McKeaveney f91c833074 merge 2020-11-19 17:02:27 +00:00
mike12345567 b74d4dc473 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-19 16:58:54 +00:00
mike12345567 4997df919e Fixing issues with the application API, it utilised /api/:appId heavily which is a route that matches nearly everything. 2020-11-19 16:55:59 +00:00
Martin McKeaveney ab5312061b tidy up 2020-11-19 16:41:29 +00:00
Martin McKeaveney a00bf70d29 further store tidy up, derive selected page 2020-11-19 11:15:29 +00:00
Martin McKeaveney 26cfb54a0f nested routing UI up and running, refactor drag and drop functionality by decoupling store from components 2020-11-18 22:04:18 +00:00
mike12345567 82feb6d740 Changing back to builder getting the normal routing structure for builder. 2020-11-18 15:13:25 +00:00
mike12345567 6a50b1057d Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client. 2020-11-18 15:12:42 +00:00
Martin McKeaveney 0f7594e3e2 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 13:55:08 +00:00
mike12345567 63f7641c9e linting. 2020-11-17 18:13:21 +00:00
mike12345567 e793c46097 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
Martin McKeaveney a8efa3968d merge 2020-11-17 11:26:19 +00:00
mike12345567 f162ce6f03 Attempting to create a class structure for screen and component templates as right now modifying the templates is quite difficult. 2020-11-16 18:05:17 +00:00
Michael Drury a423664f4c Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 2020-11-13 15:35:20 +00:00
Martin McKeaveney ea09c6e459 fixing reactive chart issue 2020-11-13 10:29:54 +00:00
mike12345567 f8f46b90e5 Fixing an issue where screens couldn't be deleted and fixing an issue where rows would still contain data from a column that no longer exists if a column was deleted from a table. 2020-11-10 13:59:46 +00:00
Martin McKeaveney 8b5db4493e fix auto screens issue 2020-11-09 15:55:36 +00:00
Martin McKeaveney e5773f04a3 Merge pull request #835 from Budibase/screenselection-bug
prevent screen being selected when you save a component
2020-11-09 10:47:33 +00:00
Martin McKeaveney a9e60a8a57 prevent screen being selected when you save a component 2020-11-09 10:28:49 +00:00
Andrew Kingston 29af11faeb Fix new screens and autoscreens not displaying properly 2020-11-09 08:33:22 +00:00
Martin McKeaveney f183b72023 remove superfluous files 2020-11-06 13:46:19 +00:00
mike12345567 e15288fffb Linting. 2020-11-06 12:31:47 +00:00
mike12345567 e353c2a1c4 Updating templates to be able to run locally with an environment variable LOCAL_TEMPLATES and making them work using the DB. Users are also no longer included in the db dump. 2020-11-06 12:30:30 +00:00
mike12345567 d57368eb8b Refactoring to replace the use of frontend store.screens with derived allScreens and currentScreens. 2020-11-05 17:47:27 +00:00
mike12345567 768298f733 Getting started into removing screens from store. 2020-11-05 14:56:23 +00:00
mike12345567 4d0771ac9e Fixing some bugs that have been found. 2020-11-05 14:38:44 +00:00
mike12345567 0c8bd319f3 More cleanup, removing template app pages that were unused and fixing a bug with auth not being configured correctly when app created. 2020-11-05 12:43:03 +00:00
mike12345567 105d407ce8 Further updates to clear out all usage of the old frontend store functions. 2020-11-05 11:44:18 +00:00
Martin McKeaveney 1106026687 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney eeb6df894e feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Michael Drury 8b35abe25f Updating screens API to be prefixed with /api/screens 2020-11-04 14:05:11 +00:00
Michael Drury 8c6a97198f Main work to get screens into the DB, fixing up issue with async page updates not being handled in order. 2020-11-04 12:36:38 +00:00
Michael Drury 22cacbbdb3 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Michael Drury ac73b5c4aa Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
Martin McKeaveney 4d388987c4 pages being stored in couch on initialisation and page save 2020-11-02 14:56:48 +00:00
Martin McKeaveney 21489f0d7e Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-02 13:35:17 +00:00
Andrew Kingston e54a168848 Merge pull request #809 from Budibase/dark-mode
Dark mode and custom themes
2020-11-02 08:33:02 +00:00
Martin McKeaveney 5ae952721c Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-10-30 16:25:00 +00:00
Andrew Kingston 229ada66dc Save theme settings to local storage and improve slider styles 2020-10-30 13:23:49 +00:00
Martin McKeaveney e59f759ad6 removing dead code 2020-10-29 11:46:26 +00:00
mike12345567 08b0834fe2 Removing instance API as it was un-used and simplifying the nature of an instance. 2020-10-29 10:21:06 +00:00
Andrew Kingston 649cf18e45 Add proper names for all components and use these names when adding components 2020-10-28 19:38:11 +00:00
Andrew Kingston 214bd75ff7 Fix bad schema type when fetching bindable properties 2020-10-28 19:37:53 +00:00
mike12345567 fdf0fdd145 Linting. 2020-10-23 17:18:22 +01:00
mike12345567 ec7a4d7f8b Adding a modal on creation of a webhook automation to make sure the user can setup a schema. 2020-10-23 17:17:53 +01:00
Andrew Kingston 7e74889131 Allow binding images to attachment types 2020-10-20 12:23:52 +01:00
Andrew Kingston 13b0e96dfe Fix bug when selecting main page when creating autolinks 2020-10-20 09:32:14 +01:00
Martin McKeaveney 69363670a7 use pageName variable when no pagename defined 2020-10-19 09:28:04 +01:00
Andrew Kingston 5d2e4d506c Fix weird edge case around saving page state 2020-10-17 18:54:03 +01:00
Andrew Kingston a0a691e39b Create links to 'list' autoscreens 2020-10-17 18:20:06 +01:00
Michael Shanks 580e7938ff tempaltes - sanitize url - replace spaces gloablly 2020-10-16 23:41:31 +01:00
Michael Shanks 7ab1e9c6fb Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Michael Shanks 0343a86671 screen templates - convert spaces to "-" in urls 2020-10-16 15:43:55 +01:00
Andrew Kingston 2641576787 Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 15:16:46 +01:00
Andrew Kingston 41d067810f Update template auto screens 2020-10-16 15:15:00 +01:00
mike12345567 3a9703fa6c Fixing linting issue. 2020-10-16 14:00:08 +01:00
mike12345567 ebffeeb998 Fixing some issues found with deleting tables and relationships not getting cleaned up fully + builder not updating - also making sure builder store initial state of screens is accurate. 2020-10-16 13:48:59 +01:00
Andrew Kingston 1a21306dd2 Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 12:57:29 +01:00
mike12345567 82a9bbb478 Merge branch 'master' of github.com:Budibase/budibase into bug/casing-table-fix 2020-10-16 09:53:38 +01:00
Andrew Kingston bb2a650eee Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 09:17:54 +01:00
Andrew Kingston 853c31594c Fix new row screen template 2020-10-16 09:16:36 +01:00
Andrew Kingston cfc8235572 Add new template for row details autoscreen 2020-10-16 08:38:40 +01:00
Andrew Kingston fbe33226c1 Add new template for new row autoscreen 2020-10-16 08:38:27 +01:00
Michael Shanks c88c671758 fix: ensure CSS is built on app creation 2020-10-15 23:20:56 +01:00
Michael Shanks 74dcfef4aa Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 19:14:21 +01:00
Michael Shanks 38bcf5c0c2 generate css before saving screen 2020-10-15 19:13:48 +01:00
mike12345567 335043440d Fixing issues with table columns allowing weirdness to happen around casing, now only one column with a particular name can be specified, no matter what the case, but the case will be respected. 2020-10-15 18:09:19 +01:00
mike12345567 e70c0f32c7 Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages. 2020-10-15 13:52:56 +01:00
Andrew Kingston d5630760cc Rename usages of primary display column to just display column 2020-10-14 20:38:32 +01:00