Граф коммитов

230 Коммитов

Автор SHA1 Сообщение Дата
Maximilian Bosch 03cc1dbf05
Bump app to Nextcloud 30
Closes #1333

I decided to not cross-check the availability of all all deprecated
things with older majors, so both min and max version are v30 for now.

A list of all things that I've fixed:

* Deprecated SCSS variables updated as documented in the upgrade notes[1].
* Fixed a bunch of query builder deprecations:
  * $qb->resetQueryParts() is deprecated, one should just create a new
    query-builder object. Done that.
  * Calling `$qb->expr()->andX()` (and `orX()`) with no arguments is
    deprecated. Instead, one should list all arguments in an array and
    pass that to the method. Reworked queries where necessary to do so.
* The PHPUnit version I got by running `make test` downloaded a version
  that prohibits non-static data providers. Made all affected data
  providers static.

With that, everything from `make test` passes in a local dev
installation of Nextcloud 30 except for two tests:

    1) OCA\Maps\Controller\PhotosControllerTest::testAddGetPhotos
    Failed asserting that actual size 0 matches expected size 1.

    /home/ma27/Projects/nextcloud/apps/maps/tests/Unit/Controller/PhotosControllerTest.php:206

    2) OCA\Maps\Controller\TracksControllerTest::testAddGetTracks
    Failed asserting that false matches expected true.

    /home/ma27/Projects/nextcloud/apps/maps/tests/Unit/Controller/TracksControllerTest.php:205

Both tests failed on the previous commit already, so I decided to leave
those for now.

[1] https://docs.nextcloud.com/server/latest/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.html#front-end-changes

Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2024-10-07 17:26:12 +02:00
Arne Hamann a726b8cbfa Css fixes
Signed-off-by: Arne Hamann <git@arne.email>
2023-12-11 23:45:22 +01:00
Benstone Zhang e79ee7252e add basic auth support for map server
Signed-off-by: Benstone Zhang <benstonezhang@gmail.com>
2023-11-26 09:24:46 +08:00
benstone b5ccf97c1a support openstreetmap vector tiles with maplibre-gl-js
Signed-off-by: Benstone Zhang <benstonezhang@gmail.com>
2023-10-05 23:09:40 +08:00
Arne Hamann 04fff1aa65 Mobile routing
Signed-off-by: Arne Hamann <git@arne.email>
2023-06-27 10:34:58 +02:00
Vincent GIRARD afc5d921b5 Deduplicate regarding geo attribute and concat adrtypes
Signed-off-by: Vincent GIRARD <vincent@heliosphere.fr>
2023-05-01 21:37:40 +02:00
Arne Hamann 694f31ba36
Merge branch 'nextgovhackathon-master' into nextgovhackathon-image-suggestions
Signed-off-by: Arne Hamann <git@arne.email>
2022-07-31 23:16:12 +02:00
Arne Hamann 9dc50dce7e
Merge branch 'master' into nextgovhackathon-master
Signed-off-by: Arne Hamann <git@arne.email>
2022-07-31 18:56:59 +02:00
Arne Hamann 48a37fc9d6
Merge branch 'master' into enh/image-suggestions 2022-06-25 12:03:01 +02:00
Arne Hamann 818992556b
Show track waypoints
Signed-off-by: Arne Hamann <git@arne.email>
2022-06-13 08:42:57 +02:00
Arne Hamann 08cd52995f
Rebased onto vue/enh-image-sidebar
Signed-off-by: Arne Hamann <git@arne.email>
2022-04-25 12:38:35 +02:00
Arne Hamann b9ea55459b
Menu entries for managing MyMaps
Signed-off-by: Arne Hamann <kontakt+github@arne.email>
2022-04-25 12:38:32 +02:00
Arne Hamann ad1c794191
Removed redundancy
Signed-off-by: Arne Hamann <git@arne.email>
2022-04-14 14:59:42 +02:00
Arne Hamann db094232e2
Show Photos Suggestions on map
Signed-off-by: Arne Hamann <kontakt+github@arne.email>
2022-04-14 14:52:20 +02:00
Julien Veyssier e212fcdfb6
Merge branch 'master' into enh/vue-rewrite 2022-03-14 13:15:48 +01:00
RobinFrcd fcc60db232
Add .contact-group-name to padding exception
Signed-off-by: RobinFrcd <29704178+RobinFrcd@users.noreply.github.com>
2021-12-20 22:43:44 +01:00
Robin Fourcade 00f082021b
Add padding on icons/name
Fix #647

Signed-off-by: Robin Fourcade <29704178+RobinFrcd@users.noreply.github.com>
2021-10-10 20:55:34 +02:00
Julien Veyssier fbc14088f5
add device hover marker with info tooltip
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:33 +02:00
Julien Veyssier 081e51b350
change shadow color for selected track, clarify track/fav selection
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:31 +02:00
Julien Veyssier 45e38f46ac
fix box shadows, fix device icons with dark theme
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:30 +02:00
Julien Veyssier 91f3a0fc27
improve fav navigation
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:29 +02:00
Julien Veyssier 77980f8a86
bump @nc libs
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:29 +02:00
Julien Veyssier a348a03b8f
basic device map display
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:28 +02:00
Julien Veyssier 5fb780e6ac
big fight with @raruto/leaflet.elevation, works but still loads d3 from unpkg.com
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:27 +02:00
Julien Veyssier 50e5ea0b4f
add track marker and tooltip
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:25 +02:00
Julien Veyssier a52f38c3e7
implement left click search popup
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:23 +02:00
Julien Veyssier 798f388cc2
implement opening hours in poi popups
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:23 +02:00
Julien Veyssier 266f63e83b
fix various small design issues
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:23 +02:00
Julien Veyssier 2a97b4c143
make fav marker and cluster marker click area larger
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:21 +02:00
Julien Veyssier 39a9936ad2
polish routing/search control design
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:20 +02:00
Julien Veyssier 19b2e63341
move export route button out of routing machine, hide machine internal waypoints
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:20 +02:00
Julien Veyssier ff07b674ac
disabled photo tooltip when it's draggable
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:19 +02:00
Julien Veyssier e879f54c0e
almost nothing
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:18 +02:00
Julien Veyssier 12674e2344
add empty search bar
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:18 +02:00
Julien Veyssier 53d826189b
now adding routing waypoint before the last instead of after
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:18 +02:00
Julien Veyssier 2e047d4db2
improve routing control design
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:17 +02:00
Julien Veyssier 3446c6c476
slowly implement slider stuff
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:16 +02:00
Julien Veyssier 3a4c026847
popup/tooltip design
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:16 +02:00
Julien Veyssier b7489d5338
contact placement ok
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-06 12:43:15 +02:00
Julien Veyssier 9f61af129d
fix style of contact navigation items
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-09-30 10:43:10 +02:00
Julien Veyssier bfdd1d0891
temporary fix for navigation style
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-09-29 17:56:25 +02:00
Paul Schwörer 2d9e9920ad Merge branch 'master' into issue-70-share-favorite-locations
# Conflicts:
#	src/favoritesController.js
2020-04-03 19:56:03 +02:00
Julien Veyssier cc10d8e431
increase min tooltip width
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-03-08 18:22:29 +01:00
Julien Veyssier 7230a6c474
fix cursor style for mapboxgl map when dragging and during controllers actions
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-03-08 14:44:12 +01:00
Julien Veyssier 510b0e0a5d
reduce favorite tooltip width
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-03-08 13:10:04 +01:00
Paul Schwörer 4700a15e5c Merge branch 'master' into issue-70-share-favorite-locations
# Conflicts:
#	package.json
#	src/favoritesController.js
#	webpack.common.js
#	webpack.dev.js
#	webpack.prod.js
2020-03-01 22:21:17 +01:00
Gary Kim 7aafdd6fc5
Use Webpack
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-02-13 07:23:27 +08:00
Paul Schwörer a6375b3109 Create separate entry-point for public favorite share
This is a preparation for when other parts of the app will be transitioned to the webpack build system. In addition to having a defined path for every part of the app, it should also help to keep bundle size down by not loading unnecessary dependencies.

Signed-off-by: Paul Schwörer <hello@paulschwoerer.de>
2020-02-05 19:09:00 +01:00
Paul Schwörer deaf925114 Rework style compilation flow to enable usage of built in icons
Signed-off-by: Paul Schwörer <hello@paulschwoerer.de>
2020-02-05 19:09:00 +01:00
Paul Schwörer b7cb9914ac Move sharing dialogue to favorite action menu
Signed-off-by: Paul Schwörer <hello@paulschwoerer.de>
2020-02-05 19:09:00 +01:00