1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12:00
Commit graph

281 commits

Author SHA1 Message Date
mike12345567 a3ae17be8e Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
mike12345567 fdb825d444 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
mike12345567 7a2405c756 First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 f4a503d015 WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
mike12345567 123846dab0 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567 31d7a7a378 Adding basic permissions test which proves a public user can read from a table, but cannot write. 2021-02-09 17:24:36 +00:00
mike12345567 c8ef404560 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00
mike12345567 d9ca4f0eed Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567 7d8cdafc60 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
mike12345567 cd729192ea Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
mike12345567 9f1c2cd602 Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567 8eeda82511 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
mike12345567 e0ea434f27 Added some unit tests for the enrichment process of rows, in the process found some issues with linking a table to itself, so fixed those so that we can do that in the future if desired. 2021-02-02 11:46:10 +00:00
Michael Drury b1127b718e
Merge pull request #1049 from Budibase/feature/selfhosting-info
Quick update to self hosting to make next steps clear
2021-02-01 13:24:50 +00:00
Martin McKeaveney d0f389a5cb smoother downloads, lint 2021-01-29 21:52:45 +00:00
Martin McKeaveney 91ee1b313e copy even users to dump 2021-01-29 17:17:13 +00:00
mike12345567 4d1ad5e726 This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there). 2021-01-28 18:30:59 +00:00
Martin McKeaveney 67624ebe94 import and export apps 2021-01-27 13:55:46 +00:00
mike12345567 afe0996b70 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
mike12345567 3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
mike12345567 e8ef03bb1c Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567 759a106d2d Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567 3c627d6455 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00
Martin McKeaveney 70a49088d0 merge 2021-01-18 14:43:26 +00:00
mike12345567 67cc893670 Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
Martin McKeaveney 6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
mike12345567 61f5d77335 Adding some fixes for general settings menu not respecting non-deployed apps fully. 2021-01-14 17:52:49 +00:00
mike12345567 0c66d9fca4 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
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
Martin McKeaveney 72ea05cc05 type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney 70e4b2514e merge 2021-01-11 20:29:33 +00:00
mike12345567 e7913e5f19 This simply removes the self hosting logo URL feature as it doesn't really make sense, screen/layout templates are held in the builder codebase and therefore controlling the logo from the server isn't really possible. 2021-01-11 18:09:43 +00:00
Michael Shanks b2daff6285 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
mike12345567 675e5127ad Updating worker to support using a self host key, a basic level of security, stopping builder from asking for API key if currently configured for self hosting, made the default values for self hosting make sense for a basic local installation, this should be final. 2021-01-06 16:58:29 +00:00
Martin McKeaveney 37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
mike12345567 e25f64da71 Fixing up settings to only take the one URL now, the main hosting URL. 2021-01-06 10:59:10 +00:00
mike12345567 4c8ee99905 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
mike12345567 8655d73248 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
kevmodrome 39c5c8a6fc
update test snapshot 2020-12-18 11:29:26 +01:00
kevmodrome eb225a8df3
updates test 2020-12-18 11:20:25 +01:00
kevmodrome d62f0752da
fixes encoding issue of file to work with non-english chars 2020-12-18 11:10:36 +01:00
mike12345567 15f8328770 Adding a deployment service which takes over from the lambdas in local operation, this may become part of the hosting portal if we ever decide to opensource that part of it. 2020-12-16 19:50:02 +00:00
mike12345567 fd1d7e3aa1 Linting. 2020-12-15 16:42:40 +00:00
mike12345567 166bf153de WIP - starting to work on deployment and hosting so that they don't use static URLs anymore to reach assets, instead using environment variables to determine what to use. 2020-12-14 18:31:48 +00:00
mike12345567 186fe1e8f1 Adding the ability to change default logo URL for new apps in self hosting. 2020-12-14 15:56:33 +00:00
mike12345567 1904ec8bb4 Updating API key controller in self-host mode to return self host API key. 2020-12-09 17:10:53 +00:00
mike12345567 bc5f520a03 Adding in self hosted API key. 2020-12-09 17:04:05 +00:00
mike12345567 c3abc9fed4 Removing the static CSS bundling from the server as it is no longer required. 2020-12-09 12:30:21 +00:00
mike12345567 40d855df10 Updating row controller to make sure that all user requests (bar deletion) are passed through correctly to the user controller so that any logic such as removing user password can be correctly held in the user controller logic. 2020-12-09 10:54:30 +00:00
Andrew Kingston 9054a8014a Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
mike12345567 57029e737b Fixing an issue with power user not being usable. 2020-12-08 12:20:37 +00:00
Andrew Kingston 883b3761d5 Fix bug with checking user access 2020-12-04 14:01:10 +00:00
mike12345567 f0d447abcd Fixing a caching bug found by cheeks. 2020-12-04 14:01:02 +00:00
mike12345567 65302e1dd9 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567 c832ed36d4 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567 05d5feb9fd Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
mike12345567 d3759a4c10 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 5eec4d7a47 Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
mike12345567 b1bb7abdef Changing up how the static assets are compiled, making a 'css' directory in which individual assets CSS is written and then bundled together meaning that not all assets need to be sent up at once for css bundle to be built. 2020-11-23 16:56:35 +00:00
mike12345567 8ff9635cd1 Removing all reference to 'pages' in server source code, now to look at builder. 2020-11-23 15:46:26 +00:00
mike12345567 90a8435641 Storing some work in commit, currently broken, further work needed - application needs cleaned up. 2020-11-23 14:07:18 +00:00
Michael Drury c03923360b Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:18:28 +00:00
Michael Drury 624078636b Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:16:37 +00:00
mike12345567 48f0608c74 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
mike12345567 d63054a426 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
mike12345567 acdc1e9a56 Updating to have proper access control via an accessController and nearly ready to spit out the routing structure. 2020-11-16 18:04:44 +00:00
Michael Drury 63b08e42aa 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
mike12345567 2472168477 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
mike12345567 c8a3b18513 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:10:07 +00:00
Martin McKeaveney ff66ed35c6 tidy up 2020-11-12 10:41:49 +00:00
Martin McKeaveney cd5dd2d21d JSDoc for static asset compilation 2020-11-12 10:36:15 +00:00
Martin McKeaveney c2aa9eebfc remove squirrelly, compile a single bundle.css for each page, svelte and hbs server rendering 2020-11-12 10:25:25 +00:00
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 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 596940371e remove superfluous files 2020-11-06 13:46:19 +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
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
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 9e72e122b6 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Martin McKeaveney 3725a1782b screens in DB 2020-11-03 16:27:28 +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 f29d34ae0b Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-10-30 16:25:00 +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 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
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 12e4ec2e99 Merge branch 'bug/local-forbidden' of github.com:Budibase/budibase into feature/webhooks 2020-10-26 17:59:03 +00:00
mike12345567 27acbac235 Found an issue where environment variables would load before they had actually been updated from dotenv, made sure they are always loaded correctly. 2020-10-26 17:49:33 +00:00