1
0
Fork 0
mirror of synced 2024-09-28 23:31:43 +12:00
Commit graph

141 commits

Author SHA1 Message Date
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
Martin McKeaveney
71fc36ec7e download component libraries from NPM tarball 2020-07-14 21:07:53 +01:00
Martin McKeaveney
2be17aa162 lint 2020-07-14 08:21:22 +01:00
Martin McKeaveney
f22f3f8eb1 fix mac perm issue 2020-07-14 08:13:05 +01:00
Michael Shanks
10b0f8c379 fix: create app failing from unknown folder copy issues 2020-07-14 07:02:46 +01:00
Michael Shanks
d38b1fe888 lint fix 2020-07-09 15:05:56 +01:00
Michael Shanks
f2e5ca3b93 Default app template - added screens 2020-07-09 14:47:54 +01:00
kevmodrome
a85d67574a
remove som console.logs 2020-07-07 14:47:27 +02:00
kevmodrome
dc5db6f552
adds delete functionality to application 2020-07-07 14:44:05 +02:00
kevmodrome
f50cec4a73
lint fix 2020-06-29 17:49:16 +02:00
kevmodrome
53d8bc3be7
remove log 2020-06-29 17:21:22 +02:00
kevmodrome
4f6283eef2
adds functionality to update name and description of app 2020-06-29 17:18:43 +02:00
Martin McKeaveney
3c3104be7b enable renaming of records by using IDs 2020-06-23 23:26:54 +01:00
Michael Shanks
763e282997 #363 bugfix: page not built until prop changed 2020-06-22 21:16:51 +01:00
Michael Shanks
bf952f8677 instanceid removal 2020-06-18 16:59:31 +01:00
Michael Shanks
6cb7e995a2 changed "master" databse to "clientAppLookup" 2020-06-11 10:12:01 +01:00
Michael Shanks
2d4321177f application supports multiple concurrent client DB 2020-06-10 21:39:30 +01:00
Martin McKeaveney
fb2e873e2f fix budibase apps dir 2020-06-03 21:23:56 +01:00
Michael Shanks
77a16f95da autu populated login page 2020-06-03 15:43:37 +01:00
Michael Shanks
2a8ca59b6d bugfix: create app not creating dirs 2020-05-27 10:54:34 +01:00
Michael Shanks
b7ad4de09e server - create app endpoint creates files 2020-05-26 16:29:16 +01:00
Michael Shanks
2b48a92013 id generation in utilities module 2020-05-18 16:22:09 +01:00
Martin McKeaveney
815a539863 test and couchDB init code 2020-05-18 10:55:35 +01:00
Michael Shanks
b62449bf96 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Michael Shanks
18375a6d19 server tests in-memory and passing 2020-05-14 15:12:30 +01:00
Martin McKeaveney
94b2e0f134 further tidy up and removal 2020-05-07 13:52:24 +01:00
Renamed from packages/server/api/controllers/application.js (Browse further)