Commit Graph

139 Commits

Author SHA1 Message Date
Rory Powell e116941750 Rotatable secrets (#9982)
* Rotatable secrets

* Set new api encryption key var

* Lint

* Use fallback keys instead of array

* Point api encryption key to dedicated value

* Add API_ENCRYPTION_KEY to cli

* Lint + add api encryption key to env files
2023-03-13 15:02:59 +00:00
mike12345567 a7e34c0829 Minor fix for CLI - to preserve the MinIO image, meaning that new installations will always use the minio/minio image, whereas older installations can use the RELEASE.2022-10-24T18-35-07Z version which still supports the FS system. 2023-03-09 13:52:35 +00:00
mike12345567 158b33883b Fixing lint issue. 2023-03-03 12:08:03 +00:00
mike12345567 04ef7eeb9c Minor fixes - after removing axios altogether and adding a start script to make life easier for running from ts. 2023-03-03 10:03:33 +00:00
mike12345567 2125331b14 First pass - converting CLI to Typescript. 2023-03-02 18:21:45 +00:00
mike12345567 4d86df057b Some fixes for #8770 - the CLI was very memory intensive when working with large databases, that contained many revisions. We don't need the revisions for app exports/backups, therefore I've updated our export systems to drop the revision history as it compacts the database significantly and speeds up exports/reduces memory usage. 2023-02-06 17:54:40 +00:00
mike12345567 bfaef13768 Refactoring worker, converting all controllers/routes to Typescript and all imports of backend-core to new style. 2022-11-23 18:25:20 +00:00
mike12345567 a5d980efb1 Adding a fix for checklist being incorrect after restoring from the CLI. 2022-10-27 09:48:37 +01:00
mike12345567 6d72e51d16 Some fixes for CLI to get exporting/importing with different ports working, as well as a fix for access to minio through proxy. 2022-10-26 18:51:58 +01:00
mike12345567 e52db23142 Adding version handling to CLI, #8335 - useful to see what version of CLI currently installed. 2022-10-25 15:28:05 +01:00
rosnerdev c25f88492b Update exec.js
I had an issue where the datasource plugin wouldn't work because of node engine incompatibility, and after a quick search on google I found that --ignore-engines is the option to use for ignoring this kind of error and it worked! So I want to make this a built-in feature so there's no need for me to manually do this.
2022-10-04 12:18:04 +03:00
mike12345567 0f64f6b6fb Improvement to CLI logging output for plugins --dev command - make it more obvious what next steps are. 2022-09-30 17:13:50 +01:00
mike12345567 5b52acf169 Updating to add an option for generating admin user credentials as part of hosting, adding a dev command to create a simple, pre-watching environment using all flags. 2022-09-29 15:38:54 +01:00
mike12345567 2a2d5ca19e Fixing an issue with single image docker-compose generation. 2022-09-29 14:00:16 +01:00
mike12345567 a464aceffb Updating hosting to break up single file into lots of independent commands - this was an attempt to improve syntax. Adding in single image handling, as well as full support for watch directory. 2022-09-28 19:11:22 +01:00
Michael Drury 3bb4b3ed3a Making secret generation common. 2022-09-28 00:17:46 +01:00
Michael Drury ccac360340 Updating make dotenv file in the CLI to be a bit cleaner/easier to manipulate than a magic string. 2022-09-28 00:16:04 +01:00
Michael Drury b66df050dc Adding in single compose configuration to CLI. 2022-09-28 00:04:26 +01:00
mike12345567 694424d0b2 Adding ability to extend existing docker-compose file to include volumes for watching plugins. 2022-09-27 19:39:17 +01:00
mike12345567 46c1590c83 Adding types for plugin events, specifically for plugin init, import and deletion, this is across the CLI and the server. 2022-09-14 17:35:46 +01:00
mike12345567 e469ee6fe8 Adding better controls for .git checking. 2022-09-14 11:11:20 +01:00
mike12345567 d67dcd78a6 Fixing a minor issue with plugin name not being passed through in CLI function. 2022-09-14 11:04:37 +01:00
mike12345567 589d1442da Fixes from PR comments. 2022-09-14 10:58:01 +01:00
mike12345567 4621f2d830 Defaulting behaviour for empty git repos. 2022-09-13 18:28:03 +01:00
mike12345567 95f7bbd05b Adding an option to disable top level parent directory creation during CLI plugin init incase using this for git repo creation. 2022-09-13 18:22:15 +01:00
mike12345567 5c5e1b10b4 Fixing CLI build - prebuilds required for hashing can be disabled via environment variable. 2022-09-13 18:00:10 +01:00
NEOLPAR 829d1bf70d cleaned plugin validate from cli 2022-09-09 11:25:17 +01:00
mike12345567 feda4e61c1 Fixing issue with string templates importing vm2 which requires other prebuilts for JS in the CLI - no need for these to add to build size when JS is unused. 2022-09-05 19:04:45 +01:00
mike12345567 f329f9868c Adding management of the new README.md file that is retrieved with the plugin skeletons. 2022-08-18 18:23:07 +01:00
mike12345567 38e97c7cdb Adding check to make sure build/watch occurs inside a plugin directory. 2022-08-18 13:29:49 +01:00
Michael Drury 63742ec7f0 Adding watch command to CLI. 2022-08-16 16:27:03 +01:00
mike12345567 dcce46f616 Fixing validation for datasource plugins. 2022-08-11 18:29:49 +01:00
mike12345567 1f2f130907 Getting dependency installation working correctly. 2022-08-11 17:29:07 +01:00
mike12345567 1ae154daf5 Install after retrieving skeleton for custom plugins. 2022-08-11 11:03:33 +01:00
mike12345567 7ce8a9e254 Validating datasources fully, initial work towards validating components and including the build in the CLI. 2022-08-10 16:19:08 +01:00
mike12345567 2a98e4addf First part of plugin CLI - generates the skeleton project and enriches it with user input. 2022-08-10 13:11:57 +01:00
mike12345567 bdeb07b42e Fixing an issue with running in dev with prebuilds and fixing an issue with backup questions being asked twice. 2022-07-06 17:42:54 +01:00
mike12345567 f498943a32 Adding prebuild management for pouchDB leveldown. 2022-07-01 23:04:34 +01:00
mike12345567 e5ddcd9f86 Adding MinIO handling, backing up to disk by bucket name. 2022-06-30 20:26:49 +01:00
mike12345567 11df05a7a0 Adding main functionality for exporting CouchDB to disk, just need to add MinIO export. 2022-06-30 19:20:50 +01:00
mike12345567 3c70bac76c Initial CLI management, getting properties required for access. 2022-06-30 17:31:18 +01:00
Rory Powell 6fbb5afeec Remove ui events except for component created and view published app 2022-06-06 12:51:22 +01:00
Rory Powell 33f44f6ee7 Remove todos 2022-06-06 11:11:13 +01:00
Rory Powell 3e5e95a9c1 Add analytics to backend-core. Update server posthog usage 2022-03-25 13:04:34 +00:00
Rene Pot 6e0b29667d fix broken docs links 2022-03-23 14:47:27 +01:00
mike12345567 0716df5098 Fixing issue with CLI not updating proxy images. 2022-02-11 12:32:57 +00:00
Martin McKeaveney 7fb9b33f6c remove more references to envoy 2022-02-01 11:02:37 +01:00
Martin McKeaveney b841b41e29 update watchtower port to 6161 2021-08-23 21:48:03 +01:00
Martin McKeaveney 324f64c790 lint 2021-08-23 16:38:09 +01:00
Martin McKeaveney 4dff1a34ac posthog cloud config 2021-08-23 15:42:00 +01:00