Commit Graph

80 Commits (40ed505581fdb00fb047637aa3172d52442d5f73)

Author SHA1 Message Date
BlackDex 42136a7097
Favicon, SMTP and misc updates
3 years ago
BlackDex 775d07e9a0
Async/Awaited all db methods
3 years ago
Daniel García 2d5f172e77
Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking
3 years ago
Jeremy Lin a16c656770 Add support for legacy HTTP 301/302 redirects for external icons
3 years ago
Jeremy Lin b7eedbcddc Add config option to set the HTTP redirect code for external icons
3 years ago
Jake Howard 4584cfe3c1
Additionally set expires header when caching responses
3 years ago
BlackDex 2c94ea075c
Small changes to icon log messages.
3 years ago
Jeremy Lin 2f9ac61a4e Add support for external icon services
3 years ago
BlackDex 9375d5b8c2 Updated icon downloading
3 years ago
Daniel García 9254cf9d9c
Fix clippy lints
4 years ago
BlackDex f270f2ed65 Updated icon fetching and crates.
4 years ago
BlackDex 7cb19ef767 Updated branding, email and crates
4 years ago
Daniel García b8010be26b
Extract some FromDb trait impls outside the macros so they aren't repeated, and fix some clippy lints
4 years ago
Daniel García 305de2e2cd
Format the changes from merge to master
4 years ago
Daniel García 95d906bdbb
Merge branch 'master' into fmt
4 years ago
Jake Howard 994669fb69
Merge remote-tracking branch 'origin/master' into fmt
4 years ago
Jake Howard 3ab90259f2
Modify rustfmt file
4 years ago
Jake Howard 155109dea1
Extract client creation to a single place
4 years ago
BlackDex 1d0eaac260 Updated icon fetching.
4 years ago
Jake Howard 0af3956abd
Run `cargo fmt` on codebase
4 years ago
BlackDex 3a3390963c Icon and SMTP Debug fixes.
4 years ago
Daniel García fd27759a95
Merge pull request #1546 from RealOrangeOne/clippy-run
4 years ago
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
Daniel García e6b763026e
Merge branch 'master' into icon-security
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
5 years ago