Daniel García
ebb36235a7
Cache icons in the clients
5 years ago
Daniel García
def174a517
Convert email domains to punycode
5 years ago
Daniel García
480ba933fa
Don't error if admin token is empty but disabled
5 years ago
Miro Prasil
c4101162d6
SIGNUPS_ALLOWED with no whitelist [ fixes #830 ]
...
This reverts back to `SIGNUPS_ALLOWED` when there is no domain whitelist
set. The functionality was broken in 64d6f72
.
5 years ago
Daniel García
632d55265b
Merge pull request #824 from tomuta/fix_change_email
...
Fix change email when no whitelist is configured
5 years ago
tomuta
e277f7d1c1
Fix change email when no whitelist is configured
...
Fixes issue #792
5 years ago
Daniel García
ff7b4a3d38
Update handlebars to 3.0 which included performance improvements.
...
Updated lettre to newer git revision, which should give better error messages now.
5 years ago
Daniel García
d212dfe735
Accept y/n, True/False, 1/0 as booleans in environment vars
5 years ago
Daniel García
84ed185579
Update u2f to 0.2, which requires OpenSSL but also might solve the problems we've had with certificates.
...
The rust image doesn't need installing curl or tar, so removed. Also collapsed ENV lines.
5 years ago
Michael Powers
e196ba6e86
Switch error handling to ? operator instead of explicit handling.
5 years ago
Michael Powers
76743aee48
Fixes #635 - Unique constraint violation when using U2F tokens on PostgreSQL
...
Because of differences in how .on_conflict() works compared to .replace_into() the PostgreSQL backend wasn't correctly ensuring the unique constraint on user_uuid and atype wasn't getting violated.
This change simply issues a DELETE on the unique constraint prior to the insert to ensure uniqueness. PostgreSQL does not support multiple constraints in ON CONFLICT clauses.
5 years ago
Daniel García
96a189deb9
Merge pull request #803 from aeolyus/master
...
Minor typo conect -> connect
5 years ago
Daniel García
8c229920ad
Protect websocket server against panics
5 years ago
Richard Huang
d592323e39
minor typo conect -> connect
5 years ago
Daniel García
36ae946655
Avoid some to_string in the request logging and include message to disable web vault when not found.
5 years ago
Daniel García
cb6f392774
When receiving a comma separated list as IP, pick the first
5 years ago
Daniel García
88c56de97b
Config option for client IP header
5 years ago
Daniel García
e274af6e3d
Print current server time when failing TOTP, and use chrono as the rest of the server
5 years ago
Daniel García
a0ece3754b
Formatting
5 years ago
Daniel García
2545469713
Fix crash when page URL points to huge file
5 years ago
Daniel García
5cabf4d040
Fix IP not shown when failed login ( Fixes #761 )
5 years ago
Daniel García
a03db6d224
Also hide options requests, unless using debug or trace
5 years ago
Daniel García
8d1b72b951
Collapsed log messages from 3 lines per request to 2 and hidden the ones valued as less informative.
...
Use LOG_LEVEL debug or trace to recover them.
Removed LOG_MOUNTS and bundled it with LOG_LEVEL debug and trace.
Removed duplicate error messages
Made websocket not proxied message more prominent, but only print it once.
5 years ago
Daniel García
912e1f93b7
Fix some lints
5 years ago
Daniel García
adc443ea80
Add endpoint to delete specific U2F key
5 years ago
Daniel García
0d32179d07
Logout button in admin page
5 years ago
Daniel García
12928b832c
Fix broken tests
5 years ago
Daniel García
1e224220a8
Updated deps and fixed some lints
5 years ago
Daniel García
924ba153aa
Merge pull request #730 from tomuta/email_verification
...
Implement change-email, email-verification, account-recovery, and welcome notifications
5 years ago
tomuta
bd1e8be328
Implement change-email, email-verification, account-recovery, and welcome notifications
5 years ago
Daniel García
4b71197c97
Merge pull request #738 from ntimo/task/add-netcup-global-domains
...
Added netcup domains to global domains
5 years ago
BlackDex
b209c1bc4d
Add an option to fetch and parse href="data:image"
...
Some sites are using base64 encoded inline images for favicons.
This will try to match those with some sane checks and return that.
These icons will have lower prio then the icons with a normal URL.
5 years ago
ntimo
2b8d08a3f4
Added netcup domains to global domains
5 years ago
Daniel García
cbadf00941
Update web vault to fix twofactorauth.org integration
...
Update dependencies and toolchain
Update included equivalent domains with upstream changes
5 years ago
tomuta
64d6f72e6c
Add the ability to disable signups, but allow signups from a whitelist
...
This feature can be enabled by setting SIGNUPS_ALLOWED=false and
providing a comma-separated list of whitelisted domains in
SIGNUPS_DOMAINS_WHITELIST.
Fixes #727
5 years ago
Timo N
b889e5185e
Added tv.apple.com to global domains
5 years ago
BlackDex
3f6809bcdf
Fixed issue/request #705
...
Added a config option to disable time drifted totp codes.
Default is false, since this is what the RFC recommends.
5 years ago
BlackDex
c52adef919
Added configurable smtp timeout.
...
- Added config option for smtp timeout
- Lowered default timeout to 15 seconds instead of default 60.
5 years ago
BlackDex
2ffc3eac4d
Clippy fix
5 years ago
BlackDex
0ff7fd939e
Next attempt for issue #709 fix
...
Now creates icon cache directory at startup.
And it also creates the directory if it went missing during runtime.
Also modified the icon_save/mark_negcache to be one.
5 years ago
BlackDex
ca7c5129b2
Fixed issue #709 creating icon_cache directory.
...
When the icon_cache directory doesn't exists yet, and the first icon
catched is a miss this .miss file was not able to be created since the
directory was only created during a valid icon download.
5 years ago
Daniel García
b4dfc24040
Merge pull request #703 from patrickli/bugfix/dont-sync-excluded-global-domains
...
Don't include excluded global equivalent domains during sync
5 years ago
Patrick Li
85dbf4e16c
Don't include excluded global equivalent domains during sync
...
Fixes #681
5 years ago
BlackDex
3442eb1b9d
Trying to fix issue #687
...
- Using an older commit from rocket repo
5 years ago
Daniel García
e449912f05
Generate recovery codes for email and duo
5 years ago
Daniel García
d29b6bee28
Remove unnecessary clones and other clippy fixes
5 years ago
Miro Prasil
00a11b1b78
Stop leaking usernames when SIGNUPS_ALLOWED=false
...
This fixes #691 - respond in less specific way to not leak the
fact that user is already registered on the server.
5 years ago
BlackDex
ee550be80c
Added http favicon url when response failed
5 years ago
Daniel García
fccc0a4b05
Update rocket to latest master
...
Downgrade rust version to fix cargo issue
Set rustup profile to minimal
5 years ago
Jellyfrog
ebc47dc161
Remove unneeded WS logging
5 years ago