Commit Graph

22 Commits

Author SHA1 Message Date
dependabot[bot] 7706aed502
Chore(deps-dev): Bump nextcloud/coding-standard from 1.1.1 to 1.2.1
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 02:13:29 +00:00
nextcloud-command 6442af5220 chore(dev-deps): Bump nextcloud/ocp package
Signed-off-by: GitHub <noreply@github.com>
2024-01-14 02:41:29 +00:00
Louis Chemineau ea4f4599f8
Rationalize dependencies
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-12 16:01:49 +01:00
dependabot[bot] 435fd992e8
Chore(deps-dev): Bump nextcloud/coding-standard from 1.0.0 to 1.1.1
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.0.0...v1.1.1)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 16:57:08 +02:00
John Molakvoæ b3eec3e6a6
perf(autoloader): Force own autoloader
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-02-24 12:26:45 +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
Joas Schilling 6ea9af217b
chore(CI): Update master php testing versions and workflow templates
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-16 14:43:09 +01:00
John Molakvoæ e4cb3f181d
Migrate to nextcloud/ocp
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 10:02:42 +02:00
Carl Schwan 33462ff40c
Use stub implementation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-23 15:37:57 +02:00
Louis Chemineau e3738a5760 Address reviews
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-08-23 14:28:38 +02:00
Louis Chemineau c8bf3a52d6 Add Albums view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-08-22 20:04:58 +02:00
John Molakvoæ be2a1097cf
Update php styling for 7.4
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 08:44:27 +02:00
Joas Schilling 6614534479
Update master php enviroment
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-09 11:33:28 +01:00
dependabot[bot] dfc0031bca
Bump phpunit/phpunit from 7.5.20 to 9.5.2
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 7.5.20 to 9.5.2.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/7.5.20...9.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-06 02:01:32 +00:00
dependabot[bot] a8740de917
Bump nextcloud/coding-standard from 0.4.0 to 0.5.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.4.0...v0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-16 02:01:41 +00:00
Roeland Jago Douma 06546438e1
Add psalm
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-04 13:01:39 +01:00
dependabot[bot] 8daf857799
Bump nextcloud/coding-standard from 0.3.0 to 0.4.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-29 15:08:01 +00:00
Roeland Jago Douma 4c9dbfa444
Master is php7.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-29 15:56:43 +01:00
John Molakvoæ (skjnldsv) 0481a29675
Add composer min php
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-04 22:17:00 +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
John Molakvoæ 177cea1624
Update composer.json 2020-01-23 13:20:37 +01:00
John Molakvoæ 526b08ce56
Create composer.json 2020-01-23 13:20:08 +01:00