Commit Graph

407 Commits

Author SHA1 Message Date
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 edb3ea66fd Fix cypress tests (sort of) 2020-12-01 14:35:47 +00:00
Andrew Kingston 24d88882d1 Adding client lock file 2020-12-01 10:50:08 +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 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
Andrew Kingston b607d2e933 Tidy up dependencies and rollup configs for client and standard components 2020-11-25 16:03:52 +00:00
Andrew Kingston 1e857f101a Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Michael Shanks 300fbb3a5a Correct licenses 2020-11-24 16:04:44 +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
Martin McKeaveney 417002beaa fix e2e 2020-11-20 11:41:17 +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
Martin McKeaveney 06db0b88a0 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 20:48:23 +00:00
Michael Drury 7ac1c2198e Fixing issues thrown up by PR. 2020-11-19 20:31:11 +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
Martin McKeaveney 09bd7da1db add optional chain back in 2020-11-19 17:09:56 +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 961a921a09 linting. 2020-11-19 16:56:23 +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
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
Martin McKeaveney a00bf70d29 further store tidy up, derive selected page 2020-11-19 11:15:29 +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
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
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
Martin McKeaveney 0f7594e3e2 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 13:55:08 +00:00
Andrew Kingston 7a3f9d61d2 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston fef561ffe4 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +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
Martin McKeaveney e9e97101e9 v0.3.8 2020-11-16 13:54:26 +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
Martin McKeaveney 2e6ed0bad9 v0.3.7 2020-11-10 20:23:36 +00:00
Martin McKeaveney 4c5c386a14 v0.3.6 2020-11-09 18:16:36 +00:00
Martin McKeaveney 1a273d9b05 v0.3.5 2020-11-09 16:28:06 +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
Martin McKeaveney 725e32fe8e v0.3.4 2020-11-09 11:08:41 +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
Martin McKeaveney 6e5cdb4828 v0.3.3 2020-11-06 21:40:31 +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
Martin McKeaveney 646a7ab072 v0.3.2 2020-11-06 11:39:44 +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
Michael Drury 871e9b123e Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
mike12345567 a1fd261af6 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Martin McKeaveney 7dee8d6683 v0.3.1 2020-10-28 21:30:51 +00:00
Martin McKeaveney caab43a312 v0.3.0 2020-10-28 20:28:00 +00:00
Martin McKeaveney c26eca48ae v0.2.6 2020-10-21 14:14:33 +01:00
Martin McKeaveney 988d86f975 v0.2.5 2020-10-19 20:31:49 +01:00
Martin McKeaveney df316167cc v0.2.4 2020-10-19 09:48:33 +01:00
Martin McKeaveney 7dde5d9594 v0.2.3 2020-10-19 08:45:23 +01: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 1a21306dd2 Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 12:57:29 +01:00
Martin McKeaveney ddc979dc59 v0.2.2 2020-10-16 12:41:05 +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
Martin McKeaveney 5c7baf84c3 v0.2.1 2020-10-13 13:01:13 +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 4a13be8cf8 merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 2e76e1f0f4 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney 1fd8d559aa v0.2.0 2020-10-08 20:32:50 +01:00
Martin McKeaveney f5102d95bb v0.1.25 2020-10-06 21:23:02 +01:00
Martin McKeaveney 47993f2bd1 v0.1.24 2020-10-06 20:35:11 +01:00
Martin McKeaveney 2120ed99c1 v0.1.23 2020-10-02 16:24:39 +01:00
Michael Shanks dd31e19400 fix: Navigate To & Other Actions broken 2020-10-02 14:52:45 +01:00
Martin McKeaveney 04e76797f9 v0.1.22 2020-09-30 17:05:19 +01:00
Michael Drury 1930aa2296 Merge pull request #607 from Budibase/server-workflows
Server workflows
2020-09-15 09:09:55 +01:00
Martin McKeaveney 4926665eeb v0.1.21 2020-09-14 17:11:47 +01:00
Martin McKeaveney d55d0c70c8 v0.1.20 2020-09-14 16:26:18 +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
kevmodrome 300f18927f merge master 2020-08-26 09:11:16 +02:00
Martin McKeaveney 4f0e0340fc v0.1.19 2020-08-21 11:31:53 +01:00
Martin McKeaveney 63e3bb16b0 v0.1.18 2020-08-21 10:19:54 +01:00
Michael Shanks d6b0374349 merge from master 2020-08-11 17:31:14 +01:00
Martin McKeaveney 26fa101a38 v0.1.17 2020-08-11 15:33:01 +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 9b23d9eb51 v0.1.1 2020-07-09 15:30:11 +01:00
Martin McKeaveney 270428bd13 adding electron to dev deps 2020-07-09 11:38:07 +01:00
Martin McKeaveney 581d2b90cb v0.1.0 2020-07-09 11:31:21 +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