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
0852e659c2
API: Improve logs and add /api/v1/connect endpoint for auth callbacks
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-19 16:58:43 +02:00
Michael Mayer
a06646a181
Config: Refactor initialization
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-14 23:34:54 +02:00
Michael Mayer
49be9b873e
Config: Propagate backend session status
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-14 22:35:42 +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
e59041e93f
Backend: Update Go package descriptions to improve generated docs
...
see https://pkg.go.dev/github.com/photoprism/photoprism
2022-04-25 09:53:55 +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
736b03f87f
WebDAV: Improve update and reset of remote connection errors #1781
2022-03-27 21:37:11 +02:00
Michael Mayer
6bebf9043b
Config: Add Docker env string to backend requests (develop, prod)
...
For easier debugging so that development environments can be identified.
2022-03-02 14:16:49 +01:00
Michael Mayer
3d9cb51641
Darktable: Set explicit cache and config path, log exact commands #2076
2022-03-02 12:20:02 +01: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
d67e325854
Config: Improve initialization, migrations, and debug logs
2022-01-05 18:15:39 +01:00
Michael Mayer
8efe473d30
Copyright: Update year in source files and footer.vue
2022-01-03 13:46:52 +01:00
Michael Mayer
2dedbb83dc
Sanitize: Add name, query, state, and username filters #1814
2021-12-15 12:24:05 +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
Michael Mayer
4e358bbfd4
Places: Improve handling of unknown S2 cell ids
2021-12-09 01:10:15 +01:00
Michael Mayer
403eb0d71d
Places: Remove unique label index and purge unused location infos #1664
2021-11-20 19:14:00 +01:00
Michael Mayer
cb0f308a1b
Places: Improve request client and reduce log levels
2021-11-20 12:29:21 +01:00
Michael Mayer
c48310f077
Albums: Improve state geodata and sort by country #1608 #1664
2021-11-18 00:46:34 +01:00
Michael Mayer
bb9442e6c4
People: Add "photoprism places update" CLI command #1664
2021-11-12 05:09:17 +01:00
Michael Mayer
6c02ee2512
Places: Improve state name normalization #1664
2021-11-11 16:00:42 +01:00
Michael Mayer
e525ce5c46
Places: Don't auto capitalize state names #1664
2021-11-09 19:56:19 +01:00
Michael Mayer
e4fd294689
Places: Normalize US & CA state names #1664
2021-11-09 11:42:10 +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
eb8bc7b709
Backend: Improve resilience #1544
2021-09-23 23:46:17 +02:00
Garrett Gu
46a3773c8e
Sessions: Fix unhandled error ( #1349 )
2021-07-15 17:47:43 +02:00
Michael Mayer
630de81c9f
Metadata: Don't remove stopwords from existing keywords #1153
2021-05-01 11:06:51 +02:00
Michael Mayer
6811a07e8a
Backend: Remove allegro/bigcache in favor of patrickmn/go-cache #807
2021-01-08 13:29:01 +01:00
Michael Mayer
9ec2381307
Update copyright after year change
2021-01-01 22:37:25 +01:00
Michael Mayer
7940786ce9
UX: Refactor config options to be more intuitive
...
Make sure to update your local config files when upgrading as
the name of some config values has changed. The default
config path has changed from "settings" to "config".
2020-12-18 09:11:42 +01:00
Michael Mayer
5acc02e248
Config: Initialize storage folder with serial
...
To detect non-permanent storage and configuration issues.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-05 06:21:16 +01:00
Michael Mayer
6d791f8a59
Indexer: Improve logging #546
2020-12-04 23:16:22 +01:00
Michael Mayer
390dc7f7e5
Refactor backend api package
2020-12-04 13:10:32 +01:00