ab25f5436d
fix: use filepicker API for placing photos on the map
...
With Nextcloud 28 the `OC.dialogs` API was deprecated,
instead we need to use `@nextcloud/dialogs` for the filepicker.
So this fixes:
1. The deprecated `OC.dialogs` usage
2. Bug where both dialogs where opened at the same time (file and folder
picker).
3. Properly place photos on other than the default map
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-10-12 22:20:59 +02:00
3be98c3ecb
- Fix broken filehhooks for adding new geophotos and tracks to maps: ( #1420 )
...
Fix and rewrite isUserNode to accept files from other storages than IHomeStorage
e.g. include photos and tracks from external_files or shares.
- Fix possible assert in addByFile(Node $file) if getAccessList($file) returns empty result.
Signed-off-by: umgfoin <umgfoin@users.noreply.github.com >
2025-05-26 13:29:36 +02:00
bd9eca8fbc
Update Dependencies and Nextcloud Requirement
...
Signed-off-by: Alexander Ratajczak <a4blue@hotmail.de >
2025-04-23 16:38:34 +02:00
d0a5152319
cs:fix
...
Signed-off-by: Arne Hamann <git@arne.email >
2024-12-31 12:50:00 +01:00
84a1821d80
Let's see if this passes Lint once and for all.
...
Signed-off-by: tetebueno <9064236+tetebueno@users.noreply.github.com >
Signed-off-by: tetebueno <meil.de.tete@gmail.com >
2024-12-11 00:02:27 -03:00
6d862d387d
Merge branch 'master' into master
...
Signed-off-by: tetebueno <9064236+tetebueno@users.noreply.github.com >
2024-11-22 17:38:43 -03:00
dcd7832a69
Unified logic in PhotofilesService+rescan().
...
Signed-off-by: tetebueno <tete@Data.lan >
2024-11-22 17:24:34 -03:00
74b937f17d
Almost forgot to keep the original function.
...
Signed-off-by: tete <tete@Data.lan >
Signed-off-by: tetebueno <tete@Data.lan >
2024-11-22 17:24:34 -03:00
a7176e17b1
Update PhotofilesService.php
...
Signed-off-by: tete <tete@Data.lan >
Signed-off-by: tetebueno <tete@Data.lan >
2024-11-22 17:24:34 -03:00
64f338689c
chore: Migrate from ILogger to LoggerInterface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-19 18:18:06 +02:00
b059d12c92
chore: composer run cs:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-14 20:21:41 +02:00
af7356de09
Switch to getJobsIterator
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com >
2023-11-20 14:02:06 +01:00
e6c8a7a3b9
use getJobs as getJobsIterator is not there in NC25
...
Signed-off-by: Arne Hamann <git@arne.email >
2023-03-10 16:29:18 +01:00
1a2a9f6f46
Show info that a backengroundjob scanning photos is running
...
Signed-off-by: Arne Hamann <git@arne.email >
2023-03-03 19:48:02 +01:00
2e9412c4a7
Improved sidebar and timezone selection
...
Signed-off-by: Arne Hamann <git@arne.email >
2023-02-22 12:07:51 +01:00
eb71aa9784
Fix Update
...
Signed-off-by: Arne Hamann <git@arne.email >
2023-01-23 22:01:45 +01:00
4ce6f58659
Use try statements
...
Signed-off-by: Arne Hamann <git@arne.email >
2023-01-23 21:34:49 +01:00
1fbd865bb0
Replace mapper by QBMapper
...
Signed-off-by: Arne Hamann <git@arne.email >
2023-01-23 21:01:23 +01:00
6ae5101e60
Use UserId as myMapsCache key name
...
Signed-off-by: Arne Hamann <git@arne.email >
2023-01-01 14:20:30 +01:00
012e7945c6
Merge branch 'fix-user-shares' into nextgovhackathon-master
...
Signed-off-by: Arne Hamann <git@arne.email >
2022-04-25 13:39:27 +02:00
2c5415ef53
Merge branch 'scan-photo--now' into nextgovhackathon-master
2022-04-25 12:42:48 +02:00
ca06ac3876
Merge branch 'image-handling-backend' into nextgovhackathon-master
2022-04-25 12:42:05 +02:00
500df4e30b
fix photo placement in my-maps
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2022-04-25 12:38:33 +02:00
d9ed9cab7a
Fixes #447
...
Signed-off-by: Arne Hamann <git@arne.email >
2022-04-24 16:49:58 +02:00
1fd6e93d48
Merge branch 'master' into enh/vue-rewrite
...
Signed-off-by: Arne Hamann <git@arne.email >
2022-04-14 10:08:11 +02:00
c3f10ff244
Don't loose Exif timestamp if location is invalid
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2022-03-23 14:17:52 +01:00
77d0474b3f
Added Option to scan photos now
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2022-03-23 14:06:43 +01:00
9289bdcf2e
Merge pull request #390 from nextcloud/remove-array_key_exists
...
Replaced array_key_exists with isset
2022-03-14 15:04:11 +01:00
e212fcdfb6
Merge branch 'master' into enh/vue-rewrite
2022-03-14 13:15:48 +01:00
067e598aec
implement photo move/reset action history
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2021-07-06 12:43:19 +02:00
bd1e7e1ddd
new feature :-) reset photo cluster geo data
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2021-07-06 12:43:17 +02:00
42d53f0407
context place photos OK
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2021-07-06 12:43:17 +02:00
6a6797dff7
outsource exif data reader, robost geo photo error and zero island check, image shuffle files for scanning to have results earlier if we have only a few images with geocoordinates
...
Signed-off-by: Gergely Kovács <kovger1986@gmail.com >
2021-04-18 14:22:08 +02:00
7adda0049a
fix ExifGeoTag reader error handling, with invalid coordinates
...
Signed-off-by: Gergely Kovács <kovger1986@gmail.com >
2021-04-12 00:08:50 +02:00
2335c5386f
fix division by 0 error
...
Signed-off-by: Gergely Kovács <kovger1986@gmail.com >
2021-04-11 21:47:22 +02:00
ea6a483f73
Fix for division by 0 errors
...
- Fix Division by 0 Errors in case of incorrect Geocoordinate data
- getExifPelBackup could throw any tipe of errors, all Throwable are Catched, to prevent service stop
Signed-off-by: Gergely Kovács <kovger1986@gmail.com >
2021-04-11 21:46:45 +02:00
9facdf4a2e
Fixes #193
...
Signed-off-by: Scott A. Williams <vwbusguy@fedoraproject.org >
2020-08-11 15:40:58 -07:00
ce5ec9eda5
clarify and refactor named service injections
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2020-07-06 19:39:35 +02:00
d3b4d122c4
Mute warning as catching a warning is not working
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2020-05-23 22:53:20 +02:00
c69e1251b0
Replaced array_key_exists with isset
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2020-05-23 00:04:34 +02:00
35f471c1a0
Catch non numeric warning from pel
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2020-04-27 17:25:44 +02:00
cb4882f713
refs #290 fix delay when placing photos/folders
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2020-02-29 20:18:16 +01:00
6fdabc8125
Fix typo
...
Signed-off-by: Simounet <contact@simounet.net >
2020-02-02 20:40:31 +01:00
0dec868cff
Merge pull request #263 from nextcloud/fix-261
...
Attemp to fix #261
2020-01-27 12:17:27 +07:00
3e3b9e4e96
used array_shift and not [0] to get the first file
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2020-01-22 15:03:19 +01:00
bee7a89e49
Attemp to fix #261
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2020-01-22 10:53:05 +01:00
5b193a2281
Moved the scan of each individual picture in an BackgroundJob to make it more crash resistent
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2020-01-16 17:09:42 +01:00
9a4ef52ecc
Added check is_nan
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2019-08-30 21:12:14 +02:00
c89f2f9bbb
refs #95 attempt to fix bad inserted values for photo lat/lng
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2019-08-30 16:30:24 +02:00
176aa86df1
Catch PelExeptions, for example on broken images
...
Signed-off-by: Arne Hamann <kontakt+github@arne.email >
2019-08-29 22:08:49 +02:00