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

108 commits

Author SHA1 Message Date
mike12345567
dcada36111 Fix for #7431 - reboot didn't work at all previously which is why apps couldn't be published with it enabled, this is now a self host only feature, I've removed the ability to enable a reboot cron in the Cloud and it will not run the lookup/execution. 2022-09-07 17:05:17 +01:00
mike12345567
45349845f5 Adding compaction before each replication to try to reduce size of database, as well as removing the possibility of app metadata being in conflict as per issue #7494. 2022-09-06 18:07:18 +01:00
mike12345567
b920f8cb05 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
mike12345567
caaf5dc3c9 Main body of updates to support disabling the cron, some cleanup of metadata at deployment to make sure they can be re-ran. 2022-07-25 20:45:29 +01:00
Rory Powell
22aa226ca9 Event identification 2022-05-23 22:14:44 +01:00
Rory Powell
606d21b313 Build and test fixes 2022-05-03 22:58:19 +01:00
Rory Powell
bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
mike12345567
95c7963c0a Merge branch 'develop' of github.com:Budibase/budibase into fix/develop-merge 2022-04-26 16:31:17 +01:00
Rory Powell
b134528883 Fix startup 2022-04-26 16:19:41 +01:00
Martin McKeaveney
630f29444d fix build 2022-04-26 13:58:33 +01:00
Martin McKeaveney
e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Dean
91a6f8645c Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:10:58 +01:00
mike12345567
1d61ff906a Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases. 2022-04-20 23:10:39 +01:00
mike12345567
7792a07899 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
Dean
4cc1a85f25 Code style check 2022-04-19 14:56:56 +01:00
Dean
3e74118f81 Unpublish refactored to stop development applications being mistakenly deleted. Minor updates to the modal content component to allow the replacement of the header. Further work to implement the publishing workflow changes 2022-04-19 14:38:09 +01:00
Rory Powell
7a5df9010c App events 2022-04-04 15:59:00 +01:00
Rory Powell
336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
mike12345567
03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
Michael Drury
91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567
836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567
7eb29ffc7d Updating the getAllApps function to use a cached version of the app metadata, rather than retrieving it individually everytime. Also invalidating the results everytime they are updated (at least in the important locations). 2021-11-15 17:40:45 +00:00
mike12345567
a2d302cd57 Removing live replication between deployed and development app, instead it is replicated when the app is opened in the builder. Live replication was not working and only actually pulled back the data on deploy which was a little confusing, this way it can easily be controlled. 2021-10-22 14:34:20 +01:00
Martin McKeaveney
6a6dac9d3a adding debug log for deployments 2021-10-01 15:36:33 +01:00
mike12345567
4e294fbcd9 Adding metadata system and re-writing how Cron works, previously cron only worked in dev because it would never be enabled for the production app ID, this makes it so that it is never enabled for the dev app and when the production app is deployed it runs through all the automations and checks if any need cron jobs setup/disabled. 2021-09-08 19:29:28 +01:00
mike12345567
42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +01:00
Michael Drury
f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567
6aaef0e230 Fixing deployment issue. 2021-07-14 17:51:35 +01:00
mike12345567
f2c2ead3fc Cleaning up deployments into the app DB, moving API keys to be in global DB (which will be tenancy managed) and adding concept of platform info DB. 2021-07-14 16:29:32 +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
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
Martin McKeaveney
0ee83a2e60 set up live replication between prod and dev instances 2021-05-13 17:24:32 +01:00
Martin McKeaveney
61a5b109f5 dev mode E2E 2021-05-13 11:06:08 +01:00
mike12345567
e917dbd897 Removing more useless deployment code. 2021-05-11 17:53:54 +01:00
mike12345567
d7d29cf0f3 Formatting. 2021-05-11 17:50:26 +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
mike12345567
330f92ff7c Some cleanup. 2021-05-10 18:07:57 +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
Andrew Kingston
0caad1f582 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
mike12345567
b419430f04 Updating to make sure a relative URL is always used for attachments. 2021-04-09 13:49:16 +01:00
mike12345567
75e0d82c8d Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
mike12345567
865baf6d16 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 2021-03-29 17:32:05 +01: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
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