Daniel García
2a60414031
Reuse the client between requests, and use the client when downloading the icons themselves
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
BlackDex
4de16b2d17
Removed unwrap and added ?
6 years ago
BlackDex
da068a43c1
Moved function call to get_icon_url to prevent error bubbeling
6 years ago
BlackDex
9657463717
Added better favicon downloader.
6 years ago
Daniel García
a1dc47b826
Change config to thread-safe system, needed for a future config panel.
Improved some two factor methods.
6 years ago
Daniel García
a797459560
Implement HIBP check [WIP].
Add extra security attributes to admin cookie.
Error handling.
6 years ago
Daniel García
172f1770cf
Embed the icon in the binary, no need to download when it's not going to change
6 years ago
Steven Noonan
a55c048a62
icons: implement positive/negative cache TTLs
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
6 years ago
Daniel García
94810c106a
Migrate to rust 2018 edition
6 years ago
Daniel García
2fde4e6933
Implemented proper logging, with support for file logging, timestamp and syslog (this last one is untested)
6 years ago
Daniel García
8651df8c2a
Fixed some lint issues
6 years ago
Daniel García
ea600ab2b8
Don't ignore errors while downloading icons
7 years ago
Daniel García
538dc00234
Improved configuration and documented options. Implemented option to disable web vault and to disable the use of bitwarden's official icon servers
7 years ago
Daniel García
483066b9a0
Some style changes, removed useless matches and formats
7 years ago
Daniel García
0e644d2711
Fixed icons and updated web-vault
7 years ago
Daniel García
84a75c871b
Improved error messagees, implemented delete ciphers, attachments and account, implemented two factor recovery.
Known missing:
- import ciphers, create ciphers types other than login and card, update ciphers
- clear and put device_tokens
- Equivalent domains
- Organizations
7 years ago
Daniel García
31bf2bc2b1
Solved some warnings
7 years ago
Daniel García
5cd40c63ed
First working version
7 years ago