Michael Mayer
b072a18a17
Backend: Run "make fmt" with Go v1.19
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-10 16:09:21 +02:00
Michael Mayer
877a5be8e9
Backend: Update Go package descriptions to improve generated docs
...
see https://pkg.go.dev/github.com/photoprism/photoprism
2022-04-25 10:45:09 +02:00
Michael Mayer
92e6c4fe1e
Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234
...
Extends DownloadSettings with 4 additional options:
- Name: File name pattern for downloaded files (existed)
- Disabled: Disables downloads
- Originals: Only download files stored in "originals" folder
- MediaRaw: Include RAW image files
- MediaSidecar: Include metadata sidecar files (JSON, XMP, YAML)
2022-04-15 09:42:07 +02:00
Michael Mayer
82d61d1f93
File Types: Add experimental support for animated GIFs #590 #2207
...
Animated GIFs are transcoded to AVC because it is much smaller and
thus also suitable for long/large animations. In addition, this commit
adds support for more metadata fields such as frame rate, number of
frames, file capture timestamp (unix milliseconds), media type,
and software version. Support for SVG files can later be implemented in
a similar way.
2022-04-13 22:17:59 +02:00
Michael Mayer
c256664a1b
WebDAV: Fix upload of complete albums #1376
2022-02-27 17:32:54 +01:00
Michael Mayer
c853b3cd2d
Backend: Shorten source file headers and normalize email addresses
2022-02-21 15:30:18 +01:00
Michael Mayer
6c4fc42415
API: Add Explicit Cache Header for Existing Thumbs #822
2022-02-20 17:36:51 +01:00
Michael Mayer
8efe473d30
Copyright: Update year in source files and footer.vue
2022-01-03 13:46:52 +01:00
Michael Mayer
0f0c0aaa0b
API: Improve path and filename parameter sanitation #1814
2021-12-14 20:01:39 +01:00
Michael Mayer
9a8144c046
Log4j: Sanitize user input in logs like filenames and album titles #1814
2021-12-14 17:07:38 +01:00
Michael Mayer
35ac1e730c
Docs: Update URL
2021-12-12 20:48:05 +01:00
Eng Zer Jun
44f7700c0c
Enable module graph pruning and deprecate io/ioutil ( #1600 )
...
* Backend: Enable Go module graph pruning and lazy module loading
This commit applies the changes by running `go mod tidy -go=1.17` to
enable module graph pruning and lazy module loading supported by Go 1.17
or higher.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* Backend: Move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-06 07:10:50 +02:00
Michael Mayer
9ec2381307
Update copyright after year change
2021-01-01 22:37:25 +01:00
Andrew Rabert
443789a7e0
Optimize images
...
Used:
- `oxipng --zopfli --opt max`
- `jpegoptim --all-progressive`
2020-09-21 17:40:58 -04:00
Michael Mayer
d38c84bbfb
Update trademark
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-21 02:48:22 +02:00
Michael Mayer
9a2b75781e
Backend: Adjust log levels and messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-20 11:29:38 +02:00
Michael Mayer
cc946b8ea8
Use int64 for file modification timestamps #391
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-17 16:09:55 +02:00
Michael Mayer
b62af742ae
Backend: Improve log messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-14 18:00:32 +02:00
Michael Mayer
1a0398d01f
Docs: Fix indentation
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-23 13:53:11 +02:00
Michael Mayer
4154715512
Docs: Update package information and copyright
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-23 13:44:14 +02:00
Michael Mayer
d0199598d0
Simplify configuration #66
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Michael Mayer
2032b40f2b
Backend: Code clean-up
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-03 18:00:50 +02:00
Michael Mayer
44abbfc43a
Backend: Use fastwalk.Walk instead of filepath.Walk in tests #267
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-01 15:35:47 +02:00
Michael Mayer
0c0bea5ed7
Backend: Add nsfw tests
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 16:09:05 +02:00
Michael Mayer
1502838ddb
Fix NSFW test
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 16:13:18 +02:00
Michael Mayer
1e05670501
Increase NSFW detector threshold
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 16:12:09 +02:00
Michael Mayer
e03c254d1b
Backend: Increase threshold for NSFW detection
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 11:07:15 +02:00
Theresa Gresch
2c3d462390
Add test for nsfw.go
2020-01-20 17:43:43 +01:00
Michael Mayer
b5424d3b22
Backend: Disable NSFW detection by default to boost performance
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-13 16:48:32 +01:00
Michael Mayer
f8a45b14d9
Backend: Move reusable packages to pkg/
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-12 14:00:56 +01:00
Michael Mayer
e9874d6e0c
Backend: Compile labels into source #160
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-09 01:21:09 +01:00
Michael Mayer
e43983d579
Backend: Refactor thumbnail package #157
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 14:32:15 +01:00
Michael Mayer
28f62cb9ac
Backend: Add mutex to NSFW detector initialization
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 06:16:58 +01:00
Michael Mayer
016d90054e
Backend: Implement NSFW config flags
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 17:19:16 +01:00
Michael Mayer
8cce9f7c8c
Backend: Set NSFW flag while indexing
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-14 20:35:14 +01:00
Michael Mayer
78eae2f14e
Backend: Add NSFW detector
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-14 15:41:37 +01:00