Daniel García
8743d18aca
Update travis image and remove now-ignored sudo tag
6 years ago
Daniel García
d3773a433a
Removed list of mounted routes at startup by default, with option to add it back. This would get annoying when starting the server frequently, because it printed ~130 lines of mostly useless info
6 years ago
Daniel García
0f0a87becf
Add version to initial message
6 years ago
Daniel García
4b57bb8eeb
Merge pull request #394 from BlackDex/icon-timeout
...
Added config option for icon download timeout
6 years ago
BlackDex
3b27dbb0aa
Added config option for icon download timeout
6 years ago
Daniel García
ff2fbd322e
Update deps and fix email check
6 years ago
Daniel García
9636f33fdb
Implement constant time equal check for admin, 2fa recover and 2fa remember tokens
6 years ago
Daniel García
bbe2a1b264
Merge pull request #391 from TheMardy/master
...
Updated Email Templates
6 years ago
Daniel García
79fdfd6524
Add missing url parameter
6 years ago
Daniel García
d086a99e5b
Implemented HTML emails with text alternative
6 years ago
TheMardy
22b0b95209
Added HTML templates (+14 squashed commit)
...
Squashed commit:
[ece2260] Plaintext send_org_invite
[01d4884] Plaintext pw_hint_some
[6ce5173] Plaintext pw_hint_none
[881af3e] Plaintext invite_confirmed
[ce78621] Plaintext invite_accepted
[13a44a4] Rename send_org_invite.hbs to send_org_invite.html.hbs
[b52bf2f] Rename pw_hint_some.hbs to pw_hint_some.html.hbs
[e0d1aeb] Rename pw_hint_none.hbs to pw_hint_none.html.hbs
[898dbcd] Rename invite_confirmed.hbs to invite_confirmed.html.hbs
[107af31] Rename invite_accepted.hbs to invite_accepted.html.hbs
[d26d662] Updated send_org_invite template
[71f47af] Updated pw_hint_some template
[c2ca3c2] Updated pw_hint_none template
[50f8bfb] Updated invite_accepted template
[17f96f8] Updated invite_confirmed template
6 years ago
Daniel García
28d1588e73
Show version in admin panel
6 years ago
Daniel García
f3b1a5ff3e
Error when admin panel is disabled
6 years ago
Daniel García
330e90a6ac
Hide secrets in config panel
6 years ago
Daniel García
8fac72db53
Mention relation between DOMAIN and mail settings in .env template
6 years ago
Daniel García
820c8b0dce
Change use of deserialize_with for Option iterator
6 years ago
Daniel García
8b4a6f2a64
Fixed some clippy lints and changed update_uuid_revision to only use one db query
6 years ago
Daniel García
ef63342e20
Add reset user config button
6 years ago
Daniel García
89840790e7
Fix .env path traversal issue
6 years ago
Daniel García
a72809b225
Yubico and SMTP enable/disable master switches
6 years ago
Daniel García
9976e4736e
Add groups
6 years ago
Daniel García
dc92f07232
Added env variable to select config file. Initial work towards groups and added tooltips with descriptions and nicer names
6 years ago
Daniel García
3db815b969
Implemented config form and fixed config priority
6 years ago
Daniel García
ade293cf52
Save config
6 years ago
Daniel García
877408b808
Implement basic config loading and updating. No save to file yet.
6 years ago
Daniel García
86ed75bf7c
Config can now be serialized / deserialized
6 years ago
Daniel García
20d8d800f3
Updated dependencies
6 years ago
Daniel García
7ce06b3808
Merge pull request #387 from mprasil/collections_edit_revision
...
Update revision when adding or removing cipher from collection
6 years ago
Miroslav Prasil
08ca47cadb
Update revision when adding or removing cipher from collection
6 years ago
Daniel García
0bd3a26051
Merge pull request #386 from mprasil/revision_collection_delete
...
Update revision of affected users when deleting Collection
6 years ago
Miroslav Prasil
5272b465cc
Update revision of affected users when deleting Collection
6 years ago
Daniel García
b75f38033b
Merge pull request #385 from mprasil/update_revision_retry
...
Retry updating revision - fixes #383
6 years ago
Miroslav Prasil
637f655b6f
Do not allocate uneccessary Vec
6 years ago
Miroslav Prasil
b3f7394c06
Do not update revision at the end, as we already did that
6 years ago
Miroslav Prasil
1a5ecd4d4a
cipher does not need to be mutable
6 years ago
Miroslav Prasil
bd65c4e312
Remove superfluous cipher.save() call
6 years ago
Miroslav Prasil
bce656c787
Retry updating revision - fixes #383
6 years ago
Daniel García
06522c9ac0
Merge pull request #382 from BlackDex/iter-iconlist
...
Loop through the iconlist until an icon is found
6 years ago
BlackDex
9026cc8d42
Fixed issue when the iconlist is smaller then 5
...
When the iconlist was smaller then 5 items, it would cause a panic.
Solved by using .truncate() on the iconlist.
6 years ago
BlackDex
574b040142
Loop through the iconlist until an icon is found
...
Loop for a maximum of 5 times through the iconlist or until a
successful download of an icon.
6 years ago
Daniel García
48113b7bd9
Merge pull request #381 from BlackDex/issue-380
...
Fixed issue #380
6 years ago
BlackDex
c13f115473
Fixed issue #380
...
- Created a separate function for parsing the sizes attribute
- Parsing sizes now with regex
- Should work with any non-digit separator
6 years ago
Daniel García
1e20f9f1d8
Merge pull request #377 from BlackDex/icon-cookies
...
Added cookies to the icon download request.
6 years ago
BlackDex
bc461d9baa
Some small changes on the iter of the cookies
6 years ago
BlackDex
5016e30cf2
Added cookies to the icon download request.
...
Some sites use XSRF Tokens, or other Tokens to verify a subseqense
response. The cookies which are sent during the page request are now
used when downloading the favicon.
A site which uses this is mijn.ing.nl.
6 years ago
Daniel García
f42ac5f2c0
Update web vault error message
6 years ago
Daniel García
2a60414031
Reuse the client between requests, and use the client when downloading the icons themselves
6 years ago
Daniel García
9a2a304860
Merge pull request #372 from BlackDex/better-href-fix
...
Changed the way to fix the href
6 years ago
BlackDex
feb74a5e86
Changed the way to fix the href
...
- Using url from reqwest to fix href, this fixes:
+ "//domain.com/icon.png"
+ "relative/path/to/icon.png"
+ "/absolute/path/to/icon.png"
- Removed fix_href function
- Some variable changes
6 years ago
Daniel García
c0e350b734
Disable icon downloads, accept optional query after icon href, format and clippy fixes
6 years ago