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

4734 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] ebad227313
Chore(deps): Bump fast-xml-parser from 4.3.6 to 4.5.0
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.3.6 to 4.5.0.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.3.6...v4.5.0)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 14:27:29 +00:00
Nextcloud bot 58564bb86b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-11 01:20:21 +00:00
Nextcloud bot f159428f85
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-10 01:13:16 +00:00
Nextcloud bot a0ed4465a0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-09 01:14:46 +00:00
Nextcloud bot b6b11e0e54
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-08 01:12:32 +00:00
Maximilian Bosch 8e9e960ac7
PageController: allow tile.openstreetmap.org in CSP
So far, we only allowed subdomains, but when I rolled out the other
changes, this was missing from having a working map with OSM tiles.

This is probably not related to the other changes (it worked fine a few
days ago, perhaps something was just changed within OSM), but I figured
it's still worth fixing.

Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2024-10-07 17:26:19 +02:00
Maximilian Bosch f9118d857d
tests/bootstrap: don't re-declare PHPUNIT_RUN
This is already set by Nextcloud's bootstrap (and from what I've seen we
require that anyways), so no need to do this on our own.

This also resolves the following warnings from `make test`:

    Warning: Constant PHPUNIT_RUN already defined in /home/ma27/Projects/nextcloud/tests/bootstrap.php on line 7
    PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/ma27/Projects/nextcloud/tests/bootstrap.php:7) in /home/ma27/Projects/nextcloud/lib/private/legacy/OC_Response.php on line 71

Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2024-10-07 17:26:13 +02:00
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
Nextcloud bot 803135fed8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-07 01:12:32 +00:00
Nextcloud bot 18c429ef3d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-06 01:15:17 +00:00
Nextcloud bot 1881a6c34c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-05 01:13:08 +00:00
Nextcloud bot de4acfa7cf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 01:14:37 +00:00
Nextcloud bot ab7a755c4e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 01:13:53 +00:00
Nextcloud bot f18a669a48
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-02 01:15:07 +00:00
Nextcloud bot 21419b1d92
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-01 01:16:43 +00:00
Nextcloud bot f9e046e0e2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-30 01:12:54 +00:00
Nextcloud bot 12bafcc024
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 01:27:34 +00:00
Nextcloud bot c89e7c61d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 01:12:31 +00:00
Nextcloud bot 978a057d6d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 01:13:35 +00:00
Nextcloud bot 37b3b623a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 01:17:42 +00:00
Nextcloud bot 359e938cdc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 01:13:37 +00:00
Nextcloud bot 996e13f839
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-24 01:13:52 +00:00
Côme Chilliet 40f9de761c
Merge branch 'master' into repair-name-typo
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-09-23 09:14:23 +02:00
Nextcloud bot 5b5833cb89
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 01:13:46 +00:00
Nextcloud bot a79450b427
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-22 01:21:50 +00:00
Ferdinand Thiessen 2b0e42512e
Merge pull request #1310 from nextcloud/dependabot/npm_and_yarn/elliptic-6.5.7
Build(deps-dev): Bump elliptic from 6.5.4 to 6.5.7
2024-09-21 15:18:06 +02:00
Ferdinand Thiessen 4da20a9eb4
Merge pull request #1321 from nextcloud/dependabot/npm_and_yarn/axios-1.7.7
Build(deps): Bump axios from 1.6.8 to 1.7.7
2024-09-21 15:16:41 +02:00
Ferdinand Thiessen be6288469f
Merge pull request #1328 from nextcloud/dependabot/npm_and_yarn/multi-d66d039ac5
Chore(deps): Bump serve-static and express
2024-09-21 15:16:07 +02:00
Ferdinand Thiessen 7bdc37c8a5
Merge pull request #1329 from nextcloud/dependabot/npm_and_yarn/express-4.21.0
Chore(deps-dev): Bump express from 4.19.2 to 4.21.0
2024-09-21 15:15:38 +02:00
Ferdinand Thiessen 5796e59b8c
Merge pull request #1331 from nextcloud/dependabot/npm_and_yarn/dompurify-3.1.6
Chore(deps): Bump dompurify from 3.1.2 to 3.1.6
2024-09-21 15:15:19 +02:00
Ferdinand Thiessen 567e4461ca
Merge pull request #1330 from nextcloud/fix/add-psalm
fix: Add psalm configuration, fix some of the errors, add stubs, add baseline
2024-09-21 15:14:52 +02:00
Nextcloud bot 45d76edc8f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-21 01:13:28 +00:00
Nextcloud bot 5de0c18952
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-20 01:15:03 +00:00
Côme Chilliet 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
Côme Chilliet bf781ba883
fix: Remove references to getLogger and ILogger in the tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 17:41:24 +02:00
Côme Chilliet 4136a6d602
chore: Ignore stubs in linter composer script
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 17:23:56 +02:00
Côme Chilliet 85646242d3
chore: Add psalm CI workflow
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 17:19:25 +02:00
Nextcloud bot 59a03fa933
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 01:13:19 +00:00
Nextcloud bot df6800e949
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 01:15:25 +00:00
Nextcloud bot a05896752e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 01:15:55 +00:00
dependabot[bot] 64edafe721
Chore(deps): Bump dompurify from 3.1.2 to 3.1.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.2 to 3.1.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.2...3.1.6)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 20:56:12 +00:00
Côme Chilliet c16bb363d0
chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 19:39:17 +02:00
Côme Chilliet b2331386b7
chore: fix the last psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 19:38:44 +02:00
Côme Chilliet c8af84e090
chore: Remove two unused methods with incorrect code inside
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:26:03 +02:00
Côme Chilliet 06f7656ace
chore: Add stubs folder to ignore list for code style
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:20:26 +02:00
Côme Chilliet e75ec7c20a
fix: Add psalm configuration, fix some of the errors, add stubs, add baseline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 15:24:19 +02:00
Côme Chilliet a3da881666
Merge pull request #1325 from nextcloud/fix/add-workflows
Add codestyle workflows and fixer
2024-09-16 11:12:42 +02:00
Nextcloud bot 8d310e3d0f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 01:10:33 +00:00
Nextcloud bot 7f76b4f50f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 01:28:34 +00:00
dependabot[bot] 79b4bc4fb1
Build(deps-dev): Bump elliptic from 6.5.4 to 6.5.7
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.4 to 6.5.7.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.4...v6.5.7)

---
updated-dependencies:
- dependency-name: elliptic
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-14 22:33:07 +00:00