1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00
Commit graph

63 commits

Author SHA1 Message Date
mike12345567 091782389a Updating some of the deployment/uploading mechanism purely to remove file system, all of this will go anyway but some of it was used to handle file uploads (attachments) to object store so needed to convert it a bit 2021-03-22 18:06:10 +00:00
mike12345567 ed2672fca3 Quick change to make sure as long as internal views are denoted in the db constant they'll be handled. 2021-02-22 16:13:11 +00:00
mike12345567 64cfc02fa2 Adding fix in for views including internal views which shouldn't be added to view calculation. 2021-02-22 16:10:29 +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
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
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 f63466f1d1 Updating deployment service, checking in builder the builder settings info stored in DB before deploying. 2020-12-15 17:27:45 +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 3c2ca11d31 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 15:21:34 +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 1f8e5006ad Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-08 13:45:53 +00:00
mike12345567 2291a5acdb Some work towards replication of couch locally. 2020-12-04 17:10:01 +00:00
mike12345567 643cff06ea Quick fixes for self deployment. 2020-12-04 12:07:51 +00:00
mike12345567 4fed10ccdf Some work to not contact lambda or use quotas when deploying locally. 2020-12-03 17:45:20 +00:00
mike12345567 eb5e1ea6d4 Quick fix and making sure CSS temp files in app directory don't get uploaded. 2020-12-02 18:07:17 +00:00
mike12345567 a381463c33 Making sure deployment object is used everywhere to hide all underlying deployment properties. 2020-12-01 16:51:17 +00:00
mike12345567 364eb3c433 Expanding on deployment, attempting to hide all the quota stuff behind layers that we can more easily abstract, as well as hiding away any AWS specific features in the index of deployment. 2020-12-01 13:39:34 +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
Martin McKeaveney 4e54f6d0d1 track quota errors in deployment 2020-11-12 12:58:05 +00:00
Martin McKeaveney f19a20a02d remove cf invalidation, adding validation around successful deploys only 2020-11-10 17:08:02 +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
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 d79be3c854 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
Martin McKeaveney 3f41fc0ba1 sanitizing s3 keys and making them windows friendly 2020-10-21 11:27:42 +01:00
mike12345567 f55ff98364 Review comments and making sure errors get passed through correctly. 2020-10-20 16:04:18 +01:00
mike12345567 f1eb185798 Making sure quota is always set correctly. 2020-10-20 15:15:21 +01:00
mike12345567 484070e0e0 Changing how invalidation is checked for Cloudfront cache, making sure that we don't lose state of the invalidation and can check it fully in the background. 2020-10-20 15:06:34 +01:00
Martin McKeaveney 5217cce4fa
Merge pull request #756 from Budibase/couchdb-security
Couchdb security
2020-10-19 20:29:35 +01:00
mike12345567 c319054c30 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
Martin McKeaveney 7843f544c9 cookie based couchdb auth 2020-10-19 13:30:15 +01:00
Martin McKeaveney fb9931a0a2 Merge branch 'master' of github.com:Budibase/budibase into couchdb-security 2020-10-19 13:22:04 +01:00
Martin McKeaveney cdf82cf479 cookie based auth for deployment 2020-10-19 00:05:25 +01:00
Martin McKeaveney 80e1c1b294 remove commented code 2020-10-18 18:10:25 +01:00
Martin McKeaveney ae71f9ed01 deployment history design updates and polling 2020-10-18 18:09:19 +01:00
Martin McKeaveney 6f4b55c0f5 making deploy process async, adding local deployment history 2020-10-16 12:38:07 +01:00
Martin McKeaveney 2308814e85 fix cloudfront invalidations 2020-10-15 16:59:57 +01:00
mike12345567 3f0d205846 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Martin McKeaveney f75f0f5f28 updated quota fixes 2020-10-09 17:07:46 +01:00
Martin McKeaveney 4abc54380d use centralised document types and separators 2020-10-09 10:50:44 +01:00
Martin McKeaveney c885382225 code review 2020-10-09 10:46:38 +01:00
mike12345567 ba758905cc Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
Martin McKeaveney c9f791f250 remove log 2020-10-08 21:52:26 +01:00
Martin McKeaveney 4fa3b9c473 Merge branch 'master' of github.com:Budibase/budibase into deployment-api-usage 2020-10-08 21:16:16 +01:00
Martin McKeaveney 8880e7574b tidy up 2020-10-08 20:23:58 +01:00
Martin McKeaveney 3f4fa0674d update deployment quota after deploy 2020-10-08 15:06:27 +01:00
Martin McKeaveney 212a24348a hitting deployment success endpoint 2020-10-08 10:56:32 +01:00
Martin McKeaveney a482d0a23e check that deployment is possible using lambda API 2020-10-07 20:37:55 +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
Martin McKeaveney 6d4ea5c627 ensuring s3 upload works in prod 2020-09-23 20:23:40 +01:00
Martin McKeaveney 938f675922 abstract local file upload logic 2020-09-23 17:02:06 +01:00