102 Commits (9cd400db6c5da858a4f49eb883469cbd6cb7337d)

Author SHA1 Message Date
Jake Howard 0af3956abd
Run `cargo fmt` on codebase 5 years ago
BlackDex 3a3390963c Icon and SMTP Debug fixes. 5 years ago
Jake Howard 6209e778e5
Icons should always be cached using full TTL 5 years ago
Jake Howard a8138be69b
Use `if let` more 5 years ago
Jake Howard b22564cb00
Cache icons on the client 5 years ago
Daniel García c836f88ff2
Remove soup and use a newer html5ever directly 5 years ago
BlackDex 1a8ec04733 Small update on favicon downloading 5 years ago
BlackDex 48baf723a4 Updated icon downloading 5 years ago
James Hurst 771233176f Fix for negcached icons 5 years ago
James Hurst ed70b07d81 Return 404 instead of fallback icon 5 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 6 years ago
Daniel García f14e19a3d8
Don't compile the regexes each time 6 years ago
Daniel García 668d5c23dc
Removed try_trait and some formatting, particularly around imports 6 years ago
Daniel García 9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints 6 years ago
BlackDex 1b4b40c95d Updated reqwest to the latest version. 6 years ago
Daniel García 70f3ab8ec3
Migrate lazy_static to once_cell, less macro magic and slightly faster 6 years ago
Daniel García ebb36235a7
Cache icons in the clients 6 years ago
Daniel García a0ece3754b
Formatting 6 years ago
Daniel García 2545469713
Fix crash when page URL points to huge file 6 years ago
BlackDex b209c1bc4d Add an option to fetch and parse href="data:image" 6 years ago
BlackDex 2ffc3eac4d Clippy fix 6 years ago
BlackDex 0ff7fd939e Next attempt for issue #709 fix 6 years ago
BlackDex ca7c5129b2 Fixed issue #709 creating icon_cache directory. 6 years ago
Daniel García d29b6bee28
Remove unnecessary clones and other clippy fixes 6 years ago
BlackDex ee550be80c Added http favicon url when response failed 6 years ago
Daniel García d292269ea0
Make the blacklist logic be cached 6 years ago
BlackDex be2916333b Fixed issue #565 6 years ago
BlackDex 9124d8a3fb Updated icon blacklisting. 6 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. 7 years ago
Daniel García 04922f6aa0
Some formatting and dependency updates 7 years ago
BlackDex 3b27dbb0aa Added config option for icon download timeout 7 years ago
Daniel García 877408b808
Implement basic config loading and updating. No save to file yet. 7 years ago
BlackDex 9026cc8d42 Fixed issue when the iconlist is smaller then 5 7 years ago
BlackDex 574b040142 Loop through the iconlist until an icon is found 7 years ago
BlackDex c13f115473 Fixed issue #380 7 years ago
BlackDex bc461d9baa Some small changes on the iter of the cookies 7 years ago
BlackDex 5016e30cf2 Added cookies to the icon download request. 7 years ago
Daniel García 2a60414031
Reuse the client between requests, and use the client when downloading the icons themselves 7 years ago
BlackDex feb74a5e86 Changed the way to fix the href 7 years ago
Daniel García c0e350b734
Disable icon downloads, accept optional query after icon href, format and clippy fixes 7 years ago
BlackDex 4de16b2d17 Removed unwrap and added ? 7 years ago
BlackDex da068a43c1 Moved function call to get_icon_url to prevent error bubbeling 7 years ago
BlackDex 9657463717 Added better favicon downloader. 7 years ago
Daniel García a1dc47b826
Change config to thread-safe system, needed for a future config panel. 7 years ago
Daniel García a797459560
Implement HIBP check [WIP]. 7 years ago
Daniel García 172f1770cf
Embed the icon in the binary, no need to download when it's not going to change 7 years ago
Steven Noonan a55c048a62
icons: implement positive/negative cache TTLs 7 years ago
Daniel García 94810c106a
Migrate to rust 2018 edition 7 years ago