Michael Mayer
86dc89c4b9
Config: Show error if originals and storage path seem identical #1642
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-21 14:22:16 +01:00
Michael Mayer
271e7243db
Logs: Shorten the names of error log helper functions
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-18 11:23:59 +01:00
Michael Mayer
0e4d81853c
API: Add .well-known/oauth-authorization-server route handler #808 #3943
...
This commit also adds an /api/v1/oauth/logout endpoint that allows
clients to delete their sessions (access tokens) as needed.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-08 14:53:39 +01:00
Michael Mayer
f8e0615cc8
Auth: Ensure backwards compatibility for existing API clients #808 #3943
...
These changes ensure that the new (SHA256) session ID is returned in the
"session_id" field, so that developers have time to update their client
implementations to use the new "access_token" field.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-07 12:25:56 +01:00
Michael Mayer
26ca084699
Videos: Cache embedded media to allow streaming and transcoding #3764
...
This is a follow-up improvement for the following feature requests that
have already shipped with our stable release:
- Live Photos: Add support for Samsung Motion Photos #439
- Live Photos: Add support for Google Camera Motion Photos #1739
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-24 17:13:06 +02:00
Michael Mayer
2339197311
Live Photos: Add support for playing videos embedded in HEIC images #439
...
Related Issues:
- Samsung: Initial support for Motion Photos (#439 )
- Google: Initial support for Motion Photos (#1739 )
- Metadata: Flag Samsung/Google Motion Photos as Live Photos (#2788 )
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-23 11:27:20 +02:00
Michael Mayer
529103462c
Index: Add native support for MP4 and Samsung/Google Motion Photos #439
...
Related Issues:
- Samsung: Initial support for Motion Photos (#439 )
- Google: Initial support for Motion Photos (#1739 )
- Metadata: Flag Samsung/Google Motion Photos as Live Photos (#2788 )
Related Pull Requests:
- Live Photos: Add Support for Samsung Motion Photos (#3588 )
- Samsung: Improved support for Motion Photos (#3660 )
- Google: Initial support for Motion Photos (#3709 )
- Google: Add support for Motion Photos (#3722 )
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-22 23:59:56 +02:00
Michael Mayer
a287830d1f
Videos: Allow setting a lower TTL for caching video content #3631
...
Adds the new "--http-video-maxage SECONDS" config option.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 11:06:43 +02:00
Michael Mayer
cc5ff21b4a
Video: Add transcoding libs and improve error handling #3466
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-15 15:17:41 +02:00
Michael Mayer
ffd307e11d
Videos: Add immutable cache header to API response #2875
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 14:46:56 +02:00
Michael Mayer
e1b955a35d
WebP: Improve video API logging #3197 #668
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 21:38:25 +01:00
Michael Mayer
eaff0abb6d
Videos: Index and display durations of less than one second #3224
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 16:33:33 +01:00
Michael Mayer
527fc0319e
Index: Add experimental support for JPEG XL and APNG files #668 #3197
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 14:43:49 +01:00
Michael Mayer
e3bb8b19dd
Routing: Prefix frontend UI routes with /library #840 #2466
...
Also improves migrations and updates the db schema docs.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00
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
b09112058e
Videos: Transcode supported formats if bitrate exceeds limit #2461
...
Implements Option (1) as described in the issue comments.
2022-06-26 19:47:12 +02:00
Michael Mayer
519f0c49c9
Videos: Stream OGV, VP8, VP9, AV1, WebM, and HEVC if supported #2461
2022-06-24 06:59:22 +02:00
Andre Carrera
95c03afe28
Videos: Skip transcoding of HEVC / HVC1 if supported by the browser #440 #513 ( #2379 )
2022-06-24 01:30:48 +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
68ba289d6c
CLI: Add "photoprism show config/formats" subcommands
...
Replaces "photoprism config", which could only display
current configuration values. Codecs and file formats
have been refactored along the way.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-12 13:28:28 +02:00
Michael Mayer
9134c79f4c
Config: Add option to skip all RAW images when indexing #2227
2022-04-06 17:46:41 +02:00
Michael Mayer
c256664a1b
WebDAV: Fix upload of complete albums #1376
2022-02-27 17:32:54 +01:00
Michael Mayer
9c0a47b8bc
Videos: Stream directly without CDN and fix content header #1648 #1937
2022-01-18 12:28:27 +01:00
Michael Mayer
0f0c0aaa0b
API: Improve path and filename parameter sanitation #1814
2021-12-14 20:01:39 +01:00
Michael Mayer
4e94919030
API: Improve request parameter sanitation #1814
2021-12-14 18:34:52 +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
4939e36ac6
Video: Update docker-compose.yml ARM64 example #703
...
Renamed PHOTOPRISM_FFMPEG_CODEC to PHOTOPRISM_FFMPEG_ENCODER as well.
Log level for errors has been increased to warn.
2021-02-16 11:40:40 +01:00
Michael Mayer
5c3ca4ea5d
Video: Implement fallback to default software codec #703
2021-02-15 20:52:14 +01:00
Michael Mayer
341270c779
Video: Remove debug log #703
2021-02-15 20:26:32 +01:00
Michael Mayer
2671edf982
Videos: Add bitrate and pixel format to ffmpeg transcoding params #703
2021-02-14 19:14:12 +01:00
Michael Mayer
993e7466fa
Download all related files using their existing name by default #449
...
Related issues:
- Configure download name for files and albums #848
- When downloading live photos, zip all the associated files #437
2021-01-27 21:30:10 +01:00
Michael Mayer
92df3aa724
API: Refactor response headers #822 #846
2021-01-08 09:02:30 +01:00
Michael Mayer
717da1bd34
Downloads: Configure file name schema #675
...
There is no UI for this setting yet.
2020-12-16 11:59:16 +01:00
Michael Mayer
7bae7edf50
Videos: Set explicit content type header for MPEG-4 AVC #603
2020-12-12 17:53:19 +01:00
Michael Mayer
473566f404
Videos: Enforce transcoding to MPEG-4 AVC #603
2020-12-12 17:20:31 +01:00
Michael Mayer
846c635f22
Video: Transcoding to AVC1 #636 #513 #624 #603 #533 $440
2020-12-05 04:24:10 +01:00
Michael Mayer
1fb8b5cd63
Use static logo in sidebar navigation
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 16:11:56 +02:00
Michael Mayer
5d59b50912
Sharing: ACL authorization for REST API #18
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 14:54:04 +02:00
Michael Mayer
a91206a509
Universal sidecar configuration, indexing with multiple roots #268 #348
...
Slowly getting to the point where only very few people are able to maintain this codebase :)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-07 10:09:35 +02:00
Michael Mayer
52473a1ca9
Add thumbnail filename cache and reuse db connections
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-28 16:26:22 +02:00
Michael Mayer
6f6e3799dc
Refactor download urls and client config
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:38:40 +02:00
Michael Mayer
2156afd85a
File browser: Implement clipboard; refactor entities and fixtures #260
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-25 19:10:44 +02:00
Michael Mayer
03ec4b586d
Initial commit for folders and moments #154 #260 #331
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 20:58:58 +02:00
Michael Mayer
a77d74e6eb
Add play button for videos to photo viewer #321
...
You can now play a video by clicking on the title (or description) if a video icon is shown next to it.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-20 10:42:48 +02:00
Michael Mayer
bd3426ae51
Add video player #17
...
Still need to index metadata. Work in progress.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-13 15:36:49 +02:00