Michael Drury
f6c992964e
Fixing issue with CLI build, removing some old cjs exports that shouldn't be there.
2023-08-07 21:31:55 +01:00
mike12345567
cb1cec2774
Fixing pkg built CLI after using esbuild.
2023-08-07 20:21:36 +01:00
mike12345567
549f7e452d
Minor change - needed to update the path to prebuilds for pkg built CLI versions.
2023-05-16 12:37:28 +01:00
mike12345567
f577b880ee
Fix for 'TypeError: Cannot read properties of undefined (reading 'command')' error that was occurring - program wouldn't load successfully with an undefined version number.
2023-05-16 10:00:49 +01:00
mike12345567
552499b781
Re-writing the disabling of pino/logging - it seems that the pino logger is causing a variety of issues in the built CLI version - easier to offer an environment variable for backend-core which completely removes the logger.
2023-05-02 16:22:43 +01:00
mike12345567
5758120ecc
Minor updates to CLI - incrementing docker-compose version as per #10222 as well as a fix for prebuilds when using pkg version.
2023-05-02 14:58:34 +01:00
Adria Navarro
c47ff6ccfb
Merge branch 'develop' into chore/remove_package.json_dependency
2023-04-24 18:42:55 +02:00
adrinr
e5227febd8
Use version from environment
2023-04-17 14:02:50 +01:00
Michael Drury
4badd04e33
Some automation fixes and adding option to disable logging for CLI.
2023-04-10 22:33:53 +01:00
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