1
0
Fork 0
mirror of synced 2024-06-27 18:40:42 +12:00
Commit graph

175 commits

Author SHA1 Message Date
mike12345567 4653471412 Updating UI to use the updated at. 2021-05-21 14:38:58 +01:00
mike12345567 f56250824c Adding a debounced updated at timestamp to applications. 2021-05-21 13:07:10 +01:00
mike12345567 112ed8b3fa Linting. 2021-05-21 11:06:57 +01:00
mike12345567 fba63134d1 Fixing some issues found when testing. 2021-05-20 20:48:24 +01:00
mike12345567 beae1cec71 Removing all login/logout functionality from apps. 2021-05-20 13:05:58 +01:00
mike12345567 ecc1527833 Merge branch 'next' of github.com:Budibase/budibase into user-app-list 2021-05-19 15:58:17 +01:00
mike12345567 6d6eee2a93 Adding the ability to get all apps, with the status attached. 2021-05-19 15:09:57 +01:00
mike12345567 ed4455b450 Fixing test cases. 2021-05-19 11:27:19 +01:00
Martin McKeaveney d5fb542589 lint 2021-05-17 21:43:50 +01:00
Martin McKeaveney 6dc288fcc3 merge 2021-05-16 21:29:07 +01:00
Martin McKeaveney 0ed0550e73 revert functionality working 2021-05-16 21:25:37 +01:00
mike12345567 ac0f620b38 Formatting. 2021-05-14 16:32:51 +01:00
mike12345567 c45fdefb48 Adding administration roles API. 2021-05-14 16:31:07 +01:00
mike12345567 2d0122f7d6 A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
mike12345567 28a7282a8b Fixing userId storage to redis and making sure lockedBy property never stored. 2021-05-13 14:17:04 +01:00
mike12345567 799b3fc138 Updating locks to store the whole global user as well as implementing the locks on dev apps fetch. 2021-05-13 12:16:09 +01:00
Martin McKeaveney 61a5b109f5 dev mode E2E 2021-05-13 11:06:08 +01:00
mike12345567 c9d903a92f General cleanup, doing away with the concept of hosting in the builder and the generally confusing difference between cloud, self hosting and running locally - server is simply always a server now. 2021-05-11 17:49:26 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 7e6855262b Fixing some issues with the ctx.user, this was previously filled in by the old auth middleware. 2021-04-13 15:27:47 +01:00
Martin McKeaveney f5e5a415ca remove buildertoken refs 2021-04-13 14:00:09 +01:00
Martin McKeaveney 654a53fc0a Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
mike12345567 164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567 8ea12c30a6 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
mike12345567 a5fd8d0e33 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567 dfa2881f1c Initialising CouchDB link to lucene and app design DBs for it. 2021-03-25 18:04:44 +00:00
mike12345567 7c2ef4d43f Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567 7e232502d8 Formatting. 2021-03-24 18:31:53 +00:00
mike12345567 73cf53d149 Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster. 2021-03-24 18:21:23 +00:00
mike12345567 19b5b41953 Main work of file system refactor now complete, ready to test more fully - most test cases passing, need to look through them more thoroughly and make sure everything still makes sense. 2021-03-23 17:54:02 +00:00
mike12345567 95ee615006 Work in progress, have refactored the templating system to remove local templates, application and template system now work through minio with no file access. 2021-03-19 19:07:47 +00:00
mike12345567 8821eba634 Working on moving file system access around, starting by centralising it then working out what needs to be moved to object store and how. 2021-03-19 14:43:41 +00:00
mike12345567 bc18959f87 Fixing issue with applications not being created due to a lack of template file. 2021-03-16 13:43:46 +00:00
Andrew Kingston cee0decfcc Remove electron specific app import 2021-03-15 18:32:20 +00:00
mike12345567 e78f73a76d Updating application tests to run a lot deeper, which required updating some other tests to account for creation of empty screens and layouts. 2021-03-10 12:56:30 +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 fcde592385 Review comments. 2021-01-18 12:36:49 +00:00
mike12345567 67cc893670 Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
mike12345567 09bf6833ed Making sure URLs are always lower-case. 2021-01-14 17:31:17 +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
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 c3abc9fed4 Removing the static CSS bundling from the server as it is no longer required. 2020-12-09 12:30:21 +00:00
Andrew Kingston 175be609b9 Fix bug with getting screen list in app definition 2020-12-04 14:02:58 +00:00
Martin McKeaveney af24967c88 accommodate login layout 2020-12-03 17:31:38 +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
Martin McKeaveney 01343e1474 layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
mike12345567 9b5734b1de Merge branch 'master' of github.com:Budibase/budibase into feature/page-refactor 2020-11-30 11:47:08 +00:00
mike12345567 8519ea1a97 Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-27 15:11: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
Martin McKeaveney e0071cabfd extract constant 2020-11-25 15:03:19 +00:00
mike12345567 5eec4d7a47 Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
Martin McKeaveney 327f77dbb3 user table and relationships complete 2020-11-24 14:04:14 +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
Martin McKeaveney ac75d6606d map fulfilled promises 2020-11-23 16:42:28 +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
Martin McKeaveney 76a752e3a1 prevent one broken app from breaking your whole install 2020-11-23 15:34:23 +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
mike12345567 1e9e46b8a5 Creating a function for the client to be able to pull in client definition from API. 2020-11-18 18:24:12 +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
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
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 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 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 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
mike12345567 43f9deef4d Getting rid of userInstanceMap, preparing for meat of auth update. 2020-10-30 17:12:06 +00:00
mike12345567 aeed753786 Updating for review comments. 2020-10-29 11:48:01 +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
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 012b290895 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
mike12345567 3fd5e7e578 Removing deprecated function - exists. 2020-10-13 17:02:59 +01:00
mike12345567 407d7606e9 Destroying instance DBs for an app before it is deleted. 2020-10-13 16:31:14 +01:00
mike12345567 ba758905cc Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 a6e409a062 Quick change after diffing and looking through everything. 2020-10-07 09:58:32 +01:00
mike12345567 691ea16998 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
mike12345567 672f5f8301 Merge branch 'master' of github.com:Budibase/budibase into remove-views 2020-10-05 10:04:23 +01:00
mike12345567 2aff68b245 Adding jsdoc to the db utils and removing the views, this is a breaking change for existing apps. 2020-10-02 12:37:46 +01:00
Michael Drury 0a80abfd0e Purging the use of views where possible, this update should remove the use of by_type and all model views. 2020-10-01 17:22:08 +01:00
Martin McKeaveney c2321797f1 async templates working from S3 2020-09-28 17:04:08 +01:00
Martin McKeaveney db2d9af545 template export v1 2020-09-25 14:47:42 +01:00
Michael Shanks 3a5d2f8713 remove references to material design components 2020-08-14 11:21:52 +01:00
Martin McKeaveney bbcb282e53
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
kevmodrome 667e70a706
signup flow now works correctly 2020-08-03 16:26:28 +02:00
Martin McKeaveney c293d1e527 fixing dev path when running in electron 2020-07-15 13:42:12 +01:00
Martin McKeaveney 63c5cd9af4 lint 2020-07-14 21:10:51 +01:00