Commit Graph

530 Commits

Author SHA1 Message Date
Keviin Åberg Kultalahti 57dcaefa8b update catch all error message 2021-01-25 11:06:50 +01:00
Keviin Åberg Kultalahti 60330185fa switches context to use sdk instead of it's own context 2021-01-25 08:43:28 +01:00
Keviin Åberg Kultalahti 37c2b51095 failing API calls now display errors using the toast 2021-01-22 13:27:13 +01:00
Keviin Åberg Kultalahti 640043685d use const instead of var 2021-01-22 13:11:38 +01:00
Keviin Åberg Kultalahti 3f8d57eadb adds smooth removal of notifications using animate:flip 2021-01-22 13:05:52 +01:00
Keviin Åberg Kultalahti 0cab858780 removes unused context in Component 2021-01-22 12:47:43 +01:00
Keviin Åberg Kultalahti f45726a047 lint fixes 2021-01-22 12:44:43 +01:00
Keviin Åberg Kultalahti 21e46285f7 minor fixes 2021-01-22 12:44:23 +01:00
Keviin Åberg Kultalahti c5e4097f4e Merge branch 'master' into feature/client-feedback-component 2021-01-22 12:34:16 +01:00
Keviin Åberg Kultalahti 36c212048e adds notification toast capability to the client 2021-01-22 12:31:56 +01:00
Keviin Åberg Kultalahti 8f0405623c finishes notificationStore 2021-01-22 12:21:44 +01:00
Andrew Kingston 6393c0798e Stop component crashing if children don't exist 2021-01-22 11:08:42 +00:00
Andrew Kingston 3104df6224 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 6a40ea7f06 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Keviin Åberg Kultalahti 0c3c21361b first pass at custom store to handle notifications 2021-01-22 11:37:34 +01:00
Keviin Åberg Kultalahti 75c85978cb switch name 2021-01-22 10:42:15 +01:00
Keviin Åberg Kultalahti 837709cab6 adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston 8bb8b29b34 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston b0f5b9b1ce Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
mike12345567 8ecabc91cc Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 261abd7919 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 afe0996b70 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston c9f60cf660 Enrich datasources so that data can be correctly fetched reactively using only the datasource definition 2021-01-21 10:42:14 +00:00
Andrew Kingston b72e654ff0 Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston afe3654857 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
mike12345567 3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston a17d1703f7 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567 4c597ed91a Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
Andrew Kingston 7e7219856d Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 6a1383b13b
adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
mike12345567 3c627d6455 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00
Martin McKeaveney b42c50ba9d fix dynamic params 2021-01-18 15:37:32 +00:00
Martin McKeaveney 6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Andrew Kingston f228d3b174 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-15 10:26:19 +00:00
Martin McKeaveney 3d967c2070 v0.5.3 2021-01-14 15:24:01 +00:00
Martin McKeaveney 62ebf3cedc v0.5.2 2021-01-14 15:03:58 +00:00
Martin McKeaveney c33a59f087 v0.5.1 2021-01-14 14:46:40 +00:00
Martin McKeaveney bbc6258612 v0.5.0 2021-01-14 14:37:53 +00:00
Andrew Kingston cc62a9c053 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Michael Shanks 6c6f93af34
Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Andrew Kingston c7a9434e70 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 2dc2e43a00 WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 70e4b2514e merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 49477d3ac9 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney 5aa7edda64 use dynamic input in query 2021-01-11 15:34:43 +00:00
mike12345567 e14e5c85f2 Fixing removal of full path function (adding back original functionality). 2021-01-11 10:01:02 +00:00
Michael Shanks 668d192462 Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Andrew Kingston c6532303ce Remove hostname check when creating API endpoint URLs now that they are proxied 2021-01-11 09:38:40 +00:00
Martin McKeaveney d710874ef1 binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks b2daff6285 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 98a7085bbc Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 d3a4eed88b Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston 97dfc14007 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston 5fb6503298 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney f2abc7d351 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
mike12345567 429c6f912c Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
Andrew Kingston 7abd9b4f4a Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Martin McKeaveney 37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
mike12345567 cb85ed1916 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 11:00:02 +00:00
Andrew Kingston 6a6cbd6623 Initialise client app with preview type, left out from previous commit 2021-01-06 10:16:21 +00:00
Andrew Kingston f7496579b7 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston 62fecd3a3c Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston d25fd8b625 Pass preview type to client app so it can decide whether components are selectable 2021-01-06 10:11:56 +00:00
mike12345567 49f56ebd53 Version working with reverse proxy, need to just change settings menu in builder now to use this properly. 2021-01-05 18:47:51 +00:00
Martin McKeaveney 0be3c722b8 allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston 36ef89827a Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Martin McKeaveney 7adba016f4 use queries in front end 2020-12-30 12:58:39 +00:00
Martin McKeaveney e92dedb795 v0.4.3 2020-12-23 22:39:10 +00:00
Martin McKeaveney 63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
Martin McKeaveney 79c9df6ea2 v0.4.2 2020-12-15 15:23:45 +00:00
Martin McKeaveney a0e6ffd3e0 v0.4.1 2020-12-15 14:46:11 +00:00
Martin McKeaveney 0c93c17292 v0.4.0 2020-12-15 11:53:28 +00:00
Andrew Kingston a3992acfa8 Fix lint 2020-12-11 16:19:56 +00:00
Andrew Kingston 6937c8e054 Improve navigation when logging in and out, remove need to hard reload the page and replace with smooth transitions 2020-12-11 14:24:19 +00:00
Andrew Kingston c9514cefc6 Sort routes to ensure the client router always matches correctly 2020-12-08 15:44:35 +00:00
Andrew Kingston 2657008b14 Improve handling of routes and screens. Fix issue which could prevent logging in depending on order of screens in app definition 2020-12-08 10:15:33 +00:00
Martin McKeaveney d8aa699bfa merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney 84434741d1 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
Andrew Kingston ca543e5756 Remove log statement 2020-12-04 14:52:48 +00:00
Andrew Kingston 58c2659e94 Update client library to work with template screens in real preview 2020-12-04 14:04:07 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 3ab5c834f7 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney f70db5df36 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston 859ae5f8a4 Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Andrew Kingston 0a72b0e21b Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Martin McKeaveney 5674bfc8fa merge 2020-12-01 16:31:40 +00:00
Martin McKeaveney 01343e1474 layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston ca9a3d2f3e Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston a7fef455ed Fix cypress tests (sort of) 2020-12-01 14:35:47 +00:00
Andrew Kingston 79f1b17265 Adding client lock file 2020-12-01 10:50:08 +00:00
Andrew Kingston ce18e253ba Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 3ee9fee10c Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 d7f2060954 Some further work after testing, really need to get the backlink of screens to layouts functional. 2020-11-27 16:36:31 +00:00
Andrew Kingston 86cfd3db22 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston b000174fce Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 9c4b9a2a25 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 004b3e5daa Tidy up dependencies and rollup configs for client and standard components 2020-11-25 16:03:52 +00:00
Andrew Kingston 907c0fcfda Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Michael Shanks 88ccfbe844 Correct licenses 2020-11-24 16:04:44 +00:00
Andrew Kingston ad5fc0e780 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston 920ef90e14 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston e62fbf8ef7 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston aa38f1fe57 Fix reinstantiating app when builder props change 2020-11-23 14:28:02 +00:00
Andrew Kingston 192959c865 Fix builder preview 2020-11-23 11:29:24 +00:00
Martin McKeaveney 42d8a94f9a fix e2e 2020-11-20 11:41:17 +00:00
Andrew Kingston 911fa31fe3 Tidy up data binding 2020-11-20 10:49:39 +00:00
Andrew Kingston 32a143cf41 Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Martin McKeaveney a4e0ba8e4b Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 20:48:23 +00:00
Michael Drury 7f3f11c68b Fixing issues thrown up by PR. 2020-11-19 20:31:11 +00:00
Andrew Kingston 2cb4cb2ce9 Add header to flag whether a request originates from the client 2020-11-19 20:04:30 +00:00
Andrew Kingston 674b89df5d Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston 71b59d7cca Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +00:00
Martin McKeaveney ee8dc0282a add optional chain back in 2020-11-19 17:09:56 +00:00
Martin McKeaveney 7b2a9ec807 merge 2020-11-19 17:02:27 +00:00
mike12345567 c240274889 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-19 16:58:54 +00:00
mike12345567 a9d5c3a5cb linting. 2020-11-19 16:56:23 +00:00
mike12345567 87528c8d55 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
Andrew Kingston 70a88589e9 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 13:56:51 +00:00
Andrew Kingston c1c7c8ede4 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Martin McKeaveney d473786d7e further store tidy up, derive selected page 2020-11-19 11:15:29 +00:00
Andrew Kingston 9ce7817233 Fix data binding after file rename 2020-11-19 09:31:49 +00:00
Andrew Kingston 0ff8a9a67b Add data binding enrichment 2020-11-19 09:24:58 +00:00
Martin McKeaveney a5827a9c53 nested routing UI up and running, refactor drag and drop functionality by decoupling store from components 2020-11-18 22:04:18 +00:00
Andrew Kingston 1bd2fac9b2 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Andrew Kingston a18a861177 Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00
Martin McKeaveney b501504150 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 13:55:08 +00:00
Andrew Kingston 2f0e4694e0 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston aef49616a7 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
mike12345567 d63054a426 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
Andrew Kingston 1ab29e05b1 Remove log statements 2020-11-17 12:09:02 +00:00
Andrew Kingston 94458b3907 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Martin McKeaveney 8c5b801c0a v0.3.8 2020-11-16 13:54:26 +00:00
Andrew Kingston cbeea17db0 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Andrew Kingston 0f12f19619 Fix client errors 2020-11-12 09:31:04 +00:00
Andrew Kingston aa70eab935 Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Andrew Kingston e24a89af56 Tidy up standard components 2020-11-11 14:26:33 +00:00
Andrew Kingston f8732b3038 Add initial work on component SDK 2020-11-11 12:25:50 +00:00
Martin McKeaveney fb0f7b0c73 v0.3.7 2020-11-10 20:23:36 +00:00
Martin McKeaveney 2adf0560ac v0.3.6 2020-11-09 18:16:36 +00:00
Martin McKeaveney fc285c64a4 v0.3.5 2020-11-09 16:28:06 +00:00
mike12345567 3d6f50ee5d Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
Martin McKeaveney 51c0461f35 v0.3.4 2020-11-09 11:08:41 +00:00
mike12345567 7600710125 The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things. 2020-11-09 09:42:35 +00:00
Andrew Kingston 65b36677e6
Merge pull request #817 from Budibase/apex-charts
Apex charts
2020-11-09 08:48:44 +00:00
Martin McKeaveney 4c77b9ceef v0.3.3 2020-11-06 21:40:31 +00:00
mike12345567 eca97f6f57 Linting. 2020-11-06 21:32:03 +00:00
mike12345567 472305d214 Fixing issues with auth not being able to find appId in pathname, using the currentapp cookie if pathname not populated. 2020-11-06 21:13:21 +00:00
Martin McKeaveney 612e5e234e v0.3.2 2020-11-06 11:39:44 +00:00
Andrew Kingston e1b3982bab Fix crash when saving rows 2020-11-04 13:17:24 +00:00
Michael Drury b3fbffdfdc Fixing issue with appId being checked when undefined. 2020-11-03 16:23:28 +00:00
Michael Drury 42b16069a6 Fixing issue that was breaking linting. 2020-11-03 15:35:27 +00:00
Michael Drury 0cc837b220 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury 957706fc91 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 2020-11-03 14:30:20 +00:00
Michael Drury a35b6a57f9 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
Michael Drury 215e1251bc Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
mike12345567 0c81516662 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Martin McKeaveney 1a8a97a103 v0.3.1 2020-10-28 21:30:51 +00:00
Martin McKeaveney 859577299d v0.3.0 2020-10-28 20:28:00 +00:00
Martin McKeaveney d08c1f7140 v0.2.6 2020-10-21 14:14:33 +01:00
Martin McKeaveney 1b5cddb3b5 v0.2.5 2020-10-19 20:31:49 +01:00
Martin McKeaveney b1fc7efa3d v0.2.4 2020-10-19 09:48:33 +01:00
Martin McKeaveney d0d9c33c46 v0.2.3 2020-10-19 08:45:23 +01:00
Michael Shanks 158240bc3b auth - standard-components not loading, windows 2020-10-18 21:45:46 +01:00
Michael Shanks 492c45f169 fixes home route matching everything 2020-10-16 23:36:42 +01:00
Michael Shanks 3f53e2958b Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Andrew Kingston 5253534a05 Fix link 2020-10-16 16:00:26 +01:00
Michael Shanks acd17a6668 client - sanitize urls, so we can match routes with nasty chars 2020-10-16 15:44:39 +01:00
Andrew Kingston 42469e069d Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 12:57:29 +01:00
Martin McKeaveney fff78a0072 v0.2.2 2020-10-16 12:41:05 +01:00
Andrew Kingston 711fab2269 Fix crashing whenever hitting an API error from client app 2020-10-16 09:37:19 +01:00
Andrew Kingston c818bc9a3f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 09:17:54 +01:00
Andrew Kingston c627c1d7d7 Fix popstate client routing events 2020-10-16 09:16:25 +01:00
Andrew Kingston e21059c74f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 08:39:06 +01:00
Andrew Kingston 5f7103f508 Add new Delete Row action which can be used in client apps 2020-10-16 08:37:13 +01:00
Michael Shanks 44d6c3a649 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 23:21:12 +01:00
Martin McKeaveney 1238f85890 replacing pathname 2020-10-15 14:46:24 +01:00
Martin McKeaveney 8a936e0927 more auth bugfixes 2020-10-15 14:26:33 +01:00
Michael Shanks 58b0d2221e Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 09:18:04 +01:00
Michael Shanks 3914d63dee app screen routing - routes are no case insensitive 2020-10-14 20:54:07 +01:00
Andrew Kingston 59b12af15c Add support for client app ID routing when serving on a LAN ip address 2020-10-14 20:33:09 +01:00
Martin McKeaveney 4ea99592d9 v0.2.1 2020-10-13 13:01:13 +01:00
mike12345567 1140f65282 Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00
mike12345567 53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Andrew Kingston 42019dd546 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 47a772a200 Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
mike12345567 d90c1e3dd3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 bb3370e742 Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Michael Shanks fcb093699d merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 58b5502f77 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney fed836140c v0.2.0 2020-10-08 20:32:50 +01:00
Martin McKeaveney e282480888 v0.1.25 2020-10-06 21:23:02 +01:00
Martin McKeaveney 368f9934d5 v0.1.24 2020-10-06 20:35:11 +01:00
Martin McKeaveney 2dedafc90c v0.1.23 2020-10-02 16:24:39 +01:00
Michael Shanks b8f759a15e fix: Navigate To & Other Actions broken 2020-10-02 14:52:45 +01:00
Martin McKeaveney fd47cf1624 v0.1.22 2020-09-30 17:05:19 +01:00
Michael Drury 0d2f7759ee
Merge pull request #607 from Budibase/server-workflows
Server workflows
2020-09-15 09:09:55 +01:00
Martin McKeaveney b1725ec541 v0.1.21 2020-09-14 17:11:47 +01:00
Martin McKeaveney d414e84748 v0.1.20 2020-09-14 16:26:18 +01:00
Andrew Kingston 82e73ae0ea Merge in master 2020-09-14 13:55:40 +01:00