Jarno Rankinen
14056ff639
Combine auth/setup flow, update readme
2024-06-14 17:19:57 +03:00
Jarno Rankinen
f66ce030cf
Small tweaks to configuration flow, Dockerfile for running as a container
2024-06-14 17:19:57 +03:00
Jarno Rankinen
26dc3fa6fc
Remove binary from repo...
2024-06-14 17:19:57 +03:00
Jarno Rankinen
d4451a8a15
Rename package, don't serve IMAP
2024-06-14 17:19:50 +03:00
Jarno Rankinen
308eec6c69
First working version of ntfy push
2024-06-14 17:18:18 +03:00
Simon Ser
d1ca680b9b
cmd/hydroxide: allow overriding app version via CLI arg
2023-06-12 11:44:46 +02:00
AvalancheBreakdown
7f8df60fe7
Set app version to Other
2023-06-12 11:40:57 +02:00
Daniel Bertalan
d18edadd05
Fix 2FA login with both TOTP and U2F enabled
...
The `2FA.Enabled` field in `/auth`'s JSON output seems to be a bitmap of
some sort, as the API returns `3` when both TOTP and U2F login is on.
This commit changes some `Enabled == 1` checks to `Enabled != 0` to
handle this case properly.
Fixes #250
2023-04-14 18:48:33 +02:00
Simon Ser
1e85c15ffc
Bump app version
...
Closes: https://github.com/emersion/hydroxide/issues/248
2023-04-04 17:10:24 +02:00
Simon Ser
4cb15fbdf3
Bump app version
2023-02-28 13:31:12 +01:00
Raymond Hackley
49650c263c
cmd/hydroxide: Bump web-mail version to "5.0.14.11"
...
Helps with #235
2023-01-06 10:58:54 +01:00
deetuned
1e0de0167b
build: Bump web-mail version to "5.0.9.8"
...
Fixes emersion/hydroxide#230
2022-10-18 09:04:45 +02:00
Simon Ser
482bf8952e
Drop go-isatty dependency
2022-08-21 16:48:47 +02:00
Cairn
777f4edf76
Remove deprecated IMAP extension dependencies
2022-08-21 16:46:33 +02:00
shrimp
b11846dbb3
Update API endpoint and version, set User-Agent
...
Helps with:
https://github.com/emersion/hydroxide/issues/179
2022-06-23 20:02:07 +02:00
Simon Ser
654253a423
Update AppVersion
2022-05-11 09:50:05 +02:00
Simon Ser
b0f44a9147
Switch back API endpoint to mail.protonmail.com
...
Closes: https://github.com/emersion/hydroxide/issues/215
2022-05-10 09:13:42 +02:00
Simon Ser
8b5232a62d
Allow to override API endpoint with a CLI option
...
Closes: https://github.com/emersion/hydroxide/issues/163
2022-05-10 09:11:46 +02:00
Simon Ser
9eedfb6954
cmd/hydroxide: fix redundant newline when printing usage
...
cmd/hydroxide/main.go:558:3: fmt.Println arg list ends with redundant newline
2022-05-06 19:26:33 +02:00
Simon Ser
eed76df6b5
Allow import-messages to read from stdin
2021-11-10 14:36:47 +01:00
Simon Ser
9876df6309
Add HYDROXIDE_BRIDGE_PASS env variable
...
Useful for automation.
2021-11-10 14:35:02 +01:00
Simon Ser
7e74bdc0a8
Add sendmail subcommand
2021-11-10 14:29:54 +01:00
Simon Ser
7ae6a0ea07
Add prompt arg to askPass
2021-11-10 14:01:49 +01:00
Simon Ser
23d2b7f2d6
Migrate to golang.org/x/crypto/ssh/terminal
...
github.com/howeyc/gopass is unmaintained.
2021-11-10 13:57:15 +01:00
Harley Lang
c6c1d6ca19
Switch ProtonMail API endpoints to legacy
...
Update protonmail api and app version to fix `[9001] Login temporarily not permitted` errors.
Closes: https://github.com/emersion/hydroxide/issues/181
2021-07-22 08:26:40 +02:00
blank X
c5c673afc0
cmd/hydroxide: add -disable-{imap,smtp,carddav} flags
2021-05-17 17:11:16 +02:00
proletarius101
0df2e43d8d
imports: change the crypto lib to new import path
2021-04-08 11:13:32 +02:00
primalmotion
eaed359829
Add support for TLS listeners
...
Support for -tls-cert and -tls-key to point to a certificate and
key to encrypt communications between the user and hydroxide.
Support for -tls-client-ca to ask client to present a certificate
signed by the provided CA.
Closes: https://github.com/emersion/hydroxide/issues/13
2021-02-24 09:48:29 +01:00
Simon Ser
b812444ff8
cmd/hydroxide: override flag.Usage with our usage string
2021-02-23 18:39:59 +01:00
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