Commit Graph

42 Commits

Author SHA1 Message Date
645554e226
Added identicon support (closes #2) 2018-11-27 10:05:35 +01:00
3db99fbd03
Added documentation for cmake options 2018-11-27 06:24:43 +01:00
3c185e7ae5
Added automatic package generation 2018-11-27 06:00:50 +01:00
8cc6e73cb1
Bugfix: Return 404 if fallback is empty or unknown 2018-11-27 05:15:46 +01:00
50d902bcc9
Removed debug statement 2018-11-27 05:00:19 +01:00
9e6edf7179
Bugfix: Heed d=404 2018-11-27 04:54:20 +01:00
f793a86af2
Bugfix: Remove file extensions from digest with no parameters in URL 2018-11-27 04:50:03 +01:00
43232d802b
Added support for mystery person (aka mystery man) 2018-11-27 04:40:17 +01:00
ed83a9c4a8
Remove file extensions from digests.
Gravatar supports file extensions, so we might come across them.
2018-11-27 04:22:21 +01:00
13a71f0315
Changed environment variable AVATAR_DIR to LIBRAVATARSERV_DIR to avoid collisions.
AVATAR_DIR is still supported until 1.0.0 for backwards-compatibility.
2018-11-27 03:07:12 +01:00
653499be95
Updated dependency list 2018-11-26 06:54:16 +01:00
e38b3191a8
Added CI 2018-11-26 06:27:31 +01:00
8f68fc5f9e
Clarified the readme 2018-11-26 05:35:00 +01:00
df50807eeb
Catch non-numeric size and ignore it 2018-11-26 05:29:39 +01:00
69579902e2
Made Request.size const 2018-11-26 05:22:49 +01:00
b18e630174
Updated readme 2018-11-26 05:20:46 +01:00
f611990708
Moved HTTP header Cache-Control and Connection to the top.
This way they are alwas sent, not just on success.
2018-11-26 05:11:27 +01:00
4da9a2144e
Changed invalid URL detection to support default image URLs 2018-11-26 05:06:27 +01:00
831b3c4ac0
Always send server info 2018-11-26 05:05:53 +01:00
d9fab6928b
Implemented default URL for missing images (#2) 2018-11-26 05:00:07 +01:00
a7d196ec38
Enhanced documentation 2018-11-26 04:37:28 +01:00
9ff1cc0acf
Added algorithm include, fixed off-by-one error in http::get_parameter() 2018-11-26 04:27:11 +01:00
75841d87a4
Restricted image size.
Fixes #1
2018-11-26 04:20:27 +01:00
b8ca3f6d13
Made a function for parameter parsing 2018-11-26 04:19:58 +01:00
c0c31f5093
Put the request parsing into a dedicated file. 2018-11-26 04:08:03 +01:00
76f45a0dd8
Added unencrypted server block to nginx example. 2018-11-26 02:58:41 +01:00
ee2a118c1f
Added some headers.
Cache-Control: max-age=86400
Connection: close
Server: libravatarserv/version
2018-11-26 02:36:20 +01:00
a2254a9ae5
Fixed readme a bit. 2018-11-26 02:25:25 +01:00
fb003da2d6
Included algorithm, for std::transform 2018-11-26 02:20:33 +01:00
e893a4066f
Added support for size (not just s)
Fixes #3
2018-11-25 10:59:09 +01:00
7efec890f7
Return 404 if image is not found 2018-11-25 08:35:43 +01:00
a094dd2896
Added DNS record documentation 2018-11-25 07:59:17 +01:00
63540add66
Removed a debug statement that got in the way 2018-11-25 07:31:06 +01:00
7f87ab969c
Bugfix: Re-used a variable that I shouldn't have reused. 2018-11-25 07:28:41 +01:00
74da3609fc
Forgot to turn writing to stdout back on 2018-11-25 07:25:21 +01:00
b073f2e0d6
Added support for different sizes 2018-11-25 07:23:20 +01:00
30ec8f0657
Updated readme 2018-11-25 06:33:32 +01:00
8f0baeb028
Changed default filename drom default.png to default. 2018-11-25 06:32:26 +01:00
f550b7b048
Oops, forgot to commit in between. :-) 2018-11-25 06:00:45 +01:00
a0ecad23d9
First test: Output png 2018-11-24 12:40:49 +01:00
fd395355fb
Fixed nginx example 2018-11-24 11:47:43 +01:00
8f9ee1554f
Initial commit 2018-11-24 11:38:10 +01:00