70 Commits

Author SHA1 Message Date
Neeraj Gupta
cda7dda3cb [cli] Add API to get authenticator data 2024-09-18 16:06:45 +05:30
Trekky12
8056720e23
Add possibility to define cli download tmp path with env variable (#3298)
## Description
When the /tmp folder is tmpfs the size is restricted and the download
failes when this tmp folder is full.
This PR introduces a enviroment variable to set the tmp download folder.
2024-09-17 08:55:11 +05:30
Trekky12
e6d4e835db
Fix exporting of live photos with cli (#3297)
Fix issue #1998
2024-09-17 08:54:39 +05:30
Neeraj Gupta
821edd00f7 [cli] Check for secret key length while reading from file 2024-09-10 14:16:36 +05:30
Neeraj Gupta
9e068bdc90 [cli] Base64 encode CLI secrets 2024-09-10 13:46:35 +05:30
Neeraj Gupta
e70bf6a379 [cli] Add check for deviceKey size 2024-09-10 13:46:15 +05:30
Johannes7k75
7d0ae17ddd
Update README.md (#3023)
## Description

Changes the name of the docker image that gets build.

## Tests
2024-09-03 15:55:48 +05:30
Neeraj Gupta
1fd238a89a [cli] Fix temp file deletion on windows 2024-08-16 09:19:26 +05:30
Neeraj Gupta
39e505a3ec update docs 2024-08-14 17:14:35 +05:30
Neeraj Gupta
ae98af9f8c bump cli version 2024-08-14 17:12:49 +05:30
Neeraj Gupta
5bd7170755 [cli] Fix error log 2024-08-14 17:11:13 +05:30
Neeraj Gupta
ab17ae71d0 [cli] Continue export on bad timestamp marshal error 2024-08-14 17:10:58 +05:30
Neeraj Gupta
395f0384a0 [cli] Add option to exlude shared or hidden folders 2024-08-01 19:13:03 +05:30
Neeraj Gupta
0526c63681 [cli] Extend export command to pass filters 2024-08-01 17:52:58 +05:30
Neeraj Gupta
7d8a7257b4 [cli] Add list of filters 2024-08-01 17:46:05 +05:30
Neeraj Gupta
7c7299aa09
CLI: Allow setting secrets path via env var (#2426)
## Description

Adds a new enviroment variable `ENTE_CLI_SECRETS_PATH`, that allows
specifying the path to a `secrets.txt` like the one used in the
dockerized version. If no path is provided, the old behaviour is
maintained.

The configuration variable and behaviour is analog to the already
present `ENTE_CONFIG_PATH` variable, which allows specifying a
configuration.

This provides a solution for people running without gnome-keyring
(https://github.com/ente-io/ente/issues/722 and
https://github.com/ente-io/ente/issues/1328)
2024-07-24 11:31:41 +05:30
dnred
faee7cc642
fix typo in CLI readme 2024-07-13 13:02:41 +02:00
Nicholas DiMucci
33dcf48127 Fix typo with ente account url in cli. 2024-07-12 21:05:38 -04:00
Manav Rathi
0ea408379a
[server] [cli] Fix docker "FROM AS" case warnings
With the latest Docker update (27.0.3), it now warns about the "FROM" and "AS"
in the Dockerfile not matching. E.g. when building the server docker image:

> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
2024-07-12 11:19:37 +05:30
Pablo Ovelleiro Corral
97b5577d68
CLI: Allow setting secrets path via env var
Adds a new enviroment variable `ENTE_CLI_SECRETS_PATH`, that allows
specifying the path to a `secrets.txt` like the one used in the
dockerized version. If no path is provided, the old behaviour is maintained.
2024-07-11 18:38:52 +02:00
Neeraj Gupta
169e70cc0f [cli] Bump version cli-v0.1.17 2024-06-23 10:38:00 +05:30
Neeraj Gupta
fccf7e3149 [cli] Update docs 2024-06-22 20:48:35 +05:30
Neeraj Gupta
4042a5876e [cli] improve log 2024-06-22 20:48:02 +05:30
Neeraj Gupta
e77ebef801 [cli] Add admin cmd to disable passkey 2024-06-22 17:54:06 +05:30
Neeraj Gupta
dd3d9c8d51 [cli] Bump version 0.1.16 2024-06-18 14:37:38 +05:30
Neeraj Gupta
58b9121e52 Add support to handle passkey verification 2024-06-18 14:36:15 +05:30
Neeraj Gupta
dcbdeca64e [cli] Print help when no command is specified 2024-06-18 14:25:21 +05:30
Neeraj Gupta
ecb0d47055 [cli] Helper method to open url in browser 2024-06-18 14:15:31 +05:30
Neeraj Gupta
896d7402b4 [cli] Bump version 2024-06-11 11:58:01 +05:30
Neeraj Gupta
55a16d053a [cli] Inc wait time for retry 2024-06-11 11:57:37 +05:30
Neeraj Gupta
9a1254b745 [cli] Log selected headers on download failure 2024-06-11 11:57:22 +05:30
Neeraj Gupta
d6c4d5f87f [cli] Fix: retry download on 500 2024-06-11 11:37:17 +05:30
Neeraj Gupta
f4d44e484d [cli] Update README 2024-06-06 08:51:12 +05:30
Neeraj Gupta
4674ab63e9 [cli] Fix Ente Auth export decryption 2024-05-31 21:29:17 +05:30
Neeraj Gupta
f097535756 [cli] Improve ente account add doc 2024-05-06 15:53:47 +05:30
Neeraj Gupta
d8e917ac40 [cli] Hint user to create a account before adding to cli 2024-05-06 15:51:15 +05:30
Manav Rathi
977d212be6
Add a notice about ente account add 2024-05-03 09:42:17 +05:30
Neeraj Gupta
a51a965fc8
[cli] Fix handling of delete file with stale colleciton entry (#1259)
## Description

## Tests
Tested locally
2024-03-30 14:14:03 +05:30
Neeraj Gupta
bc45db51a9
[cli] Improve logging for decryption error (#1242)
## Description
Related to #1237
## Tests
2024-03-29 11:08:45 +05:30
Neeraj Gupta
80498340b6 [cli] Mark docs/generated as generated for Github 2024-03-14 16:20:47 +05:30
Neeraj Gupta
9c04c8fbe6 [cli] Generate docs 2024-03-14 16:18:37 +05:30
Neeraj Gupta
bc47368a01 [cli] Add API to delete-user 2024-03-14 16:18:08 +05:30
Neeraj Gupta
6af62d8727 [cli] Add admin disable-2fa cmd 2024-03-14 16:13:11 +05:30
Neeraj Gupta
da3c6a78d4 [cli] Make it optional to pass adminUser when only one account is configured 2024-03-14 16:01:40 +05:30
Neeraj Gupta
324eeed1c5 [cli] Add admin list-user cmd 2024-03-14 15:53:26 +05:30
Manav Rathi
c18115ef52
Fix link 2024-03-14 10:48:25 +05:30
Manav Rathi
7fabb3a03c
[meta] Document the tag format, and call out the need to keep tag == title
Related: https://github.com/ente-io/ente/discussions/1087#discussioncomment-8775807
2024-03-14 09:50:08 +05:30
Neeraj Gupta
e42422407c [cli] Pick version from the github tag 2024-03-13 11:43:19 +05:30
Neeraj Gupta
2711a227fc [cli] Update gen docs + add docs/selfhost.md 2024-03-13 11:43:19 +05:30
Neeraj Gupta
0678e3129a [cli] generated docs 2024-03-13 02:03:44 +05:30