tastytea
8a91017272
Explain supported image formats
9 months ago
tastytea
849762eba6
fix nginx example URL and dependency versions in readme
9 months ago
tastytea
58791fce82
Version bump 0.9.0
10 months ago
tastytea
ed9b0bfcfb
add note about default branch name change
10 months ago
tastytea
89edcb4de7
Fix install in CI
10 months ago
tastytea
a1f2309dc7
typo
10 months ago
tastytea
7328f93b6e
Add git to CI
10 months ago
tastytea
528f4480aa
Use FetchContent for identiconpp
10 months ago
tastytea
80ccc2c7a1
CI: fix identiconpp discovery?
10 months ago
tastytea
d927ef6ca0
remove libxdg-basedir from docs and CI
10 months ago
tastytea
dc5d843c08
drone: get submodules
10 months ago
tastytea
65004ce1f8
Update drone recipe and docs
10 months ago
tastytea
3039d16919
Bundle identiconpp
10 months ago
tastytea
2b9575c51a
actually pass file type to image::write()
10 months ago
tastytea
e4b246bc75
remove debug statement
10 months ago
tastytea
78a7184250
allow requesting file type, try to guess right quality
10 months ago
tastytea
6aa3b40faa
Read images from file, allow forcing magick
10 months ago
tastytea
17205298cd
implement fallbacks
10 months ago
tastytea
cb354e666d
move types to types.hpp, match hash to email
10 months ago
tastytea
cbd86c7000
Generate hashtable
10 months ago
tastytea
03ae11a842
Parse REQUEST_URI
10 months ago
tastytea
7316fe90e3
start of rewrite
...
- update CMake files
- add QA and formatting configs
10 months ago
tastytea
41abb50563
Version bump 0.7.5
...
Also bumped the maximum supported CMake version while I was in the file.
1 year ago
tastytea
3433f88dcc
Don't allow redirections to external websites.
...
See <https://cwe.mitre.org/data/definitions/601.html >.
1 year ago
tastytea
8341793768
Version bump 0.7.4.
2 years ago
tastytea
6549dcf8e6
Update readme.
2 years ago
tastytea
e8c1dcdf2b
Add CGI caching to nginx example.
2 years ago
tastytea
e70e07c579
Remove copyright from readme.
2 years ago
tastytea
d523342f6a
Re-enable CI.
2 years ago
tastytea
891d5d3ca3
Update formatting, add namespace and fix a few warnings.
2 years ago
tastytea
846e85aecf
CI: Disable Debian buster test.
...
The stretch package of identiconpp can not be installed on buster.
2 years ago
tastytea
05c6276d43
Fix crypto++ lookup.
2 years ago
tastytea
5b71abecf2
Configure fs-compat.hpp.
2 years ago
tastytea
83dbd5b6f4
CI: Disable GCC 6 test.
...
I don't know how to fix this error:
+ apt-get install -qq -t stretch-backports cmake
E: Unable to correct problems, you have held broken packages.
2 years ago
tastytea
a0db3380b1
Detect which file-system-header to include more reliably.
2 years ago
tastytea
b8bfbbeccd
CI: use CMake from stretch-backports.
...
stretch has 3.7, we need 3.10.
2 years ago
tastytea
ee4451af6b
Update Drone CI recipe.
...
New format, reduce tests, no auto-generated packages.
2 years ago
tastytea
e7423c92ca
Update / modernize CMake files.
...
* CMake 3.10 required from now on.
* Use CMakeConfig and IMPORTED_TARGET for pkg-config.
* More debug flags.
2 years ago
tastytea
53466aadef
Merge pull request 'Do not reopen stdout while image resizing' ( #7 ) from mymedia2/libravatarserv:patch-1 into master
...
Reviewed-on: #7
2 years ago
Nicholas Guriev
a7c89b0e3f
Do not reopen stdout while image resizing
...
On Linux, some web-servers (Apache in particular) close file with fd = 1 and
offer something else as stdout. Notable difference can be seen with a pipe and
an immediate redirection. Consider:
$ REQUEST_URI=/avatar/68b329da9893e34099c7d8ad5cb9c940 libravatarserv | cat > /tmp/response1.out
$ REQUEST_URI=/avatar/68b329da9893e34099c7d8ad5cb9c940 libravatarserv > /tmp/response2.out
$ diff -s /tmp/response{1,2}.out
Binary files /tmp/response1.out and /tmp/response2.out differ
Solution.
The output should be identical in both cases. So do not let ImageMagick to open
/dev/stdout by itself, instead write the resulted image to an in-memory buffer
and then to a file associated with the "cout" global object.
2 years ago
tastytea
de7e61a2fe
Update copyright years.
4 years ago
tastytea
139e5b24be
Bumped version to 0.7.3.
4 years ago
tastytea
1a4ebaf024
Fixed the bug introduced by latest bugfix. m(
...
We included ?/& in the search, but forgot to set the pos +1 char to
the right.
4 years ago
tastytea
79ed6d6432
Updated list of supported/unsupported fallbacks.
4 years ago
tastytea
3f32e4ff51
Bugfix: "forcedefault" would be treated as "default".
4 years ago
tastytea
00a29894e9
Fixed background color for identicons.
...
It was 2 characters too short. That resulted in an error.
4 years ago
tastytea
97099f0a8a
retro and identicon is now 5x5.
...
ivatar changed the size of retro to 5x5, mirroring that.
4 years ago
tastytea
fba5c64486
Adjust identicons to match ivatar (10x10, padding, colors, retro = identicon).
4 years ago
tastytea
abe643bb6c
Updated Readme.
4 years ago
tastytea
1475bdd3fc
Added extra warnings in debug builds.
4 years ago