59 Commits (fd27759a95bc7f714abacb3a02b8c6f88b1d3cd4)

Author SHA1 Message Date
Jake Howard 6209e778e5
Icons should always be cached using full TTL 4 years ago
Jake Howard a8138be69b
Use `if let` more 4 years ago
Jake Howard b22564cb00
Cache icons on the client 4 years ago
Daniel García c836f88ff2
Remove soup and use a newer html5ever directly 4 years ago
BlackDex 1a8ec04733 Small update on favicon downloading 4 years ago
BlackDex 48baf723a4 Updated icon downloading 4 years ago
James Hurst 771233176f Fix for negcached icons 4 years ago
James Hurst ed70b07d81 Return 404 instead of fallback icon 4 years ago
Daniel García 1e950c7dbc
Replace IP support in preparation for compiling on stable, included some tests to check that the code matches the unstable implementation 5 years ago
Daniel García f14e19a3d8
Don't compile the regexes each time 5 years ago
Daniel García 668d5c23dc
Removed try_trait and some formatting, particularly around imports 5 years ago
Daniel García 9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints 5 years ago
BlackDex 1b4b40c95d Updated reqwest to the latest version. 5 years ago
Daniel García 70f3ab8ec3
Migrate lazy_static to once_cell, less macro magic and slightly faster 5 years ago
Daniel García ebb36235a7
Cache icons in the clients 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
BlackDex b209c1bc4d Add an option to fetch and parse href="data:image" 5 years ago
BlackDex 2ffc3eac4d Clippy fix 5 years ago
BlackDex 0ff7fd939e Next attempt for issue #709 fix 5 years ago
BlackDex ca7c5129b2 Fixed issue #709 creating icon_cache directory. 5 years ago
Daniel García d29b6bee28
Remove unnecessary clones and other clippy fixes 5 years ago
BlackDex ee550be80c Added http favicon url when response failed 5 years ago
Daniel García d292269ea0
Make the blacklist logic be cached 5 years ago
BlackDex be2916333b Fixed issue #565 5 years ago
BlackDex 9124d8a3fb Updated icon blacklisting. 5 years ago
BlackDex e7b6238f43 Added reqwest proxy support 6 years ago
Daniel García c9c3f07171
Updated dependencies and fixed panic getting icons 6 years ago
Daniel García 4b40cda910
Added domain blacklist regex for icons service and improved valid domain check. 6 years ago
Daniel García 04922f6aa0
Some formatting and dependency updates 6 years ago
BlackDex 3b27dbb0aa Added config option for icon download timeout 6 years ago
Daniel García 877408b808
Implement basic config loading and updating. No save to file yet. 6 years ago
BlackDex 9026cc8d42 Fixed issue when the iconlist is smaller then 5 6 years ago
BlackDex 574b040142 Loop through the iconlist until an icon is found 6 years ago
BlackDex c13f115473 Fixed issue #380 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. 6 years ago
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 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. 6 years ago
Daniel García a797459560
Implement HIBP check [WIP]. 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 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 7 years ago