Commit Graph

53 Commits

Author SHA1 Message Date
Joas Schilling f81b43acfa feat(deps): Add Nextcloud 30 support on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-28 15:12:31 +00:00
Maxence Lange 9cefac5407 initMetadata on a repair step
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-19 11:14:58 -01:00
Christian McHugh c563f9e55c Add album creation to occ
Signed-off-by: Christian McHugh <mchugh19@hotmail.com>
2023-12-13 10:52:07 +01:00
Christian McHugh 8a7aaea323 Add OCC comand add-photo-to-album
Signed-off-by: Christian McHugh <mchugh19@hotmail.com>
2023-12-13 10:52:07 +01:00
Joas Schilling c54194263f
feat(deps): Add Nextcloud 29 support on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 14:25:21 +01:00
Louis Chemineau 5c46f44301
Declare /photos endpoints to allow refresh
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 15:25:51 +01:00
Louis Chemineau a87c19ee24
Use new metadata API for providers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 13:17:12 +01:00
Joas Schilling 4fa845218a
feat(deps): Add Nextcloud 28 support on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 15:17:20 +02:00
Joas Schilling ee3c92ccbf
chore: Add Nextcloud 27 support on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 10:23:45 +01:00
Louis Chemineau eac254ed8f
Rename locations to places
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-24 08:54:42 +01:00
Louis Chemineau 0234a47791
Add location grouping views
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-24 08:35:39 +01:00
Louis Chemineau 5bd766cb92 Add DAV endpoint for location grouping
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-23 18:31:09 +01:00
Louis Chemineau d94f30cc09 Add commands and listeners to generate location data of files:
The location data is stored inside `oc_files_metadata`.

- `occ photos:update-1000-cities` to update the cities1000 file.
- `occ photos:map-media-to-location`to map picture coordinates to a location

- `ReverseGeoCoderService` download the necessary files and build the `KDTree`
- `UpdateReverseGeocodingFilesCommand` command to allow to manually create the needed reverse geocoding files
- `MediaLocationManager` to manager the location mappings
- `MapMediaToLocationCommand` command to manually trigger location data mapping. Useful for pre-existing pictures.
- `LocationManagerNodeEventListener` to react to node, user and share events.
- `MapMediaToLocationJob` to reduce the load in event listeners

```php
                                          ┌─────────────────────┐
                            ┌────────────►│MapMediaToLocationJob│
                            │             └─────────┬───────────┘
                            │                       │
   ┌────────────────────────┴───────┐               │
   │LocationManagerNodeEventListener├──┐            ▼
   └────────────────────────────────┘  │  ┌────────────────────┐     ┌──────────────┐
                                       ├─►│MediaLocationManager├────►│LocationMapper│
   ┌─────────────────────────┐         │  └─────────┬──────────┘     └──────────────┘
   │MapMediaToLocationCommand├─────────┘            │
   └─────────────────────────┘                      │
                                                    ▼
   ┌──────────────────────────────────┐   ┌──────────────────────┐
   │UpdateReverseGeocodingFilesCommand├──►│ReverseGeoCoderService│
   └──────────────────────────────────┘   └──────────────────────┘
```

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-22 15:44:33 +01:00
Louis Chemineau 20e3e61ad5 Add primary key index to collaborators table
- Create new `photos_albums_collabs` table
     - with an `id` auto-incremented column
     - with a primary key using the `id` column
     - with a unique index instead of a unique constraint
- Move data from `photos_collaborators` to `photos_albums_collabs`
- Delete `photos_collaborators` table

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-03 12:58:33 +01:00
John Molakvoæ 108a4489af
2.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 10:03:50 +02:00
John Molakvoæ 71cf950bbe
This is Photos 2.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 09:07:38 +02:00
Louis Chemineau 142fe83638 Make public pages work
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-10 12:23:52 +02:00
Louis Chemineau 57373f329a Cleaning before review
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-10 12:23:52 +02:00
Louis Chemineau e88d44909d Revert "Display album's name instead of token"
This reverts commit 2de383f22f04d82c14696f4f084c0e2c592d3d1f.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-10 12:23:52 +02:00
Louis Chemineau 5dfa6df07a Display album's name instead of token
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-10 12:23:52 +02:00
Louis Chemineau ff01726c6b Add public link logic
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-10 12:23:52 +02:00
John Molakvoæ aa5a1b548a
Merge pull request #1279 from nextcloud/fix/invalid-fileid
Make sure we have a valid fileID for albums content and fix trashbin listener event
2022-09-23 09:42:58 +02:00
John Molakvoæ 7779f6be57
Raise version to trigger migrations
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-09-16 10:47:26 +02:00
Louis Chemineau 35af106097 Add collaborators management views
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-16 07:44:28 +00:00
Marcel Klehr 4ae8f27f0e Make tags view pretty even if recognize is not installed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-09-01 13:41:33 +02:00
Marcel Klehr 632207b4e7 First pass implementing faces overview
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-08-23 14:30:17 +02:00
Louis Chemineau d4d4c7a240 Fix refresh on /folders view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-08-23 14:27:11 +02:00
Louis Chemineau c8bf3a52d6 Add Albums view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-08-22 20:04:58 +02:00
Robin Appelman 62dbf99ec0 use unique filenames in albums
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-08-22 20:03:52 +02:00
Robin Appelman 3cd7fede24 dav api
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-08-22 20:03:51 +02:00
Joas Schilling dc6bf3bff9
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-14 23:18:02 +02:00
Marcel Klehr 1e1d4d0cfe
Implement 'On this day' feature
fixes #179
2022-01-14 08:59:09 +01:00
Joas Schilling 07ad105a41
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 10:45:42 +01:00
John Molakvoæ (skjnldsv) 4c682bb9c5 Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-08-04 07:25:11 +00:00
Joas Schilling 244cdd3c98
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 15:24:05 +02:00
Joas Schilling 0fb36c2c53
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-03 09:39:02 +01:00
Corentin Mors b28469bfb0
Instant feel
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
2020-10-23 15:05:46 +02:00
John Molakvoæ (skjnldsv) f612c264bb Non-cropped layout
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-16 07:10:00 +00:00
Corentin Mors 3f7ea970e4
Implement "your video" tab
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
2020-10-14 18:03:21 +02:00
Joas Schilling a94937609e
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 10:39:30 +02:00
Morris Jobke f8ba6fd428
Use IBootstrap for the app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 04:25:56 +02:00
John Molakvoæ (skjnldsv) b8f714a62a
Add php cs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-13 12:30:53 +02:00
Joas Schilling 0095f91947 Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-07 07:59:04 +00:00
Joas Schilling 3b0470b902
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-20 15:03:57 +01:00
John Molakvoæ (skjnldsv) 8a2209aee3
Fix webpack compiled changes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-05 15:05:50 +01:00
John Molakvoæ (skjnldsv) 4174c7bea6
Fix path routes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-18 16:23:21 +01:00
John Molakvoæ (skjnldsv) 71013857f9
Fix routes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-14 18:58:31 +01:00
John Molakvoæ (skjnldsv) 00ec425d5a
Fix default usable state
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-14 12:33:01 +01:00
Roeland Jago Douma c88707760e
Merge remote-tracking branch 'origin/master' into enh/albums 2019-11-13 09:19:09 +01:00
Roeland Jago Douma 75c185233f
Move to API route
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-13 09:17:42 +01:00