Commit graph

13 commits

Author SHA1 Message Date
lyx0
836d2829ce rename github account 2024-03-31 21:00:24 +02:00
lyx0
1787fca81a jaf -> yaf 2023-09-04 20:49:33 +02:00
lyx0
0646161736 add caddy instructions 2023-09-04 19:09:12 +02:00
lyx0
9333520183 clarify FileDir configuration variable 2023-09-04 18:52:21 +02:00
lyx0
1d73f17d46 update readme, add docker-compose installation 2023-09-04 18:41:51 +02:00
Leon Richardt
e0afb453a5
feat: add option to scrub EXIF tags on image files
EXIF scrubbing can be enabled via the `ScrubExif` config key. When
enabled, all standard EXIF tags (as defined by the IFD mappings in the
go-exif library) are removed on uploaded JPEG and PNG images.

The `ExifAllowedIds` and `ExifAllowedPaths` config keys can be used to
selectively allow specific tags to survive the scrubbing. This can be
useful if you want to preserve image orientation information for
example. The IDs for standard tags can be found in [1].

The path specification for `ExifAllowedPaths` relies on the format
implemented in go-exif which is "documented" in machine-readable format
in [2]. Multiple paths can be specified, separated by a space. The
path format is as follows:

    1. For tags in the main section: `IFD/<GroupName>/<FieldName>`.
       Examples: `IFD/Orientation`, `IFD/Exif/Flash`,
       `IFD/GPSInfo/GPSTimeStamp`. You will probably want to use both
       [1] and [2] in combination if you plan to specify allowed tags by
       path.
    2. Tags in the thumbnail section follow the same format but paths
       start with `IFD1/` instead of `IFD`.

[1]: https://exiv2.org/tags.html
[2]: a6301f85c8/assets/tags.yaml
2022-08-23 11:40:38 +02:00
Leon Richardt
f6dee4c429
doc(README): update example.conf excerpt
The value for `FileDir` was updated in PR #3 but we missed also updating
the `example.conf` excerpt accordingly.
2022-08-14 13:39:49 +02:00
Rasmus Karlsson
e945a57a55 Create default FileDir directory in Dockerfile 2022-08-14 13:29:12 +02:00
Rasmus Karlsson
5cec67bfdb Add port publishing with some documentation 2022-08-14 13:29:12 +02:00
Rasmus Karlsson
728e6452b3 Add Docker support
Instructions for how to build & use it added to README.md

Add GitHub workflow to publishing the docker image to the
GitHub Container Repository
2022-08-14 13:29:12 +02:00
Leon Richardt
bb8cb748d9
doc: subdivide "Configuration" section 2020-10-29 10:14:11 +01:00
Leon Richardt
9cd60561e2
doc: add usage instructions to README 2020-10-29 10:12:55 +01:00
Leon Richardt
2fc0dd23d0
doc: add README 2020-10-27 23:19:06 +01:00