Commit Graph

1305 Commits

Author SHA1 Message Date
Jordan Hellier
f900d55300 Fix audit issues in production (#933)
* chore: upgrade api dependencies to latest compatible version

* chore: update ui dependencies first pass

* chore: migrate ui dependency to latests

Migrates i18next-parser from 6.x -> 8.x per documentation

* chore: add missing tools file

* chore: regenerate files

* chore: fix docker build from incorrect depedency

bookworms latest stable version of libheif-dev is 1.15.1
2024-04-11 22:21:08 +01:00
Simon Ser
d0d0bf21bc Make face detection optional at build-time (#881)
Add a "no_face_detection" build tag to disable face detection
when building. This is useful when installing the face detection
dependencies is undesirable and cuts down build times (e.g. on a
Raspberry Pi).
2024-04-11 22:20:09 +01:00
Connor
896cd1c2fe Remove login page non-empty password requirement (#828)
* Remove login page non-empty password requirement

* Remove required property from password register
2024-04-08 07:22:50 +01:00
Konstantin
b2d591bd1b Don't stop scanning album on media fail (#892)
* Don't stop scanning album on media fail

* Update api/scanner/scanner_album.go

accepting suggestion from Jordan

Co-authored-by: Jordan Hellier <13520761+jordy2254@users.noreply.github.com>

---------

Co-authored-by: Konstantin Koval <kkb@ukr.net>
Co-authored-by: Jordan Hellier <13520761+jordy2254@users.noreply.github.com>
2024-03-30 11:04:03 +02:00
Alex Kabakaev
153f37e5fb move mp4 moov atom to the beginning (#883)
Video playback starts faster in browsers.
2024-03-30 09:01:16 +00:00
Yo Sev
9c85663522 Fix invalid UTC offset during datetime parsing (#823) 2024-03-30 07:57:21 +01:00
Ale C
31ccb9aad3 chore(docker-compose): add sqlite variable and volumes example (#851) 2024-03-29 21:09:20 +00:00
Dorian
87365c1a62 feat: complete PL translation (#909) 2024-03-29 21:07:41 +00:00
cicadabear
a99f7aa203 add cross compile support for arm64 to amd64 (#888) 2024-03-29 20:18:08 +00:00
Andreas
68cc2a0eee reordered cli arguments for ffmpeg to improve speed to generate thumbnails from videos (#917) 2024-03-29 19:35:50 +00:00
Davide Cavestro
b8504c47be Fix UI not serving media and tests expecting localhost:3000 as base URL (#874)
* fix UI tests expecting localhost:3000 as base URL

* fix: avoid prefixing UI domain when serving media URLs
2024-03-29 15:49:50 +02:00
Konstantin
a90f30391c Add Ukrainian translation (#875) 2024-03-24 22:42:44 +01:00
Davide Cavestro
1e981339a0 Update italian translation (#873)
Add missing labels
2024-03-24 20:25:04 +02:00
Viktor Strate Kløvedal
8cdc4cd136 Merge pull request #865 from photoview/fix-build-pipeline
Fix build pipeline
2023-07-10 22:49:49 +02:00
viktorstrate
5c1f8b4632 clean up build action 2023-07-10 22:49:01 +02:00
viktorstrate
b2a79a4c9d update and simplify github build action 2023-07-10 18:57:50 +02:00
Viktor Strate Kløvedal
228f2cc1e7 Merge pull request #842 from secco04/patch-2
update german translation
2023-05-11 17:59:18 +02:00
4ich
aed0a17166 update german translation
fixing my mistake on timeline year selector
missing label for share/password protection and expiration,
missing label for thumbnail settings ...
2023-05-06 17:35:48 +02:00
Viktor Strate Kløvedal
9364662db8 Merge pull request #841 from secco04/patch-1 2023-05-06 15:58:54 +02:00
4ich
fe4e2ffc06 Updated Translation for German
i'm hoping i got all the fields filled, where the german translation was missing. 
i also found a spelling mistage  in the password reset dialogue and a "usernamevar" wich is not yet used.
2023-05-06 15:27:44 +02:00
Viktor Strate Kløvedal
c38f8a43c3 Merge pull request #838 from djvaldez/fix-custom-basepath
Fix custom basepath in React components
2023-05-01 15:02:36 +02:00
David Valdez
efda44a20b Fix case of double slash 2023-04-30 17:17:59 -05:00
David Valdez
18c9acfa81 Merge branch 'dev' of github.com:djvaldez/photoview into fix-custom-basepath 2023-04-29 20:38:28 -05:00
David Valdez
170f1ac59c Fix for login URL 2023-04-30 01:37:36 +00:00
David Valdez
d8bb69bbba Remove hardcoded basepath 2023-04-29 20:36:07 -05:00
David Valdez
31f1810e5e Add support for custom base path to URL generator 2023-04-26 04:41:08 +00:00
David Valdez
cb44e8572f Changes to support custom basepath in routing 2023-04-25 02:20:29 +00:00
Viktor Strate Kløvedal
30c1b2a152 Merge pull request #822 from john-dev/master
Prepend missing key CreationDate to createDateKeys
2023-03-21 15:17:27 +01:00
john dev
a28e9ba8b7 Prepend missing key CreationDate to createDateKeys 2023-03-21 14:26:03 +01:00
Viktor Strate Kløvedal
dd5aa85a41 Merge pull request #810 from tymmej/ffmpeg_divisible_by_2
Fix encoding video thumbnails
2023-03-03 14:36:37 +01:00
Viktor Strate Kløvedal
27d0db5518 Merge pull request #807 from tymmej/extend_buffer
Fixes issue #804
2023-03-03 14:36:06 +01:00
Jakub Tymejczyk
030c9262c6 Fix encoding video thumbnails 2023-03-03 08:51:44 +01:00
Jakub Tymejczyk
a2170bc02b Fixes issue 804 2023-02-28 15:33:02 +01:00
Viktor Strate Kløvedal
87e80cf21f Merge pull request #802 from john-dev/patch-1
Add support to parse DateTimes with UTC+Offset
2023-02-15 10:05:29 +01:00
john dev
15e3cc3b8c Add support to parse DateTImes with UTC offset 2023-02-15 08:29:41 +01:00
Viktor Strate Kløvedal
fdae46a548 Merge pull request #799 from WindLi001/clean
Use Clean() but not Abs() to prevent directory traversal
2023-02-13 17:31:49 +01:00
WindLi001
6bebed4693 use Clean() but not Abs() to prevent directory traversal 2023-02-10 21:05:17 +08:00
Viktor Strate Kløvedal
dcc05f4ea8 Merge pull request #798 from WindLi001/limit-thumbnail-size
Limit thumbnail size of small original photo in new branch
2023-02-10 11:19:51 +01:00
WindLi001
0ac38e6605 Limit thumbnail size of small original photo 2023-02-10 12:53:25 +08:00
Viktor Strate Kløvedal
824a835a20 Merge pull request #796 from WindLi001/trans-cn 2023-02-09 09:12:23 +01:00
WindLi001
1795a27ae3 Fix translation error of Chinese UI. The "detach_image" should be "解除面孔标记", but not "修改面孔命名". 2023-02-09 15:15:51 +08:00
Viktor Strate Kløvedal
1795ff13be Merge pull request #795 from Ajnasz/transaction-error
fix transaction already commited error
2023-02-08 13:34:41 +01:00
Lajos Koszti
1f8664d7f8 fix transaction already commited error
I encountered with the following error:

> 2023/02/05 07:33:00 /app/scanner/face_detection/face_detector.go:92 sql: transaction has already been committed or rolled back
> [0.042ms] [rows:0] SELECT * FROM `media` WHERE `media`.`id` = 823 ORDER BY `media`.`id` LIMIT 1
> 2023/02/05 07:33:00 ERROR: Error detecting faces in image (/photos/Borzsony2017/DSC_0028.NEF): sql: transaction has already been committed or rolled back

It turned out it comes from the api/routes/photos.go

I found a very similar code in album_scanner.go.
The difference I saw was that while in the single photo request the
transaction passed to the `scanner_tasks.Tasks.BeforeProcessMedia` call,
in the album_scann.go the transaction created after this call and
created from the context which returned by `BeforeProcessMedia`.

Another difference was that in the `ProcessSingleMedia` call the
`AfterProcessMedia` call was called with the same - db transaction -
context, in the album_scanner it was called outside of the transaction.

I changed the logic by merging the two behavior:
Create the transaction from the context of `BeforeProcessMedia` and also
use the transaction context in the `AfterProcessMedia`.
After the change the error disappeared.

So to have it in a common place I extracted that logic into a function
and use for both the single photo request and in the album scanner.

I did not go more deeper to find out what's going on with the context
under the hood.
2023-02-05 09:05:05 +01:00
Viktor Strate Kløvedal
92bcba0334 Merge pull request #780 from queeup/master 2022-12-03 02:42:54 +01:00
queeup
a797170881 Add Turkish language 2022-12-02 15:32:49 +03:00
Viktor Strate Kløvedal
172bbebdd8 Merge pull request #774 from noel123007/chore/joe/add-globe-view
add globe view of mapbox in Places page
2022-11-27 21:32:10 +01:00
Joe
89a3830c17 chore: add mapbox globe view 2022-11-14 11:23:11 +05:30
Viktor Strate Kløvedal
c786217711 Merge pull request #752 from orellazri/timeline_reformatting
Restyle titles and spacing in timeline gallery
2022-10-09 20:38:01 +02:00
Orel
f54e6c7cb5 Restyle titles and spacing in timeline gallery
Restyle the title and album names so that the title will pop out more,
and decrease the horizontal spacing between photos in the same album.
2022-10-07 01:32:28 +03:00
Viktor Strate Kløvedal
b0bdf5414c Merge pull request #749 from rainpenber/config_improved_zh_CN_translation 2022-09-14 07:02:38 +02:00