Commit Graph

356 Commits

Author SHA1 Message Date
Keviin Åberg Kultalahti ca9f979105 first pass at custom store to handle notifications 2021-01-22 11:37:34 +01:00
Keviin Åberg Kultalahti 260213e468 switch name 2021-01-22 10:42:15 +01:00
Keviin Åberg Kultalahti e3b4ef81ae adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston 86a3caa881 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston 3621bcf1de Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
mike12345567 239079d973 Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 9978d0707d Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston 9056b0e49d 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 ce6d89bc5c Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston 976517e028 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
mike12345567 ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston 47dabc16ce Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567 d7a3e6210d 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 d94473bca5 Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 84450d0323 adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
Martin McKeaveney 133d93fbee fix dynamic params 2021-01-18 15:37:32 +00:00
Martin McKeaveney a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Andrew Kingston cdfcff4bbb Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +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 a48869a2f0 merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 15de3c8f83 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney b76d42bcde use dynamic input in query 2021-01-11 15:34:43 +00:00
mike12345567 ef0787917a Fixing removal of full path function (adding back original functionality). 2021-01-11 10:01:02 +00:00
Michael Shanks ccb2d7de7d Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Andrew Kingston e94cdf1f8e Remove hostname check when creating API endpoint URLs now that they are proxied 2021-01-11 09:38:40 +00:00
Martin McKeaveney 102b7ce61f binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 8e40f4b5f8 Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 f98bd2ca4a Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston cf087209d7 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston 32c71bd006 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +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
Andrew Kingston fcad9892e0 Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Martin McKeaveney d7a0d29b03 switching between queries 2021-01-06 12:28:51 +00:00
Andrew Kingston 0cfc05f6a8 Initialise client app with preview type, left out from previous commit 2021-01-06 10:16:21 +00:00
Andrew Kingston 34509e0c12 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston a40bf95c41 Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston c101715c0e Pass preview type to client app so it can decide whether components are selectable 2021-01-06 10:11:56 +00:00
mike12345567 40a6348e7c 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 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 b4b4941003 use queries in front end 2020-12-30 12:58:39 +00:00
Martin McKeaveney 29b51bc6c2 separation of datasources and queries 2020-12-18 18:19:43 +00:00
Andrew Kingston cb7b5ae306 Fix lint 2020-12-11 16:19:56 +00:00
Andrew Kingston 84e1f54fa0 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 a926b23720 Sort routes to ensure the client router always matches correctly 2020-12-08 15:44:35 +00:00
Andrew Kingston 5130bdf3cd 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 39473cb029 merge 2020-12-07 21:20:35 +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 d628edffe0 Remove log statement 2020-12-04 14:52:48 +00:00
Andrew Kingston 155c375ada Update client library to work with template screens in real preview 2020-12-04 14:04:07 +00:00
Martin McKeaveney f05d696ef7 email as default user identifier 2020-12-04 12:22:45 +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 13824dcf09 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston ce2bff5bab 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 3ffeda9da9 Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Martin McKeaveney 1c2a869e26 merge 2020-12-01 16:31:40 +00:00
Martin McKeaveney 33c40063af layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston 00ef8dda44 Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston a54dd9509f Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 48a5a50e85 Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 55aecdd850 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 c962ea9ad9 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston 07229858c8 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 1e857f101a Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston 199c3409c9 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston def6054b26 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston be4106eae4 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 18a0f3888b Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston 99c167c54f Fix reinstantiating app when builder props change 2020-11-23 14:28:02 +00:00
Andrew Kingston b3cd81d832 Fix builder preview 2020-11-23 11:29:24 +00:00
Andrew Kingston 093d7f95b9 Tidy up data binding 2020-11-20 10:49:39 +00:00
Andrew Kingston 1b0fa94dff Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Andrew Kingston 21a9840b8b Add header to flag whether a request originates from the client 2020-11-19 20:04:30 +00:00
Andrew Kingston 9c30ab2df3 Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston ef2eba0433 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +00:00
Andrew Kingston aaa6aa4c72 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 13:56:51 +00:00
Andrew Kingston 3dcd9d32e2 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Andrew Kingston e9fc20696b Fix data binding after file rename 2020-11-19 09:31:49 +00:00
Andrew Kingston 261ae68907 Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston cdb8ff3563 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Andrew Kingston 1a8d781c8c Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +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
Andrew Kingston 65610fde3c Remove log statements 2020-11-17 12:09:02 +00:00
Andrew Kingston e11656fa24 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Andrew Kingston 3a981ac256 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Andrew Kingston bf5aa49e4d Fix client errors 2020-11-12 09:31:04 +00:00
Andrew Kingston 299dcbab3d Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Andrew Kingston 921cae0cbc Tidy up standard components 2020-11-11 14:26:33 +00:00
Andrew Kingston 499ad2e35d Add initial work on component SDK 2020-11-11 12:25:50 +00:00
mike12345567 2467043f35 Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
mike12345567 f2e1f1f4e9 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 253568fd2d Merge pull request #817 from Budibase/apex-charts
Apex charts
2020-11-09 08:48:44 +00:00
mike12345567 5f0912e6ff Linting. 2020-11-06 21:32:03 +00:00
mike12345567 ce12325b8c 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
Andrew Kingston 7aa8d7870d Fix crash when saving rows 2020-11-04 13:17:24 +00:00
Michael Drury 016e09eb81 Fixing issue with appId being checked when undefined. 2020-11-03 16:23:28 +00:00
Michael Drury 684df38561 Fixing issue that was breaking linting. 2020-11-03 15:35:27 +00:00
Michael Drury 4f28bd9430 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury 19bcecf9f3 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 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
mike12345567 a1fd261af6 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Michael Shanks a9d9e14e22 auth - standard-components not loading, windows 2020-10-18 21:45:46 +01:00
Michael Shanks 1a8c2907ca fixes home route matching everything 2020-10-16 23:36:42 +01:00
Michael Shanks 7ab1e9c6fb Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Andrew Kingston 19bfa87859 Fix link 2020-10-16 16:00:26 +01:00
Michael Shanks ab23d02f4b client - sanitize urls, so we can match routes with nasty chars 2020-10-16 15:44:39 +01:00
Andrew Kingston 0c61fe60a2 Fix crashing whenever hitting an API error from client app 2020-10-16 09:37:19 +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 92a6bd1a6d Fix popstate client routing events 2020-10-16 09:16:25 +01:00
Andrew Kingston 89bba530be Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 08:39:06 +01:00
Andrew Kingston 536e1f2ab3 Add new Delete Row action which can be used in client apps 2020-10-16 08:37:13 +01:00
Michael Shanks cf1df37e71 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 23:21:12 +01:00
Martin McKeaveney 5565bd2124 replacing pathname 2020-10-15 14:46:24 +01:00
Martin McKeaveney f163027ca8 more auth bugfixes 2020-10-15 14:26:33 +01:00
Michael Shanks 8f0be4c44c Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 09:18:04 +01:00
Michael Shanks 9ee36ef2c0 app screen routing - routes are no case insensitive 2020-10-14 20:54:07 +01:00
Andrew Kingston db8e0b03c4 Add support for client app ID routing when serving on a LAN ip address 2020-10-14 20:33:09 +01:00
mike12345567 5e9d32824c Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00
mike12345567 cfd4d9d34d Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Andrew Kingston 0ac8a33210 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 339bb8b76c Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
mike12345567 5d49d529e3 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 fdaa69ee7f 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 2e76e1f0f4 Save Record Action 2020-10-08 22:06:44 +01:00
Michael Shanks dd31e19400 fix: Navigate To & Other Actions broken 2020-10-02 14:52:45 +01:00
Andrew Kingston fe97579d36 Merge in master 2020-09-14 13:55:40 +01:00
Michael Shanks cacd735961 fix: override client context store on create 2020-09-14 12:46:49 +01:00
Michael Shanks 7fe7c9b286 fix: re-exposing store in component api, as form depends on it 2020-09-14 12:32:10 +01:00
Andrew Kingston d166d8072b Merge in master 2020-09-14 10:16:09 +01:00
Michael Shanks 0735eaa523 stop coercing values on the server - do on client instead 2020-09-11 21:24:52 +01:00
Michael Shanks d951edad61 some comments 2020-09-11 09:53:02 +01:00
Michael Shanks d3225cb51f events hooked up and working 2020-09-10 21:11:05 +01:00
Andrew Kingston 98ffd6f971 Remove client workflow execution 2020-09-10 11:27:31 +01:00
Michael Shanks f988d2d9c7 event panel rework backup 2020-09-01 10:12:01 +01:00
Michael Shanks 3c69e48200 some styling changes from code review 2020-08-27 10:00:36 +01:00
Michael Shanks 7861c8ede8 bindings... allowing unescaped urls, but not html tags 2020-08-11 14:12:05 +01:00
Michael Shanks a82c0dd44e client lib - new binding 2020-08-06 21:12:35 +01:00
Martin McKeaveney 1a33ab2e18 merge 2020-07-07 21:32:32 +01:00
Michael Shanks 9208a43cf1 Form component now supports edit recprd 2020-07-07 20:16:03 +01:00
Martin McKeaveney 27975057c7 budibase complete deployment 2020-07-07 17:51:41 +01:00
Michael Shanks 94509a814d some comments 2020-07-07 10:51:25 +01:00
Michael Shanks 9424cbb615 routing breaks when we click same link twice #422 2020-07-07 10:48:24 +01:00
Martin McKeaveney f7d65deb5e extra index template for production 2020-07-06 19:43:40 +01:00
Michael Shanks 51054786c2 fix: list supports multiple children (without container) 2020-07-06 14:21:55 +01:00
Martin McKeaveney 5ecc8d4a54 deployment E2E 2020-07-02 23:22:20 +01:00