1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-11-24 22:42:46 +01:00
Commit Graph

6749 Commits

Author SHA1 Message Date
dependabot[bot]
cc445ac038 Bump phpstan/phpstan from 1.7.6 to 1.7.8
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.7.6 to 1.7.8.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.7.6...1.7.8)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 14:52:18 +02:00
Benjamin Brahmer
4981b9e3fd Release 18.1.0-beta2
Changed
-  If items of feed do not provide an author fallback to feed author (#1803)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-31 15:59:41 +02:00
Benjamin Brahmer
1c91928e59
If items of feed do not provide an author fallback to feed author (#1803)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-31 15:46:01 +02:00
dependabot[bot]
dbb6419316 Bump phpstan/phpstan from 1.7.4 to 1.7.6
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.7.4 to 1.7.6.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.7.4...1.7.6)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 14:34:52 +02:00
dependabot[bot]
86d20bb6f9 Bump phpstan/phpstan-doctrine from 1.3.5 to 1.3.6
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.5...1.3.6)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-doctrine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:34:49 +02:00
dependabot[bot]
4ce4eca522 Bump phpstan/phpstan from 1.7.2 to 1.7.3
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:12:58 +02:00
Benjamin Brahmer
eca96ad37d
Enable API testing (#1699)
Enable API testing with local php server.

This adds many tests for API v1.2, more still possible.
Which increased the quality of news already.

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-29 11:25:38 +02:00
Benjamin Brahmer
86e01a91f3 Release 18.1.0-beta1
Changed
- Add API v1.3 adding routes for starring/unstarring items by id and general fixes (#1727)
  https://nextcloud.github.io/news/api/api-v1-3/
- Improve styling of tables in articles (#1779)
- Allow fetching feeds that omit guid by using link as stand-in (#1785)

Fixed
- Fix updated api not returning any item after marking item as read (#1713)
- Fix deprecation warning for strip_tags() on a null value (#1766)
- Fix selected item being set incorrectly when using default ordering or newest first ordering (#1324)
- Fix doubling the height of the content area (#1796)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-29 10:34:26 +02:00
083b0a1a74 Fix doubling the height of the content area
Signed-off-by: chylex <contact@chylex.com>
2022-05-28 16:39:50 +02:00
dependabot[bot]
2b254d3483 Bump phpstan/phpstan from 1.7.1 to 1.7.2
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.7.1...1.7.2)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 17:37:24 +02:00
Accalia Elementia
fdf037e728
Use Feed Link as GUID when Feed omits Guid. (#1785)
* Use Feed Link as GUID when Feed omits Guid.

As noted in nextcloud/news#1702 some feeds omit the GUID and are
therefore not a valid RSS feed.

nextcloud/news#1738 resolved the issue to allow valid feeds to
update correctly when an invalid feed is present.

This commit allows parsing of the invalid feed as well by assuming
that the item link of the feed is unique to the feed and using
it in place of the GUID when the feed omits the GUID.

This will allow NextCloud News to accept and behave like many other
popular feed aggregators when presented with such an invalid feed.

Signed-off-by: Accalia <Accalia@Elementia.me>

* Add basic Logging when using fallback guid

Signed-off-by: Accalia <Accalia@Elementia.me>

* Add basic Logging when using fallback guid - Fix Fatfinger Typo

Signed-off-by: Accalia <Accalia@Elementia.me>

* Add basic Logging when using fallback guid - Update tests to account for additional logging

Signed-off-by: Accalia <Accalia@Elementia.me>
2022-05-24 17:07:50 +02:00
dependabot[bot]
684af84ea9 Bump phpstan/phpstan-doctrine from 1.3.4 to 1.3.5
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.4...1.3.5)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-doctrine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 17:07:29 +02:00
dependabot[bot]
83cb9b6a58 Bump phpstan/phpstan from 1.6.9 to 1.7.1
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.6.9 to 1.7.1.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.9...1.7.1)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 14:42:28 +02:00
Accalia
09e06fd5b0 update ContentController to fix nextcloud#1324
Signed-off-by: Accalia <Accalia@Elementia.me>
2022-05-24 10:49:06 +02:00
Nextcloud bot
f3c824bfae
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-24 03:16:22 +00:00
dependabot[bot]
c8f781cd35 Bump phpstan/phpstan from 1.6.8 to 1.6.9
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.6.8 to 1.6.9.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.8...1.6.9)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 16:30:52 +02:00
dependabot[bot]
50c8960f8d Bump minimatch from 5.0.1 to 5.1.0 in /js
Bumps [minimatch](https://github.com/isaacs/minimatch) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v5.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-18 11:12:22 +02:00
dependabot[bot]
6a8b904f72 Bump karma from 6.3.19 to 6.3.20 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.19 to 6.3.20.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.19...v6.3.20)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 14:23:01 +02:00
dependabot[bot]
687a308fe4 Bump karma-jasmine from 5.0.0 to 5.0.1 in /js
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases)
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: karma-jasmine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 14:22:46 +02:00
00cb4becf6 Improve styling of tables in articles
Signed-off-by: chylex <contact@chylex.com>
2022-05-13 09:45:16 +02:00
dependabot[bot]
129caf4ae1 Bump jasmine-core from 4.1.0 to 4.1.1 in /js
Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: jasmine-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 16:59:57 +02:00
dependabot[bot]
37460f271c Bump phpstan/phpstan-doctrine from 1.3.3 to 1.3.4
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.3...1.3.4)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-doctrine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 15:18:31 +02:00
dependabot[bot]
c137e1efcc Bump phpstan/phpstan-strict-rules from 1.2.2 to 1.2.3
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.2.2...1.2.3)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 14:20:20 +02:00
dependabot[bot]
236057a297 Bump phpstan/phpstan from 1.6.5 to 1.6.7
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.6.5 to 1.6.7.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.5...1.6.7)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 14:20:13 +02:00
Benjamin Brahmer
0fb620244d check if variable is null before striping tags
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2022-05-04 18:14:37 +02:00
dependabot[bot]
e8b00fa648 Bump doctrine/dbal from 3.3.5 to 3.3.6
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/3.3.5...3.3.6)

---
updated-dependencies:
- dependency-name: doctrine/dbal
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 14:27:49 +02:00
dependabot[bot]
1923bd1223 Bump phpstan/phpstan from 1.6.3 to 1.6.5
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.6.3 to 1.6.5.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.3...1.6.5)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 14:21:43 +02:00
Benjamin Brahmer
15e613bc36 fix the url
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-04 10:18:11 +02:00
Benjamin Brahmer
eeb3c15b05 by default don't do codecoverage
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-03 21:26:03 +02:00
Benjamin Brahmer
33fe41e86a Update php version and disable code check
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-03 21:26:03 +02:00
Sean Molenaar
d72dcad287 integration test: no app:check-code on new NC
Signed-off-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2022-05-03 21:26:03 +02:00
dependabot[bot]
fca05d50a6 Bump phpstan/phpstan-strict-rules from 1.2.1 to 1.2.2
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.2.1...1.2.2)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 14:13:47 +02:00
Benjamin Brahmer
5af0cb6e22 update last_modified when marking an item as read
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

this way it works

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

add changelog entry

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

Partly fix test

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

test passing

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-02 09:56:12 +02:00
Paul Tirk
da5e749ecc rename parameter for read/unread api call
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
3bdafbfcea add documentation for API v1.3 & fix parameter description
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
4b68169142 also allow starring/unstarring multiple items by id
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
81243985d2 create copies of v1.2 api routes for v1.3 api
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
7e37deeeb3 rename documentation for api v1.2
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
115df4b9e2 remove duplicate function
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
b9c4f0bacb fix indentation of function description
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
f44967d9e7 document new starring api methods in changelog
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
4594fc6d1f add tests for starring/unstarring items by id
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Paul Tirk
98028e4422 add routes for starring/unstarring items by id
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
dependabot[bot]
397eba14d9 Bump phpstan/phpstan-strict-rules from 1.2.0 to 1.2.1
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 14:33:23 +02:00
dependabot[bot]
1500072ffc Bump phpstan/phpstan from 1.6.2 to 1.6.3
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.2...1.6.3)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 14:32:58 +02:00
Nextcloud bot
ce18698e6f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-28 03:07:10 +00:00
dependabot[bot]
92f6853add Bump phpstan/phpstan from 1.6.0 to 1.6.2
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.6.0 to 1.6.2.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.6.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.0...1.6.2)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 14:32:20 +02:00
dependabot[bot]
32e11f1675 Bump phpstan/phpstan-strict-rules from 1.1.0 to 1.2.0
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 14:09:28 +02:00
Benjamin Brahmer
835f295ece Release 18.0.1
No major changes since the beta versions.

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-04-24 10:29:33 +02:00
Nextcloud bot
e89b41c891
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-24 03:07:04 +00:00