Simon Ser
7b6061868f
cmd/hydroxide: fix skipped bytes on eml import
2020-12-17 13:55:47 +01:00
Simon Ser
b4e52ac715
Add support for mbox files for import-messages
2020-12-10 22:26:54 +01:00
Simon Ser
fce7129990
Add -message-id flag to export-messages command
2020-09-15 10:37:01 +02:00
Simon Ser
bd861cdb00
Add export-messages command
...
Right now only supports exporting conversations, and doesn't support
attachments.
2020-09-14 12:46:47 +02:00
Simon Ser
524e2fc323
s/flags/options/
2020-09-14 11:30:12 +02:00
Hubcapp
246e71fbfe
update usage help to correct flag-command order
...
Hi, I had a problem where the suggested usage is not actually how hydroxide was able to parse flags.
Currently, `hydroxide help` claims the correct order is
`usage: hydroxide <command> <flags>`
However, my flags are silently ignored when placing them in that order.
```
# hydroxide serve -smtp-port 2024
2020/07/01 01:43:20 CardDAV server listening on 127.0.0.1:8080
2020/07/01 01:43:20 SMTP server listening on 127.0.0.1:1025
2020/07/01 01:43:20 IMAP server listening on 127.0.0.1:1143
```
So I goofed with it a while and found out that hydroxide will not ignore flags if they go *before* the command.
```
hydroxide -smtp-port 2024 serve
2020/07/01 01:44:12 CardDAV server listening on 127.0.0.1:8080
2020/07/01 01:44:12 SMTP server listening on 127.0.0.1:2024
2020/07/01 01:44:12 IMAP server listening on 127.0.0.1:1143
```
The usage information should be changed to reflect this.
2020-07-01 11:34:11 +02:00
Simon Ser
d97056a61a
protonmail: add Client.Debug
...
This prints HTTP requests and responses.
2020-03-07 18:12:53 +01:00
Simon Ser
87dbf04035
cmd/hydroxide: fix sub-command arg processing
2020-03-07 17:54:40 +01:00
Simon Ser
857d122113
cmd/hydroxide: move usage string to global constant
2020-02-29 12:36:48 +01:00
Simon Ser
c1888bcc66
cmd/hydroxide: rename hydroxide.go to main.go
2020-02-29 12:35:09 +01:00
Simon Ser
d65465dae5
cmd/hydroxide: add -debug flag
2020-02-29 12:34:20 +01:00
Simon Ser
897ec17f53
go fmt
2019-12-09 12:27:16 +01:00
Simon Ser
80e0fa6f3e
Fix 2FA support
...
The 2FA information is now returned after the /auth request instead of
the /auth/info one.
Closes: https://github.com/emersion/hydroxide/issues/76
2019-12-08 12:14:41 +01:00
Trevor Richards
9e57e014dd
Update webapp version to 3.16.6
2019-10-27 08:46:00 +01:00
Simon Ser
cc03e059b9
Save key salts after auth
...
The key salts endpoint can only be accessed right after authentication, it's
blocked after auth refresh.
Closes: https://github.com/emersion/hydroxide/issues/68
2019-08-31 17:43:49 +03:00
Simon Ser
2de4f13dc4
cmd/hydroxide: switch to stable API endpoint
2019-08-31 17:36:15 +03:00
Simon Ser
75984c4ff4
protonmail: fix /auth/refresh, remove Client{ID,Secret}
...
ClientID and ClientSecret are no longer used.
Closes: https://github.com/emersion/hydroxide/issues/68
2019-08-31 16:19:54 +03:00
Simon Ser
fbf85fecaa
Add preliminary support for imports
2019-07-30 20:51:46 +03:00
Simon Ser
6fe47ba219
cmd/hydroxide: beautify help message
2019-07-30 19:25:01 +03:00
xcffl
a46986a871
Make hostname and ports configurable
...
Signed-off-by: xcffl <xcffl@outlook.com>
2019-07-29 08:49:20 +03:00
Anirudh
f8ed15f423
cmd/hydroxide: remove newline before usage
...
Signed-off-by: Anirudh <icyph0x@pm.me>
2019-07-28 12:43:46 +03:00
Anirudh
061cd42d4e
cmd/hydroxide: better usage info
...
Signed-off-by: Anirudh <icyph0x@pm.me>
2019-07-28 12:43:46 +03:00
Anirudh
f2bf11d8f9
Update AppVersion to match web client's version
...
Closes #62 .
Signed-off-by: Anirudh <icyph0x@pm.me>
2019-07-24 21:47:07 +03:00
Simon Ser
8fa4089d5b
cmd/hydroxide: add serve subcommand
...
Closes: https://github.com/emersion/hydroxide/issues/21
2019-06-22 13:10:35 +03:00
Simon Ser
4ff61deefd
cmd/hydroxide: extract listenAndServe into functions
2019-06-22 13:06:30 +03:00
Simon Ser
6d69d5ef72
cmd/hydroxide: remove unused receiveEvents
2019-06-22 12:50:09 +03:00
Simon Ser
2a1811205f
cmd/hdyroxide: less confusing messages when starting servers
...
In theory it's a lie to say servers are listening, but it's less confusing.
2019-06-09 19:28:15 +03:00
DirectorX
5827116ec1
cmd/hydroxide: bump AppVersion
2019-05-12 21:52:59 +03:00
Simon Ser
69324d19cd
cmd: improve usage string
2019-04-23 00:06:49 +03:00
Simon Ser
605e2a5f9c
cmd: add export-secret-keys
2019-04-23 00:03:20 +03:00
emersion
0d2085911c
cmd/hydroxide: bump AppVersion
2019-03-30 00:19:51 +02:00
emersion
e6f814952d
Store everything in XDG_CONFIG_HOME, add `status` command
2019-03-22 22:35:10 +02:00
emersion
3ac9a25ddb
Upgrade app version
2019-02-11 11:35:54 +01:00
emersion
6bd8ce1b6e
go fmt
2018-10-21 12:15:20 +02:00
Adam Pioterek
c339377300
new app version
2018-10-16 20:52:02 +02:00
emersion
4de8f28cd6
Export RawAPIError so that encoding/json can set it, update AppVersion
2018-04-18 20:04:59 +01:00
emersion
a8b5fb864e
imap: enable MOVE extension
2018-01-12 20:01:08 +01:00
emersion
f9cb9383e4
imap: listen for events
2018-01-12 13:20:17 +01:00
emersion
12cccff787
Merge branch 'events' into imap
2018-01-12 12:05:23 +01:00
emersion
ef9ed26d8f
events: add event manager
2018-01-11 18:17:11 +01:00
emersion
fad35e2b3f
imap: add commented server debug
2017-12-12 13:50:37 +01:00
emersion
789234bf17
Merge branch 'master' into imap
2017-12-12 13:47:00 +01:00
emersion
9569e66ccb
smtp: fix sending message to plaintext and encrypted recipients
2017-12-12 13:46:22 +01:00
emersion
7020ee3623
imap: implement basic User.ListMailboxes and User.GetMailbox
2017-12-03 16:05:24 +01:00
emersion
00542af08d
Spin up imap server skeleton
2017-12-03 14:58:24 +01:00
emersion
d738fab6d7
cmd/hydroxide: hide password when typing
...
Fixes #7
2017-12-03 12:51:12 +01:00
emersion
72b56494bc
smtp: upload attachments
2017-12-03 11:55:59 +01:00
emersion
a219374bdf
Sending plaintext messages works
2017-12-02 16:23:06 +01:00
emersion
26817a27c7
auth: move auth stuff in this new package
2017-09-19 14:57:29 +02:00
emersion
43097588a9
carddav: properly sign, encrypt, decrypt cards
2017-09-13 18:53:40 +02:00