maps/css
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
..
images make fav marker and cluster marker click area larger 2021-07-06 12:43:21 +02:00
adminSettings.css add basic auth support for map server 2023-11-26 09:24:46 +08:00
filetypes.css add Files action for gpx files => load it as track in maps 2019-05-01 02:19:36 +02:00
icons.scss Rework style compilation flow to enable usage of built in icons 2020-02-05 19:09:00 +01:00
merged-public-favorite-share.scss Create separate entry-point for public favorite share 2020-02-05 19:09:00 +01:00
style.scss Bump app to Nextcloud 30 2024-10-07 17:26:12 +02:00