1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00
Commit graph

621 commits

Author SHA1 Message Date
Michael Drury
4852ecf96a WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 2020-11-11 17:34:15 +00:00
mike12345567
65078861a2 Starting work off towards routing of screens in backend, getting view ready and a bit of cleanup to make internal views easier to create. 2020-11-10 17:22:41 +00:00
mike12345567
f57acfdf16 Fixing #848 - standard components was not using the same API calls consistently which was breaking some things like charts. For now just make it consistent by updating it to make calls the same way as client lib does but the SDK will eventually replace all this and solve these problems. 2020-11-10 15:09:54 +00:00
mike12345567
37c68467c2 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
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
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
Martin McKeaveney
28f4f38e32
Merge pull request #830 from Budibase/bug/electron-no-pathname
Fixing issue with Electron apps not being able to determine appId
2020-11-06 21:39:12 +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
e09c9d13b3
Merge pull request #824 from Budibase/port-fixes
potential resolutions for the 4001 issue
2020-11-06 21:00:57 +00:00
Martin McKeaveney
0928b8496f PR review 2020-11-06 18:00:25 +00:00
mike12345567
f508822008 Quick change, we had a replication statement for testing, should be removed for production and uncommented when needed. 2020-11-06 15:47:12 +00:00
Martin McKeaveney
596940371e remove superfluous files 2020-11-06 13:46:19 +00:00
Martin McKeaveney
aab4f60d76 small tidy ups 2020-11-06 13:40:00 +00:00
mike12345567
667052e0b4 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
Martin McKeaveney
6e02f1f1c6 potential resolutions for the 4001 issue 2020-11-05 22:09:49 +00:00
mike12345567
a9ac8d0632 Fixing some bugs that have been found. 2020-11-05 14:38:44 +00:00
Martin McKeaveney
3847c058dc rename buildPage 2020-11-05 13:41:16 +00:00
mike12345567
76cc7d897c 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
707c16c44d Further updates to clear out all usage of the old frontend store functions. 2020-11-05 11:44:18 +00:00
Martin McKeaveney
291e472765 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney
333844a1f0 feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Michael Drury
6bc184f0d6 Updating screens API to be prefixed with /api/screens 2020-11-04 14:05:11 +00:00
Michael Drury
c9a1bf1940 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
9e72e122b6 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Michael Drury
0665e28ca3 Updates to pages so that they are written to DB and retrieved correctly. 2020-11-03 17:42:54 +00:00
Martin McKeaveney
3725a1782b screens in DB 2020-11-03 16:27:28 +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
27871c1bc0 Removing appIds from tokens to reduce confusion. 2020-11-03 13:58:17 +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
Michael Drury
98157f076f Some updates, still WIP. 2020-11-02 15:46:08 +00:00
Martin McKeaveney
74890b13c9 pages being stored in couch on initialisation and page save 2020-11-02 14:56:48 +00:00
Martin McKeaveney
950e6556d9 started creating APIs for screens 2020-11-01 15:32:54 +00:00
mike12345567
43f9deef4d Getting rid of userInstanceMap, preparing for meat of auth update. 2020-10-30 17:12:06 +00:00
Martin McKeaveney
f29d34ae0b Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-10-30 16:25:00 +00:00
mike12345567
aeed753786 Updating for review comments. 2020-10-29 11:48:01 +00:00
Martin McKeaveney
2f0a19a152 removing dead code 2020-10-29 11:46:26 +00:00
mike12345567
2180a1639d Fixing another linting issue. 2020-10-29 11:04:02 +00:00
mike12345567
a43777c78b linting. 2020-10-29 10:55:52 +00:00
mike12345567
8963520454 Merge branch 'master' of github.com:Budibase/budibase into feature/remove-multitenancy 2020-10-29 10:45:02 +00:00
mike12345567
d587bad363 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 2020-10-29 10:28:27 +00:00
mike12345567
b9f1babc0e Removing instance API as it was un-used and simplifying the nature of an instance. 2020-10-29 10:21:06 +00:00
Michael Drury
c2d2f9e183 Fixing test cases. 2020-10-28 22:37:58 +00:00
Michael Drury
3df7f06226 Fixing an issue with env variables not getting set correctly. 2020-10-28 22:24:44 +00:00
Michael Drury
c3a4111292 Some quick fixes. 2020-10-28 22:13:16 +00:00
Martin McKeaveney
cc62b60edd adding cloud check to dev check 2020-10-28 21:27:37 +00:00
mike12345567
d79be3c854 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
mike12345567
306c36c384 Switching from axios to node-fetch as per review. 2020-10-27 14:16:57 +00:00