Commit Graph

381 Commits

Author SHA1 Message Date
Andrew Kingston 77f049d1bd Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
mike12345567 79cfc5ea01 Fixing an issue with power user not being usable. 2020-12-08 12:20:37 +00:00
Andrew Kingston cecf4e9bca Fix bug with checking user access 2020-12-04 14:01:10 +00:00
mike12345567 1c37299107 Fixing a caching bug found by cheeks. 2020-12-04 14:01:02 +00:00
mike12345567 19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567 1a9f1aed9b Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567 05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
mike12345567 8a013c33c3 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 e26baa6faf Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
mike12345567 ddca22245c 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 71ca88207d Removing all reference to 'pages' in server source code, now to look at builder. 2020-11-23 15:46:26 +00:00
mike12345567 8ae24a4b30 Storing some work in commit, currently broken, further work needed - application needs cleaned up. 2020-11-23 14:07:18 +00:00
Michael Drury a16063b11f 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 7fb26408cf 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 6a50b1057d 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 e793c46097 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
mike12345567 7f5c3a4688 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 a423664f4c 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 6148128554 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
mike12345567 7cc0a9ca33 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:10:07 +00:00
Martin McKeaveney 9e190ac1ec tidy up 2020-11-12 10:41:49 +00:00
Martin McKeaveney 13311ae680 JSDoc for static asset compilation 2020-11-12 10:36:15 +00:00
Martin McKeaveney 9b914e0395 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 1f4e27eb13 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 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 f183b72023 remove superfluous files 2020-11-06 13:46:19 +00:00
mike12345567 e353c2a1c4 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 4d0771ac9e Fixing some bugs that have been found. 2020-11-05 14:38:44 +00:00
Martin McKeaveney bdfd80fc03 rename buildPage 2020-11-05 13:41:16 +00:00
mike12345567 0c8bd319f3 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 1106026687 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney eeb6df894e feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Michael Drury 22cacbbdb3 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Martin McKeaveney ea3162f329 screens in DB 2020-11-03 16:27:28 +00:00
Michael Drury d8da28502e Removing appIds from tokens to reduce confusion. 2020-11-03 13:58:17 +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
Michael Drury c89f73efc0 Some updates, still WIP. 2020-11-02 15:46:08 +00:00
Martin McKeaveney 4d388987c4 pages being stored in couch on initialisation and page save 2020-11-02 14:56:48 +00:00
Martin McKeaveney 5ae952721c Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-10-30 16:25:00 +00:00
Martin McKeaveney e59f759ad6 removing dead code 2020-10-29 11:46:26 +00:00
mike12345567 eeecd61058 Fixing another linting issue. 2020-10-29 11:04:02 +00:00
mike12345567 22e2455bbf Merge branch 'master' of github.com:Budibase/budibase into feature/remove-multitenancy 2020-10-29 10:45:02 +00:00
mike12345567 5b2be03bc3 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 f621cb0853 Some quick fixes. 2020-10-28 22:13:16 +00:00
Martin McKeaveney ffc2c7bd5f adding cloud check to dev check 2020-10-28 21:27:37 +00:00
mike12345567 ea03d099b3 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
mike12345567 7f9ff8ded7 Merge branch 'bug/local-forbidden' of github.com:Budibase/budibase into feature/webhooks 2020-10-26 17:59:03 +00:00
mike12345567 f78ec2ddef 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
mike12345567 0d8ec8e03a Some initial work towards webhooks, that generates schema similar to integromat. 2020-10-22 17:48:32 +01:00
mike12345567 905cbc00e3 Merge branch 'master' of github.com:Budibase/budibase into version-complibrary 2020-10-21 15:33:23 +01:00
mike12345567 9a41fde685 Adding a version to the app and then including this in user authentication, this for now is just the version of the builder/server that it was built with. 2020-10-21 15:28:30 +01:00
Andrew Kingston 64812e2ddc Replace sharp with jimp for image processing 2020-10-21 13:00:23 +01:00
Andrew Kingston f86ee9d573 Fix test 2020-10-20 12:52:55 +01:00
Andrew Kingston c0e0b48a80 Allow CSV upload in browser and add display column option 2020-10-19 19:24:05 +01:00
mike12345567 de9c4ea3ee Fixing some issues seen with cloudfront and adding a bit more UI around the deployment history as pending can be happening for some time. 2020-10-19 15:33:26 +01:00
Andrew Kingston b139144b62 Fix default home page overriding detail pages 2020-10-16 15:32:50 +01:00
Andrew Kingston a978062a02 Set default link font weight to 500 2020-10-16 15:32:30 +01:00
Andrew Kingston 82b8e3e0ed Add XS shadow to top nav header to act as a slight border 2020-10-16 08:38:04 +01:00
mike12345567 e70c0f32c7 Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages. 2020-10-15 13:52:56 +01:00
Andrew Kingston 3de238c66a Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 17:09:50 +01:00
Andrew Kingston e0c309850b Update default page templates 2020-10-14 17:06:58 +01:00
Andrew Kingston b0171c1a9f Add translucent background to slot component 2020-10-14 17:05:29 +01:00
Martin McKeaveney 4823e66fe9 merge 2020-10-14 15:08:54 +01:00
Martin McKeaveney 79b50dc0b7 lint 2020-10-14 13:21:43 +01:00
Martin McKeaveney 2ae3191758 fix csv import 2020-10-14 13:09:03 +01:00
mike12345567 7ee64e8abd Merge branch 'master' of github.com:Budibase/budibase into chuckles-fixes 2020-10-14 12:16:16 +01:00
Martin McKeaveney cb5c09d439 simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
Andrew Kingston e50d33b7cb Add flex design property and fix existing default layout 2020-10-13 17:46:18 +01:00
mike12345567 3e9836138b Removing deprecated function - exists. 2020-10-13 17:02:59 +01:00
mike12345567 ca9012d07d Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:31 +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
Andrew Kingston fa59b05d74 Add back in sharp reference which was commented out 2020-10-13 09:42:44 +01:00
Andrew Kingston ba616a7b36 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-13 09:24:13 +01:00
Martin McKeaveney 99500cb123 remove screen1 from dummy data 2020-10-12 21:22:23 +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
mike12345567 d8f3a2ef17 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Martin McKeaveney 979422be52 Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 64b378364a deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 c3380d8ab4 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +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
mike12345567 89d02357b8 Making sure any errors that occur in usage quota are thrown up to stop endpoint from functioning. 2020-10-09 17:28:49 +01:00
Andrew Kingston 4ef8929462 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston 009d04a0a5 Add relationships as data source 2020-10-09 12:24:18 +01:00
mike12345567 4584257007 Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 c280586b9b Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
mike12345567 325e291222 Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 eea0bc5fb9 Update to IDs as has been discussed, to change them from colons (:) to underscores (_) as this is more URL, S3 and file system safe. Also shortening most prefixes down to two characters. 2020-10-09 09:47:37 +01:00
mike12345567 a54ca6ac39 Fixing linting issue. 2020-10-08 18:36:31 +01:00
mike12345567 552c31a53e Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
mike12345567 922e214dca Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
mike12345567 25cc60aa94 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567 a72d8e42ad Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +01:00
mike12345567 2c3566f686 Adding a regex to allow certain paths with : on windows. 2020-10-07 11:04:36 +01:00
Andrew Kingston 3dc30262d7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
mike12345567 13c9be4ea3 Adding a basic sanitise path function and fixing up use cases of appId filesystem paths throughout the system. 2020-10-07 00:24:56 +01:00
Martin McKeaveney 5e6cbe3b6d cleaner parsing 2020-10-05 19:21:51 +01:00
Martin McKeaveney dd9eb9bb6a merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney c3a5d964bc tidy up 2020-10-05 14:43:34 +01:00
Martin McKeaveney 3a460429a0 adding nice loading states 2020-10-05 14:07:39 +01:00
Martin McKeaveney 140233960e unit tests for csv parser 2020-10-05 11:48:13 +01:00
mike12345567 3ad58c2aa7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-05 10:52:35 +01:00
Martin McKeaveney b754fc3f07 account for omitted rows 2020-10-05 10:51:58 +01:00
Martin McKeaveney 5e86076530 CSV Import end to end 2020-10-02 16:16:06 +01:00
Martin McKeaveney 6a2da91f31 CLI tool for exporting apps, tidy up 2020-09-29 10:32:42 +01:00
Martin McKeaveney b27f80071f async templates working from S3 2020-09-28 17:04:08 +01:00
mike12345567 7e3715d88a Some groundwork for the linked records, building up a much more in-depth emitter for models and records to drive the record cleanup. 2020-09-25 18:05:26 +01:00
mike12345567 08e5e75dbb Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:49:15 +01:00
mike12345567 6967f5f4f0 Fixing linting. 2020-09-21 14:48:24 +01:00
mike12345567 c31a978288 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:01:00 +01:00
mike12345567 61964f9106 Merge branch 'master' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:52:26 +01:00
mike12345567 5f064ade9d Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
Martin McKeaveney af9b8ac9bd return processed file sizes 2020-09-18 11:01:39 +01:00
Martin McKeaveney f48736ffe9 lint 2020-09-17 16:36:39 +01:00
mike12345567 2911a7ba35 Changing how default inputs for workflow definitions are handled and providing pretty print options for enums. 2020-09-17 12:44:59 +01:00
mike12345567 53b317aad1 Fixing a circular dependency that meant a utilities enumerations could not be used until full system initialisation, exporting enums earlier and commenting. 2020-09-16 14:58:30 +01:00
mike12345567 1382c3bb12 This is a breaking change, it updates the block definitions to work with the new structure of inputs and outputs. 2020-09-15 14:27:23 +01:00
Michael Shanks 30aed16951 remove references to material design components 2020-08-14 11:21:52 +01:00
Martin McKeaveney 9e00550eda Cypress Tests Running in CI (#524)
* cypress test setup

* running cypress in CI

* fixing tests after first time setup wizard

* bb api key

* API Key in right place

* adding env in cypress.json

* env var in setup

* lint

* API key not working

* fill in API key form if present

* allow more time for creation

* cypress server for debug

* video recording, better debugging

* Adding debug logs

* set node env

* cypress env

* cancel irrelevant test
2020-08-05 15:18:28 +01:00
Michael Shanks a39f99cf7c bugfix: create app pointing to hardcoded standard-components version 2020-08-03 15:28:45 +01:00
Michael Shanks bac8249132 can delete screens 2020-07-21 15:01:32 +01:00
Martin McKeaveney 020ef654db lint 2020-07-14 21:10:51 +01:00
Martin McKeaveney b4e70301a0 download component libraries from NPM tarball 2020-07-14 21:07:53 +01:00
Michael Shanks 80a597e1fc fix: create app failing from unknown folder copy issues 2020-07-14 07:02:46 +01:00
Martin McKeaveney fccfc3fd5c beta bugfixes 2020-07-10 16:17:12 +01:00
Michael Shanks 006c965b70 Default app template - added screens 2020-07-09 14:47:54 +01:00
Martin McKeaveney 1a33ab2e18 merge 2020-07-07 21:32:32 +01:00
Martin McKeaveney c953fa679a lint 2020-07-07 21:29:20 +01:00
Martin McKeaveney f7d65deb5e extra index template for production 2020-07-06 19:43:40 +01:00
Michael Shanks cc1659f807 Login: allow edit of title & button text 2020-07-06 11:30:36 +01:00
Michael Shanks 1d85ce5acb more understandable screenslot & default header on master screen 2020-07-03 21:48:34 +01:00
Michael Shanks 69b05d6f93 #416 auto init of budibase when electron starts 2020-07-03 13:03:50 +01:00
Martin McKeaveney 5ecc8d4a54 deployment E2E 2020-07-02 23:22:20 +01:00
Michael Shanks 46c8c558a0 apply border-box globally 2020-07-01 11:28:41 +01:00
Michael Shanks bbd030db71 bugfix: add inter and roboto mono fonts 2020-06-29 10:16:19 +01:00
Michael Shanks 4677e76f79 merge from master 2020-06-26 15:41:42 +01:00
Conor_Mack 4be1cd07b3 Merge pull request #392 from Budibase/bugfix/instance-name-login-template
Add _instanceName to login template
2020-06-26 10:35:42 +01:00
Conor_Mack 818ab3b4fc Add _instanceName to login template 2020-06-26 10:31:03 +01:00
Michael Shanks 6592157527 bugfix: master screen not styleable 2020-06-25 17:46:43 +01:00
Michael Shanks ef94892a1b merge from master 2020-06-24 18:05:49 +01:00
Martin McKeaveney ba74c0981e Merge pull request #367 from Budibase/backend-ui-update
Backend ui update
2020-06-24 17:33:22 +01:00
Michael Shanks 7f1f702cc4 Merge branch 'master' of github.com:Budibase/budibase into bugfixes 2020-06-24 17:19:29 +01:00
Conor_Mack 7f543bdf26 Merge pull request #360 from Budibase/builder/consolidating-missing-code
Instance name fix and consolidation of code
2020-06-24 17:11:08 +01:00
Martin McKeaveney 835b21e387 merge 2020-06-24 17:02:38 +01:00
Michael Shanks 59afd2c572 Merge branch 'master' of github.com:Budibase/budibase 2020-06-24 16:42:41 +01:00
Joe 0cf410b253 Merge branch 'master' into Css-update-to-reflect-BBUI 2020-06-24 15:35:40 +01:00
Michael Shanks 1c958c226a screenslot added to Private>Master by default 2020-06-24 11:05:09 +01:00
Conor_Mack 50ecfd1e25 Merge branch 'master' into builder/consolidating-missing-code 2020-06-23 11:21:31 +01:00
Joe 28fadac7f7 CSS update UI refresh
Font changed to Inter
Colors reflect BBUI
Panel background removed
2020-06-23 08:19:16 +01:00
Martin McKeaveney eca7b69949 merge 2020-06-22 22:39:41 +01:00
Martin McKeaveney 430ca37826 bidirectional linked records 2020-06-22 21:30:23 +01:00
Michael Shanks eb2b6ec56f removed x-user-agent 2020-06-19 16:59:46 +01:00
Martin McKeaveney cada9bdb85 typo 2020-06-18 17:49:34 +01:00
Michael Shanks bf14aa5ccb instanceid removal 2020-06-18 16:59:31 +01:00
Martin McKeaveney af9038f64f structuring new backend UI 2020-06-15 16:41:31 +01:00
Conor_Mack 3bcd93d490 Lint fixes 2020-06-15 16:02:11 +01:00
Conor_Mack c1e9133424 Instance naming fix for components and screens 2020-06-15 16:01:24 +01:00
Michael Shanks 19d132c6c2 removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Michael Shanks 3471afe587 bugfix: data components hitting correct url again 2020-06-03 22:12:09 +01:00
Michael Shanks 3e9a3ec678 Merge branch 'master' of github.com:Budibase/budibase 2020-06-03 15:43:53 +01:00
Michael Shanks bae6a37b5d autu populated login page 2020-06-03 15:43:37 +01:00
Kevin Åberg Kultalahti f3866a5e0d Merge pull request #309 from Budibase/bugfix/navbar-settings
Bugfix/navbar settings
2020-06-03 14:59:35 +02:00
kevmodrome 4f291e2f73 adds another color to Nav Bar and also adds roboto as default font in created apps 2020-06-03 14:52:18 +02:00
Michael Shanks 82d0f1ea86 bugfix: links not respecting appRootPath 2020-06-03 12:30:32 +01:00
Michael Shanks f2d696ce82 bugfix: could not set style on screen root 2020-06-02 16:18:25 +01:00
Martin McKeaveney fe0b95d627 merge 2020-06-01 16:27:27 +01:00
Martin McKeaveney 9a898a8d74 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney e648dc80e8 refactor client library 2020-05-29 14:06:36 +01:00
Michael Shanks 473468b481 few changes from code review 2020-05-27 17:37:07 +01:00
Michael Shanks fe79f294b4 access levels 2020-05-27 17:23:01 +01:00
Michael Shanks 1127e1ef0f server - create app endpoint creates files 2020-05-26 16:29:16 +01:00
Michael Shanks aa66598e4c auth, first version, needing tested 2020-05-21 14:31:23 +01:00
Martin McKeaveney 3c9af5336e formatting 2020-05-18 11:01:17 +01:00
Michael Shanks 97db4f1765 server tests in-memory and passing 2020-05-14 15:12:30 +01:00
Martin McKeaveney 4c62f8181e Merge branch 'master' into fix-dev-setup 2020-05-11 16:40:39 +01:00
Martin McKeaveney 3149b38586 fixed dev setup 2020-05-11 16:01:02 +01:00
Michael Shanks 7d6046d021 allow bb home folder to bem anywhere 2020-05-11 15:42:42 +01:00
Martin McKeaveney 2ebe5580d5 fixing tests 2020-05-07 22:25:27 +01:00
Martin McKeaveney 87ad6647df further tidy up and removal 2020-05-07 13:52:24 +01:00