1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-10-17 08:42:48 +02:00

Compare commits

...

448 Commits

Author SHA1 Message Date
3fdd21b9fd
Add article word count & limit intro length 2024-08-02 15:39:01 +02:00
9f1f615d99
Improve visibility of links in dark theme (#2215) 2024-08-02 15:38:47 +02:00
Nextcloud bot
69fe896990
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-28 01:30:09 +00:00
Nextcloud bot
350eea3aa1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-20 01:13:51 +00:00
Nextcloud bot
d0df2c85c7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-13 01:13:47 +00:00
Nextcloud bot
4e2a2e139c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-10 01:24:42 +00:00
Nextcloud bot
0e437d22ac
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-09 01:10:38 +00:00
Benjamin Brahmer
e3b3087d14 Release 25.0.0-alpha8
Changed
- Add support for moving feeds to another folder from the sidebar feed menu (#2707)
- Persist the filter state and show unread items by default (#2704)

Fixed
- Fix undefined item when using `j` and `k` keyboards shortcuts in an empty feed (#2689)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-07-08 09:31:38 +02:00
Nextcloud bot
cb89f1bc2a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-08 01:12:39 +00:00
Patrizio Bekerle
2efb4d200a
add: move feed dialog (#2707)
add: more feed moving implementation
add: finish feed moving and update changelog
add: try more ways to reload feed list
add: do folder and feed reloading

Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-07-07 11:41:34 +02:00
Nextcloud bot
daf365ea92
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-04 01:13:53 +00:00
Benjamin Brahmer
ff1c6c9e12 Add section about OCC
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-06-29 00:10:32 +02:00
Nextcloud bot
a7ac7449e0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 01:14:28 +00:00
Patrizio Bekerle
3aae9e379d add: filter persistence
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2024-06-27 21:28:44 +02:00
Nextcloud bot
2603fee0e8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-26 01:10:37 +00:00
dependabot[bot]
c74cfeb329 Build(deps): Bump getong/mariadb-action from 1.2 to 1.11
Bumps [getong/mariadb-action](https://github.com/getong/mariadb-action) from 1.2 to 1.11.
- [Release notes](https://github.com/getong/mariadb-action/releases)
- [Commits](https://github.com/getong/mariadb-action/compare/v1.2...v1.11)

---
updated-dependencies:
- dependency-name: getong/mariadb-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 14:37:44 +02:00
Benjamin Brahmer
b144030a07 log warning if feed cannot be parsed
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-06-23 18:32:18 +02:00
Benjamin Brahmer
4d9fe9f009 update bats to latest release
and use sudo for npm

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-06-22 12:59:04 +02:00
dependabot[bot]
f33111f8ae Build(deps): Bump getong/mariadb-action from 1.1 to 1.2
Bumps [getong/mariadb-action](https://github.com/getong/mariadb-action) from 1.1 to 1.2.
- [Release notes](https://github.com/getong/mariadb-action/releases)
- [Commits](https://github.com/getong/mariadb-action/compare/v1.1...v1.2)

---
updated-dependencies:
- dependency-name: getong/mariadb-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 17:15:56 +02:00
dependabot[bot]
44eb12d7f1 Build(deps-dev): Bump ws from 8.13.0 to 8.17.1
Bumps [ws](https://github.com/websockets/ws) from 8.13.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.13.0...8.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 13:19:34 +02:00
Patrizio Bekerle
23def3acef fix: undefined item when using j/k akeyboards shortcuts in empty feed
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2024-06-15 09:15:02 +02:00
Nextcloud bot
6124f344e5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-15 01:14:05 +00:00
dependabot[bot]
6478763d92 Build(deps): Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 13:43:24 +02:00
Benjamin Brahmer
8688bf6c02 Release 25.0.0-alpha7
Changed
- added alternative development environment (#2670)
- Implement `j` and `k` keyboards shortcuts for navigating through feed items (#2671)
- Implement `s`, `i` and `l` keyboards shortcuts for staring current feed item (#2677)
- Implement `o` keyboards shortcut for opening the URL of current feed item (#2677)
- Implement `u` keyboards shortcut for marking current feed item read/unread (#2677)
- Implement highlighting of active feed item (#2677)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-06-11 12:34:45 +02:00
dependabot[bot]
ac569431c2 Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.69 to 1.4.3
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.69 to 1.4.3.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.69...1.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 11:57:47 +02:00
Patrizio Bekerle
8145582d02
Implement highlighting of active feed item and more keyboard shortcuts (#2677)
* add: highlighting of active item
* add: keyboard shortcuts "u", "s", "i", "l" and "o"
* dev: force running commands on stale session
* add: prepare scrolling to the current item

Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2024-06-08 19:25:59 +02:00
Nextcloud bot
9ff40ab8a5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-06 02:50:54 +00:00
Nextcloud bot
de12aceef1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-04 01:06:13 +00:00
Nextcloud bot
0d96deb64e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-03 01:05:17 +00:00
Patrizio Bekerle
ea71aced58 add: j/k shortcuts
add: make first attempt to jump to previous and next feed item

fix: linter errors

fix: use correct feed items

fix: use filterSortedItems()

add: trigger click event programmatically to benefit from item handling
inside FeedItemRow component

add: use a proper item if none is selected

fix: remove not needed MUTATIONS import

add: attempt to scroll to clicked item

doc: add changelog text

Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2024-06-02 16:43:36 +02:00
Benjamin Brahmer
9ff0f77798 add changelog entry
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-06-01 14:35:46 +02:00
Benjamin Brahmer
b42c40c0e0 add entry in the docs
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-06-01 14:35:46 +02:00
Patrizio Bekerle
1ce46dcc3e add: development environment
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2024-06-01 14:35:46 +02:00
Nextcloud bot
281bb66f13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-01 01:03:26 +00:00
Nextcloud bot
9b795c6ada
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-31 01:02:57 +00:00
Vincent Neubauer
fd5aaa82d9 fix(ui): "a.data.items is undefined" on first run
When enabling the app for the very first time and opening the view, a
toast notification pops up with the following message:

> TypeError: a.data.items is undefined

This is caused by a silenced exception in lib/Controller/ItemController.
Due to it, not a single key is set in the $return array.

Responses returned from such a controller will be serialized as JSON.
However, the returned value is no longer a key-value array, but an
(empty) list and the serializer will convert it to `[]` instead of `{}`
what it should've been.

Now it will return a dummy response containing all the keys but
empty values, causing the serializer to return an object.

Signed-off-by: Vincent Neubauer <v.neubauer@darlor.de>
2024-05-30 19:22:51 +02:00
Nextcloud bot
f6b411a497
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-28 01:02:15 +00:00
Nextcloud bot
073922245a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-25 01:04:48 +00:00
Nextcloud bot
3111f79d05
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-24 01:01:13 +00:00
Nextcloud bot
4a4bed4c41
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-23 01:03:39 +00:00
Nextcloud bot
4a11c2579f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-21 01:04:09 +00:00
Nextcloud bot
2ab9f7169d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-18 01:02:52 +00:00
dependabot[bot]
493ef0c341 Build(deps-dev): Bump @nextcloud/browserslist-config from 3.0.0 to 3.0.1
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/browserslist-config"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 19:04:12 +02:00
dependabot[bot]
416235b623 Build(deps-dev): Bump eslint-plugin-vue from 9.20.1 to 9.26.0
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 9.20.1 to 9.26.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.1...v9.26.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 07:53:50 +03:00
dependabot[bot]
276f6a7ff3 Build(deps): Bump @nextcloud/dialogs from 4.2.2 to 4.2.7
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 4.2.2 to 4.2.7.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/v4.2.7/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v4.2.2...v4.2.7)

---
updated-dependencies:
- dependency-name: "@nextcloud/dialogs"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 08:49:00 +03:00
dependabot[bot]
3baa27a208 Build(deps-dev): Bump squizlabs/php_codesniffer from 3.9.1 to 3.9.2
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.1...3.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 09:52:25 +03:00
dependabot[bot]
56301bd9e8 Build(deps): Bump svenstaro/upload-release-action from 2.7.0 to 2.9.0
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 2.7.0 to 2.9.0.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](1beeb572c1...04733e069f)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 21:07:19 +02:00
dependabot[bot]
04f70d5dcc Build(deps-dev): Bump webpack-dev-middleware from 5.3.3 to 5.3.4
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 21:06:45 +02:00
dependabot[bot]
02e443c65c Build(deps-dev): Bump vue-material-design-icons from 5.2.0 to 5.3.0
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/5.2.0...5.3.0)

---
updated-dependencies:
- dependency-name: vue-material-design-icons
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 21:06:12 +02:00
dependabot[bot]
30313f71db Build(deps): Bump skjnldsv/read-package-engines-version-actions
Bumps [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) from 2.2 to 3.
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases)
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v2.2...v3)

---
updated-dependencies:
- dependency-name: skjnldsv/read-package-engines-version-actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 21:04:23 +02:00
Benjamin Brahmer
8b1666e815 Release 25.0.0-alpha6
Changed
- Improve layout of feed item row (#2569)

Fixed
- Reset content scroll position when feed item is changed (#2569)
- Fix link to feed in article header (#2569)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-05-07 20:10:12 +02:00
Benjamin Brahmer
0fb5ed2d78 update authors
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-05-07 13:52:59 +02:00
Paul Tirk
34fb1d2324 add changelog entries
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2024-05-07 13:52:59 +02:00
Paul Tirk
3a154dcceb fix link to feed in article header
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2024-05-07 13:52:59 +02:00
Paul Tirk
e1bcddd52e improve typing of feed item display list config
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2024-05-07 13:52:59 +02:00
Paul Tirk
a4911e2b74 reset content scroll position when changing feed item
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2024-05-07 13:52:59 +02:00
Paul Tirk
9c3f3e3dca grow main container of feed item row
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2024-05-07 13:52:59 +02:00
Paul Tirk
f774eba227 move feed item list header actually into header
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2024-05-07 13:52:59 +02:00
Nextcloud bot
cdff40499b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-01 01:11:57 +00:00
Nextcloud bot
f3bfcc98de
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-25 01:11:55 +00:00
Nextcloud bot
3b9eee8339
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-23 01:11:43 +00:00
dependabot[bot]
a776d93fd2 Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.64 to 1.3.69
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.64 to 1.3.69.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.64...1.3.69)

---
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>
2024-04-21 21:11:25 +02:00
Nextcloud bot
3bed7897c1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-13 01:13:31 +00:00
Nextcloud bot
cdf8636ac2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-11 01:11:29 +00:00
Nextcloud bot
b5a327da3b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-05 01:11:24 +00:00
dependabot[bot]
16c001cde5 Build(deps-dev): Bump squizlabs/php_codesniffer from 3.9.0 to 3.9.1
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.0...3.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 07:50:10 +02:00
dependabot[bot]
89fb17b19c Build(deps-dev): Bump express from 4.18.2 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 07:49:32 +02:00
Nextcloud bot
b8df39ee52
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-02 01:10:05 +00:00
Benjamin Brahmer
d6e37d665f Release 25.0.0-alpha5
Changed
- make occ news:updater:job exit with code 2 if last update was too long ago (#2590)
- Fix deprecated variable reference in ExportController.php (#2602)
- Add support for Nextcloud 29 (#2611)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-04-01 15:44:04 +02:00
Petra Mirelli
8c36f1d8bf Chore(docs): enable code highlighting and theme switcher
Signed-off-by: Petra Mirelli <80395360+iNtEgraIR2021@users.noreply.github.com>
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-04-01 10:51:56 +02:00
Petra Mirelli
9834529005 Chore(docs): enhance readability
Signed-off-by: Petra Mirelli <80395360+iNtEgraIR2021@users.noreply.github.com>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-04-01 10:51:56 +02:00
Marcus Nitzschke
323629c371 Fix horizontal grow of feed item rows
Signed-off-by: Marcus Nitzschke <mail@kendix.org>
2024-04-01 10:44:31 +02:00
Benjamin Brahmer
f5dc9a6aca Use local feedserver to test the logo/favicon logic
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-03-31 16:19:01 +02:00
Nextcloud bot
abb9c57f03
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-31 01:11:14 +00:00
Nextcloud bot
afc1e13cbf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-30 01:11:50 +00:00
Nextcloud bot
17075d9b2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-29 01:16:11 +00:00
dependabot[bot]
2092557366 Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.63 to 1.3.64
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.63 to 1.3.64.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.63...1.3.64)

---
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>
2024-03-22 10:11:17 +01:00
dependabot[bot]
87ee7239d6 Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.62 to 1.3.63
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.62 to 1.3.63.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.62...1.3.63)

---
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>
2024-03-19 16:16:28 +01:00
dependabot[bot]
35a9442534 Build(deps): Bump follow-redirects from 1.15.4 to 1.15.6
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:17:48 +01:00
Nextcloud bot
701eeb1794
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-17 01:09:45 +00:00
Benjamin Brahmer
acc649e480 Changelog update
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-03-13 12:56:25 +01:00
Sean Molenaar
83533dc892 chore: support Nextcloud 29
Signed-off-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2024-03-13 12:56:25 +01:00
Martin Vuille
3c642d67fe Update CHANGELOG.md
Signed-off-by: Martin Vuille <jpmv27@yahoo.com>
2024-03-13 12:43:05 +01:00
Martin Vuille
847556cda2 Fix deprecated variable reference
Signed-off-by: Martin Vuille <jpmv27@yahoo.com>
2024-03-13 12:43:05 +01:00
dependabot[bot]
11a9b16b0a Build(deps-dev): Bump phpstan/phpstan-phpunit from 1.3.15 to 1.3.16
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) from 1.3.15 to 1.3.16.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases)
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/1.3.15...1.3.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-08 16:21:50 +01:00
dependabot[bot]
2d8ab2f858 Build(deps-dev): Bump phpstan/phpstan from 1.10.59 to 1.10.60
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.59 to 1.10.60.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.59...1.10.60)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-08 15:51:47 +01:00
Nextcloud bot
dc2b96c203
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 01:10:59 +00:00
Nextcloud bot
49e04ca13c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-07 01:19:17 +00:00
Nextcloud bot
950dd751cc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-04 01:10:52 +00:00
Nextcloud bot
ab7a4f5850
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-02 01:08:56 +00:00
Nextcloud bot
8eba7361ce
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 01:20:33 +00:00
Nextcloud bot
342627d9b5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 01:09:52 +00:00
Nextcloud bot
8a1c943991
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 01:13:10 +00:00
Nextcloud bot
d44d3e3bad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-22 01:12:21 +00:00
dependabot[bot]
5d940776eb Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.59 to 1.3.62
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.59 to 1.3.62.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.59...1.3.62)

---
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>
2024-02-21 09:35:53 +01:00
dependabot[bot]
d8bfdf9251 Build(deps): Bump @nextcloud/moment from 1.2.2 to 1.3.1
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.2.2 to 1.3.1.
- [Release notes](https://github.com/nextcloud/nextcloud-moment/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.2.2...v1.3.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/moment"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 09:35:18 +01:00
dependabot[bot]
ff89a33bb4 Build(deps-dev): Bump squizlabs/php_codesniffer from 3.8.1 to 3.9.0
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.8.1 to 3.9.0.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.8.1...3.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 09:17:21 +01:00
mortee
c926982281 cosmetic docs changes
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: mortee <mortee.github@kavemalna.hu>
2024-02-21 09:16:30 +01:00
mortee
70e18cdb2e make phpcs happy 2024-02-21 09:16:30 +01:00
mortee
540b7db34e added --check-elapsed command line option, to prevent existing scripts from breaking 2024-02-21 09:16:30 +01:00
mortee
9ee51e0c5b made reset logic and update problem checking independent of each other 2024-02-21 09:16:30 +01:00
mortee
f5a5caa3cc output clearer error message
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: mortee <mortee.github@kavemalna.hu>
2024-02-21 09:16:30 +01:00
mortee
d90769d2c6 occ news:updater:job exits with code 2 if last update was too long ago
Signed-off-by: mortee <mortee@kavemalna.hu>
2024-02-21 09:16:30 +01:00
mortee
1ae4a36155 quoted all paths in Makefile, to prevent errors because of spaces in the working directory path
Signed-off-by: mortee <mortee@kavemalna.hu>
2024-02-21 09:01:35 +01:00
dependabot[bot]
64709da84f Build(deps-dev): Bump ip from 2.0.0 to 2.0.1
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 08:59:06 +01:00
Nextcloud bot
a386d8f357
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 01:09:34 +00:00
Nextcloud bot
3ed0f89c10
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-16 01:10:47 +00:00
Nextcloud bot
2a494eeab1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-15 01:15:03 +00:00
dependabot[bot]
9908a0e2bf Build(deps-dev): Bump phpstan/phpstan from 1.10.56 to 1.10.58
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.56 to 1.10.58.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.56...1.10.58)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-13 14:33:40 +01:00
Nextcloud bot
a2788b8fca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-13 01:10:11 +00:00
dependabot[bot]
46cc276cbd Build(deps-dev): Bump doctrine/dbal from 3.7.3 to 3.8.0
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.7.3 to 3.8.0.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/3.7.3...3.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 11:47:36 +01:00
Nextcloud bot
04fa40bc4f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 01:27:40 +00:00
Benjamin Brahmer
f18e690e89 Release 25.0.0-alpha4
Changed
- Add DB index for news_feeds.deleted_at (#2526)

Fixed
- PostgreSQL implement fix for marking over 65535 unread items as "read" (#2557)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2024-01-25 12:42:20 +01:00
IgorA100
4f5cf492ae Styling
Signed-off-by: IgorA100 <igora100@gmail.com>
2024-01-25 11:23:55 +01:00
IgorA100
2f6118e818 Replacing tabs with spaces
Signed-off-by: IgorA100 <igora100@gmail.com>
2024-01-25 11:23:55 +01:00
IgorA100
e7de0b550a Cancel preserve keys of the items array.
Signed-off-by: IgorA100 <igora100@gmail.com>
2024-01-25 11:23:55 +01:00
IgorA100
e3be78a1ff Update CHANGELOG.md
Update CHANGELOG.md

Signed-off-by: IgorA100 <igora100@gmail.com>
2024-01-25 11:23:55 +01:00
IgorA100
457aaa7aaf Fix: Mark over 65535 unread items as "read"
If there are more than 65535 unread items, then when checking “mark as read” you will get an SQL error (SQLSTATE[HY000]: General error: 7 number of parameters must be between 0 and 65535 at) due to the limitation of the number of parameters. The array is divided into smaller ones.

Signed-off-by: IgorA100 <igora100@gmail.com>
2024-01-25 11:23:55 +01:00
dependabot[bot]
719d4fd6b4 Build(deps-dev): Bump doctrine/dbal from 3.7.2 to 3.7.3
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.7.2 to 3.7.3.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/3.7.2...3.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 11:22:59 +01:00
dependabot[bot]
f04b5eab22 Build(deps-dev): Bump @babel/preset-env from 7.23.6 to 7.23.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.6 to 7.23.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.8/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 17:25:50 +01:00
dependabot[bot]
357033a47f Build(deps-dev): Bump eslint-plugin-vue from 9.19.2 to 9.20.1
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 9.19.2 to 9.20.1.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.2...v9.20.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 17:25:07 +01:00
dependabot[bot]
6d57237e7d Build(deps-dev): Bump vue-eslint-parser from 9.3.2 to 9.4.2
Bumps [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) from 9.3.2 to 9.4.2.
- [Release notes](https://github.com/vuejs/vue-eslint-parser/releases)
- [Commits](https://github.com/vuejs/vue-eslint-parser/compare/v9.3.2...v9.4.2)

---
updated-dependencies:
- dependency-name: vue-eslint-parser
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 17:24:38 +01:00
dependabot[bot]
e13fc9432d Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.54 to 1.3.59
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.54 to 1.3.59.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.54...1.3.59)

---
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>
2024-01-22 10:32:27 +01:00
dependabot[bot]
49e213e7c4 Build(deps-dev): Bump phpstan/phpstan from 1.10.55 to 1.10.56
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.55 to 1.10.56.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.55...1.10.56)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 09:43:48 +01:00
Nextcloud bot
83d8d89edf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 01:10:22 +00:00
dependabot[bot]
2467fff321 Build(deps-dev): Bump phpunit/phpunit from 9.6.15 to 9.6.16
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.15 to 9.6.16.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.16/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.15...9.6.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 14:17:46 +01:00
Josh
668ed82280 FolderRead: add type declarations
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-21 13:58:20 +01:00
dependabot[bot]
b3bad9938f Build(deps-dev): Bump squizlabs/php_codesniffer from 3.8.0 to 3.8.1
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.8.0...3.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 13:57:53 +01:00
dependabot[bot]
eb472e7a7c Build(deps-dev): Bump @babel/core from 7.23.6 to 7.23.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.6 to 7.23.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.7/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 11:37:36 +01:00
dependabot[bot]
4148a74f18 Build(deps-dev): Bump terser-webpack-plugin from 5.3.9 to 5.3.10
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.3.9 to 5.3.10.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.3.9...v5.3.10)

---
updated-dependencies:
- dependency-name: terser-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 11:37:11 +01:00
Nextcloud bot
1f6b12b8fb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 01:28:56 +00:00
Nextcloud bot
918fc14658
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-18 01:09:35 +00:00
nextcloud-command
2492232c57 Update npm and node engines versions
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 08:40:54 +01:00
Nextcloud bot
0ea8ca3558
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-14 01:12:07 +00:00
Nextcloud bot
5c5c457368
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-13 01:10:58 +00:00
Nextcloud bot
69741134fd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 01:09:12 +00:00
Nextcloud bot
320357f35f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 01:11:17 +00:00
dependabot[bot]
32bdbd26b8 Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.53 to 1.3.54
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.53 to 1.3.54.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.53...1.3.54)

---
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>
2024-01-08 15:57:26 +02:00
dependabot[bot]
95efbabb96 Build(deps-dev): Bump axios from 1.6.3 to 1.6.5
Bumps [axios](https://github.com/axios/axios) from 1.6.3 to 1.6.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.3...v1.6.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 15:55:41 +02:00
dependabot[bot]
90bee5435c Build(deps-dev): Bump phpstan/phpstan from 1.10.50 to 1.10.52
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.50 to 1.10.52.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.50...1.10.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 15:14:49 +02:00
dependabot[bot]
ebcbf4f63d Build(deps): Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.7.15 to 2.7.16
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)

Updates `vue-template-compiler` from 2.7.15 to 2.7.16
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.15...v2.7.16)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 12:25:56 +01:00
Nextcloud bot
9afd6f5fcd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-04 01:12:05 +00:00
Nextcloud bot
7a25eeaf5f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-03 01:11:49 +00:00
Sean Molenaar
38af3a742a fix: ESLint errors
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2024-01-02 11:16:39 +02:00
Nextcloud bot
b226b6f076
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-31 01:10:56 +00:00
Benjamin Brahmer
a8c26384a3 fix typo
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-30 15:25:56 +01:00
Benjamin Brahmer
9cfcc71e65 bump version
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-30 15:25:56 +01:00
Benjamin Brahmer
87fac9579a change order of droping tables, constraints
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-30 15:25:56 +01:00
Benjamin Brahmer
324fee8161 adjust existing migration
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-30 15:25:56 +01:00
Benjamin Brahmer
db4bb6381d php 8.2 deprecated ${} in strings {$var} is a working alternative
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-30 15:25:56 +01:00
Benjamin Brahmer
08f4e63aeb Add Listener for missing db indices
this allows admins to add them via occ.

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-30 15:25:56 +01:00
dependabot[bot]
64fe310488 Build(deps-dev): Bump eslint from 8.54.0 to 8.56.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.54.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.56.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 14:06:04 +01:00
dependabot[bot]
389955169d Build(deps-dev): Bump axios from 1.6.2 to 1.6.3
Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.2...v1.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 13:44:07 +01:00
Nextcloud bot
872567f0bf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-27 01:10:09 +00:00
Benjamin Brahmer
29ad0cf02d revert changes to test
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-24 14:57:28 +01:00
Benjamin Brahmer
cc01fd4a64 Release 25.0.0-alpha3
Changed
- Changed default page when starting app (#2515)
- Downgrade feed-io to 5.3.1 (#2497)

Fixed
- Fix search support for Nextcloud 28 (#2432)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-24 14:57:28 +01:00
Benjamin Brahmer
b5b3d1816e downgrade feed-io to 5.3.1
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-24 14:28:27 +01:00
Nextcloud bot
151d673d73
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-24 01:16:51 +00:00
Nextcloud bot
fbec2303bd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-23 01:11:02 +00:00
Sean Molenaar
1c7a5f5bd8 fix: default to unread page
Signed-off-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2023-12-21 17:51:47 +01:00
dependabot[bot]
44a620f2a6 Build(deps-dev): Bump @babel/preset-env from 7.23.5 to 7.23.6
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.5 to 7.23.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.6/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 10:48:34 +01:00
dependabot[bot]
a4b50cebbf Build(deps-dev): Bump @babel/core from 7.23.5 to 7.23.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.5 to 7.23.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.6/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 10:33:50 +01:00
dependabot[bot]
6cd79ae2d0 Build(deps-dev): Bump phpstan/phpstan from 1.10.46 to 1.10.50
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.46 to 1.10.50.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.46...1.10.50)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 10:33:30 +01:00
dependabot[bot]
b8d93f6b5a Build(deps-dev): Bump regenerator-runtime from 0.14.0 to 0.14.1
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.14.0...regenerator-runtime@0.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 10:33:00 +01:00
Christof Dorner
a8f43de588 use https for all explore feed urls and favicons
The CCMixter favicon was responsible for browsers emitting
a mixed content warning. While at it, I changed all other
http URLs to https.

Signed-off-by: Christof Dorner <christof@chdorner.com>
2023-12-19 15:20:00 +01:00
dependabot[bot]
9a0ae37518 Build(deps-dev): Bump eslint-plugin-import from 2.28.0 to 2.29.1
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.0 to 2.29.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.29.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 13:28:47 +01:00
dependabot[bot]
adce2b4f6a Build(deps-dev): Bump squizlabs/php_codesniffer from 3.7.2 to 3.8.0
Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.7.2 to 3.8.0.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 12:29:57 +01:00
dependabot[bot]
a65bbcc43b Build(deps-dev): Bump @types/jest from 29.5.10 to 29.5.11
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.10 to 29.5.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 12:25:46 +01:00
dependabot[bot]
1cebfef199 Build(deps-dev): Bump eslint-plugin-vue from 9.18.1 to 9.19.2
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 9.18.1 to 9.19.2.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.1...v9.19.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 12:22:49 +01:00
Benjamin Brahmer
0ab992cadd update favicon link
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-18 14:37:43 +01:00
Benjamin Brahmer
a10cb17a3e Fix Time Test failing for no reason
Co-authored-by: Sean Molenaar <sean@seanmolenaar.eu>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-12-18 14:37:43 +01:00
Nextcloud bot
373706e73a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 01:09:45 +00:00
Nextcloud bot
929651bebb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 01:09:10 +00:00
Nextcloud bot
eeda1b27e2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-15 01:09:23 +00:00
dependabot[bot]
7f83ea17d9 Build(deps-dev): Bump phpunit/phpunit from 9.6.13 to 9.6.15
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.13 to 9.6.15.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.15/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.13...9.6.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-10 23:51:57 +01:00
dependabot[bot]
60a191744e Build(deps-dev): Bump @babel/core from 7.23.3 to 7.23.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.3 to 7.23.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.5/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 12:25:47 +01:00
dependabot[bot]
27be0be71d Build(deps-dev): Bump ts-loader from 9.4.4 to 9.5.1
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.4 to 9.5.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.4.4...v9.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 12:25:09 +01:00
Nextcloud bot
2b1c836e77
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 01:08:20 +00:00
dependabot[bot]
6e3c4b40a6 Build(deps-dev): Bump @babel/preset-env from 7.23.3 to 7.23.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.3 to 7.23.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.5/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 15:09:36 +01:00
dependabot[bot]
b1bb97774a Build(deps-dev): Bump phpstan/phpstan from 1.10.45 to 1.10.46
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.45 to 1.10.46.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.45...1.10.46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 15:08:42 +01:00
dependabot[bot]
01bb4745a3 Build(deps-dev): Bump phpstan/phpstan from 1.10.44 to 1.10.45
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.44 to 1.10.45.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.44...1.10.45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-28 15:43:41 +01:00
dependabot[bot]
2a08de5792 Build(deps-dev): Bump @types/lodash from 4.14.201 to 4.14.202
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.201 to 4.14.202.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-28 08:51:24 +01:00
dependabot[bot]
e37454c730 Build(deps-dev): Bump jest and @types/jest
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together.

Updates `jest` from 29.6.2 to 29.7.0
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

Updates `@types/jest` from 29.5.3 to 29.5.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 17:27:20 +01:00
dependabot[bot]
774b191dab Build(deps): Bump @nextcloud/moment from 1.2.1 to 1.2.2
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.2.1 to 1.2.2.
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/moment"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 17:26:47 +01:00
dependabot[bot]
818a28d0f9 Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.51 to 1.3.53
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.51 to 1.3.53.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.51...1.3.53)

---
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>
2023-11-27 10:49:38 +01:00
dependabot[bot]
e162b5ebe2 Build(deps-dev): Bump eslint-webpack-plugin from 3.2.0 to 4.0.1
Bumps [eslint-webpack-plugin](https://github.com/webpack-contrib/eslint-webpack-plugin) from 3.2.0 to 4.0.1.
- [Release notes](https://github.com/webpack-contrib/eslint-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/eslint-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/eslint-webpack-plugin/compare/v3.2.0...v4.0.1)

---
updated-dependencies:
- dependency-name: eslint-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 10:48:51 +01:00
dependabot[bot]
12e3c14768 Build(deps-dev): Bump axios from 1.6.0 to 1.6.2
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.6.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 10:48:27 +01:00
Nextcloud bot
cc79edc0a6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-27 01:14:34 +00:00
dependabot[bot]
13dfc72634 Build(deps-dev): Bump emoji-mart-vue-fast from 11.2.0 to 15.0.0
Bumps [emoji-mart-vue-fast](https://github.com/serebrov/emoji-mart-vue) from 11.2.0 to 15.0.0.
- [Release notes](https://github.com/serebrov/emoji-mart-vue/releases)
- [Commits](https://github.com/serebrov/emoji-mart-vue/compare/11.2.0...15.0.0)

---
updated-dependencies:
- dependency-name: emoji-mart-vue-fast
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-26 23:48:16 +01:00
dependabot[bot]
191bee518a Build(deps-dev): Bump @types/webpack-env from 1.18.1 to 1.18.4
Bumps [@types/webpack-env](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack-env) from 1.18.1 to 1.18.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack-env)

---
updated-dependencies:
- dependency-name: "@types/webpack-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-26 23:44:27 +01:00
dependabot[bot]
46cb7b1922 Build(deps-dev): Bump phpstan/phpstan from 1.10.43 to 1.10.44
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.43 to 1.10.44.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.43...1.10.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-26 23:43:13 +01:00
Nextcloud bot
991d77e1d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-26 01:13:53 +00:00
Nextcloud bot
a1bf4d7565
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-25 01:18:23 +00:00
Nextcloud bot
b106cfc274
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-24 01:43:36 +00:00
dependabot[bot]
3916ac53ee Build(deps-dev): Bump debounce from 1.2.1 to 2.0.0
Bumps [debounce](https://github.com/sindresorhus/debounce) from 1.2.1 to 2.0.0.
- [Release notes](https://github.com/sindresorhus/debounce/releases)
- [Commits](https://github.com/sindresorhus/debounce/compare/1.2.1...v2.0.0)

---
updated-dependencies:
- dependency-name: debounce
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-23 09:57:20 +01:00
dependabot[bot]
9efa7812a4 Build(deps-dev): Bump eslint from 8.53.0 to 8.54.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 12:30:21 +01:00
dependabot[bot]
e516c90670 Build(deps): Bump ezyang/htmlpurifier from 4.16.0 to 4.17.0
Bumps [ezyang/htmlpurifier](https://github.com/ezyang/htmlpurifier) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/ezyang/htmlpurifier/releases)
- [Changelog](https://github.com/ezyang/htmlpurifier/blob/master/NEWS)
- [Commits](https://github.com/ezyang/htmlpurifier/compare/v4.16.0...v4.17.0)

---
updated-dependencies:
- dependency-name: ezyang/htmlpurifier
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 16:14:23 +01:00
dependabot[bot]
5cc994b11c Build(deps-dev): Bump doctrine/dbal from 3.7.1 to 3.7.2
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.7.1 to 3.7.2.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/3.7.1...3.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 15:40:44 +01:00
dependabot[bot]
33798f60bf Build(deps-dev): Bump webpack from 5.88.2 to 5.89.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.89.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.89.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 15:31:06 +01:00
dependabot[bot]
cf6145f7ff Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.50 to 1.3.51
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.50 to 1.3.51.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.50...1.3.51)

---
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>
2023-11-20 15:03:42 +01:00
dependabot[bot]
e08ee29163 Build(deps-dev): Bump @vue/eslint-config-typescript
Bumps [@vue/eslint-config-typescript](https://github.com/vuejs/eslint-config-typescript) from 11.0.2 to 11.0.3.
- [Release notes](https://github.com/vuejs/eslint-config-typescript/releases)
- [Commits](https://github.com/vuejs/eslint-config-typescript/compare/v11.0.2...v11.0.3)

---
updated-dependencies:
- dependency-name: "@vue/eslint-config-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 14:58:52 +01:00
dependabot[bot]
c863344809 Build(deps-dev): Bump regenerator-runtime from 0.13.11 to 0.14.0
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.11 to 0.14.0.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.11...regenerator-runtime@0.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 14:58:29 +01:00
dependabot[bot]
180697592d Build(deps-dev): Bump regexpu-core from 5.3.2 to 6.0.0
Bumps [regexpu-core](https://github.com/mathiasbynens/regexpu-core) from 5.3.2 to 6.0.0.
- [Release notes](https://github.com/mathiasbynens/regexpu-core/releases)
- [Commits](https://github.com/mathiasbynens/regexpu-core/compare/v5.3.2...v6.0.0)

---
updated-dependencies:
- dependency-name: regexpu-core
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 14:58:10 +01:00
dependabot[bot]
f7a4f7e95b Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.48 to 1.3.50
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.48 to 1.3.50.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.48...1.3.50)

---
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>
2023-11-19 19:56:16 +01:00
Benjamin Brahmer
df35c43c4e security fixes
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-11-19 19:54:01 +01:00
Benjamin Brahmer
e5b3393d29 update nodejs
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-11-19 18:57:54 +01:00
dependabot[bot]
8b6febb584 Build(deps-dev): Bump focus-trap from 7.5.2 to 7.5.4
Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/compare/v7.5.2...v7.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 13:37:29 +01:00
dependabot[bot]
bf4405e24b Build(deps-dev): Bump eslint from 8.46.0 to 8.53.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.46.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.53.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 13:37:18 +01:00
dependabot[bot]
df6574d47f Build(deps-dev): Bump @babel/preset-env from 7.22.9 to 7.23.3
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.9 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 13:37:05 +01:00
dependabot[bot]
0a93b5a322 Build(deps-dev): Bump eslint-import-resolver-webpack
Bumps [eslint-import-resolver-webpack](https://github.com/import-js/eslint-plugin-import) from 0.12.2 to 0.13.8.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v0.12.2...resolvers/webpack/v0.13.8)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 13:36:52 +01:00
dependabot[bot]
081ba62662 Build(deps-dev): Bump string-length from 5.0.1 to 6.0.0
Bumps [string-length](https://github.com/sindresorhus/string-length) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/string-length/releases)
- [Commits](https://github.com/sindresorhus/string-length/compare/v5.0.1...v6.0.0)

---
updated-dependencies:
- dependency-name: string-length
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 13:36:30 +01:00
dependabot[bot]
de59ca0f7b Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.47 to 1.3.48
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.47 to 1.3.48.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.47...1.3.48)

---
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>
2023-11-16 19:10:12 +01:00
dependabot[bot]
650143e949 Build(deps-dev): Bump jest-environment-jsdom from 29.6.2 to 29.7.0
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.2 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 16:04:45 +01:00
Benjamin Brahmer
46fb15c6ee update nextcloud-axios
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-11-16 13:04:14 +01:00
dependabot[bot]
c17b2a8d74 Build(deps-dev): Bump vue-eslint-parser from 9.3.1 to 9.3.2
Bumps [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) from 9.3.1 to 9.3.2.
- [Release notes](https://github.com/vuejs/vue-eslint-parser/releases)
- [Commits](https://github.com/vuejs/vue-eslint-parser/compare/v9.3.1...v9.3.2)

---
updated-dependencies:
- dependency-name: vue-eslint-parser
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:36:09 +01:00
dependabot[bot]
3148c16f96 Build(deps-dev): Bump stylelint from 15.10.2 to 15.11.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.2 to 15.11.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.10.2...15.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:35:49 +01:00
dependabot[bot]
ffdb3923e5 Build(deps): Bump @nextcloud/password-confirmation from 4.0.4 to 4.1.0
Bumps [@nextcloud/password-confirmation](https://github.com/nextcloud-libraries/nextcloud-password-confirmation) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/compare/v4.0.4...v4.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/password-confirmation"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:28:40 +01:00
dependabot[bot]
87d2c1d0b8 Build(deps-dev): Bump @types/lodash from 4.14.197 to 4.14.201
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.197 to 4.14.201.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:26:09 +01:00
dependabot[bot]
0391b24d53 Build(deps-dev): Bump vue-multiselect from 2.1.7 to 2.1.8
Bumps [vue-multiselect](https://github.com/shentao/vue-multiselect) from 2.1.7 to 2.1.8.
- [Release notes](https://github.com/shentao/vue-multiselect/releases)
- [Commits](https://github.com/shentao/vue-multiselect/compare/v2.1.7...v2.1.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 13:23:44 +01:00
dependabot[bot]
d17bff8022 Build(deps-dev): Bump stylelint-webpack-plugin from 2.5.0 to 4.1.1
Bumps [stylelint-webpack-plugin](https://github.com/webpack-contrib/stylelint-webpack-plugin) from 2.5.0 to 4.1.1.
- [Release notes](https://github.com/webpack-contrib/stylelint-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/stylelint-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/stylelint-webpack-plugin/compare/v2.5.0...v4.1.1)

---
updated-dependencies:
- dependency-name: stylelint-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 10:52:47 +01:00
Sean Molenaar
9f5da17e1d fix: adopt search to NC 28 filters
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2023-11-15 09:27:41 +01:00
dependabot[bot]
afb3639316 Build(deps-dev): Bump regenerator-transform from 0.15.1 to 0.15.2
Bumps [regenerator-transform](https://github.com/facebook/regenerator) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-transform@0.15.1...regenerator-transform@0.15.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 09:22:56 +01:00
dependabot[bot]
6a6da59ed3 Build(deps-dev): Bump @babel/core from 7.22.9 to 7.23.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.9 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 00:19:40 +01:00
Nextcloud bot
99e90ac477
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-14 01:16:53 +00:00
dependabot[bot]
d85e3d9a99 Build(deps): Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)

Updates `vue-template-compiler` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.14...v2.7.15)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 22:28:28 +01:00
dependabot[bot]
3824adfb7b Build(deps): Bump @nextcloud/l10n from 1.6.0 to 2.2.0
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.6.0 to 2.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-l10n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.6.0...v2.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/l10n"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 22:26:34 +01:00
dependabot[bot]
7551ac98fb Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.46 to 1.3.47
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.46 to 1.3.47.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.46...1.3.47)

---
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>
2023-11-13 22:25:05 +01:00
Nextcloud bot
c063daa199
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-13 01:14:31 +00:00
Benjamin Brahmer
f81054ff77 Release 25.0.0-alpha2
Changed
- Add support for Nextcloud 28
- Use Nextcloud vue components for item list and article view (#2401)
- Fix aspect ratio of article images (#2401)

Fixed
- Adjust search urls to match changed Vue routes (#2408)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-11-12 14:51:28 +01:00
dependabot[bot]
bdb6494efd Build(deps-dev): Bump eslint-plugin-vue from 9.16.1 to 9.18.1
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 9.16.1 to 9.18.1.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.1...v9.18.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-12 13:51:24 +01:00
dependabot[bot]
fc6eebb7e0 Build(deps-dev): Bump eslint-plugin-standard from 4.1.0 to 5.0.0
Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) from 4.1.0 to 5.0.0.
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 22:39:23 +01:00
dependabot[bot]
1b977a202f Build(deps-dev): Bump @babel/preset-typescript from 7.22.5 to 7.23.3
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.22.5 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 22:38:59 +01:00
dependabot[bot]
264c27567d Build(deps-dev): Bump webpack-merge from 5.9.0 to 5.10.0
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.9.0 to 5.10.0.
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.9.0...v5.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 22:35:36 +01:00
Nextcloud bot
abf86c2115
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-11 01:12:03 +00:00
dependabot[bot]
a1639b9422 Build(deps-dev): Bump jest-serializer-vue from 2.0.2 to 3.1.0
Bumps [jest-serializer-vue](https://github.com/eddyerburgh/jest-serializer-vue) from 2.0.2 to 3.1.0.
- [Release notes](https://github.com/eddyerburgh/jest-serializer-vue/releases)
- [Changelog](https://github.com/eddyerburgh/jest-serializer-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eddyerburgh/jest-serializer-vue/commits)

---
updated-dependencies:
- dependency-name: jest-serializer-vue
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 11:42:18 +01:00
dependabot[bot]
186d384919 Build(deps-dev): Bump axios from 1.4.0 to 1.6.0
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 11:33:57 +01:00
dependabot[bot]
58a5c7a4fd Build(deps): Bump @babel/traverse from 7.22.8 to 7.23.3
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 11:17:27 +01:00
dependabot[bot]
e988491138 Build(deps-dev): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v2.3.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/browserslist-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 09:44:08 +01:00
dependabot[bot]
4413eab908 Build(deps): Bump @nextcloud/dialogs from 3.2.0 to 4.2.2
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 3.2.0 to 4.2.2.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/v4.2.2/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v3.2.0...v4.2.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/dialogs"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 09:26:46 +01:00
Nextcloud bot
1c31e2a394
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-10 01:13:38 +00:00
dependabot[bot]
84df3f7400 Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.45 to 1.3.46
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.45 to 1.3.46.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.45...1.3.46)

---
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>
2023-11-09 17:16:25 +01:00
Nextcloud bot
e977bd78f0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-09 01:16:16 +00:00
Benjamin Brahmer
70aed07c0b fix dbal deprecations
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-11-08 11:07:40 +01:00
Benjamin Brahmer
2dc90bc660 adjust makefile, npm didn't find package.json
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-11-08 11:07:40 +01:00
Nextcloud bot
a4ac9357c8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-08 01:22:49 +00:00
Paul Tirk
2facfdaa5b remove (now) unsuitable test for folder name/unread count in feed list header
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
f3ce43963b move css style into class
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
282056f07c remove unnecessary height of app content details component
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
b568eec0be show empty content component when no article is selected
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
4bad81fb3a pass empty array instead of undefined for unread items
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
2e43e722e9 add note about composition api
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
9c872360b5 adapt tests to use new content template component
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
8970397a2f use @vue/vue2-jest package instead of vue-jest
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
b5a18d339c reformat emit definition to satisfy linter
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
e69a0f85e0 do not import unused component
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
6638a9f8ef use type import for PropType
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
fec356ff83 add missing nc app content component to explore page
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
f83a8ccf90 improve changelog entries
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
1b96e8d5c7 linting
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
37723da980 add changelog entry for frontend improvements
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
7cfa70f632 improve feed item list item
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
940bcb3dcc use favicon as link to feed item
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
4844e1da49 fix article scrolling
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
22d183fb96 show/hide details according to item selection
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
b4673d3f80 wrap list and details in the corresponding nextcloud components
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
fb7b121103 use template component for list/content views
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
fba58d4658 set max width for article view and center it
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
3366b797bb show feed item in content detail
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
1d2a0bfa29 move NcAppContent into route components & use list slot
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
Paul Tirk
97de4333b3 maintain aspect ratio of images
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2023-11-07 20:01:54 +01:00
anoy
ff5de06c71 adjust search urls to match changed Vue routes
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2023-11-07 14:16:45 +01:00
Benjamin Brahmer
97aac092e5 remove duplicate npm ci, don't use npm install
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-11-07 14:15:44 +01:00
anoy
e5a4f6a005 fix merge errors
- js build was run twice
- engines were defined twice

Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2023-11-07 14:15:44 +01:00
dependabot[bot]
35a6018ea5 Build(deps-dev): Bump phpstan/phpstan from 1.10.40 to 1.10.41
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.40 to 1.10.41.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.40...1.10.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 13:49:06 +01:00
Nextcloud bot
15300917dd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-07 01:23:27 +00:00
Nextcloud bot
9d11e11bf4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-06 01:19:46 +00:00
dependabot[bot]
ed595a666d
Build(deps-dev): Bump phpstan/phpstan-strict-rules from 1.5.1 to 1.5.2 (#2405)
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.5.1...1.5.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 09:36:24 +01:00
dependabot[bot]
dd6ac83aeb Build(deps-dev): Bump phpstan/phpstan from 1.10.39 to 1.10.40
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.39 to 1.10.40.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.39...1.10.40)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 08:13:07 +01:00
Nextcloud bot
52e6faffe4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 01:17:40 +00:00
dependabot[bot]
26b4c65b7f Build(deps-dev): Bump phpstan/phpstan-doctrine from 1.3.43 to 1.3.45
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.43 to 1.3.45.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.43...1.3.45)

---
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>
2023-10-31 10:30:32 +01:00
Nextcloud bot
2352d8c791
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 01:17:22 +00:00
Joas Schilling
e52eb0f613
Merge pull request #2403 from nextcloud/nickvergessen-patch-1
Don't build frontend code to save CI time when only running PHP tests
2023-10-30 14:39:41 +01:00
Joas Schilling
90d004f7f7
Don't build frontend code to save CI time when only running PHP tests
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-10-30 07:23:49 +01:00
dependabot[bot]
224525012c Build(deps): Bump browserify-sign from 4.2.1 to 4.2.2
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 14:22:54 +02:00
Benjamin Brahmer
66c2121125 update test dependencies
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-10-28 14:19:56 +02:00
Benjamin Brahmer
da3c58eba5 Feed without GUID is now working
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-10-28 14:19:56 +02:00
dependabot[bot]
8b33b252d5 Build(deps): Bump debril/feed-io from 5.3.1 to 5.3.2
Bumps [debril/feed-io](https://github.com/alexdebril/feed-io) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/alexdebril/feed-io/releases)
- [Commits](https://github.com/alexdebril/feed-io/compare/v5.3.1...v5.3.2)

---
updated-dependencies:
- dependency-name: debril/feed-io
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 14:19:56 +02:00
Nextcloud bot
91e9279799
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-28 01:16:23 +00:00
Nextcloud bot
1244f6e5d3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 01:16:12 +00:00
Nextcloud bot
c2ae225cfd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 01:16:21 +00:00
Benjamin Brahmer
6de455444b Release 25.0.0-alpha1
Changed
- Major Rewrite of the Frontend with Vue JS (#748)
  For comments and suggestions for the new UI, please use this: https://github.com/nextcloud/news/discussions/2388
- Set User Agent for curl in Scraper (#2380)
- Drop support for Nextcloud 26, Supported 27

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-10-25 12:01:20 +02:00
Nextcloud bot
0ef92f2117
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 01:31:57 +00:00
dependabot[bot]
d5f71e212c Build(deps): Bump actions/setup-node from 1 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 19:02:03 +02:00
dependabot[bot]
15e3792d99 Build(deps): Bump actions/checkout from 2 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 14:39:17 +02:00
Benjamin Brahmer
1632f5b0e2 adjust dependabot, remove allowEvalScript()
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-10-24 13:22:44 +02:00
Benjamin Brahmer
f53159bb88 Adjust Makefile, Changelog and more
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-10-24 13:22:44 +02:00
dependabot[bot]
2f9d18516d Build(deps): Bump arthurhoaro/favicon from 1.3.3 to 2.0.0
Bumps [arthurhoaro/favicon](https://github.com/ArthurHoaro/favicon) from 1.3.3 to 2.0.0.
- [Release notes](https://github.com/ArthurHoaro/favicon/releases)
- [Commits](https://github.com/ArthurHoaro/favicon/compare/v1.3.3...v2.0.0)

---
updated-dependencies:
- dependency-name: arthurhoaro/favicon
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 11:29:50 +02:00
Benjamin Brahmer
b60ba4a05c
Merge pull request #748 from nextcloud/vue-rewrite
Major rewrite of the UI with Vue JS.
Thanks to
@JonathanTreffler 
@jancborchardt 
@devlinjunker 

And all others that made this possible
2023-10-24 11:28:05 +02:00
Benjamin Brahmer
02c9fff469
Merge pull request #2385 from devlinjunker/master-merge
[Vue Rewrite] Upmerge Branch from Master to clean up Merge Conflicts
2023-10-24 10:19:11 +02:00
Devlin Junker
3e35d781cf Merge remote-tracking branch 'nextcloud/master' into master-merge
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-22 14:03:52 -07:00
Devlin Junker
94f04d4a20 cleanup old cron stuff and make cron-warning.js part of build so it can be committed
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-19 08:26:39 +02:00
Devlin Junker
9cab23574f fix bug using php template for warning message
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-19 08:26:39 +02:00
Devlin Junker
ab4f941028 start documentation rewrite
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-19 08:26:39 +02:00
IgorA100
d423ca520c Update CHANGELOG.md
- Set User Agent for curl in Scraper

Signed-off-by: IgorA100 <igora100@gmail.com>
2023-10-19 08:26:14 +02:00
IgorA100
ce8888443c Update Scraper.php
Use FetcherConfig::DEFAULT_USER_AGENT for Curl

Signed-off-by: IgorA100 <igora100@gmail.com>
2023-10-19 08:26:14 +02:00
IgorA100
982ff16a2e Fix: Set CURLOPT_USERAGENT
Some sites do not serve content without a User Agent
Set CURLOPT_USERAGENT= Google Chrome

Signed-off-by: IgorA100 <igora100@gmail.com>
2023-10-19 08:26:14 +02:00
dependabot[bot]
1583ed2292 Build(deps-dev): Bump phpstan/phpstan from 1.10.38 to 1.10.39
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.38 to 1.10.39.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.38...1.10.39)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 08:25:47 +02:00
dependabot[bot]
862a9a672e Build(deps-dev): Bump @babel/traverse from 7.21.2 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 08:25:02 +02:00
dependabot[bot]
756f1cbb6c Build(deps-dev): Bump @babel/traverse from 7.18.5 to 7.23.2 in /js
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 08:04:37 +02:00
Nextcloud bot
34e7e938a3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-18 01:41:19 +00:00
devlinjunker
0a2ecc2d79
Merge pull request #2371 from devlinjunker/mobile-friendly-styles
[Vue Rewrite] Basic Mobile accessible interface
2023-10-16 12:54:16 -07:00
dependabot[bot]
953731604e Build(deps-dev): Bump doctrine/dbal from 3.7.0 to 3.7.1
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/3.7.0...3.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 08:55:33 +02:00
dependabot[bot]
02eee39b5d Build(deps-dev): Bump phpstan/phpstan-phpunit from 1.3.14 to 1.3.15
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) from 1.3.14 to 1.3.15.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases)
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/1.3.14...1.3.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 18:42:59 +02:00
Devlin Junker
30e4e9b442 copy files from explore.scss file
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-11 18:41:33 +02:00
Devlin Junker
ed62d3eb3d cleaning up explore page
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-11 18:41:33 +02:00
Benjamin Brahmer
816239c198 Log more useful things when checking a logo
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-10-11 18:40:38 +02:00
Devlin Junker
dff06a4225 Merge branch 'vue-rewrite' into mobile-friendly-styles
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-10 13:46:40 -07:00
Devlin Junker
f576eb4e54 fix flex properties to avoid media queries
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-10 13:44:30 -07:00
dependabot[bot]
be0929092b Build(deps-dev): Bump phpstan/phpstan from 1.10.37 to 1.10.38
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.37 to 1.10.38.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.37...1.10.38)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 11:05:55 +02:00
Devlin Junker
60f319fe8a make ActionParams generic to make it clear what is available in each vuex file
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-06 08:18:41 +02:00
Devlin Junker
991facf2ee tests and some cleanup
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-06 08:18:41 +02:00
Devlin Junker
498c001bd3 cleanup
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-06 08:18:41 +02:00
Devlin Junker
00d1d65ea4 display vue errors and axios errors in top right popover
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-06 08:18:41 +02:00
Devlin Junker
e737236095 smaller date font size
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-05 11:56:21 -07:00
Devlin Junker
2309c80436 remove unecessary class
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-05 11:43:52 -07:00
Devlin Junker
2ed0df3f92 add box-shadow and other cleanups
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-05 11:42:42 -07:00
Devlin Junker
06e373bb49 start on mobile view
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-05 08:02:27 -07:00
dependabot[bot]
1f00ccd1ee Build(deps-dev): Bump phpstan/phpstan from 1.10.35 to 1.10.37
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.35 to 1.10.37.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.35...1.10.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 09:47:42 +02:00
Devlin Junker
b6a4293539 add unit tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-05 09:46:36 +02:00
Devlin Junker
ed69499a16 tested with audio and video feeds
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-05 09:46:36 +02:00
devlinjunker
bcb3dcb36b
Merge pull request #2361 from devlinjunker/share-item
[Vue Rewrite] Share Article Component
2023-10-04 11:31:11 -07:00
Devlin Junker
883b7b5368 fix length of line
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-02 19:37:54 -07:00
Nextcloud bot
934f78c01b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 01:14:36 +00:00
devlinjunker
0aa4b10390
Merge branch 'vue-rewrite' into share-item
Signed-off-by: devlinjunker <devlin.junker@gmail.com>
2023-10-01 10:44:34 -07:00
Devlin Junker
e6f5edbb0c fix whitespace
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-01 10:28:29 +02:00
Devlin Junker
2c7ffa881d fix tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-01 10:28:29 +02:00
Devlin Junker
e16ab4a364 add warning message generated with PHP, also check for subcribe_to parameter
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-10-01 10:28:29 +02:00
Nextcloud bot
5bf91ea8e3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 01:19:29 +00:00
Benjamin Brahmer
4648cd7f1d update php setup action
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-09-29 12:33:50 +02:00
Devlin Junker
ba9d512239 tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-26 15:54:33 -07:00
Devlin Junker
74eb3150e2 use translation method params for relative timestamp
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-26 15:08:48 -07:00
Devlin Junker
816ef83bd0 reuse ShareItem component in FeedItemDisplay
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-26 14:55:32 -07:00
Devlin Junker
b7179b5858 working share component
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-26 14:42:50 -07:00
Devlin Junker
2ebd898a1b ignore vue files for stylelint (probably need to remove old css files soon)
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
a2ad3df5d1 add all icons
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
84e891bef7 finish unit tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
6aa282d2af store tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
b234f33441 start on tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
eb9dd0a6ae confirm mark all read and feed counter inside folder
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
4f5004ec0e all sidebar actions working
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
ac33e7c13c remaining feed actions
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
4b24d05ec2 3 more feed actions
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
9d629b943a adding pinned feeds
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
fe034782f7 start hooking up actions to backend
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-20 17:32:33 +02:00
Devlin Junker
dce0701f73 add unit tests and little more cleanup of uncessary lines
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-15 06:57:42 +02:00
Devlin Junker
7e21dc8edc cleanup sidebar and translations
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-15 06:57:42 +02:00
Devlin Junker
5caefbadc6 add routes for folder items and all items
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-15 06:57:42 +02:00
Devlin Junker
e2e8ae517a move backend call details to services
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-03 12:05:24 +02:00
Devlin Junker
6111aca4af add comments and remove start parameter
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-03 12:05:24 +02:00
Devlin Junker
a3077f1b97 fix loading bug and move to feed-display directory
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-09-03 12:05:24 +02:00
Devlin Junker
83f99debaa basic unit tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-28 07:03:07 +02:00
Devlin Junker
bb154d0a49 add Feed component and filtering in FeedItemDisplayList
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-28 07:03:07 +02:00
Devlin Junker
d4d20e91e5 Add more unit tests and all passing
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-26 07:48:18 +02:00
Devlin Junker
8183510385 More cleanup and started on unit tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-26 07:48:18 +02:00
Devlin Junker
3f34e3da33 css tweaks
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-26 07:48:18 +02:00
Devlin Junker
26488e8161 Add FeedItemDisplayList component
- Reused by Starred and Unread route components

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-26 07:48:18 +02:00
Devlin Junker
fd72a202b5 add logic to fetch more starred
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-26 07:48:18 +02:00
Devlin Junker
726c157873 cleanup and rename FeedItemRow component
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-26 07:48:18 +02:00
Devlin Junker
9272190bc0 add unread route and component
- started on unread component and using load-more callback from VirtualScroll component
- realized we need to change to a 3-panel display because VirtualScroll removes the rendered component even when open if you scroll too much
- created FeedItemDisplay component to display a selected feed item details

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-26 07:48:18 +02:00
Devlin Junker
efb1ac236e basic unit tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
0bfb6162c7 cleanup unused stuff
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
4fa0a875d8 connect actions to backend
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
99a08b3c37 start on user actions and some more cleanup
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
d14dbe3fb1 match style from current app
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
41213ad486 css effects
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
05e2e73dbb some cleanup and improvements
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
6693681bba basic starred items list with VirtualScroll component
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
0dd27dd915 started on fetching starred items from backend and displaying with for loop
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-22 08:34:39 +02:00
Devlin Junker
9c79d64885 fix php unit test
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
e559cb35d4 fix linting errors
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
790701a82a fix wrong property
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
3f1fb5b1d6 fix add + create folder
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
2287835894 use eslint --fix to clean up linting errors
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
da782c0b07 fix indentation
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
770720aedb clean up comments
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
8fe0bb2166 fix indentation
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
9377e89a2e finished unit tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
0b4232ca24 fix formatting
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
9b11141405 clean up
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
67d687c3b2 cleanup of angular directives
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
10c891776c add feed pretty much works
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-11 09:22:24 +02:00
Devlin Junker
9a047cbbcd minimum nextcloud version supported is 27
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-09 11:08:04 +02:00
Devlin Junker
b9a5887897 resolve build issues
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-09 11:08:04 +02:00
Devlin Junker
eeb06381c9 fix unit test and linting errors
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-09 11:08:04 +02:00
Devlin Junker
923f986e67 upmerged from master
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2023-08-09 11:08:04 +02:00
Devlin Junker
450047ef4b rename to typescript file
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-23 12:54:31 +01:00
Devlin Junker
f517bc37f7 split out routing and add another route
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-23 12:54:31 +01:00
Devlin Junker
cec18279ac fix admin tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
05ad544a0c lint
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
d9532e35bc clean up commented out lines
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
c975b93a8e clean
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
4fb5426285 clean up linting warnings
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
404b6367d0 clean
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
e61fb48d64 basic tests for store
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
2c32ea05f0 start on state/store tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
4899be32e3 add more tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
8131604192 lint the .ts and spec.ts files also
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
f65769868b working unit test for local computed state
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
28ead9da95 modularize store files and fix unit tests
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
c0bc5ecd51 clean
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
c522bacfb1 cleanup and renaming
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
83fe713c05 split store into multiple files
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
604e4e0f1b moved store to separate file and started using constants for action/mutation names
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-06 14:57:20 +01:00
Devlin Junker
db8b4af2cf move to dev dependencies
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-01 13:17:21 +01:00
Devlin Junker
b77284d65b clean
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-01 13:17:21 +01:00
Devlin Junker
c61d4bbe1f use single quotes
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-01 13:17:21 +01:00
Devlin Junker
5bf6407309 add back translate to admin main js file
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-01 13:17:21 +01:00
Devlin Junker
208cfa8109 add unit tests for admin settings
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-01 13:17:21 +01:00
Devlin Junker
a12e334ce2 add unit tests for admin settings
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-01 13:17:21 +01:00
Devlin Junker
01d15aef47 fix admin page getRequestToken() call
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-12-01 13:17:21 +01:00
Benjamin Brahmer
8351293f03 update language files from master
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-11-21 16:24:08 +01:00
Benjamin Brahmer
167e7b6094 Merge branch 'master' into vue-rewrite
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-11-21 16:16:37 +01:00
Devlin Junker
095176fd90 fix extraneous import error
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-17 14:50:53 +01:00
Devlin Junker
234b9759c5 fix linting
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-17 14:50:53 +01:00
Devlin Junker
e4ada332a4 run npm install with node 18
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-17 14:50:53 +01:00
Devlin Junker
7753837f6c ensure admin settings page is working
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-17 14:50:53 +01:00
Devlin Junker
c6b4bcc00e upmerging master into vue-rewrite
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-17 14:50:53 +01:00
Devlin Junker
760c442882 remove unecessary lines 2022-11-02 11:27:20 +01:00
Devlin Junker
0fe2d497ba update changelog
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
d7aa5e1461 fix linting
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
31384120be import -> require
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
3bf3bc17ce fix tests with proper mocking
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
431236bbd8 more package cleanup and some basic tests for Sidebar
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
182897b4a8 clean up dependencies
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
2be4f28369 use newer libraries and clean up eslint
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
6557bb2873 test file for each component
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
902ff04ac2 outline Sidebar specs
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
a81cd40b00 clean up linting errors
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
08d12e5009 running single test
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-11-02 11:27:20 +01:00
Devlin Junker
fe62ff2011 move types to separate files
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-10-04 13:45:17 +02:00
Devlin Junker
d2482893e2 move all components to typescript 'Vue.extend({ ... ' syntax
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-10-04 13:45:17 +02:00
Devlin Junker
a71fc67b9c fix editor config and spaces inside of quotes
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-10-03 12:58:13 +02:00
Devlin Junker
56ffba7c5a revert feeds.en.json
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-10-03 12:58:13 +02:00
Devlin Junker
a59f0fdb4c remove unecessary eslint rule
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-10-03 12:58:13 +02:00
Devlin Junker
42e9b47159 change linting rule from spaces to tabs to match typical vue linting
also clean up all lint warnings in js+vue files

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-10-03 12:58:13 +02:00
devlinjunker
f1668df03f
[Vue Rewrite] Enable Typescript Vue Components (#1831)
* compiling typescript with webpack

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* working typescript component

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* clean up indentation and linting

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* remove calendar-js

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* revert indentation and remove commented out lines

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* clean up warning

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* cleanup + add comments

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* fix warnings and add more comments

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* cleanup unecessary changes to webpack and add comments

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* fix package

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* update changelog and fix comment

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* cleanup

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* remove unecessary line

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* remove vue-class-component library + others

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* clean up babel-loader

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* remove fork-ts-checker plugin

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-07-04 10:07:48 +02:00
devlinjunker
40d9c352ab
[Vue Rewrite] Fix CI Jobs (#1816)
* attempt to fix linting

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* working linting/stylelint

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* fix npm build

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* working with node 16 and npm build

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* fix linting

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* add @babel/eslint-parser

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* remove babel-eslint

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* use node 16 in lint

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* proper syntax

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* fix syntax

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* update version

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* attempt to undo indentation changes

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* revert indentation on css and update stylelint rule for now (for simpler PR)

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* revert indentation changes in vue/js files and update eslint to pass this (for now)

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* try to cleanup disabled rules

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* remove last disabled rules in js files

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* add basic changelog

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* update calendar-js to 3.0

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>

* remove npm test with TODO (this will fail CI) and remove calendar-js dependency

Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
2022-06-09 08:55:37 +02:00
HK2FB
b036d309c2
Vue Rewrite
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2022-05-22 16:07:30 +02:00
450 changed files with 36890 additions and 28853 deletions

View File

@ -5,11 +5,16 @@ trim_trailing_whitespace = true
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
[*.{js,php,html}] [*.{php,html,css}]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
charset = utf-8 charset = utf-8
[*.{js,ts,vue}]
indent_style = tab
indent_size = 4
charset = utf-8
[*.bats] [*.bats]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

1
.envrc Normal file
View File

@ -0,0 +1 @@
use nix

View File

@ -1,7 +1,52 @@
// SPDX-FileCopyrightText: Carl Schwan <carl@carlschwan.eu>
// SPDX-License-Identifier: AGPL-3.0-or-later
module.exports = { module.exports = {
root: true,
parser: 'vue-eslint-parser',
parserOptions: {
parser: {
ts: '@typescript-eslint/parser',
},
ecmaVersion: 2020,
},
env: {
jest: true,
},
extends: [ extends: [
'eslint:recommended',
'plugin:vue/base',
'plugin:vue/essential',
'@vue/standard',
'@vue/typescript/recommended',
'@nextcloud', '@nextcloud',
] 'plugin:@typescript-eslint/recommended',
],
ignorePatterns: ['*.d.ts', 'l10n/*.js'],
rules: {
'no-console': 'warn',
'@typescript-eslint/no-var-requires': 'off',
// TODO: Trouble importing .ts files into .vue files for some reason?
'import/extensions': 'off',
'n/no-missing-import': 'off',
},
settings: {
'import/resolver': {
node: {
extensions: ['.ts'],
},
},
},
overrides: [
{
files: ['*spec.ts', 'tests/javascript/unit/setup.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
},
{
files: ['src/store/*.ts'],
rules: {
'function-paren-newline': ['error', 'multiline'],
},
},
],
} }

View File

@ -7,7 +7,7 @@ version: 2
updates: updates:
# Maintain dependencies for npm # Maintain dependencies for npm
- package-ecosystem: "npm" - package-ecosystem: "npm"
directory: "/js" directory: "/"
schedule: schedule:
interval: "daily" interval: "daily"
labels: labels:

View File

@ -29,7 +29,7 @@ jobs:
strategy: strategy:
matrix: matrix:
php-versions: ['8.0', '8.1'] php-versions: ['8.0', '8.1']
nextcloud: ['stable26', 'stable27'] nextcloud: ['stable27']
database: ['sqlite', 'pgsql', 'mysql'] database: ['sqlite', 'pgsql', 'mysql']
experimental: [false] experimental: [false]
include: include:
@ -41,10 +41,6 @@ jobs:
nextcloud: pre-release nextcloud: pre-release
database: sqlite database: sqlite
experimental: true experimental: true
- php-versions: 8.2
nextcloud: stable26
database: sqlite
experimental: false
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -57,14 +53,16 @@ jobs:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
coverage: none coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup BATS & httpie - name: Setup BATS & httpie
run: sudo apt-get install -y httpie && npm install -g bats@1.7.0 run: sudo apt-get install -y httpie && sudo npm install -g bats@1.11.0
### MySQL specific setup ### MySQL specific setup
- name: Setup mysql - name: Setup mysql
if: matrix.database == 'mysql' if: matrix.database == 'mysql'
uses: getong/mariadb-action@v1.1 uses: getong/mariadb-action@v1.11
with: with:
mariadb version: '10.5' mariadb version: '10.5'
host port: ${{ env.MYSQL_PORT }} host port: ${{ env.MYSQL_PORT }}
@ -101,7 +99,7 @@ jobs:
database-password: ${{ env.POSTGRES_PASSWORD }} database-password: ${{ env.POSTGRES_PASSWORD }}
- name: Prime app build - name: Prime app build
run: make run: make composer
- name: Configure server with app - name: Configure server with app
uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main

View File

@ -25,6 +25,8 @@ jobs:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
coverage: none coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up server non MySQL - name: Set up server non MySQL
uses: SMillerDev/nextcloud-actions/setup-nextcloud@main uses: SMillerDev/nextcloud-actions/setup-nextcloud@main
@ -34,7 +36,7 @@ jobs:
database-type: ${{ matrix.database }} database-type: ${{ matrix.database }}
- name: Build app - name: Build app
run: make run: make composer
- name: Configure server with app - name: Configure server with app
uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main

View File

@ -10,7 +10,7 @@ jobs:
strategy: strategy:
matrix: matrix:
php-versions: ['8.1'] php-versions: ['8.1']
nextcloud: ['stable26', 'stable27'] nextcloud: ['stable27']
database: ['sqlite'] database: ['sqlite']
experimental: [false] experimental: [false]
codecoverage: [false] codecoverage: [false]
@ -32,6 +32,8 @@ jobs:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
coverage: pcov coverage: pcov
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
### Back to normal setup ### Back to normal setup
- name: Set up server non MySQL - name: Set up server non MySQL

View File

@ -22,14 +22,14 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@afefcaf556d98dc7896cca380e181decb609ca44 uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 #2.26.0
with: with:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
coverage: none coverage: none
- name: Set up server non MySQL - name: Set up server non MySQL
uses: SMillerDev/nextcloud-actions/setup-nextcloud@main uses: SMillerDev/nextcloud-actions/setup-nextcloud@1e38cb369e2193642279c64ee140fc93ddd4fa77
with: with:
cron: false cron: false
version: ${{ matrix.nextcloud }} version: ${{ matrix.nextcloud }}
@ -39,7 +39,7 @@ jobs:
run: make run: make
- name: Configure server with app - name: Configure server with app
uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@1e38cb369e2193642279c64ee140fc93ddd4fa77
with: with:
app: ${{ env.APP_NAME }} app: ${{ env.APP_NAME }}
check-code: false check-code: false
@ -52,7 +52,7 @@ jobs:
app_public_crt: ${{ secrets.APP_PUBLIC_CRT }} app_public_crt: ${{ secrets.APP_PUBLIC_CRT }}
- name: Upload app tarball to release - name: Upload app tarball to release
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd
id: attach_to_release id: attach_to_release
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -4,7 +4,7 @@ on:
jobs: jobs:
php: php:
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }} continue-on-error: ${{ matrix.experimental }}
name: "Frontend: Nextcloud ${{ matrix.nextcloud }} - PHP ${{ matrix.php-versions }} - DB ${{ matrix.database }}" name: "Frontend: Nextcloud ${{ matrix.nextcloud }} - PHP ${{ matrix.php-versions }} - DB ${{ matrix.database }}"
strategy: strategy:

View File

@ -25,14 +25,14 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Read package.json node and npm engines version - name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v2.2 uses: skjnldsv/read-package-engines-version-actions@v3
id: versions id: versions
with: with:
fallbackNode: '^16' fallbackNode: '^16'
fallbackNpm: '^6' fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }} - name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: ${{ steps.versions.outputs.nodeVersion }} node-version: ${{ steps.versions.outputs.nodeVersion }}

52
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,52 @@
name: Lint
on:
pull_request:
push:
branches:
- master
jobs:
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
name: eslint node${{ matrix.node-versions }}
steps:
- uses: actions/checkout@v4
- name: Set up node ${{ matrix.node-versions }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-versions }}
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
stylelint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
name: stylelint node${{ matrix.node-versions }}
steps:
- uses: actions/checkout@v4
- name: Set up node ${{ matrix.node-versions }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-versions }}
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run stylelint

View File

@ -34,7 +34,7 @@ jobs:
coverage: none coverage: none
- name: Setup BATS & httpie - name: Setup BATS & httpie
run: sudo apt-get install -y httpie && npm install -g bats@1.7.0 run: sudo apt-get install -y httpie && sudo npm install -g bats@1.11.0
- name: Set up server - name: Set up server
uses: SMillerDev/nextcloud-actions/setup-nextcloud@main uses: SMillerDev/nextcloud-actions/setup-nextcloud@main

14
.gitignore vendored
View File

@ -2,15 +2,20 @@
composer.phar composer.phar
node_modules/ node_modules/
vendor/ vendor/
js/build
*.log *.log
/build/ /build/
/js/coverage/ js/
js/*.xml
.rvm .rvm
*.clover *.clover
.phpunit.result.cache .phpunit.result.cache
site/ site/
coverage
#bats
tests/api/helpers/settings-override.bash
tests/test_helper/feeds/test.xml
tests/test_helper/feeds/feed1.xml
tests/test_helper/feeds/feed2.xml
#bats #bats
tests/api/helpers/settings-override.bash tests/api/helpers/settings-override.bash
@ -55,6 +60,9 @@ RCS/*
# netbeans # netbeans
nbproject nbproject
# vscode
.vscode
# phpStorm # phpStorm
.idea .idea

2
.stylelintignore Normal file
View File

@ -0,0 +1,2 @@
vendor/
coverage/

View File

@ -3,13 +3,14 @@
* [Benjamin Brahmer](mailto:info@b-brahmer.de) * [Benjamin Brahmer](mailto:info@b-brahmer.de)
* [Alessandro Cosentino](mailto:cosenal@gmail.com) * [Alessandro Cosentino](mailto:cosenal@gmail.com)
* [Marco Nassabain](mailto:marco.nassabain@hotmail.com) * [Marco Nassabain](mailto:marco.nassabain@hotmail.com)
* [Devlin Junker](mailto:devlin.junker@gmail.com)
* [Robin Appelman](mailto:icewind@owncloud.com) * [Robin Appelman](mailto:icewind@owncloud.com)
* [Sean Molenaar](mailto:sean@seanmolenaar.eu) * [Sean Molenaar](mailto:sean@seanmolenaar.eu)
* [Paul Tirk](mailto:paultirk@paultirk.com)
* [Gregor Tätzner](mailto:gregor@freenet.de) * [Gregor Tätzner](mailto:gregor@freenet.de)
* [Sean Molenaar](mailto:SMillerDev@users.noreply.github.com) * [Sean Molenaar](mailto:SMillerDev@users.noreply.github.com)
* [anoy](mailto:anoymouserver+github@mailbox.org) * [anoy](mailto:anoymouserver+github@mailbox.org)
* [Morris Jobke](mailto:hey@morrisjobke.de) * [Morris Jobke](mailto:hey@morrisjobke.de)
* [Paul Tirk](mailto:paultirk@paultirk.com)
* [Jimmy Huynh](mailto:jimmy.huynh@etu.unistra.fr) * [Jimmy Huynh](mailto:jimmy.huynh@etu.unistra.fr)
* [Aurélien](mailto:dav.aurelien@gmail.com) * [Aurélien](mailto:dav.aurelien@gmail.com)
* [Jan-Christoph Borchardt](mailto:hey@jancborchardt.net) * [Jan-Christoph Borchardt](mailto:hey@jancborchardt.net)
@ -21,6 +22,7 @@
* [Bernhard Posselt](mailto:bep@foryouandyourcustomers.com) * [Bernhard Posselt](mailto:bep@foryouandyourcustomers.com)
* [Thomas Müller](mailto:thomas.mueller@tmit.eu) * [Thomas Müller](mailto:thomas.mueller@tmit.eu)
* [Hoàng Đức Hiếu](mailto:hdhoang@zahe.me) * [Hoàng Đức Hiếu](mailto:hdhoang@zahe.me)
* [IgorA100](mailto:igora100@gmail.com)
* [Marco Nassabain](mailto:marco.nassabain@etu.unistra.fr) * [Marco Nassabain](mailto:marco.nassabain@etu.unistra.fr)
* [rakekniven](mailto:mark.ziegler@rakekniven.de) * [rakekniven](mailto:mark.ziegler@rakekniven.de)
* [Daniel Opitz](mailto:git@copynpaste.de) * [Daniel Opitz](mailto:git@copynpaste.de)
@ -37,6 +39,9 @@
* [Thomas Tanghus](mailto:thomas@tanghus.net) * [Thomas Tanghus](mailto:thomas@tanghus.net)
* [Volkan Gezer](mailto:volkangezer@gmail.com) * [Volkan Gezer](mailto:volkangezer@gmail.com)
* [Xéfir Destiny](mailto:xefir@crystalyx.net) * [Xéfir Destiny](mailto:xefir@crystalyx.net)
* [devlinjunker](mailto:devlin.junker@gmail.com)
* [hydrian](mailto:ben.tyger@tygerclan.net)
* [mortee](mailto:mortee@kavemalna.hu)
* [Daniel Opitz](mailto:danopz@users.noreply.github.com) * [Daniel Opitz](mailto:danopz@users.noreply.github.com)
* [Daniel Rheinbay](mailto:danielrheinbay@gmail.com) * [Daniel Rheinbay](mailto:danielrheinbay@gmail.com)
* [Lars Bensmann](mailto:lars@almosthappy.de) * [Lars Bensmann](mailto:lars@almosthappy.de)
@ -64,15 +69,18 @@
* [Igor Bubelov](mailto:igor@bubelov.com) * [Igor Bubelov](mailto:igor@bubelov.com)
* [Jan C. Borchardt](mailto:hey@jancborchardt.net) * [Jan C. Borchardt](mailto:hey@jancborchardt.net)
* [Jimmy Huynh](mailto:linkatox@gmail.com) * [Jimmy Huynh](mailto:linkatox@gmail.com)
* [Joas Schilling](mailto:213943+nickvergessen@users.noreply.github.com)
* [John Kristensen](mailto:john@jerrykan.com) * [John Kristensen](mailto:john@jerrykan.com)
* [Keunes](mailto:11229646+keunes@users.noreply.github.com) * [Keunes](mailto:11229646+keunes@users.noreply.github.com)
* [Konrad Graefe](mailto:konradgraefe@aol.com) * [Konrad Graefe](mailto:konradgraefe@aol.com)
* [Loki3000](mailto:github@labcms.ru) * [Loki3000](mailto:github@labcms.ru)
* [Maik Kulbe](mailto:info@linux-web-development.de) * [Maik Kulbe](mailto:info@linux-web-development.de)
* [Manuel Sailer](mailto:github.com@manuel-sailer.de) * [Manuel Sailer](mailto:github.com@manuel-sailer.de)
* [Martin Vuille](mailto:jpmv27@yahoo.com)
* [Michael Gapczynski](mailto:mtgap@owncloud.com) * [Michael Gapczynski](mailto:mtgap@owncloud.com)
* [Nikita Chernyi](mailto:rakshazi@users.noreply.github.com) * [Nikita Chernyi](mailto:rakshazi@users.noreply.github.com)
* [Peter Hedlund](mailto:peter@peterandlinda.com) * [Peter Hedlund](mailto:peter@peterandlinda.com)
* [Petra Mirelli](mailto:80395360+iNtEgraIR2021@users.noreply.github.com)
* [Simon Spannagel](mailto:simonspa@kth.se) * [Simon Spannagel](mailto:simonspa@kth.se)
* [bbBowser](mailto:carspi@mail.de) * [bbBowser](mailto:carspi@mail.de)
* [benediktb](mailto:benedikt@blablub.de) * [benediktb](mailto:benedikt@blablub.de)
@ -80,6 +88,7 @@
* [davidak](mailto:git@davidak.de) * [davidak](mailto:git@davidak.de)
* [hooger](mailto:horvathg.1988@gmail.com) * [hooger](mailto:horvathg.1988@gmail.com)
* [lsmooth](mailto:ls@lsmooth.de) * [lsmooth](mailto:ls@lsmooth.de)
* [mortee](mailto:mortee.github@kavemalna.hu)
* [s17t.net](mailto:mail+github@s17t.net) * [s17t.net](mailto:mail+github@s17t.net)
* [Accalia](mailto:Accalia@Elementia.me) * [Accalia](mailto:Accalia@Elementia.me)
* [Accalia Elementia](mailto:accalia@elementia.me) * [Accalia Elementia](mailto:accalia@elementia.me)
@ -104,6 +113,7 @@
* [Chris Aumann](mailto:me@chr4.org) * [Chris Aumann](mailto:me@chr4.org)
* [Chris Danser](mailto:skiingwiz@gmail.com) * [Chris Danser](mailto:skiingwiz@gmail.com)
* [Chris Noxz](mailto:chris@noxz.tech) * [Chris Noxz](mailto:chris@noxz.tech)
* [Christof Dorner](mailto:christof@chdorner.com)
* [Christoph Wurst](mailto:ChristophWurst@users.noreply.github.com) * [Christoph Wurst](mailto:ChristophWurst@users.noreply.github.com)
* [Clemens](mailto:clemens@clemensknost.de) * [Clemens](mailto:clemens@clemensknost.de)
* [Colin W](mailto:cwmke@users.noreply.github.com) * [Colin W](mailto:cwmke@users.noreply.github.com)
@ -127,14 +137,18 @@
* [Freddo](mailto:f.falk@protonmail.com) * [Freddo](mailto:f.falk@protonmail.com)
* [Freddo3000](mailto:f.falk@protonmail.com) * [Freddo3000](mailto:f.falk@protonmail.com)
* [Greg](mailto:greg@toolstack.com) * [Greg](mailto:greg@toolstack.com)
* [HK2FB](mailto:tom.schmidt@helsana.ch)
* [Hagen](mailto:derhagen@users.noreply.github.com) * [Hagen](mailto:derhagen@users.noreply.github.com)
* [Hanzei](mailto:Hanzei@users.noreply.github.com) * [Hanzei](mailto:Hanzei@users.noreply.github.com)
* [Hendrik Leppelsack](mailto:hendrik@leppelsack.de) * [Hendrik Leppelsack](mailto:hendrik@leppelsack.de)
* [Jasper Knockaert](mailto:jasper@knockaert.nl) * [Jasper Knockaert](mailto:jasper@knockaert.nl)
* [Jimmy Boucher](mailto:75694650+jboucher614@users.noreply.github.com)
* [Josh](mailto:josh.t.richards@gmail.com)
* [Kevin Decherf](mailto:kevin@kdecherf.com) * [Kevin Decherf](mailto:kevin@kdecherf.com)
* [Kuba Orlik](mailto:kontakt@kuba-orlik.name) * [Kuba Orlik](mailto:kontakt@kuba-orlik.name)
* [Maceček Richard](mailto:46937538+macecekrichard@users.noreply.github.com) * [Maceček Richard](mailto:46937538+macecekrichard@users.noreply.github.com)
* [Marc Cousin](mailto:marc.cousin@people-doc.com) * [Marc Cousin](mailto:marc.cousin@people-doc.com)
* [Marcus Nitzschke](mailto:mail@kendix.org)
* [Martin Ferretti](mailto:ferrettimartin@protonmail.com) * [Martin Ferretti](mailto:ferrettimartin@protonmail.com)
* [Matthias](mailto:matthias.baier@mabaart.de) * [Matthias](mailto:matthias.baier@mabaart.de)
* [Matthias Blümel](mailto:user@inanna.local) * [Matthias Blümel](mailto:user@inanna.local)
@ -142,6 +156,7 @@
* [Michael Grosser](mailto:github@stp-ip.net) * [Michael Grosser](mailto:github@stp-ip.net)
* [Michael Hamann](mailto:michael@content-space.de) * [Michael Hamann](mailto:michael@content-space.de)
* [Michael Holley](mailto:michaelwholley@gmail.com) * [Michael Holley](mailto:michaelwholley@gmail.com)
* [Mynacol](mailto:Mynacol@users.noreply.github.com)
* [NanoSector](mailto:rick@nanosector.nl) * [NanoSector](mailto:rick@nanosector.nl)
* [Nick Frey](mailto:nickfrey123@gmail.com) * [Nick Frey](mailto:nickfrey123@gmail.com)
* [Oliver Herst](mailto:oliver.herst@googlemail.com) * [Oliver Herst](mailto:oliver.herst@googlemail.com)
@ -188,6 +203,7 @@
* [markusj](mailto:markusj@users.noreply.github.com) * [markusj](mailto:markusj@users.noreply.github.com)
* [mnassabain](mailto:34754819+mnassabain@users.noreply.github.com) * [mnassabain](mailto:34754819+mnassabain@users.noreply.github.com)
* [mormegil](mailto:mormegil@centrum.cz) * [mormegil](mailto:mormegil@centrum.cz)
* [nextcloud-command](mailto:nextcloud-command@users.noreply.github.com)
* [nextcloud486153](mailto:78801830+nextcloud486153@users.noreply.github.com) * [nextcloud486153](mailto:78801830+nextcloud486153@users.noreply.github.com)
* [nexus-uw](mailto:you@example.com) * [nexus-uw](mailto:you@example.com)
* [repat](mailto:repat@repat.de) * [repat](mailto:repat@repat.de)

View File

@ -2,13 +2,80 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), older entries don't fully match. The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), older entries don't fully match.
You can also check [on GitHub](https://github.com/nextcloud/news/releases), the release notes there are generated automatically and include every pull request.
# Unreleased # Unreleased
## [24.x.x] ## [25.x.x]
### Changed ### Changed
### Fixed ### Fixed
# Releases # Releases
## [25.0.0-alpha8] - 2024-07-07
### Changed
- Add support for moving feeds to another folder from the sidebar feed menu (#2707)
- Persist the filter state and show unread items by default (#2704)
### Fixed
- Fix undefined item when using `j` and `k` keyboards shortcuts in an empty feed (#2689)
## [25.0.0-alpha7] - 2024-06-10
### Changed
- added alternative development environment (#2670)
- Implement `j` and `k` keyboards shortcuts for navigating through feed items (#2671)
- Implement `s`, `i` and `l` keyboards shortcuts for staring current feed item (#2677)
- Implement `o` keyboards shortcut for opening the URL of current feed item (#2677)
- Implement `u` keyboards shortcut for marking current feed item read/unread (#2677)
- Implement highlighting of active feed item (#2677)
# Releases
## [25.0.0-alpha6] - 2024-05-07
### Changed
- Improve layout of feed item row (#2569)
### Fixed
- Reset content scroll position when feed item is changed (#2569)
- Fix link to feed in article header (#2569)
## [25.0.0-alpha5] - 2024-04-01
### Changed
- make occ news:updater:job exit with code 2 if last update was too long ago (#2590)
- Fix deprecated variable reference in ExportController.php (#2602)
- Add support for Nextcloud 29 (#2611)
## [25.0.0-alpha4] - 2023-01-25
### Changed
- Add DB index for news_feeds.deleted_at (#2526)
### Fixed
- PostgreSQL implement fix for marking over 65535 unread items as "read" (#2557)
## [25.0.0-alpha3] - 2023-12-24
### Changed
- Changed default page when starting app (#2515)
- Downgrade feed-io to 5.3.1 (#2497)
### Fixed
- Fix search support for Nextcloud 28 (#2432)
## [25.0.0-alpha2] - 2023-11-08
### Changed
- Add support for Nextcloud 28
- Use Nextcloud vue components for item list and article view (#2401)
- Fix aspect ratio of article images (#2401)
### Fixed
- Adjust search urls to match changed Vue routes (#2408)
## [25.0.0-alpha1] - 2023-10-24
### Changed
- Major Rewrite of the Frontend with Vue JS (#748)
For comments and suggestions for the new UI, please use this: https://github.com/nextcloud/news/discussions/2388
- Set User Agent for curl in Scraper (#2380)
- Drop support for Nextcloud 26, Supported 27
## [24.0.0] - 2023-09-26 ## [24.0.0] - 2023-09-26
No major changes compared to 24.0.0-beta1. No major changes compared to 24.0.0-beta1.

View File

@ -52,7 +52,7 @@ cert_dir=$(HOME)/.nextcloud/certificates
npm:=$(shell which npm 2> /dev/null) npm:=$(shell which npm 2> /dev/null)
composer:=$(shell which composer 2> /dev/null) composer:=$(shell which composer 2> /dev/null)
ifeq (,$(composer)) ifeq (,$(composer))
composer:=php $(build_tools_directory)/composer.phar composer:=php "$(build_tools_directory)/composer.phar"
endif endif
#Support xDebug 3.0+ #Support xDebug 3.0+
@ -74,28 +74,26 @@ build:
composer: composer:
ifeq (, $(shell which composer 2> /dev/null)) ifeq (, $(shell which composer 2> /dev/null))
@echo "No composer command available, downloading a copy from the web" @echo "No composer command available, downloading a copy from the web"
mkdir -p $(build_tools_directory) mkdir -p "$(build_tools_directory)"
curl -sS https://getcomposer.org/installer | php curl -sS https://getcomposer.org/installer | php
mv composer.phar $(build_tools_directory) mv composer.phar "$(build_tools_directory)"
endif endif
$(composer) install --prefer-dist --no-dev $(composer) install --prefer-dist --no-dev
# Installs npm dependencies # Installs npm dependencies
.PHONY: npm .PHONY: npm
npm: npm:
$(npm) ci
$(npm) run build
ifneq (, $(npm)) ifneq (, $(npm))
cd js && $(npm) run build $(npm) run build
else else
@echo "npm command not available, please install nodejs first" @echo "npm command not available, please install nodejs first"
@exit 1 @exit 1
endif endif
# Removes the appstore build # Removes the appstore build and compiled js files
.PHONY: clean .PHONY: clean
clean: clean:
rm -rf ./build rm -rf ./build ./js/*
# Reports PHP codestyle violations # Reports PHP codestyle violations
.PHONY: phpcs .PHONY: phpcs
@ -126,9 +124,9 @@ dist:
# Builds the source package # Builds the source package
.PHONY: source .PHONY: source
source: source:
rm -rf $(source_build_directory) $(source_artifact_directory) rm -rf "$(source_build_directory)" "$(source_artifact_directory)"
mkdir -p $(source_build_directory) $(source_artifact_directory) mkdir -p "$(source_build_directory)" "$(source_artifact_directory)"
rsync -rv . $(source_build_directory) \ rsync -rv . "$(source_build_directory)" \
--exclude=/.git/ \ --exclude=/.git/ \
--exclude=/.idea/ \ --exclude=/.idea/ \
--exclude=/build/ \ --exclude=/build/ \
@ -139,13 +137,13 @@ ifdef CAN_SIGN
else else
@echo $(sign_skip_msg) @echo $(sign_skip_msg)
endif endif
tar -cvzf $(source_package_name).tar.gz -C $(source_build_directory)/../ $(app_name) tar -cvzf "$(source_package_name).tar.gz" -C "$(source_build_directory)/../" $(app_name)
# Builds the source package for the app store, ignores php and js tests # Builds the source package for the app store, ignores php and js tests
.PHONY: appstore .PHONY: appstore
appstore: appstore:
rm -rf $(appstore_build_directory) $(appstore_sign_dir) $(appstore_artifact_directory) rm -rf "$(appstore_build_directory)" "$(appstore_sign_dir)" "$(appstore_artifact_directory)"
install -d $(appstore_sign_dir)/$(app_name) install -d "$(appstore_sign_dir)/$(app_name)"
cp -r \ cp -r \
"appinfo" \ "appinfo" \
"css" \ "css" \
@ -154,50 +152,49 @@ appstore:
"lib" \ "lib" \
"templates" \ "templates" \
"vendor" \ "vendor" \
$(appstore_sign_dir)/$(app_name) "$(appstore_sign_dir)/$(app_name)"
# remove composer binaries, those aren't needed # remove composer binaries, those aren't needed
rm -rf $(appstore_sign_dir)/$(app_name)/vendor/bin rm -rf "$(appstore_sign_dir)/$(app_name)/vendor/bin"
# the App Store doesn't like .git # the App Store doesn't like .git
rm -rf $(appstore_sign_dir)/$(app_name)/vendor/arthurhoaro/favicon/.git rm -rf "$(appstore_sign_dir)/$(app_name)/vendor/arthurhoaro/favicon/.git"
# remove large test files # remove large test files
rm -rf $(appstore_sign_dir)/$(app_name)/vendor/fivefilters/readability.php/test rm -rf "$(appstore_sign_dir)/$(app_name)/vendor/fivefilters/readability.php/test"
install "COPYING" $(appstore_sign_dir)/$(app_name) install "COPYING" "$(appstore_sign_dir)/$(app_name)"
install "AUTHORS.md" $(appstore_sign_dir)/$(app_name) install "AUTHORS.md" "$(appstore_sign_dir)/$(app_name)"
install "CHANGELOG.md" $(appstore_sign_dir)/$(app_name) install "CHANGELOG.md" "$(appstore_sign_dir)/$(app_name)"
#remove stray .htaccess files since they are filtered by nextcloud #remove stray .htaccess files since they are filtered by nextcloud
find $(appstore_sign_dir) -name .htaccess -exec rm {} \; find "$(appstore_sign_dir)" -name .htaccess -exec rm {} \;
# on macOS there is no option "--parents" for the "cp" command # on macOS there is no option "--parents" for the "cp" command
mkdir -p $(appstore_sign_dir)/$(app_name)/js/build $(appstore_sign_dir)/$(app_name)/js/admin mkdir -p "$(appstore_sign_dir)/$(app_name)/js"
cp js/build/app.min.js $(appstore_sign_dir)/$(app_name)/js/build cp js/* "$(appstore_sign_dir)/$(app_name)/js/"
cp js/build/news-admin-settings.js* $(appstore_sign_dir)/$(app_name)/js/build
# export the key and cert to a file # export the key and cert to a file
@if [ ! -f $(cert_dir)/$(app_name).key ] || [ ! -f $(cert_dir)/$(app_name).crt ]; then \ @if [ ! -f "$(cert_dir)/$(app_name).key" ] || [ ! -f "$(cert_dir)/$(app_name).crt" ]; then \
echo "Key and cert do not exist"; \ echo "Key and cert do not exist"; \
mkdir -p $(cert_dir); \ mkdir -p "$(cert_dir)"; \
php ./bin/tools/file_from_env.php "app_private_key" "$(cert_dir)/$(app_name).key"; \ php ./bin/tools/file_from_env.php "app_private_key" "$(cert_dir)/$(app_name).key"; \
php ./bin/tools/file_from_env.php "app_public_crt" "$(cert_dir)/$(app_name).crt"; \ php ./bin/tools/file_from_env.php "app_public_crt" "$(cert_dir)/$(app_name).crt"; \
fi fi
@if [ -f $(cert_dir)/$(app_name).key ]; then \ @if [ -f "$(cert_dir)/$(app_name).key" ]; then \
echo "Signing app files…"; \ echo "Signing app files…"; \
php ../../occ integrity:sign-app \ php ../../occ integrity:sign-app \
--privateKey=$(cert_dir)/$(app_name).key\ --privateKey="$(cert_dir)/$(app_name).key"\
--certificate=$(cert_dir)/$(app_name).crt\ --certificate="$(cert_dir)/$(app_name).crt"\
--path=$(appstore_sign_dir)/$(app_name); \ --path="$(appstore_sign_dir)/$(app_name)"; \
echo "Signing app files ... done"; \ echo "Signing app files ... done"; \
fi fi
mkdir -p $(appstore_artifact_directory) mkdir -p "$(appstore_artifact_directory)"
tar -czf $(appstore_package_name).tar.gz -C $(appstore_sign_dir) $(app_name) tar -czf "$(appstore_package_name).tar.gz" -C "$(appstore_sign_dir)" $(app_name)
.PHONY: js-test .PHONY: js-test
js-test: js-test:
cd js && $(npm) run test $(npm) run test
.PHONY: php-test-dependencies .PHONY: php-test-dependencies
php-test-dependencies: php-test-dependencies:
@ -205,12 +202,7 @@ php-test-dependencies:
.PHONY: unit-test .PHONY: unit-test
unit-test: unit-test:
@if [ "$(CODECOVERAGE)" = "true" ]; then \ ./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover
./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover; \
else \
./vendor/phpunit/phpunit/phpunit -c phpunit.xml --no-coverage; \
fi
# Command for running JS and PHP tests. Works for package.json files in the js/ # Command for running JS and PHP tests. Works for package.json files in the js/
# and root directory. If phpunit is not installed systemwide, a copy is fetched # and root directory. If phpunit is not installed systemwide, a copy is fetched
@ -229,8 +221,16 @@ feed-test:
.PHONY: feed-server .PHONY: feed-server
feed-server: feed-server:
php -S 127.0.0.1:8090 -t $(CURDIR)/tests/test_helper/feeds php -S 127.0.0.1:8090 -t "$(CURDIR)/tests/test_helper/feeds"
.PHONY: nextcloud-server .PHONY: nextcloud-server
nextcloud-server: nextcloud-server:
php -S 127.0.0.1:8080 -t $(CURDIR)/../../. php -S 127.0.0.1:8080 -t "$(CURDIR)/../../."
.PHONY: term
term:
zellij --layout term.kdl attach nextcloud-news -cf
.PHONY: term-kill
term-kill:
zellij delete-session nextcloud-news -f

View File

@ -1,7 +1,4 @@
# Nextcloud News app # Nextcloud News app
**We need help with the frontend, check the issue tracker if you are interested!**
![Release status](https://github.com/nextcloud/news/workflows/Build%20and%20publish%20app%20release/badge.svg) ![Integration Tests](https://github.com/nextcloud/news/workflows/Integration%20Tests/badge.svg) ![Frontend tests](https://github.com/nextcloud/news/workflows/Frontend%20tests/badge.svg) [![Code coverage](https://img.shields.io/codecov/c/github/nextcloud/news.svg?style=flat)](https://codecov.io/gh/nextcloud/news/) ![Release status](https://github.com/nextcloud/news/workflows/Build%20and%20publish%20app%20release/badge.svg) ![Integration Tests](https://github.com/nextcloud/news/workflows/Integration%20Tests/badge.svg) ![Frontend tests](https://github.com/nextcloud/news/workflows/Frontend%20tests/badge.svg) [![Code coverage](https://img.shields.io/codecov/c/github/nextcloud/news.svg?style=flat)](https://codecov.io/gh/nextcloud/news/)
The News app is an RSS/Atom feed aggregator. It offers a [RESTful API](https://nextcloud.github.io/news/developer/#apis) for app developers. The source code is [available on GitHub](https://github.com/nextcloud/news) The News app is an RSS/Atom feed aggregator. It offers a [RESTful API](https://nextcloud.github.io/news/developer/#apis) for app developers. The source code is [available on GitHub](https://github.com/nextcloud/news)

View File

@ -21,7 +21,7 @@ Create a [feature request](https://github.com/nextcloud/news/discussions/new)
Report a [feed issue](https://github.com/nextcloud/news/discussions/new) Report a [feed issue](https://github.com/nextcloud/news/discussions/new)
]]></description> ]]></description>
<version>24.0.0</version> <version>25.0.0-alpha8</version>
<licence>agpl</licence> <licence>agpl</licence>
<author>Benjamin Brahmer</author> <author>Benjamin Brahmer</author>
<author>Sean Molenaar</author> <author>Sean Molenaar</author>
@ -55,7 +55,7 @@ Report a [feed issue](https://github.com/nextcloud/news/discussions/new)
<lib>json</lib> <lib>json</lib>
<owncloud max-version="0" min-version="0"/> <owncloud max-version="0" min-version="0"/>
<nextcloud min-version="26" max-version="27"/> <nextcloud min-version="27" max-version="29"/>
</dependencies> </dependencies>
<background-jobs> <background-jobs>

View File

@ -1,5 +1,6 @@
// SPDX-FileCopyrightText: Carl Schwan <carl@carlschwan.eu> module.exports = {
// SPDX-License-Identifier: AGPL-3.0-or-later plugins: [
const babelConfig = require('@nextcloud/babel-config') '@babel/plugin-syntax-dynamic-import',
],
module.exports = babelConfig presets: ['@babel/preset-env', '@babel/preset-typescript'],
}

View File

@ -41,11 +41,11 @@
}, },
"require": { "require": {
"php": "~8.0", "php": "~8.0",
"ezyang/htmlpurifier": "^4.16.0", "ezyang/htmlpurifier": "^4.17.0",
"pear/net_url2": "^2.2.2", "pear/net_url2": "^2.2.2",
"riimu/kit-pathjoin": "^1.2.0", "riimu/kit-pathjoin": "^1.2.0",
"debril/feed-io": "^v5.3.1", "debril/feed-io": "v5.3.1",
"arthurhoaro/favicon": "^1.3.3", "arthurhoaro/favicon": "^2.0.0",
"fivefilters/readability.php": "^3.1", "fivefilters/readability.php": "^3.1",
"ext-json": "*", "ext-json": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
@ -55,15 +55,15 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "9.6.*", "phpunit/phpunit": "9.6.*",
"squizlabs/php_codesniffer": "^3.7.2", "squizlabs/php_codesniffer": "^3.9.2",
"phpstan/phpstan": "^1.10.35", "phpstan/phpstan": "^1.10.60",
"phpstan/phpstan-doctrine": "^1.3.43", "phpstan/phpstan-doctrine": "^1.4.3",
"phpstan/phpstan-strict-rules": "^1.5.1", "phpstan/phpstan-strict-rules": "^1.5.2",
"phpstan/phpstan-phpunit": "^1.3.14", "phpstan/phpstan-phpunit": "^1.3.16",
"phpstan/extension-installer": "^1.3.1", "phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan-deprecation-rules": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.1",
"guzzlehttp/guzzle": "^7.3.0", "guzzlehttp/guzzle": "^7.3.0",
"doctrine/dbal": "^3.7.0", "doctrine/dbal": "^3.8.0",
"symfony/console": "^4.4.19", "symfony/console": "^4.4.19",
"psr/log": "^1.1.0" "psr/log": "^1.1.0"
}, },

279
composer.lock generated
View File

@ -4,29 +4,29 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "b6d4c8e072b483a0ed1e02f7bf9c7719", "content-hash": "7597b35ceb19b17645835c69257ed60e",
"packages": [ "packages": [
{ {
"name": "arthurhoaro/favicon", "name": "arthurhoaro/favicon",
"version": "v1.3.3", "version": "v2.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ArthurHoaro/favicon.git", "url": "https://github.com/ArthurHoaro/favicon.git",
"reference": "b1acd8b87d6b37e5251fe0559ed488a95078f5b9" "reference": "44f1e0d0d22e71472f2ecd2b8bec33ebae582c4c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ArthurHoaro/favicon/zipball/b1acd8b87d6b37e5251fe0559ed488a95078f5b9", "url": "https://api.github.com/repos/ArthurHoaro/favicon/zipball/44f1e0d0d22e71472f2ecd2b8bec33ebae582c4c",
"reference": "b1acd8b87d6b37e5251fe0559ed488a95078f5b9", "reference": "44f1e0d0d22e71472f2ecd2b8bec33ebae582c4c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-dom": "*", "ext-dom": "*",
"ext-fileinfo": "*", "ext-fileinfo": "*",
"php": ">=5.6" "php": "^8.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.8", "phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": "^3.5", "squizlabs/php_codesniffer": "^3.5",
"weew/helpers-filesystem": "~1.0" "weew/helpers-filesystem": "~1.0"
}, },
@ -59,10 +59,10 @@
], ],
"support": { "support": {
"issues": "https://github.com/ArthurHoaro/favicon/issues", "issues": "https://github.com/ArthurHoaro/favicon/issues",
"source": "https://github.com/ArthurHoaro/favicon/tree/v1.3.3", "source": "https://github.com/ArthurHoaro/favicon/tree/v2.0.0",
"sources": "https://github.com/ArthurHoaro/favicon" "sources": "https://github.com/ArthurHoaro/favicon"
}, },
"time": "2021-08-06T05:41:25+00:00" "time": "2023-10-22T00:43:56+00:00"
}, },
{ {
"name": "debril/feed-io", "name": "debril/feed-io",
@ -133,20 +133,20 @@
}, },
{ {
"name": "ezyang/htmlpurifier", "name": "ezyang/htmlpurifier",
"version": "v4.16.0", "version": "v4.17.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ezyang/htmlpurifier.git", "url": "https://github.com/ezyang/htmlpurifier.git",
"reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8" "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/bbc513d79acf6691fa9cf10f192c90dd2957f18c",
"reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8", "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0" "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0"
}, },
"require-dev": { "require-dev": {
"cerdic/css-tidy": "^1.7 || ^2.0", "cerdic/css-tidy": "^1.7 || ^2.0",
@ -188,9 +188,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/ezyang/htmlpurifier/issues", "issues": "https://github.com/ezyang/htmlpurifier/issues",
"source": "https://github.com/ezyang/htmlpurifier/tree/v4.16.0" "source": "https://github.com/ezyang/htmlpurifier/tree/v4.17.0"
}, },
"time": "2022-09-18T07:06:19+00:00" "time": "2023-11-17T15:01:25+00:00"
}, },
{ {
"name": "fivefilters/readability.php", "name": "fivefilters/readability.php",
@ -766,16 +766,16 @@
}, },
{ {
"name": "doctrine/dbal", "name": "doctrine/dbal",
"version": "3.7.0", "version": "3.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/dbal.git", "url": "https://github.com/doctrine/dbal.git",
"reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf" "reference": "d244f2e6e6bf32bff5174e6729b57214923ecec9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/00d03067f07482f025d41ab55e4ba0db5eca2cdf", "url": "https://api.github.com/repos/doctrine/dbal/zipball/d244f2e6e6bf32bff5174e6729b57214923ecec9",
"reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf", "reference": "d244f2e6e6bf32bff5174e6729b57214923ecec9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -791,14 +791,14 @@
"doctrine/coding-standard": "12.0.0", "doctrine/coding-standard": "12.0.0",
"fig/log-test": "^1", "fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.1", "jetbrains/phpstorm-stubs": "2023.1",
"phpstan/phpstan": "1.10.35", "phpstan/phpstan": "1.10.56",
"phpstan/phpstan-strict-rules": "^1.5", "phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "9.6.13", "phpunit/phpunit": "9.6.15",
"psalm/plugin-phpunit": "0.18.4", "psalm/plugin-phpunit": "0.18.4",
"slevomat/coding-standard": "8.13.1", "slevomat/coding-standard": "8.13.1",
"squizlabs/php_codesniffer": "3.7.2", "squizlabs/php_codesniffer": "3.8.1",
"symfony/cache": "^5.4|^6.0", "symfony/cache": "^5.4|^6.0|^7.0",
"symfony/console": "^4.4|^5.4|^6.0", "symfony/console": "^4.4|^5.4|^6.0|^7.0",
"vimeo/psalm": "4.30.0" "vimeo/psalm": "4.30.0"
}, },
"suggest": { "suggest": {
@ -859,7 +859,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/dbal/issues", "issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.7.0" "source": "https://github.com/doctrine/dbal/tree/3.8.0"
}, },
"funding": [ "funding": [
{ {
@ -875,20 +875,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-26T20:56:55+00:00" "time": "2024-01-25T21:44:02+00:00"
}, },
{ {
"name": "doctrine/deprecations", "name": "doctrine/deprecations",
"version": "v1.1.1", "version": "1.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/deprecations.git", "url": "https://github.com/doctrine/deprecations.git",
"reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3" "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
"reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -920,9 +920,9 @@
"homepage": "https://www.doctrine-project.org/", "homepage": "https://www.doctrine-project.org/",
"support": { "support": {
"issues": "https://github.com/doctrine/deprecations/issues", "issues": "https://github.com/doctrine/deprecations/issues",
"source": "https://github.com/doctrine/deprecations/tree/v1.1.1" "source": "https://github.com/doctrine/deprecations/tree/1.1.2"
}, },
"time": "2023-06-03T09:27:29+00:00" "time": "2023-09-27T20:04:15+00:00"
}, },
{ {
"name": "doctrine/event-manager", "name": "doctrine/event-manager",
@ -1146,25 +1146,27 @@
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
"version": "v4.17.1", "version": "v5.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nikic/PHP-Parser.git", "url": "https://github.com/nikic/PHP-Parser.git",
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc",
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-ctype": "*",
"ext-json": "*",
"ext-tokenizer": "*", "ext-tokenizer": "*",
"php": ">=7.0" "php": ">=7.4"
}, },
"require-dev": { "require-dev": {
"ircmaxell/php-yacc": "^0.0.7", "ircmaxell/php-yacc": "^0.0.7",
"phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
}, },
"bin": [ "bin": [
"bin/php-parse" "bin/php-parse"
@ -1172,7 +1174,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "4.9-dev" "dev-master": "5.0-dev"
} }
}, },
"autoload": { "autoload": {
@ -1196,9 +1198,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nikic/PHP-Parser/issues", "issues": "https://github.com/nikic/PHP-Parser/issues",
"source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0"
}, },
"time": "2023-08-13T19:53:39+00:00" "time": "2024-01-07T17:17:35+00:00"
}, },
{ {
"name": "phar-io/manifest", "name": "phar-io/manifest",
@ -1357,16 +1359,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.10.35", "version": "1.11.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3" "reference": "9100a76ce8015b9aa7125b9171ae3a76887b6c82"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e730e5facb75ffe09dfb229795e8c01a459f26c3", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9100a76ce8015b9aa7125b9171ae3a76887b6c82",
"reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3", "reference": "9100a76ce8015b9aa7125b9171ae3a76887b6c82",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1409,13 +1411,9 @@
{ {
"url": "https://github.com/phpstan", "url": "https://github.com/phpstan",
"type": "github" "type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
"type": "tidelift"
} }
], ],
"time": "2023-09-19T15:27:56+00:00" "time": "2024-06-06T12:19:22+00:00"
}, },
{ {
"name": "phpstan/phpstan-deprecation-rules", "name": "phpstan/phpstan-deprecation-rules",
@ -1467,21 +1465,21 @@
}, },
{ {
"name": "phpstan/phpstan-doctrine", "name": "phpstan/phpstan-doctrine",
"version": "1.3.43", "version": "1.4.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-doctrine.git", "url": "https://github.com/phpstan/phpstan-doctrine.git",
"reference": "c5015035755ad2d5013bd6bf98ff423ca6150822" "reference": "dd27a3e83777ba0d9e9cedfaf4ebf95ff67b271f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/c5015035755ad2d5013bd6bf98ff423ca6150822", "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/dd27a3e83777ba0d9e9cedfaf4ebf95ff67b271f",
"reference": "c5015035755ad2d5013bd6bf98ff423ca6150822", "reference": "dd27a3e83777ba0d9e9cedfaf4ebf95ff67b271f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0", "php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.10.12" "phpstan/phpstan": "^1.11"
}, },
"conflict": { "conflict": {
"doctrine/collections": "<1.0", "doctrine/collections": "<1.0",
@ -1491,24 +1489,26 @@
"doctrine/persistence": "<1.3" "doctrine/persistence": "<1.3"
}, },
"require-dev": { "require-dev": {
"cache/array-adapter": "^1.1",
"composer/semver": "^3.3.2", "composer/semver": "^3.3.2",
"doctrine/annotations": "^1.11.0", "cweagans/composer-patches": "^1.7.3",
"doctrine/collections": "^1.6", "doctrine/annotations": "^1.11 || ^2.0",
"doctrine/collections": "^1.6 || ^2.1",
"doctrine/common": "^2.7 || ^3.0", "doctrine/common": "^2.7 || ^3.0",
"doctrine/dbal": "^2.13.8 || ^3.3.3", "doctrine/dbal": "^2.13.8 || ^3.3.3",
"doctrine/lexer": "^1.2.1", "doctrine/lexer": "^2.0 || ^3.0",
"doctrine/mongodb-odm": "^1.3 || ^2.1", "doctrine/mongodb-odm": "^1.3 || ^2.4.3",
"doctrine/orm": "^2.11.0", "doctrine/orm": "^2.16.0",
"doctrine/persistence": "^1.3.8 || ^2.2.1", "doctrine/persistence": "^2.2.1 || ^3.2",
"gedmo/doctrine-extensions": "^3.8", "gedmo/doctrine-extensions": "^3.8",
"nesbot/carbon": "^2.49", "nesbot/carbon": "^2.49",
"nikic/php-parser": "^4.13.2", "nikic/php-parser": "^4.13.2",
"php-parallel-lint/php-parallel-lint": "^1.2", "php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan-phpunit": "^1.3.13", "phpstan/phpstan-phpunit": "^1.3.13",
"phpstan/phpstan-strict-rules": "^1.5.1", "phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^9.5.10", "phpunit/phpunit": "^9.6.16",
"ramsey/uuid-doctrine": "^1.5.0", "ramsey/uuid": "^4.2",
"symfony/cache": "^4.4.35" "symfony/cache": "^5.4"
}, },
"type": "phpstan-extension", "type": "phpstan-extension",
"extra": { "extra": {
@ -1531,22 +1531,22 @@
"description": "Doctrine extensions for PHPStan", "description": "Doctrine extensions for PHPStan",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-doctrine/issues", "issues": "https://github.com/phpstan/phpstan-doctrine/issues",
"source": "https://github.com/phpstan/phpstan-doctrine/tree/1.3.43" "source": "https://github.com/phpstan/phpstan-doctrine/tree/1.4.3"
}, },
"time": "2023-09-01T15:01:13+00:00" "time": "2024-06-08T05:48:50+00:00"
}, },
{ {
"name": "phpstan/phpstan-phpunit", "name": "phpstan/phpstan-phpunit",
"version": "1.3.14", "version": "1.3.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-phpunit.git", "url": "https://github.com/phpstan/phpstan-phpunit.git",
"reference": "614acc10c522e319639bf38b0698a4a566665f04" "reference": "d5242a59d035e46774f2e634b374bc39ff62cb95"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/614acc10c522e319639bf38b0698a4a566665f04", "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/d5242a59d035e46774f2e634b374bc39ff62cb95",
"reference": "614acc10c522e319639bf38b0698a4a566665f04", "reference": "d5242a59d035e46774f2e634b374bc39ff62cb95",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1583,27 +1583,27 @@
"description": "PHPUnit extensions and rules for PHPStan", "description": "PHPUnit extensions and rules for PHPStan",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-phpunit/issues", "issues": "https://github.com/phpstan/phpstan-phpunit/issues",
"source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.14" "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.16"
}, },
"time": "2023-08-25T09:46:39+00:00" "time": "2024-02-23T09:51:20+00:00"
}, },
{ {
"name": "phpstan/phpstan-strict-rules", "name": "phpstan/phpstan-strict-rules",
"version": "1.5.1", "version": "1.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-strict-rules.git", "url": "https://github.com/phpstan/phpstan-strict-rules.git",
"reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6" "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/b21c03d4f6f3a446e4311155f4be9d65048218e6", "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/7a50e9662ee9f3942e4aaaf3d603653f60282542",
"reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6", "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0", "php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.10" "phpstan/phpstan": "^1.10.34"
}, },
"require-dev": { "require-dev": {
"nikic/php-parser": "^4.13.0", "nikic/php-parser": "^4.13.0",
@ -1632,29 +1632,29 @@
"description": "Extra strict and opinionated rules for PHPStan", "description": "Extra strict and opinionated rules for PHPStan",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-strict-rules/issues", "issues": "https://github.com/phpstan/phpstan-strict-rules/issues",
"source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.1" "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.2"
}, },
"time": "2023-03-29T14:47:40+00:00" "time": "2023-10-30T14:35:06+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "9.2.29", "version": "9.2.30",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089",
"reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-dom": "*", "ext-dom": "*",
"ext-libxml": "*", "ext-libxml": "*",
"ext-xmlwriter": "*", "ext-xmlwriter": "*",
"nikic/php-parser": "^4.15", "nikic/php-parser": "^4.18 || ^5.0",
"php": ">=7.3", "php": ">=7.3",
"phpunit/php-file-iterator": "^3.0.3", "phpunit/php-file-iterator": "^3.0.3",
"phpunit/php-text-template": "^2.0.2", "phpunit/php-text-template": "^2.0.2",
@ -1704,7 +1704,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30"
}, },
"funding": [ "funding": [
{ {
@ -1712,7 +1712,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-19T04:57:46+00:00" "time": "2023-12-22T06:47:57+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@ -1957,16 +1957,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "9.6.13", "version": "9.6.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f",
"reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2040,7 +2040,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16"
}, },
"funding": [ "funding": [
{ {
@ -2056,7 +2056,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-19T05:39:22+00:00" "time": "2024-01-19T07:03:14+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@ -2350,20 +2350,20 @@
}, },
{ {
"name": "sebastian/complexity", "name": "sebastian/complexity",
"version": "2.0.2", "version": "2.0.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/complexity.git", "url": "https://github.com/sebastianbergmann/complexity.git",
"reference": "739b35e53379900cc9ac327b2147867b8b6efd88" "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a",
"reference": "739b35e53379900cc9ac327b2147867b8b6efd88", "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nikic/php-parser": "^4.7", "nikic/php-parser": "^4.18 || ^5.0",
"php": ">=7.3" "php": ">=7.3"
}, },
"require-dev": { "require-dev": {
@ -2395,7 +2395,7 @@
"homepage": "https://github.com/sebastianbergmann/complexity", "homepage": "https://github.com/sebastianbergmann/complexity",
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/complexity/issues", "issues": "https://github.com/sebastianbergmann/complexity/issues",
"source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3"
}, },
"funding": [ "funding": [
{ {
@ -2403,7 +2403,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-10-26T15:52:27+00:00" "time": "2023-12-22T06:19:30+00:00"
}, },
{ {
"name": "sebastian/diff", "name": "sebastian/diff",
@ -2677,20 +2677,20 @@
}, },
{ {
"name": "sebastian/lines-of-code", "name": "sebastian/lines-of-code",
"version": "1.0.3", "version": "1.0.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/lines-of-code.git", "url": "https://github.com/sebastianbergmann/lines-of-code.git",
"reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5",
"reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nikic/php-parser": "^4.6", "nikic/php-parser": "^4.18 || ^5.0",
"php": ">=7.3" "php": ">=7.3"
}, },
"require-dev": { "require-dev": {
@ -2722,7 +2722,7 @@
"homepage": "https://github.com/sebastianbergmann/lines-of-code", "homepage": "https://github.com/sebastianbergmann/lines-of-code",
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/lines-of-code/issues", "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
"source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4"
}, },
"funding": [ "funding": [
{ {
@ -2730,7 +2730,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-11-28T06:42:11+00:00" "time": "2023-12-22T06:20:34+00:00"
}, },
{ {
"name": "sebastian/object-enumerator", "name": "sebastian/object-enumerator",
@ -3073,16 +3073,16 @@
}, },
{ {
"name": "squizlabs/php_codesniffer", "name": "squizlabs/php_codesniffer",
"version": "3.7.2", "version": "3.9.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
"reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" "reference": "aac1f6f347a5c5ac6bc98ad395007df00990f480"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/aac1f6f347a5c5ac6bc98ad395007df00990f480",
"reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", "reference": "aac1f6f347a5c5ac6bc98ad395007df00990f480",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3092,11 +3092,11 @@
"php": ">=5.4.0" "php": ">=5.4.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
}, },
"bin": [ "bin": [
"bin/phpcs", "bin/phpcbf",
"bin/phpcbf" "bin/phpcs"
], ],
"type": "library", "type": "library",
"extra": { "extra": {
@ -3111,35 +3111,58 @@
"authors": [ "authors": [
{ {
"name": "Greg Sherwood", "name": "Greg Sherwood",
"role": "lead" "role": "Former lead"
},
{
"name": "Juliette Reinders Folmer",
"role": "Current lead"
},
{
"name": "Contributors",
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
} }
], ],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer", "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"keywords": [ "keywords": [
"phpcs", "phpcs",
"standards", "standards",
"static analysis" "static analysis"
], ],
"support": { "support": {
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
"source": "https://github.com/squizlabs/PHP_CodeSniffer", "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
}, },
"time": "2023-02-22T23:07:41+00:00" "funding": [
{
"url": "https://github.com/PHPCSStandards",
"type": "github"
},
{
"url": "https://github.com/jrfnl",
"type": "github"
},
{
"url": "https://opencollective.com/php_codesniffer",
"type": "open_collective"
}
],
"time": "2024-04-23T20:25:34+00:00"
}, },
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",
"version": "1.2.1", "version": "1.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/theseer/tokenizer.git", "url": "https://github.com/theseer/tokenizer.git",
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3168,7 +3191,7 @@
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
"support": { "support": {
"issues": "https://github.com/theseer/tokenizer/issues", "issues": "https://github.com/theseer/tokenizer/issues",
"source": "https://github.com/theseer/tokenizer/tree/1.2.1" "source": "https://github.com/theseer/tokenizer/tree/1.2.2"
}, },
"funding": [ "funding": [
{ {
@ -3176,7 +3199,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-07-28T10:34:58+00:00" "time": "2023-11-20T00:12:19+00:00"
} }
], ],
"aliases": [], "aliases": [],
@ -3193,5 +3216,5 @@
"ext-curl": "*" "ext-curl": "*"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.3.0" "plugin-api-version": "2.6.0"
} }

View File

@ -1,778 +0,0 @@
/**
* Nextcloud - News
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2014
*/
#app-content {
width: 100%;
flex-basis: auto;
}
#app-navigation:not(.hidden) + #app-content {
width: calc(100% - 300px);
}
#app-content #searchresults {
display: none;
}
#app-content #text-content {
padding: 20px;
}
#app-content #text-content h1 {
font-size: 18pt;
margin-bottom: 15px;
}
#app-content #text-content p {
font-size: 11pt;
}
#app-content .no-feeds-available {
text-align: center;
color: var(--color-text-lighter);
font-size: 16pt;
min-height: 100%;
height: 100%;
width: 100%;
display: table;
}
#app-content .no-feeds-available p {
vertical-align: middle;
display: table-cell;
}
#articles {
width: 100%;
}
/**
* Podcast settings
*/
#app-content .podcast {
height: 50px;
z-index: 10000;
background-color: #111;
display: flex;
position: sticky;
top: 50px;
align-items: center;
}
#app-content.nc-major-version-gte-25 .podcast {
top: 0;
}
#app-content .podcast audio {
display: block;
width: calc(100% - 60px);
border-radius: 0;
height: inherit;
}
#app-content .podcast button,
#app-content .podcast a {
display: block;
float: left;
height: 30px;
width: 30px;
border: 0;
border-radius: 0;
margin: 0;
background-color: transparent;
background-repeat: no-repeat;
background-position: center;
}
#app-content .podcast-close {
background-size: 25px;
background-image: url('../img/close.svg');
}
#app-content .podcast-download {
transform: rotate(270deg);
background-size: 20px;
background-image: url('../img/arrow-white.svg');
}
#app-content .podcast audio::-webkit-media-controls-enclosure {
max-width: inherit;
}
#app-content .podcast.fixed {
position: absolute;
right: 0;
left: 0;
}
#app-content.nc-major-version-gte-25 .podcast {
position: sticky;
}
@media only screen and (width < 1024px) {
#app-content.nc-major-version-gte-25 .podcast {
left: 35px;
width: calc(100% - 35px);
}
}
#notification a {
text-decoration: underline;
color: blue;
}
#notification li {
display: block;
}
/**
* Content styles
*/
#app-content.loading-content {
background: url('../img/loading.gif') no-repeat;
background-color: var(--color-main-background);
background-position: calc(50% - 16px) calc(50% - 16px);
/* Overrides the snap.js animation making the loading icon to fly in app-content. */
transition: none !important;
-webkit-transition: none !important;
-moz-webkit-transition: none !important;
}
#app-content.loading-content #app-content-wrapper {
display: none;
}
#app-content:not(.explore) #articles:after {
content: '';
display: block;
/* Subtract the height of the Nextcloud header. */
height: calc(100vh - 50px);
background-repeat: no-repeat;
}
#app-content .autopaging: #articles:after {
content: '';
background-image: url('../img/loading.gif');
background-position: calc(50% - 16px) calc(50% - 16px);
/* Overrides the snap.js animation making the loading icon to fly in app-content. */
transition: none !important;
-webkit-transition: none !important;
-moz-webkit-transition: none !important;
}
#app-content .finished-auto-paging #articles:after {
background: var(--color-main-background);
}
/**
*
*/
.pull-to-refresh {
height: 0;
overflow: hidden;
text-align: center;
background-image: -moz-linear-gradient(top, #eee 0%, #fefefe 100%);
background-image: -webkit-linear-gradient(top, #eee 0%, #fefefe 100%);
background-image: -ms-linear-gradient(top, #eee 0%, #fefefe 100%);
background-image: linear-gradient(top, #eee 0%, #fefefe 100%);
}
.pull-to-refresh.show-pull-to-refresh {
transition: all 0.5s ease;
padding-top: 10px;
height: 44px;
}
/**
* Rules for a single feed item
*/
#app-content .only-in-expanded {
display: block;
}
#app-content .compact .only-in-expanded {
display: none;
}
#app-content .only-in-compact {
display: none;
}
#app-content .compact .only-in-compact {
display: block;
}
#app-content .item {
cursor: default;
border-bottom: 1px solid var(--color-border);
}
#app-content .item.active {
background-image: linear-gradient(to right, orange 0, orange 2px, transparent 2px);
}
#app-content .compact li.item div.utils:hover {
background-color: var(--color-background-hover);
}
#app-content :not(.compact) .item {
}
#app-content .item:last-child {
border-bottom: 0;
}
/**
* Utils panel
*/
#app-content .utils {
width: 100%;
line-height: 52px;
box-sizing: border-box;
padding: 15px 50px 0 15px;
position: relative;
}
#app-content .compact .utils {
cursor: pointer;
padding: 0 15px 0 0;
-webkit-position: sticky;
position: sticky;
top: 50px;
background-color: var(--color-main-background);
min-height: 43px;
}
#app-content.nc-major-version-gte-25 .compact .utils {
top: 0px;
}
/* Only apply opacity to the util bar, not the dropdown */
#app-content .compact .utils ul {
opacity: 0.9;
}
#app-content .utils ul {
height: 43px;
list-style-type: none;
display: flex;
margin: 0;
padding: 0;
}
#app-content .compact .util-spacer,
#app-content .compact .util,
#app-content .compact .only-in-compact {
flex: 1 0 auto;
}
#app-content .compact .title {
flex: 1 1 auto;
}
#app-content .open .utils ul {
height: auto;
}
#app-content .utils ul > li {
min-width: 0;
}
#app-content .util-spacer {
width: 25px;
}
#app-content .compact .util-spacer {
width: 5px;
}
@media screen and (max-width: 1024px) {
#app-content .compact .util-spacer {
width: 0;
flex: 0 0 auto;
}
#app-content .item:first-of-type .util-spacer {
width: 28px;
}
}
#app-content .utils li {
line-height: 43px;
vertical-align: middle;
}
#app-content .utils > ul > li:last-child {
padding-right: 0;
}
#app-content .utils > ul > li:first-child {
padding-left: 0;
}
#app-content .utils .util {
padding: 0;
}
#app-content .utils .article-action-plugins {
}
#app-content .utils button,
#app-content .utils .external {
padding: 0;
margin: 0;
height: 43px;
width: 40px;
border: 0;
float: left;
background-color: transparent;
background-size: 100%;
background-repeat: no-repeat;
background-size: 25px;
background-position: center;
}
#app-content .utils .external,
#app-content .utils .menu button,
#app-content .utils .icon-toggle {
display: inline-block;
opacity: 0.3;
}
#app-content .utils .external:hover,
#app-content .utils .menu button:hover,
#app-content .utils .icon-toggle:hover,
#app-content .utils .icon-toggle.keep-unread {
opacity: 1;
}
#app-content .utils .star {
background-image: url('../img/inactive_star.svg');
}
#app-content .utils .starred {
background-image: url('../img/active_star.svg');
}
#app-content .utils .star:hover {
background-image: url('../img/hover_star.svg');
}
#app-content .utils .share {
opacity: .3;
}
#app-content .utils .share:hover {
opacity: 1;
}
#app-content .utils .more button {
opacity: .3;
}
#app-content .utils .more button:hover {
opacity: 1;
}
#app-content .utils .more {
position: relative;
}
#app-content .article-actions {
display: none;
filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
-webkit-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
-moz-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
position: absolute;
top: 40px;
border-radius: 3px;
z-index: 1000;
border: 1px solid transparent;
margin: 0;
padding: 0;
}
#app-content .article-actions ul {
display: flex;
float: left;
}
#app-content .article-actions li {
float: left;
width: 40px !important;
}
#app-content #articles:not(.compact) .article-actions {
left: 6px;
}
#app-content #articles:not(.compact) .article-actions:after,
#app-content #articles:not(.compact) .article-actions:before {
left: 20px;
}
#app-content #articles.compact .article-actions {
right: -10px;
}
#app-content #articles.compact .article-actions:after,
#app-content #articles.compact .article-actions:before {
right: 9px;
}
#app-content .article-actions:after,
#app-content .article-actions:before {
bottom: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
#app-content .article-actions:after {
border-color: rgba(255, 255, 255, 0);
border-bottom-color: var(--color-border);
border-width: 5px;
margin-left: -5px;
}
#app-content .article-actions:before {
border-color: rgba(255, 255, 255, 0);
border-bottom-color: var(--color-border);
border-width: 9px;
margin-left: -9px;
}
/**
* Article title
*/
#app-content .utils .title {
width: 100%;
padding-left: 35px;
background-position: 6px 10px;
background-size: 20px 20px;
background-repeat: no-repeat;
}
#app-content .compact .utils .title h1 {
line-height: 1;
}
#app-content .feed-view .utils .title {
background: none !important;
padding-left: 10px;
}
#app-content .utils .title h1 a {
/*text-overflow: ellipsis;*/
white-space: nowrap;
overflow: hidden;
width: 100%;
display: inline-block;
color: var(--color-main-text);
font-weight: bold;
font-size: 16px;
line-height: 1.5;
padding-top: 8px;
min-height: 40px;
}
#app-content .open .title .intro {
display: none;
}
#app-content .title .intro {
color: var(--color-text-lighter);
font-size: 10pt;
font-weight: normal;
margin-left: 20px;
}
#app-content .open .utils .title h1 a {
overflow: auto;
white-space: normal;
}
#app-content .read .utils .title h1 a {
font-weight: normal;
color: var(--color-text-lighter);
}
#app-content .utils .date {
padding: 0 15px;
}
/**
* Expanded content
*/
#app-content .heading {
padding: 25px 0 10px 0;
}
#app-content .heading h1 {
font-size: 19px;
max-width: 770px;
word-wrap: break-word;
}
#app-content .heading a {
font-weight: bold;
color: var(--color-main-text);
text-decoration: none;
margin:0;
}
#app-content .heading a:hover {
text-decoration: underline;
}
#app-content .heading .date {
float: right;
display: inline-block;
font-size: 15px;
padding: 0 10px;
}
#app-content .read .heading a {
font-weight: normal !important;
color: var(--color-text-lighter);
}
#app-content .feed-view .source {
display: none;
}
#app-content .source img {
height: 16px;
display: inline-block;
margin: 0 0 -2px 2px;
}
/**
* Actual content
*/
#app-content .article {
min-height: 69px;
padding: 0 50px 50px 50px;
}
#app-content .compact .article {
display: none;
}
#app-content .open .article {
display: block;
}
/**
* Timestamp
*/
#app-content .subtitle {
color: var(--color-text-lighter);
font-size: 15px;
max-width: 770px;
padding: 25px 0;
}
#app-content .subtitle a {
color: var(--color-text-lighter);
}
#app-content .subtitle a:hover {
text-decoration: underline;
}
#app-content .date {
color: var(--color-text-lighter);
white-space: nowrap;
}
/**
* Author
*/
#app-content .author {
color: var(--color-text-lighter);
font-size: 15px;
}
#app-content .author a {
color: inherit;
}
#app-content .author a:hover {
text-decoration: underline;
}
/**
* Enclosure
*/
#app-content .enclosure {
padding: 20px 0;
max-width: 770px;
margin-bottom: 15px;
}
#app-content .enclosure audio,
#app-content .enclosure video {
width: 100%;
}
#app-content .enclosure video {
background-color: #000;
margin-bottom: 20px;
}
#app-content .enclosure-error {
line-height: 1.5;
height: 40px;
}
/**
* Article body
*/
#app-content .body {
max-width: 770px;
font-size: 14px;
clear: both;
overflow-x: auto;
}
#app-content .body p {
line-height: 1.5;
margin: 7px 0 14px 0;
}
#app-content .body img,
#app-content .body table {
max-width: 100%;
height: auto;
overflow: auto;
word-wrap: break-word;
white-space: normal;
}
#app-content .body table {
border-collapse: collapse;
}
#app-content .body table th {
font-weight: bold;
}
#app-content .body table th,
#app-content .body table td {
border: 1px solid var(--color-text-lighter);
padding: 2px 6px;
}
#app-content .body iframe {
max-width: 100%;
}
#app-content .body > div > img:first-child,
#app-content .body > div > :first-child > img:first-child {
padding: 0 14px 0 0;
float: left;
}
#app-content .body h1,
#app-content .body h2 {
font-size: 17px;
font-weight: bold;
color: var(--color-main-text);
margin: 21px 0 5px 0;
}
#app-content .body h3 {
font-size: 15px;
font-weight: bold;
color: var(--color-main-text);
margin: 21px 0 0 0;
text-decoration: underline;
}
#app-content .body h4,
#app-content .body h5,
#app-content .body h6 {
font-weight: bold;
}
#app-content .body > div {
margin: 7px 0;
}
#app-content .body a {
color: #0c76ff;
text-decoration: underline;
}
body.theme--dark #app-content .body a, /* NC 24 */
[data-theme-dark] #app-content .body a { /* NC 25 */
color: #9cc7ff;
}
#app-content .body ul {
margin: 7px 0;
padding-left: 14px;
list-style-type: disc;
}
#app-content .body ol {
margin: 7px 0;
padding-left: 21px;
}
#app-content .body ul li {
cursor: default;
line-height: 21px;
}
#app-content .body pre {
padding: 7px 7px 7px 14px;
background-color: var(--color-background-darker);
border: 1px solid var(--color-border-dark);
margin: 7px 0 14px 0;
overflow-y: auto;
}
#app-content .body pre::-webkit-scrollbar {
height: 10px;
}
#app-content .body pre::-webkit-scrollbar-thumb {
background: #333;
}
#app-content .body pre::-webkit-scrollbar-track-piece {
background: #ddd;
}
#app-content .body code,
#app-content .body pre {
font-family: monospace;
font-size: 16px;
}
#app-content .body blockquote {
border-left: 1px solid rgb(210, 210, 210);
margin: 25px 0;
padding: 0 0 0 15px;
font-style: italic;
}
#app-content .body em {
font-style: italic;
opacity: 1;
}
#app-content *[dir=rtl] {
text-align: right;
}

View File

@ -18,3 +18,8 @@
#app-content .custom-sueddeutsche-de .body img { #app-content .custom-sueddeutsche-de .body img {
float: none !important; float: none !important;
} }
body.theme--dark #app-content .body a, /* NC 24 */
[data-theme-dark] #app-content .body a { /* NC 25 */
color: #9cc7ff;
}

View File

@ -8,6 +8,7 @@
* @copyright 2020, Jan C. Borchardt, https://jancborchardt.net * @copyright 2020, Jan C. Borchardt, https://jancborchardt.net
* @copyright Bernhard Posselt 2014 * @copyright Bernhard Posselt 2014
*/ */
/** /**
* Explore styles * Explore styles
*/ */
@ -15,43 +16,4 @@
height: 100%; height: 100%;
} }
#explore {
height: 100%;
width: 100%;
padding: 45px 0 45px 45px;
}
#explore .grid-item {
width: 300px;
border: 2px solid var(--color-border);
border-radius: var(--border-radius-large);
margin: 0 24px 24px 0;
padding: 24px;
}
#explore .grid-item .explore-title {
background-repeat: no-repeat;
background-position: 0 center;
background-size: 24px;
padding-left: 32px;
}
#explore .grid-item .explore-title a {
word-wrap: break-word;
}
#explore .grid-item .explore-title a:hover, #explore .grid-item .explore-title a:focus {
text-decoration: underline;
}
#explore .grid-item .explore-logo {
text-align: center;
margin-top: 25px;
}
#explore .grid-item .explore-logo img {
width: 100%;
}
#explore .grid-item .explore-subscribe {
margin-top: 16px;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/*# sourceMappingURL=explore.css.map */ /*# sourceMappingURL=explore.css.map */

57
css/explore.scss Normal file
View File

@ -0,0 +1,57 @@
/**
* Nextcloud - News
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright 2020, Jan C. Borchardt, https://jancborchardt.net
* @copyright Bernhard Posselt 2014
*/
/**
* Explore styles
*/
.explore #app-content-wrapper {
height: 100%;
}
#explore {
height: 100%;
width: 100%;
padding: 45px 0 45px 45px;
.grid-item {
width: 300px;
border: 2px solid var(--color-border);
border-radius: var(--border-radius-large);
margin: 0 24px 24px 0;
padding: 24px;
.explore-title {
background-repeat: no-repeat;
background-position: 0 center;
background-size: 24px;
padding-left: 32px;
a {
word-wrap: break-word;
&:hover,
&:focus {
text-decoration: underline;
}
}
}
.explore-logo {
text-align: center;
margin-top: 25px;
img {
width: 100%;
}
}
}
}

9
css/merged.scss Normal file
View File

@ -0,0 +1,9 @@
@import 'explore';
@import 'admin';
@import 'app';
@import 'content';
@import 'custom';
@import 'mobile';
@import 'navigation';
@import 'settings';
@import 'shortcuts';

View File

@ -34,60 +34,6 @@
background-position: 14px center; background-position: 14px center;
} }
/* actual form content */
#app-navigation .add-new-popup {
display: none;
padding: 10px;
width: 100%;
border-top: 1px solid var(--color-border-dark);
border-bottom: 1px solid var(--color-border-dark);
}
#app-navigation input.ng-invalid {
border: 1px solid var(--color-error);
}
#app-navigation .add-new-popup input,
#app-navigation .add-new-popup select {
width: 100%;
height: 36px;
padding: 5px;
margin-right: 0;
}
#app-navigation .add-new-popup select,
#app-navigation #new-feed [name="folderName"] {
width: calc(100% - 36px);
border-right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
float: left;
}
#app-navigation .add-new-popup .add-new-folder-primary {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
width: 36px;
height: 36px;
margin-left: 0;
margin-right: 0;
}
#app-navigation .add-new-popup .add-new-basicauth-toggle {
padding: 5px 0;
}
#app-navigation .add-new-popup .add-feed-basicauth {
width: 100%;
padding: 0 0 10px;
}
#app-navigation .add-new-popup .error {
padding: 0 0 10px 0;
}
/* navigation */ /* navigation */
#app-navigation ul.with-icon > li > a, #app-navigation ul.with-icon > li > a,
#app-navigation ul.with-icon > li > ul > li > a { #app-navigation ul.with-icon > li > ul > li > a {
@ -118,7 +64,6 @@
background-image: url('../img/twitter.svg') !important; background-image: url('../img/twitter.svg') !important;
} }
.col-4 { .col-4 {
-ms-flex: 0 0 33.333333%; -ms-flex: 0 0 33.333333%;
flex: 0 0 33.333333%; flex: 0 0 33.333333%;
@ -134,7 +79,7 @@
flex-wrap: wrap; flex-wrap: wrap;
} }
.icon-dropdown{ .icon-dropdown {
background-position: center !important; background-position: center !important;
background-size: 24px; background-size: 24px;
padding: 2em !important; padding: 2em !important;
@ -145,14 +90,13 @@
.icon-full-text-enabled { .icon-full-text-enabled {
background-image: url('../img/fulltext.svg'); background-image: url('../img/fulltext.svg');
background-size: 50%; background-size: 50%;
opacity: .5; opacity: 0.5;
} }
.icon-full-text-disabled { .icon-full-text-disabled {
background-image: url('../img/nonfulltext.svg'); background-image: url('../img/nonfulltext.svg');
background-size: 50%; background-size: 50%;
opacity: .5; opacity: 0.5;
} }
#app-navigation .unread > a { #app-navigation .unread > a {
@ -190,10 +134,10 @@
white-space: nowrap; white-space: nowrap;
} }
#app-navigation .error-message:hover .title // #app-navigation .error-message:hover .title
#app-navigation .error-message:hover .message { // #app-navigation .error-message:hover .message {
} // }
#app-navigation .error-message button { #app-navigation .error-message button {
top: 0; top: 0;
@ -209,7 +153,7 @@
background-image: url('../img/close.svg'); background-image: url('../img/close.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right 5px top 5px; background-position: right 5px top 5px;
opacity: .9; opacity: 0.9;
} }
#app-navigation .error-message button:hover { #app-navigation .error-message button:hover {
@ -225,7 +169,7 @@
#app-navigation .animate-show.ng-hide-add-active, #app-navigation .animate-show.ng-hide-add-active,
#app-navigation .animate-show.ng-hide-remove-active { #app-navigation .animate-show.ng-hide-remove-active {
transition: .2s linear opacity; transition: 0.2s linear opacity;
} }
#app-navigation .animate-show { #app-navigation .animate-show {
@ -244,8 +188,8 @@
transform: rotate(180deg); transform: rotate(180deg);
} }
#app-navigation .feed-normal-ordering { // #app-navigation .feed-normal-ordering {
} // }
#app-navigation .icon-pinned { #app-navigation .icon-pinned {
background-image: url('../img/pinned.svg'); background-image: url('../img/pinned.svg');
@ -263,6 +207,10 @@
background-image: url('../img/updatemodeunread.svg'); background-image: url('../img/updatemodeunread.svg');
} }
#app-navigation .icon-arrow {
background-image: url('../img/arrow.svg');
}
#app-navigation .updateerror a { #app-navigation .updateerror a {
background-color: var(--color-warning) !important; background-color: var(--color-warning) !important;
} }

View File

@ -36,7 +36,7 @@
padding-left: 18px; padding-left: 18px;
} }
#app-settings-content label input[type="checkbox"] { #app-settings-content label input[type='checkbox'] {
margin-left: -18px; margin-left: -18px;
max-width: 16px; max-width: 16px;
} }

View File

@ -1,5 +1,5 @@
#app-shortcuts { // #app-shortcuts {
} // }
#app-shortcuts table { #app-shortcuts table {
border-collapse: collapse; border-collapse: collapse;

11
docker/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# https://hub.docker.com/_/nextcloud/
FROM nextcloud:29-apache
#FROM ghcr.io/pbek/nextcloud-docker-pre-apache:latest
#FROM ghcr.io/digital-blueprint/nextcloud-docker-pre-apache:latest
COPY entrypoint.sh /
RUN deluser www-data
RUN useradd -u 1000 -ms /bin/bash www-data
RUN usermod -a -G www-data www-data
RUN mkdir /var/www/deploy

28
docker/Makefile Normal file
View File

@ -0,0 +1,28 @@
.PHONY: bash check-code show-log test build
# Try to use "docker compose" and fall back to "docker-compose" if not available
DOCKER_COMPOSE := $(shell docker compose > /dev/null && echo docker compose || echo docker-compose)
build:
$(DOCKER_COMPOSE) build
ls-db:
$(DOCKER_COMPOSE) run --rm app su -c "ls -hal data/mydb.db*" www-data
fetch-db:
$(DOCKER_COMPOSE) run --rm app su -c "cp data/mydb.db apps/news" www-data
push-db:
$(DOCKER_COMPOSE) run --rm app su -c "cp apps/news/mydb.db* data" www-data
bash:
$(DOCKER_COMPOSE) run --rm app su -c "bash" www-data
check-code:
$(DOCKER_COMPOSE) run --rm app su -c "./occ app:check-code news" www-data
show-log:
$(DOCKER_COMPOSE) run --rm app tail -f /var/www/html/data/nextcloud.log
#test:
# $(DOCKER_COMPOSE) run --rm app su -c "cd custom_apps/news && make test" www-data

29
docker/README.md Normal file
View File

@ -0,0 +1,29 @@
# Nextcloud Development Environment
## Installation / Running
```bash
make build
docker compose up
```
Afterward you should be able to open <http://localhost:8081/index.php/apps/news> (admin/admin) to
log in to your Nextcloud instance.
## Check nextcloud.log
For debugging, you can show the `nextcloud.log`:
```bash
make show-log
```
There also is a [logging web interface](http://localhost:8081/index.php/settings/admin/logging).
## Tip
In case something is broken try to reset the container:
```bash
docker compose build; docker compose down; docker volume rm nextcloud-news_nextcloud
```

19
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
name: nextcloud-news
services:
app:
build: .
ports:
- 8081:80
environment:
- NEXTCLOUD_ADMIN_USER=admin
- NEXTCLOUD_ADMIN_PASSWORD=admin
- SQLITE_DATABASE=mydb
- NEXTCLOUD_TRUSTED_DOMAINS=localhost 127.0.0.1
volumes:
- nextcloud:/var/www/html
- ..:/var/www/html/custom_apps/news
- ./news.config.php:/var/www/html/config/news.config.php
volumes:
nextcloud:

198
docker/entrypoint.sh Executable file
View File

@ -0,0 +1,198 @@
#!/bin/sh
set -eu
chown www-data:root /var/www/deploy
chown www-data:root /var/www/html/custom_apps
chown www-data:root /var/www/html/config
# version_greater A B returns whether A > B
version_greater() {
[ "$(printf '%s\n' "$@" | sort -t '.' -n -k1,1 -k2,2 -k3,3 -k4,4 | head -n 1)" != "$1" ]
}
# return true if specified directory is empty
directory_empty() {
[ -z "$(ls -A "$1/")" ]
}
run_as() {
if [ "$(id -u)" = 0 ]; then
su -p www-data -s /bin/sh -c "$1"
else
sh -c "$1"
fi
}
# usage: file_env VAR [DEFAULT]
# ie: file_env 'XYZ_DB_PASSWORD' 'example'
# (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of
# "$XYZ_DB_PASSWORD" from a file, especially for Docker's secrets feature)
file_env() {
local var="$1"
local fileVar="${var}_FILE"
local def="${2:-}"
local varValue=$(env | grep -E "^${var}=" | sed -E -e "s/^${var}=//")
local fileVarValue=$(env | grep -E "^${fileVar}=" | sed -E -e "s/^${fileVar}=//")
if [ -n "${varValue}" ] && [ -n "${fileVarValue}" ]; then
echo >&2 "error: both $var and $fileVar are set (but are exclusive)"
exit 1
fi
if [ -n "${varValue}" ]; then
export "$var"="${varValue}"
elif [ -n "${fileVarValue}" ]; then
export "$var"="$(cat "${fileVarValue}")"
elif [ -n "${def}" ]; then
export "$var"="$def"
fi
unset "$fileVar"
}
if expr "$1" : "apache" 1>/dev/null; then
if [ -n "${APACHE_DISABLE_REWRITE_IP+x}" ]; then
a2disconf remoteip
fi
fi
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UPDATE:-0}" -eq 1 ]; then
if [ -n "${REDIS_HOST+x}" ]; then
echo "Configuring Redis as session handler"
{
echo 'session.save_handler = redis'
# check if redis host is an unix socket path
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
if [ -n "${REDIS_HOST_PASSWORD+x}" ]; then
echo "session.save_path = \"unix://${REDIS_HOST}?auth=${REDIS_HOST_PASSWORD}\""
else
echo "session.save_path = \"unix://${REDIS_HOST}\""
fi
# check if redis password has been set
elif [ -n "${REDIS_HOST_PASSWORD+x}" ]; then
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}?auth=${REDIS_HOST_PASSWORD}\""
else
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
fi
} > /usr/local/etc/php/conf.d/redis-session.ini
fi
installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016
installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')"
fi
# shellcheck disable=SC2016
image_version="$(php -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);')"
if version_greater "$installed_version" "$image_version"; then
echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?"
exit 1
fi
if version_greater "$image_version" "$installed_version"; then
echo "Initializing nextcloud $image_version ..."
if [ "$installed_version" != "0.0.0.0" ]; then
echo "Upgrading nextcloud from $installed_version ..."
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_before
fi
if [ "$(id -u)" = 0 ]; then
rsync_options="-rlDog --chown www-data:root"
else
rsync_options="-rlD"
fi
rsync $rsync_options --delete --exclude-from=/upgrade.exclude /usr/src/nextcloud/ /var/www/html/
for dir in config data custom_apps themes; do
if [ ! -d "/var/www/html/$dir" ] || directory_empty "/var/www/html/$dir"; then
rsync $rsync_options --include "/$dir/" --exclude '/*' /usr/src/nextcloud/ /var/www/html/
fi
done
rsync $rsync_options --include '/version.php' --exclude '/*' /usr/src/nextcloud/ /var/www/html/
echo "Initializing finished"
#install
if [ "$installed_version" = "0.0.0.0" ]; then
echo "New nextcloud instance"
file_env NEXTCLOUD_ADMIN_PASSWORD
file_env NEXTCLOUD_ADMIN_USER
if [ -n "${NEXTCLOUD_ADMIN_USER+x}" ] && [ -n "${NEXTCLOUD_ADMIN_PASSWORD+x}" ]; then
# shellcheck disable=SC2016
install_options='-n --admin-user "$NEXTCLOUD_ADMIN_USER" --admin-pass "$NEXTCLOUD_ADMIN_PASSWORD"'
if [ -n "${NEXTCLOUD_DATA_DIR+x}" ]; then
# shellcheck disable=SC2016
install_options=$install_options' --data-dir "$NEXTCLOUD_DATA_DIR"'
fi
file_env MYSQL_DATABASE
file_env MYSQL_PASSWORD
file_env MYSQL_USER
file_env POSTGRES_DB
file_env POSTGRES_PASSWORD
file_env POSTGRES_USER
install=false
if [ -n "${SQLITE_DATABASE+x}" ]; then
echo "Installing with SQLite database"
# shellcheck disable=SC2016
install_options=$install_options' --database-name "$SQLITE_DATABASE"'
install=true
elif [ -n "${MYSQL_DATABASE+x}" ] && [ -n "${MYSQL_USER+x}" ] && [ -n "${MYSQL_PASSWORD+x}" ] && [ -n "${MYSQL_HOST+x}" ]; then
echo "Installing with MySQL database"
# shellcheck disable=SC2016
install_options=$install_options' --database mysql --database-name "$MYSQL_DATABASE" --database-user "$MYSQL_USER" --database-pass "$MYSQL_PASSWORD" --database-host "$MYSQL_HOST"'
install=true
elif [ -n "${POSTGRES_DB+x}" ] && [ -n "${POSTGRES_USER+x}" ] && [ -n "${POSTGRES_PASSWORD+x}" ] && [ -n "${POSTGRES_HOST+x}" ]; then
echo "Installing with PostgreSQL database"
# shellcheck disable=SC2016
install_options=$install_options' --database pgsql --database-name "$POSTGRES_DB" --database-user "$POSTGRES_USER" --database-pass "$POSTGRES_PASSWORD" --database-host "$POSTGRES_HOST"'
install=true
fi
if [ "$install" = true ]; then
echo "starting nextcloud installation"
max_retries=10
try=0
until run_as "php /var/www/html/occ maintenance:install $install_options" || [ "$try" -gt "$max_retries" ]
do
echo "retrying install..."
try=$((try+1))
sleep 10s
done
if [ "$try" -gt "$max_retries" ]; then
echo "installing of nextcloud failed!"
exit 1
fi
if [ -n "${NEXTCLOUD_TRUSTED_DOMAINS+x}" ]; then
echo "setting trusted domains…"
NC_TRUSTED_DOMAIN_IDX=1
for DOMAIN in $NEXTCLOUD_TRUSTED_DOMAINS ; do
DOMAIN=$(echo "$DOMAIN" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
run_as "php /var/www/html/occ config:system:set trusted_domains $NC_TRUSTED_DOMAIN_IDX --value=$DOMAIN"
NC_TRUSTED_DOMAIN_IDX=$(($NC_TRUSTED_DOMAIN_IDX+1))
done
fi
else
echo "running web-based installer on first connect!"
fi
fi
#upgrade
else
run_as 'php /var/www/html/occ upgrade'
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
echo "The following apps have been disabled:"
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
rm -f /tmp/list_before /tmp/list_after
fi
fi
# if we get an error "ln: /var/www/html/apps/news: cannot overwrite directory" we need to remove that directory in the container
run_as 'rm -Rf /var/www/html/apps/news'
run_as 'ln -sfT /var/www/html/custom_apps/news /var/www/html/apps/news'
run_as "php /var/www/html/occ app:enable news"
fi
exec "$@"

1
docker/news.config.php Normal file
View File

@ -0,0 +1 @@
<?php declare(strict_types=1);

View File

@ -1,10 +1,32 @@
# Admin # Admin
Welcome to the Admin documentation this page explains some of the configuration options for news.
## System Cron Welcome to the Admin documentation.
## Administration via OCC
News integrates with Nextclouds command line tool occ.
To get an overview over the available commands simply execute `./occ list news`
In most environments you will have to call occ like this:
```bash
sudo -u www-data php ./occ list news
```
More information about occ here: [Nextcloud Admin Manual](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html)
## Settings
The following sections explain some of the more complicated settings on the admin page.
### System Cron
Nextcloud uses cron to run regular jobs, News relies on the Job system to execute the feed updates. Nextcloud uses cron to run regular jobs, News relies on the Job system to execute the feed updates.
Alternatively you may use an [external updater](https://nextcloud.github.io/news/clients/#update-clients), in this case you need to disable the system cron in the settings. Alternatively you may use an [external updater](https://nextcloud.github.io/news/clients/#update-clients), in this case you need to disable the system cron in the settings.
## Auto purge count ### Auto purge count
- The default value is 200. - The default value is 200.
- To disable this feature, use -1. - To disable this feature, use -1.
- Unread and starred items are not deleted. - Unread and starred items are not deleted.
@ -17,30 +39,35 @@ In this case the limit will be 210 instead of 200, for that feed.
This is needed to prevent items from reappearing in the feed. This is needed to prevent items from reappearing in the feed.
## Purge unread items ### Purge unread items
This changes the behavior of the auto purging to also purge unread items. This is useful if you have users with a lot of unread items. This changes the behavior of the auto purging to also purge unread items. This is useful if you have users with a lot of unread items.
**Starred items are always kept.** **Starred items are always kept.**
## Explore Service ### Explore Service
If you are using the News app in your company/community, it might be interesting to offer your users a bunch of easily to discover default feeds. You could also create a website where people can add and up-vote news feeds like bigger cloud feed readers like Feedly do it or even convert their APIs into a service for the News app (if someone wants to provide one for the News app, feel free to contact us by creating an issue in the bug tracker). If you are using the News app in your company/community, it might be interesting to offer your users a bunch of easily to discover default feeds. You could also create a website where people can add and up-vote news feeds like bigger cloud feed readers like Feedly do it or even convert their APIs into a service for the News app (if someone wants to provide one for the News app, feel free to contact us by creating an issue in the bug tracker).
The URL should be a path to a directory which contains a JSON file in the format of **feeds.LANG_CODE.json** where LANG_CODE is a two character language code (e.g. **en** or **de**). The URL should be a path to a directory which contains a JSON file in the format of **feeds.LANG_CODE.json** where LANG_CODE is a two character language code (e.g. **en** or **de**).
For example, entering the URL **https://domain.com/directory** as explore URL will produce the following request for German users: For example, entering the URL **<https://domain.com/directory>** as explore URL will produce the following request for German users:
GET https://domain.com/directory/feeds.de.json GET https://domain.com/directory/feeds.de.json
**Do not forget to implement [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) in your API, otherwise the request will fail!** **Do not forget to implement [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) in your API, otherwise the request will fail!**
## Update Interval ### Update Interval
The update interval is used to determine when the next update of all feeds should be done. The update interval is used to determine when the next update of all feeds should be done.
By default, the value is set to 3600 seconds (1 hour) You can configure this interval as an administrator. By default, the value is set to 3600 seconds (1 hour) You can configure this interval as an administrator.
The new value is only applied after the next run of the updater. The new value is only applied after the next run of the updater.
### What is a good update interval? #### What is a good update interval?
That depends on your individual needs. That depends on your individual needs.
Please keep in mind that the lower you set your update interval, the more traffic is generated. Please keep in mind that the lower you set your update interval, the more traffic is generated.
### Can I set individual update intervals per feed/user? #### Can I set individual update intervals per feed/user?
No, that is not possible. No, that is not possible.

View File

@ -23,6 +23,7 @@ You have to design your app with these things in mind!:
* **Use a library to compare versions, ideally one that uses semantic versioning** * **Use a library to compare versions, ideally one that uses semantic versioning**
## Authentication & Basics ## Authentication & Basics
Because REST is stateless you have to send user and password each time you access the API. Therefore running Nextcloud **with SSL is highly recommended** otherwise **everyone in your network can log your credentials**. Because REST is stateless you have to send user and password each time you access the API. Therefore running Nextcloud **with SSL is highly recommended** otherwise **everyone in your network can log your credentials**.
The base URL for all calls is: The base URL for all calls is:
@ -42,11 +43,13 @@ where $CREDENTIALS is:
base64(USER:PASSWORD) base64(USER:PASSWORD)
## How To Sync ## How To Sync
This is a small overview over how you should sync your articles with the Nextcloud News app. For more fine-grained details about the API see further down. This is a small overview over how you should sync your articles with the Nextcloud News app. For more fine-grained details about the API see further down.
All routes are given relative to the base API url (e.g.: https://yournextcloud.com/index.php/apps/news/api/v1-2) All routes are given relative to the base API url (e.g.: <https://yournextcloud.com/index.php/apps/news/api/v1-2>)
### Initial Sync ### Initial Sync
The intial sync happens, when a user adds a Nextcloud account in your app. In that case you should fetch all feeds, folders and unread or starred articles from the News app. Do not fetch all articles, not only because it syncs faster, but also because the user is primarily interested in unread articles. To fetch all unread and starred articles, you must call 4 routes: The intial sync happens, when a user adds a Nextcloud account in your app. In that case you should fetch all feeds, folders and unread or starred articles from the News app. Do not fetch all articles, not only because it syncs faster, but also because the user is primarily interested in unread articles. To fetch all unread and starred articles, you must call 4 routes:
* **unread articles**: GET /items?type=3&getRead=false&batchSize=-1 * **unread articles**: GET /items?type=3&getRead=false&batchSize=-1
@ -57,6 +60,7 @@ The intial sync happens, when a user adds a Nextcloud account in your app. In th
The JSON response structures can be viewed further down. The JSON response structures can be viewed further down.
### Syncing ### Syncing
When syncing, you want to push read/unread and starred/unstarred items to the server and receive new and updated items, feeds and folders. To do that, call the following routes: When syncing, you want to push read/unread and starred/unstarred items to the server and receive new and updated items, feeds and folders. To do that, call the following routes:
* **Notify the News app of unread articles**: PUT /items/unread/multiple {"items": [1, 3, 5] } * **Notify the News app of unread articles**: PUT /items/unread/multiple {"items": [1, 3, 5] }
@ -67,7 +71,6 @@ When syncing, you want to push read/unread and starred/unstarred items to the se
* **Get new feeds**: GET /feeds * **Get new feeds**: GET /feeds
* **Get new items and modified items**: GET /items/updated?lastModified=12123123123&type=3 * **Get new items and modified items**: GET /items/updated?lastModified=12123123123&type=3
## Accessing API from a web application ## Accessing API from a web application
**News 1.401** implements CORS which allows web applications to access the API. **To access the API in a webapp you need to send the correct authorization header instead of simply putting auth data into the URL!**. An example request in jQuery would look like this: **News 1.401** implements CORS which allows web applications to access the API. **To access the API in a webapp you need to send the correct authorization header instead of simply putting auth data into the URL!**. An example request in jQuery would look like this:
@ -91,7 +94,9 @@ $.ajax({
} }
}); });
``` ```
An example with AngularJS would look like this: An example with AngularJS would look like this:
```js ```js
angular.module('YourApp', []) angular.module('YourApp', [])
.config(['$httpProvider', '$provide', function ($httpProvider, $provide) { .config(['$httpProvider', '$provide', function ($httpProvider, $provide) {
@ -129,14 +134,17 @@ angular.module('YourApp', [])
``` ```
## Input ## Input
In general the input parameters can be in the URL or request body, the App Framework doesnt differentiate between them. In general the input parameters can be in the URL or request body, the App Framework doesnt differentiate between them.
So JSON in the request body like: So JSON in the request body like:
```jsonc
```json
{ {
"id": 3 "id": 3
} }
``` ```
will be treated the same as will be treated the same as
/?id=3 /?id=3
@ -149,11 +157,13 @@ It is recommended though that you use the following convention:
* **DELETE**: parameters as JSON in the request body * **DELETE**: parameters as JSON in the request body
## Output ## Output
The output is JSON. The output is JSON.
## API Endpoints ## API Endpoints
### Folders ### Folders
#### Get all folders #### Get all folders
* **Status**: Implemented * **Status**: Implemented
@ -161,7 +171,8 @@ The output is JSON.
* **Route**: /folders * **Route**: /folders
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"folders": [ "folders": [
{ {
@ -173,22 +184,26 @@ The output is JSON.
``` ```
#### Create a folder #### Create a folder
Creates a new folder and returns a new folder object Creates a new folder and returns a new folder object
* **Status**: Implemented * **Status**: Implemented
* **Method**: POST * **Method**: POST
* **Route**: /folders * **Route**: /folders
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"name": "folder name" "name": "folder name"
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 409**: If the folder exists already * **HTTP 409**: If the folder exists already
* **HTTP 422**: If the folder name is invalid (for instance empty) * **HTTP 422**: If the folder name is invalid (for instance empty)
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"folders": [ "folders": [
{ {
@ -200,6 +215,7 @@ Creates a new folder and returns a new folder object
``` ```
#### Delete a folder #### Delete a folder
Deletes a folder with the id folderId and all the feeds it contains Deletes a folder with the id folderId and all the feeds it contains
* **Status**: Implemented * **Status**: Implemented
@ -207,25 +223,28 @@ Deletes a folder with the id folderId and all the feeds it contains
* **Route**: /folders/{folderId} * **Route**: /folders/{folderId}
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the folder does not exist * **HTTP 404**: If the folder does not exist
* **Returns**: nothing * **Returns**: nothing
#### Rename a folder #### Rename a folder
Only the name can be updated Only the name can be updated
* **Status**: Implemented * **Status**: Implemented
* **Method**: PUT * **Method**: PUT
* **Route**: /folders/{folderId} * **Route**: /folders/{folderId}
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"name": "folder name" "name": "folder name"
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 409**: If the folder name does already exist * **HTTP 409**: If the folder name does already exist
* **HTTP 404**: If the folder does not exist * **HTTP 404**: If the folder does not exist
* **HTTP 422**: If the folder name is invalid (for instance empty) * **HTTP 422**: If the folder name is invalid (for instance empty)
* **Returns**: nothing * **Returns**: nothing
#### Mark items of a folder as read #### Mark items of a folder as read
@ -234,15 +253,17 @@ Only the name can be updated
* **Method**: PUT * **Method**: PUT
* **Route**: /folders/{folderId}/read * **Route**: /folders/{folderId}/read
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
// mark all items read lower than equal that id // mark all items read lower than equal that id
// this is mean to prevent marking items as read which the client/user does not yet know of // this is mean to prevent marking items as read which the client/user does not yet know of
"newestItemId": 10 "newestItemId": 10
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
### Feeds ### Feeds
@ -261,7 +282,8 @@ The following attributes are **not sanitized** meaning: including them in your w
* **Route**: /feeds * **Route**: /feeds
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"feeds": [ "feeds": [
{ {
@ -290,23 +312,27 @@ The following attributes are **not sanitized** meaning: including them in your w
``` ```
#### Create a feed #### Create a feed
Creates a new feed and returns the feed Creates a new feed and returns the feed
* **Status**: Implemented * **Status**: Implemented
* **Method**: POST * **Method**: POST
* **Route**: /feeds * **Route**: /feeds
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"url": "http:\/\/www.cyanogenmod.org\/wp-content\/themes\/cyanogenmod\/images\/favicon.ico", "url": "http:\/\/www.cyanogenmod.org\/wp-content\/themes\/cyanogenmod\/images\/favicon.ico",
"folderId": 81 // id of the parent folder, null for root "folderId": 81 // id of the parent folder, null for root
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 409**: If the feed exists already * **HTTP 409**: If the feed exists already
* **HTTP 422**: If the feed cant be read (most likely contains errors) * **HTTP 422**: If the feed cant be read (most likely contains errors)
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"feeds": [ "feeds": [
{ {
@ -327,6 +353,7 @@ Creates a new feed and returns the feed
``` ```
#### Delete a feed #### Delete a feed
Deletes a feed with the id feedId and all of its items Deletes a feed with the id feedId and all of its items
* **Status**: Implemented * **Status**: Implemented
@ -334,7 +361,7 @@ Deletes a feed with the id feedId and all of its items
* **Route**: /feeds/{feedId} * **Route**: /feeds/{feedId}
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
#### Move a feed to a different folder #### Move a feed to a different folder
@ -343,13 +370,15 @@ Deletes a feed with the id feedId and all of its items
* **Method**: PUT * **Method**: PUT
* **Route**: /feeds/{feedId}/move * **Route**: /feeds/{feedId}/move
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"folderId": null // id of the parent folder, null for root "folderId": null // id of the parent folder, null for root
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
#### Rename a feed #### Rename a feed
@ -358,13 +387,15 @@ Deletes a feed with the id feedId and all of its items
* **Method**: PUT * **Method**: PUT
* **Route**: /feeds/{feedId}/rename * **Route**: /feeds/{feedId}/rename
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"feedTitle": "New Title" "feedTitle": "New Title"
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark items of a feed as read #### Mark items of a feed as read
@ -373,17 +404,18 @@ Deletes a feed with the id feedId and all of its items
* **Method**: PUT * **Method**: PUT
* **Route**: /feeds/{feedId}/read * **Route**: /feeds/{feedId}/read
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
// mark all items read lower than equal that id // mark all items read lower than equal that id
// this is mean to prevent marking items as read which the client/user does not yet know of // this is mean to prevent marking items as read which the client/user does not yet know of
"newestItemId": 10 "newestItemId": 10
} }
``` ```
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
### Items ### Items
@ -400,6 +432,7 @@ The following attributes are **not sanitized** meaning: including them in your w
* **mediaDescription** * **mediaDescription**
#### Types #### Types
| Name | Default | Types | | Name | Default | Types |
|------------------|---------|--------------| |------------------|---------|--------------|
| author | null | string\|null | | author | null | string\|null |
@ -424,11 +457,13 @@ The following attributes are **not sanitized** meaning: including them in your w
| url | | string\|null | | url | | string\|null |
#### Get items #### Get items
* **Status**: Implemented * **Status**: Implemented
* **Method**: GET * **Method**: GET
* **Route**: /items * **Route**: /items
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"batchSize": 10, // the number of items that should be returned, defaults to -1, new in 5.2.3: -1 returns all items "batchSize": 10, // the number of items that should be returned, defaults to -1, new in 5.2.3: -1 returns all items
"offset": 30, // only return older (lower than equal that id) items than the one with id 30 "offset": 30, // only return older (lower than equal that id) items than the one with id 30
@ -438,8 +473,10 @@ The following attributes are **not sanitized** meaning: including them in your w
"oldestFirst": false // implemented in 3.002, if true it reverse the sort order "oldestFirst": false // implemented in 3.002, if true it reverse the sort order
} }
``` ```
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"items": [ "items": [
{ {
@ -467,12 +504,14 @@ The following attributes are **not sanitized** meaning: including them in your w
``` ```
##### Example ##### Example
Autopaging would work like this: Autopaging would work like this:
* Get the **first 20** items from a feed with **id 12** * Get the **first 20** items from a feed with **id 12**
**GET /items**: **GET /items**:
```jsonc
```json
{ {
"batchSize": 20, "batchSize": 20,
"offset": 0, "offset": 0,
@ -486,7 +525,7 @@ The item with the lowest item id is 43.
* Get the next **20** items: **GET /items**: * Get the next **20** items: **GET /items**:
```jsonc ```json
{ {
"batchSize": 20, "batchSize": 20,
"offset": 43, "offset": 43,
@ -496,15 +535,16 @@ The item with the lowest item id is 43.
} }
``` ```
#### Get updated items #### Get updated items
This is used to stay up to date. This is used to stay up to date.
* **Status**: Implemented * **Status**: Implemented
* **Method**: GET * **Method**: GET
* **Route**: /items/updated * **Route**: /items/updated
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"lastModified": 123231, // returns only items with a lastModified timestamp >= than this one "lastModified": 123231, // returns only items with a lastModified timestamp >= than this one
// this may also return already existing items whose read or starred status // this may also return already existing items whose read or starred status
@ -513,8 +553,10 @@ This is used to stay up to date.
"id": 12 // the id of the folder or feed, Use 0 for Starred and All "id": 12 // the id of the folder or feed, Use 0 for Starred and All
} }
``` ```
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"items": [ "items": [
{ {
@ -539,62 +581,73 @@ This is used to stay up to date.
``` ```
#### Mark an item as read #### Mark an item as read
* **Status**: Implemented * **Status**: Implemented
* **Method**: PUT * **Method**: PUT
* **Route**: /items/{itemId}/read * **Route**: /items/{itemId}/read
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as read #### Mark multiple items as read
* **Status**: Implemented in 1.2 * **Status**: Implemented in 1.2
* **Method**: PUT * **Method**: PUT
* **Route**: /items/read/multiple * **Route**: /items/read/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"items": [2, 3] // ids of the items "items": [2, 3] // ids of the items
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark an item as unread #### Mark an item as unread
* **Status**: Implemented * **Status**: Implemented
* **Method**: PUT * **Method**: PUT
* **Route**: /items/{itemId}/unread * **Route**: /items/{itemId}/unread
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as unread #### Mark multiple items as unread
* **Status**: Implemented in 1.2 * **Status**: Implemented in 1.2
* **Method**: PUT * **Method**: PUT
* **Route**: /items/unread/multiple * **Route**: /items/unread/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"items": [2, 3] // ids of the items "items": [2, 3] // ids of the items
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark an item as starred #### Mark an item as starred
* **Status**: Implemented * **Status**: Implemented
* **Method**: PUT * **Method**: PUT
* **Route**: /items/{feedId}/{guidHash}/star * **Route**: /items/{feedId}/{guidHash}/star
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as starred #### Mark multiple items as starred
* **Status**: Implemented in 1.2 * **Status**: Implemented in 1.2
* **Method**: PUT * **Method**: PUT
* **Route**: /items/star/multiple * **Route**: /items/star/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"items": [ "items": [
{ {
@ -604,23 +657,27 @@ This is used to stay up to date.
] ]
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark an item as unstarred #### Mark an item as unstarred
* **Status**: Implemented * **Status**: Implemented
* **Method**: PUT * **Method**: PUT
* **Route**: /items/{feedId}/{guidHash}/unstar * **Route**: /items/{feedId}/{guidHash}/unstar
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as unstarred #### Mark multiple items as unstarred
* **Status**: Implemented in 1.2 * **Status**: Implemented in 1.2
* **Method**: PUT * **Method**: PUT
* **Route**: /items/unstar/multiple * **Route**: /items/unstar/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"items": [ "items": [
{ {
@ -630,6 +687,7 @@ This is used to stay up to date.
] ]
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark all items as read #### Mark all items as read
@ -638,17 +696,18 @@ This is used to stay up to date.
* **Method**: PUT * **Method**: PUT
* **Route**: /items/read * **Route**: /items/read
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
// mark all items read lower than equal that id // mark all items read lower than equal that id
// this is mean to prevent marking items as read which the client/user does not yet know of // this is mean to prevent marking items as read which the client/user does not yet know of
"newestItemId": 10 "newestItemId": 10
} }
``` ```
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
### Updater ### Updater
@ -664,6 +723,7 @@ Updating should be done in the following fashion:
This [implementation in Python](https://github.com/nextcloud/news-updater) should give you a good idea how to design and run it. This [implementation in Python](https://github.com/nextcloud/news-updater) should give you a good idea how to design and run it.
#### Trigger cleanup before update #### Trigger cleanup before update
This is used to clean up the database. It deletes folders and feeds that are marked for deletion This is used to clean up the database. It deletes folders and feeds that are marked for deletion
* **Status**: Implemented in 1.601 * **Status**: Implemented in 1.601
@ -674,7 +734,9 @@ This is used to clean up the database. It deletes folders and feeds that are mar
**New in 8.1.0**: The console command for achieving the same result is: **New in 8.1.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:before-update ```bash
php -f nextcloud/occ news:updater:before-update
```
#### Get feed ids and usernames for all feeds #### Get feed ids and usernames for all feeds
@ -684,7 +746,8 @@ This is used to clean up the database. It deletes folders and feeds that are mar
* **Route**: /feeds/all * **Route**: /feeds/all
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"feeds": [ "feeds": [
{ {
@ -697,8 +760,9 @@ This is used to clean up the database. It deletes folders and feeds that are mar
**New in 8.1.0, Removed in 16.0.0**: The console command for achieving the same result is: **New in 8.1.0, Removed in 16.0.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:all-feeds ```bash
php -f nextcloud/occ news:updater:all-feeds
```
#### Trigger a feed update #### Trigger a feed update
@ -707,21 +771,26 @@ This is used to clean up the database. It deletes folders and feeds that are mar
* **Method**: GET * **Method**: GET
* **Route**: /feeds/update * **Route**: /feeds/update
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"userId": "john", "userId": "john",
"feedId": 3 "feedId": 3
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: Nothing * **Returns**: Nothing
**New in 8.1.0**: The console command for achieving the same result is: **New in 8.1.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:update-feed 3 john ```bash
php -f nextcloud/occ news:updater:update-feed 3 john
```
#### Trigger cleanup after update #### Trigger cleanup after update
This is used to clean up the database. It removes old read articles which are not starred This is used to clean up the database. It removes old read articles which are not starred
* **Status**: Implemented in 1.601 * **Status**: Implemented in 1.601
@ -732,7 +801,9 @@ This is used to clean up the database. It removes old read articles which are no
**New in 8.1.0**: The console command for achieving the same result is: **New in 8.1.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:after-update ```bash
php -f nextcloud/occ news:updater:after-update
```
### Version ### Version
@ -743,7 +814,8 @@ This is used to clean up the database. It removes old read articles which are no
* **Route**: /version * **Route**: /version
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"version": "5.2.3" "version": "5.2.3"
} }
@ -760,7 +832,8 @@ This API can be used to display warnings and errors in your client if the web ap
* **Route**: /status * **Route**: /status
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"version": "5.2.4", "version": "5.2.4",
"warnings": { "warnings": {
@ -786,8 +859,9 @@ If **incorrectDbCharset** is true you should display a warning that database cha
This API can be used to retrieve metadata about the current user. This API can be used to retrieve metadata about the current user.
DEPRECATED: This API is deprecated, use the Nextcloud APIs instead. DEPRECATED: This API is deprecated, use the Nextcloud APIs instead.
- https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#user-metadata for user data
- `https://nc.url/avatar/{userid}/{size}?v={1|2}` for the avatar * <https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#user-metadata> for user data
* `https://nc.url/avatar/{userid}/{size}?v={1|2}` for the avatar
#### Get the status #### Get the status
@ -796,7 +870,8 @@ DEPRECATED: This API is deprecated, use the Nextcloud APIs instead.
* **Route**: /user * **Route**: /user
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"userId": "john", "userId": "john",
"displayName": "John Doe", "displayName": "John Doe",

View File

@ -23,6 +23,7 @@ You have to design your app with these things in mind!:
* **Use a library to compare versions, ideally one that uses semantic versioning** * **Use a library to compare versions, ideally one that uses semantic versioning**
## Authentication & Basics ## Authentication & Basics
Because REST is stateless you have to send user and password each time you access the API. Therefore running Nextcloud **with SSL is highly recommended** otherwise **everyone in your network can log your credentials**. Because REST is stateless you have to send user and password each time you access the API. Therefore running Nextcloud **with SSL is highly recommended** otherwise **everyone in your network can log your credentials**.
The base URL for all calls is: The base URL for all calls is:
@ -42,11 +43,13 @@ where $CREDENTIALS is:
base64(USER:PASSWORD) base64(USER:PASSWORD)
## How To Sync ## How To Sync
This is a small overview over how you should sync your articles with the Nextcloud News app. For more fine-grained details about the API see further down. This is a small overview over how you should sync your articles with the Nextcloud News app. For more fine-grained details about the API see further down.
All routes are given relative to the base API url (e.g.: https://yournextcloud.com/index.php/apps/news/api/v1-3) All routes are given relative to the base API url (e.g.: <https://yournextcloud.com/index.php/apps/news/api/v1-3>)
### Initial Sync ### Initial Sync
The intial sync happens, when a user adds a Nextcloud account in your app. In that case you should fetch all feeds, folders and unread or starred articles from the News app. Do not fetch all articles, not only because it syncs faster, but also because the user is primarily interested in unread articles. To fetch all unread and starred articles, you must call 4 routes: The intial sync happens, when a user adds a Nextcloud account in your app. In that case you should fetch all feeds, folders and unread or starred articles from the News app. Do not fetch all articles, not only because it syncs faster, but also because the user is primarily interested in unread articles. To fetch all unread and starred articles, you must call 4 routes:
* **unread articles**: GET /items?type=3&getRead=false&batchSize=-1 * **unread articles**: GET /items?type=3&getRead=false&batchSize=-1
@ -57,6 +60,7 @@ The intial sync happens, when a user adds a Nextcloud account in your app. In th
The JSON response structures can be viewed further down. The JSON response structures can be viewed further down.
### Syncing ### Syncing
When syncing, you want to push read/unread and starred/unstarred items to the server and receive new and updated items, feeds and folders. To do that, call the following routes: When syncing, you want to push read/unread and starred/unstarred items to the server and receive new and updated items, feeds and folders. To do that, call the following routes:
* **Notify the News app of unread articles**: PUT /items/unread/multiple {"items": [1, 3, 5]} * **Notify the News app of unread articles**: PUT /items/unread/multiple {"items": [1, 3, 5]}
@ -67,7 +71,6 @@ When syncing, you want to push read/unread and starred/unstarred items to the se
* **Get new feeds**: GET /feeds * **Get new feeds**: GET /feeds
* **Get new items and modified items**: GET /items/updated?lastModified=12123123123&type=3 * **Get new items and modified items**: GET /items/updated?lastModified=12123123123&type=3
## Accessing API from a web application ## Accessing API from a web application
**News 1.401** implements CORS which allows web applications to access the API. **To access the API in a webapp you need to send the correct authorization header instead of simply putting auth data into the URL!**. An example request in jQuery would look like this: **News 1.401** implements CORS which allows web applications to access the API. **To access the API in a webapp you need to send the correct authorization header instead of simply putting auth data into the URL!**. An example request in jQuery would look like this:
@ -91,7 +94,9 @@ $.ajax({
} }
}); });
``` ```
An example with AngularJS would look like this: An example with AngularJS would look like this:
```js ```js
angular.module('YourApp', []) angular.module('YourApp', [])
.config(['$httpProvider', '$provide', function ($httpProvider, $provide) { .config(['$httpProvider', '$provide', function ($httpProvider, $provide) {
@ -129,14 +134,17 @@ angular.module('YourApp', [])
``` ```
## Input ## Input
In general the input parameters can be in the URL or request body, the App Framework doesnt differentiate between them. In general the input parameters can be in the URL or request body, the App Framework doesnt differentiate between them.
So JSON in the request body like: So JSON in the request body like:
```jsonc
```json
{ {
"id": 3 "id": 3
} }
``` ```
will be treated the same as will be treated the same as
/?id=3 /?id=3
@ -149,11 +157,13 @@ It is recommended though that you use the following convention:
* **DELETE**: parameters as JSON in the request body * **DELETE**: parameters as JSON in the request body
## Output ## Output
The output is JSON. The output is JSON.
## API Endpoints ## API Endpoints
### Folders ### Folders
#### Get all folders #### Get all folders
* **Status**: Implemented * **Status**: Implemented
@ -161,7 +171,8 @@ The output is JSON.
* **Route**: /folders * **Route**: /folders
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"folders": [ "folders": [
{ {
@ -173,22 +184,26 @@ The output is JSON.
``` ```
#### Create a folder #### Create a folder
Creates a new folder and returns a new folder object Creates a new folder and returns a new folder object
* **Status**: Implemented * **Status**: Implemented
* **Method**: POST * **Method**: POST
* **Route**: /folders * **Route**: /folders
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"name": "folder name" "name": "folder name"
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 409**: If the folder exists already * **HTTP 409**: If the folder exists already
* **HTTP 422**: If the folder name is invalid (for instance empty) * **HTTP 422**: If the folder name is invalid (for instance empty)
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"folders": [ "folders": [
{ {
@ -200,6 +215,7 @@ Creates a new folder and returns a new folder object
``` ```
#### Delete a folder #### Delete a folder
Deletes a folder with the id folderId and all the feeds it contains Deletes a folder with the id folderId and all the feeds it contains
* **Status**: Implemented * **Status**: Implemented
@ -207,25 +223,28 @@ Deletes a folder with the id folderId and all the feeds it contains
* **Route**: /folders/{folderId} * **Route**: /folders/{folderId}
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the folder does not exist * **HTTP 404**: If the folder does not exist
* **Returns**: nothing * **Returns**: nothing
#### Rename a folder #### Rename a folder
Only the name can be updated Only the name can be updated
* **Status**: Implemented * **Status**: Implemented
* **Method**: PUT * **Method**: PUT
* **Route**: /folders/{folderId} * **Route**: /folders/{folderId}
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"name": "folder name" "name": "folder name"
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 409**: If the folder name does already exist * **HTTP 409**: If the folder name does already exist
* **HTTP 404**: If the folder does not exist * **HTTP 404**: If the folder does not exist
* **HTTP 422**: If the folder name is invalid (for instance empty) * **HTTP 422**: If the folder name is invalid (for instance empty)
* **Returns**: nothing * **Returns**: nothing
#### Mark items of a folder as read #### Mark items of a folder as read
@ -234,15 +253,17 @@ Only the name can be updated
* **Method**: POST * **Method**: POST
* **Route**: /folders/{folderId}/read * **Route**: /folders/{folderId}/read
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
// mark all items read lower than equal that id // mark all items read lower than equal that id
// this is mean to prevent marking items as read which the client/user does not yet know of // this is mean to prevent marking items as read which the client/user does not yet know of
"newestItemId": 10 "newestItemId": 10
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
### Feeds ### Feeds
@ -261,7 +282,8 @@ The following attributes are **not sanitized** meaning: including them in your w
* **Route**: /feeds * **Route**: /feeds
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"feeds": [ "feeds": [
{ {
@ -290,23 +312,27 @@ The following attributes are **not sanitized** meaning: including them in your w
``` ```
#### Create a feed #### Create a feed
Creates a new feed and returns the feed Creates a new feed and returns the feed
* **Status**: Implemented * **Status**: Implemented
* **Method**: POST * **Method**: POST
* **Route**: /feeds * **Route**: /feeds
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"url": "http:\/\/www.cyanogenmod.org\/wp-content\/themes\/cyanogenmod\/images\/favicon.ico", "url": "http:\/\/www.cyanogenmod.org\/wp-content\/themes\/cyanogenmod\/images\/favicon.ico",
"folderId": 81 // id of the parent folder, null for root "folderId": 81 // id of the parent folder, null for root
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 409**: If the feed exists already * **HTTP 409**: If the feed exists already
* **HTTP 422**: If the feed cant be read (most likely contains errors) * **HTTP 422**: If the feed cant be read (most likely contains errors)
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"feeds": [ "feeds": [
{ {
@ -327,6 +353,7 @@ Creates a new feed and returns the feed
``` ```
#### Delete a feed #### Delete a feed
Deletes a feed with the id feedId and all of its items Deletes a feed with the id feedId and all of its items
* **Status**: Implemented * **Status**: Implemented
@ -334,7 +361,7 @@ Deletes a feed with the id feedId and all of its items
* **Route**: /feeds/{feedId} * **Route**: /feeds/{feedId}
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
#### Move a feed to a different folder #### Move a feed to a different folder
@ -343,13 +370,15 @@ Deletes a feed with the id feedId and all of its items
* **Method**: POST * **Method**: POST
* **Route**: /feeds/{feedId}/move * **Route**: /feeds/{feedId}/move
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"folderId": null // id of the parent folder, null for root "folderId": null // id of the parent folder, null for root
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
#### Rename a feed #### Rename a feed
@ -358,13 +387,15 @@ Deletes a feed with the id feedId and all of its items
* **Method**: POST * **Method**: POST
* **Route**: /feeds/{feedId}/rename * **Route**: /feeds/{feedId}/rename
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"feedTitle": "New Title" "feedTitle": "New Title"
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark items of a feed as read #### Mark items of a feed as read
@ -373,17 +404,18 @@ Deletes a feed with the id feedId and all of its items
* **Method**: POST * **Method**: POST
* **Route**: /feeds/{feedId}/read * **Route**: /feeds/{feedId}/read
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
// mark all items read lower than equal that id // mark all items read lower than equal that id
// this is mean to prevent marking items as read which the client/user does not yet know of // this is mean to prevent marking items as read which the client/user does not yet know of
"newestItemId": 10 "newestItemId": 10
} }
``` ```
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
### Items ### Items
@ -400,6 +432,7 @@ The following attributes are **not sanitized** meaning: including them in your w
* **mediaDescription** * **mediaDescription**
#### Types #### Types
| Name | Default | Types | | Name | Default | Types |
|------------------|---------|--------------| |------------------|---------|--------------|
| author | null | string\|null | | author | null | string\|null |
@ -424,11 +457,13 @@ The following attributes are **not sanitized** meaning: including them in your w
| url | | string\|null | | url | | string\|null |
#### Get items #### Get items
* **Status**: Implemented * **Status**: Implemented
* **Method**: GET * **Method**: GET
* **Route**: /items * **Route**: /items
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"batchSize": 10, // the number of items that should be returned, defaults to -1, new in 5.2.3: -1 returns all items "batchSize": 10, // the number of items that should be returned, defaults to -1, new in 5.2.3: -1 returns all items
"offset": 30, // only return older (lower than equal that id) items than the one with id 30 "offset": 30, // only return older (lower than equal that id) items than the one with id 30
@ -438,8 +473,10 @@ The following attributes are **not sanitized** meaning: including them in your w
"oldestFirst": false // implemented in 3.002, if true it reverse the sort order "oldestFirst": false // implemented in 3.002, if true it reverse the sort order
} }
``` ```
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"items": [ "items": [
{ {
@ -467,12 +504,14 @@ The following attributes are **not sanitized** meaning: including them in your w
``` ```
##### Example ##### Example
Autopaging would work like this: Autopaging would work like this:
* Get the **first 20** items from a feed with **id 12** * Get the **first 20** items from a feed with **id 12**
**GET /items**: **GET /items**:
```jsonc
```json
{ {
"batchSize": 20, "batchSize": 20,
"offset": 0, "offset": 0,
@ -486,7 +525,7 @@ The item with the lowest item id is 43.
* Get the next **20** items: **GET /items**: * Get the next **20** items: **GET /items**:
```jsonc ```json
{ {
"batchSize": 20, "batchSize": 20,
"offset": 43, "offset": 43,
@ -496,15 +535,16 @@ The item with the lowest item id is 43.
} }
``` ```
#### Get updated items #### Get updated items
This is used to stay up to date. This is used to stay up to date.
* **Status**: Implemented * **Status**: Implemented
* **Method**: GET * **Method**: GET
* **Route**: /items/updated * **Route**: /items/updated
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"lastModified": 123231, // returns only items with a lastModified timestamp >= than this one "lastModified": 123231, // returns only items with a lastModified timestamp >= than this one
// this may also return already existing items whose read or starred status // this may also return already existing items whose read or starred status
@ -513,8 +553,10 @@ This is used to stay up to date.
"id": 12 // the id of the folder or feed, Use 0 for Starred and All "id": 12 // the id of the folder or feed, Use 0 for Starred and All
} }
``` ```
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"items": [ "items": [
{ {
@ -539,87 +581,103 @@ This is used to stay up to date.
``` ```
#### Mark an item as read #### Mark an item as read
* **Status**: Implemented * **Status**: Implemented
* **Method**: POST * **Method**: POST
* **Route**: /items/{itemId}/read * **Route**: /items/{itemId}/read
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as read #### Mark multiple items as read
* **Status**: Implemented in API 1.2 * **Status**: Implemented in API 1.2
* **Method**: POST * **Method**: POST
* **Route**: /items/read/multiple * **Route**: /items/read/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"itemIds": [2, 3] // ids of the items "itemIds": [2, 3] // ids of the items
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark an item as unread #### Mark an item as unread
* **Status**: Implemented * **Status**: Implemented
* **Method**: POST * **Method**: POST
* **Route**: /items/{itemId}/unread * **Route**: /items/{itemId}/unread
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as unread #### Mark multiple items as unread
* **Status**: Implemented in API 1.2 * **Status**: Implemented in API 1.2
* **Method**: POST * **Method**: POST
* **Route**: /items/unread/multiple * **Route**: /items/unread/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"itemIds": [2, 3] // ids of the items "itemIds": [2, 3] // ids of the items
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark an item as starred #### Mark an item as starred
* **Status**: Implemented in API 1.3 * **Status**: Implemented in API 1.3
* **Method**: POST * **Method**: POST
* **Route**: /items/{itemId}/star * **Route**: /items/{itemId}/star
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as starred #### Mark multiple items as starred
* **Status**: Implemented in API 1.3 * **Status**: Implemented in API 1.3
* **Method**: POST * **Method**: POST
* **Route**: /items/star/multiple * **Route**: /items/star/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"itemIds": [1, ...] "itemIds": [1, ...]
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark an item as unstarred #### Mark an item as unstarred
* **Status**: Implemented in API 1.3 * **Status**: Implemented in API 1.3
* **Method**: POST * **Method**: POST
* **Route**: /items/{itemId}/unstar * **Route**: /items/{itemId}/unstar
* **Parameters**: none * **Parameters**: none
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the item does not exist * **HTTP 404**: If the item does not exist
* **Returns**: nothing * **Returns**: nothing
#### Mark multiple items as unstarred #### Mark multiple items as unstarred
* **Status**: Implemented in API 1.3 * **Status**: Implemented in API 1.3
* **Method**: POST * **Method**: POST
* **Route**: /items/unstar/multiple * **Route**: /items/unstar/multiple
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"itemIds": [1, ...] "itemIds": [1, ...]
} }
``` ```
* **Returns**: nothing * **Returns**: nothing
#### Mark all items as read #### Mark all items as read
@ -628,17 +686,18 @@ This is used to stay up to date.
* **Method**: POST * **Method**: POST
* **Route**: /items/read * **Route**: /items/read
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
// mark all items read lower than equal that id // mark all items read lower than equal that id
// this is mean to prevent marking items as read which the client/user does not yet know of // this is mean to prevent marking items as read which the client/user does not yet know of
"newestItemId": 10 "newestItemId": 10
} }
``` ```
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
* **Return codes**:
* **HTTP 404**: If the feed does not exist
* **Returns**: nothing
### Updater ### Updater
@ -654,6 +713,7 @@ Updating should be done in the following fashion:
This [implementation in Python](https://github.com/nextcloud/news-updater) should give you a good idea how to design and run it. This [implementation in Python](https://github.com/nextcloud/news-updater) should give you a good idea how to design and run it.
#### Trigger cleanup before update #### Trigger cleanup before update
This is used to clean up the database. It deletes folders and feeds that are marked for deletion This is used to clean up the database. It deletes folders and feeds that are marked for deletion
* **Status**: Implemented in News 1.601 * **Status**: Implemented in News 1.601
@ -664,7 +724,9 @@ This is used to clean up the database. It deletes folders and feeds that are mar
**New in 8.1.0**: The console command for achieving the same result is: **New in 8.1.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:before-update ```bash
php -f nextcloud/occ news:updater:before-update
```
#### Get feed ids and usernames for all feeds #### Get feed ids and usernames for all feeds
@ -674,7 +736,8 @@ This is used to clean up the database. It deletes folders and feeds that are mar
* **Route**: /feeds/all * **Route**: /feeds/all
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"feeds": [ "feeds": [
{ {
@ -687,8 +750,9 @@ This is used to clean up the database. It deletes folders and feeds that are mar
**New in 8.1.0, Removed in 16.0.0**: The console command for achieving the same result is: **New in 8.1.0, Removed in 16.0.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:all-feeds ```bash
php -f nextcloud/occ news:updater:all-feeds
```
#### Trigger a feed update #### Trigger a feed update
@ -697,21 +761,26 @@ This is used to clean up the database. It deletes folders and feeds that are mar
* **Method**: GET * **Method**: GET
* **Route**: /feeds/update * **Route**: /feeds/update
* **Parameters**: * **Parameters**:
```jsonc
```json
{ {
"userId": "john", "userId": "john",
"feedId": 3 "feedId": 3
} }
``` ```
* **Return codes**: * **Return codes**:
* **HTTP 404**: If the feed does not exist * **HTTP 404**: If the feed does not exist
* **Returns**: Nothing * **Returns**: Nothing
**New in 8.1.0**: The console command for achieving the same result is: **New in 8.1.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:update-feed 3 john ```bash
php -f nextcloud/occ news:updater:update-feed 3 john
```
#### Trigger cleanup after update #### Trigger cleanup after update
This is used to clean up the database. It removes old read articles which are not starred This is used to clean up the database. It removes old read articles which are not starred
* **Status**: Implemented in News 1.601 * **Status**: Implemented in News 1.601
@ -722,7 +791,9 @@ This is used to clean up the database. It removes old read articles which are no
**New in 8.1.0**: The console command for achieving the same result is: **New in 8.1.0**: The console command for achieving the same result is:
php -f nextcloud/occ news:updater:after-update ```bash
php -f nextcloud/occ news:updater:after-update
```
### Version ### Version
@ -733,7 +804,8 @@ This is used to clean up the database. It removes old read articles which are no
* **Route**: /version * **Route**: /version
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"version": "5.2.3" "version": "5.2.3"
} }
@ -750,7 +822,8 @@ This API can be used to display warnings and errors in your client if the web ap
* **Route**: /status * **Route**: /status
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"version": "5.2.4", "version": "5.2.4",
"warnings": { "warnings": {
@ -776,8 +849,9 @@ If **incorrectDbCharset** is true you should display a warning that database cha
This API can be used to retrieve metadata about the current user. This API can be used to retrieve metadata about the current user.
DEPRECATED: This API is deprecated, use the Nextcloud APIs instead. DEPRECATED: This API is deprecated, use the Nextcloud APIs instead.
- https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#user-metadata for user data
- `https://nc.url/avatar/{userid}/{size}?v={1|2}` for the avatar * <https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#user-metadata> for user data
* `https://nc.url/avatar/{userid}/{size}?v={1|2}` for the avatar
#### Get the status #### Get the status
@ -786,7 +860,8 @@ DEPRECATED: This API is deprecated, use the Nextcloud APIs instead.
* **Route**: /user * **Route**: /user
* **Parameters**: none * **Parameters**: none
* **Returns**: * **Returns**:
```jsonc
```json
{ {
"userId": "john", "userId": "john",
"displayName": "John Doe", "displayName": "John Doe",

View File

@ -7,6 +7,7 @@ The **News app** offers a RESTful API which can be used to sync folders, feeds a
In addition, an updater API is exposed which enables API users to run feed updates in parallel using a REST API or Nextcloud console API. In addition, an updater API is exposed which enables API users to run feed updates in parallel using a REST API or Nextcloud console API.
## Conventions ## Conventions
This document uses the following conventions: This document uses the following conventions:
* Object aliases as comments * Object aliases as comments
@ -22,6 +23,7 @@ There are two types of aliases:
* Object arrays * Object arrays
**Objects**: **Objects**:
```js ```js
{ {
"folder": { /* folder object */ }, "folder": { /* folder object */ },
@ -31,6 +33,7 @@ There are two types of aliases:
means that the folder attributes will be listed inside the **folder** object means that the folder attributes will be listed inside the **folder** object
**Object arrays**: **Object arrays**:
```js ```js
{ {
"folders": [ /* array of folder objects */ ], "folders": [ /* array of folder objects */ ],
@ -78,6 +81,7 @@ You have to design your app with these things in mind!:
* **Use a library to compare versions**, ideally one that uses semantic versioning * **Use a library to compare versions**, ideally one that uses semantic versioning
## Request Format ## Request Format
The base URL for all calls is: The base URL for all calls is:
https://yournextcloud.com/index.php/apps/news/api/v2 https://yournextcloud.com/index.php/apps/news/api/v2
@ -110,9 +114,11 @@ The request body is either passed in the URL in case of a **GET** request (e.g.:
**Note**: The current Etag implementation contains a unix timestamp in milliseconds. This is an implementation detail and you should not rely on it. **Note**: The current Etag implementation contains a unix timestamp in milliseconds. This is an implementation detail and you should not rely on it.
### API Level Detection ### API Level Detection
Check the [API level route](#api-level) Check the [API level route](#api-level)
### Authentication ### Authentication
Because REST is stateless you have to re-send user and password each time you access the API. Therefore running Nextcloud **with SSL is highly recommended** otherwise **everyone in your network can log your credentials**. Because REST is stateless you have to re-send user and password each time you access the API. Therefore running Nextcloud **with SSL is highly recommended** otherwise **everyone in your network can log your credentials**.
Credentials are passed as an HTTP header using [HTTP basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side): Credentials are passed as an HTTP header using [HTTP basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side):
@ -128,6 +134,7 @@ This authentication/authorization method will be the recommended default until c
**Note**: Even if login cookies are sent back to your client, they will not be considered for authentication. **Note**: Even if login cookies are sent back to your client, they will not be considered for authentication.
## Response Format ## Response Format
The status codes are not always provided by the News app itself, but might also be returned because of Nextcloud internal errors. The status codes are not always provided by the News app itself, but might also be returned because of Nextcloud internal errors.
The following status codes can always be returned by Nextcloud: The following status codes can always be returned by Nextcloud:
@ -167,6 +174,7 @@ The response body is a JSON structure that looks like this, which contains the a
In case of an **4xx** or **5xx** error the request was not successful and has to be retried. For instance marking items as read locally and syncing should send the same request again the next time the user syncs in case an error occurred. In case of an **4xx** or **5xx** error the request was not successful and has to be retried. For instance marking items as read locally and syncing should send the same request again the next time the user syncs in case an error occurred.
## Security Guidelines ## Security Guidelines
Read the following notes carefully to prevent being subject to security exploits: Read the following notes carefully to prevent being subject to security exploits:
* You should always enforce SSL certificate verification and never offer a way to turn it off. Certificate verification is important to prevent MITM attacks which is especially important in the mobile world where users are almost always connected to untrusted networks. In case a user runs a self-signed certificate on his server ask him to either install his certificate on his device or direct him to one of the many ways to sign his certificate for free (most notably letsencrypt.com) * You should always enforce SSL certificate verification and never offer a way to turn it off. Certificate verification is important to prevent MITM attacks which is especially important in the mobile world where users are almost always connected to untrusted networks. In case a user runs a self-signed certificate on his server ask him to either install his certificate on his device or direct him to one of the many ways to sign his certificate for free (most notably letsencrypt.com)
@ -176,7 +184,8 @@ Read the following notes carefully to prevent being subject to security exploits
* If you are building a client in JavaScript or are using a link with **target="blank"**, remember to set the **window.opener** property to **null** and/or add a **rel="noreferrer"** to your link to prevent your app from being [target by an XSS attack](https://medium.com/@jitbit/target-blank-the-most-underestimated-vulnerability-ever-96e328301f4c#.wf2ddytbh) * If you are building a client in JavaScript or are using a link with **target="blank"**, remember to set the **window.opener** property to **null** and/or add a **rel="noreferrer"** to your link to prevent your app from being [target by an XSS attack](https://medium.com/@jitbit/target-blank-the-most-underestimated-vulnerability-ever-96e328301f4c#.wf2ddytbh)
## Syncing ## Syncing
All routes are given relative to the base API url, e.g.: **/sync** becomes **https://yourNextcloud.com/index.php/apps/news/api/v2/sync**
All routes are given relative to the base API url, e.g.: **/sync** becomes **<https://yourNextcloud.com/index.php/apps/news/api/v2/sync>**
There are two usecases for syncing: There are two usecases for syncing:
@ -184,6 +193,7 @@ There are two usecases for syncing:
* **Syncing local and remote changes**: the user has synced at least once and wants to submit and receive changes * **Syncing local and remote changes**: the user has synced at least once and wants to submit and receive changes
### Initial Sync ### Initial Sync
The intial sync happens when a user adds an Nextcloud account in your app. In that case you want to download all folders, feeds and unread/starred items. To do this, make the following request: The intial sync happens when a user adds an Nextcloud account in your app. In that case you want to download all folders, feeds and unread/starred items. To do this, make the following request:
* **Method**: GET * **Method**: GET
@ -202,6 +212,7 @@ and the following HTTP headers:
* **Etag**: A string containing a cache header, maximum size 64 ASCII characters, e.g. 6d82cbb050ddc7fa9cbb659014546e59 * **Etag**: A string containing a cache header, maximum size 64 ASCII characters, e.g. 6d82cbb050ddc7fa9cbb659014546e59
and the following request body: and the following request body:
```js ```js
{ {
"folders": [ /* array of folder objects */ ], "folders": [ /* array of folder objects */ ],
@ -216,8 +227,8 @@ and the following request body:
* [Feeds](#feeds) * [Feeds](#feeds)
* [Items](#items) * [Items](#items)
### Sync Local And Remote Changes ### Sync Local And Remote Changes
After the initial sync the app has all folders, feeds and items. Now you want to push changes and retrieve updates from the server. To do this, make the following request: After the initial sync the app has all folders, feeds and items. Now you want to push changes and retrieve updates from the server. To do this, make the following request:
* **Method**: POST * **Method**: POST
@ -274,6 +285,7 @@ This also applies to folders and feeds, however the reduced folder and feed obje
If you push a list of items to be marked read/starred, there can also be less items in the response than the ones which were initially sent. This means that the item was deleted by the cleanup job and should be removed from the client device. If you push a list of items to be marked read/starred, there can also be less items in the response than the ones which were initially sent. This means that the item was deleted by the cleanup job and should be removed from the client device.
For instance let's take a look at the following example. You are **POST**ing the following JSON: For instance let's take a look at the following example. You are **POST**ing the following JSON:
```json ```json
{ {
"items": [{ "items": [{
@ -314,7 +326,9 @@ The item with the **id** **7** is missing from the response. This means that it
For folders and feeds all ids will be returned so you can compare the existing ids with your locally available feeds and folders and remove the difference. For folders and feeds all ids will be returned so you can compare the existing ids with your locally available feeds and folders and remove the difference.
## Folders ## Folders
Folders are represented using the following data structure: Folders are represented using the following data structure:
```json ```json
{ {
"id": 3, "id": 3,
@ -328,6 +342,7 @@ The attributes mean the following:
* **name**: Abitrary long text, folder's name * **name**: Abitrary long text, folder's name
### Deleting A Folder ### Deleting A Folder
To delete a folder, use the following request: To delete a folder, use the following request:
* **Method**: DELETE * **Method**: DELETE
@ -356,6 +371,7 @@ In case of an HTTP 200, the deleted folder is returned in full in the response,
**Note**: If you delete a folder locally, you should also delete all feeds whose **folderId** attribute matches the folder's **id** attribute and also delete all items whose **feedId** attribute matches the feeds' **id** attribute. This is done automatically on the server and will also be missing on the next request. **Note**: If you delete a folder locally, you should also delete all feeds whose **folderId** attribute matches the folder's **id** attribute and also delete all items whose **feedId** attribute matches the feeds' **id** attribute. This is done automatically on the server and will also be missing on the next request.
### Creating A Folder ### Creating A Folder
To create a folder, use the following request: To create a folder, use the following request:
* **Method**: POST * **Method**: POST
@ -363,6 +379,7 @@ To create a folder, use the following request:
* **Authentication**: [required](#authentication) * **Authentication**: [required](#authentication)
with the following request body: with the following request body:
```json ```json
{ {
"name": "Folder name" "name": "Folder name"
@ -386,6 +403,7 @@ In case of an HTTP 200, the created or already existing folder is returned in fu
``` ```
### Changing A Folder ### Changing A Folder
The following attributes can be changed on the folder: The following attributes can be changed on the folder:
* **name** * **name**
@ -399,6 +417,7 @@ To change any number of attributes on a folder, use the following request and pr
* **Authentication**: [required](#authentication) * **Authentication**: [required](#authentication)
with the following request body: with the following request body:
```json ```json
{ {
"name": "New folder name" "name": "New folder name"
@ -424,8 +443,8 @@ In case of an HTTP 200, the changed or already existing folder is returned in fu
} }
``` ```
## Feeds ## Feeds
Feeds are represented using the following data structure: Feeds are represented using the following data structure:
```json ```json
@ -464,8 +483,8 @@ The attributes mean the following:
* **1**: Error occured during feed update * **1**: Error occured during feed update
* **message**: Translated error message depending on the user's configured server locale * **message**: Translated error message depending on the user's configured server locale
### Deleting A Feed ### Deleting A Feed
To delete a feed, use the following request: To delete a feed, use the following request:
* **Method**: DELETE * **Method**: DELETE
@ -474,7 +493,6 @@ To delete a feed, use the following request:
* **{id}**: feed's id * **{id}**: feed's id
* **Authentication**: [required](#authentication) * **Authentication**: [required](#authentication)
The following response is being returned: The following response is being returned:
Status codes: Status codes:
@ -483,7 +501,6 @@ Status codes:
* **404**: Feed with given id was not found, no error object * **404**: Feed with given id was not found, no error object
* Other Nextcloud errors, see [Response Format](#response-format) * Other Nextcloud errors, see [Response Format](#response-format)
In case of an HTTP 200, the deleted feed is returned in full in the response, e.g.: In case of an HTTP 200, the deleted feed is returned in full in the response, e.g.:
```js ```js
@ -497,14 +514,15 @@ In case of an HTTP 200, the deleted feed is returned in full in the response, e.
**Note**: If you delete a feed locally, you should also delete all items whose **feedId** attribute matches the feeds' **id** attribute. This is done automatically on the server and will also be missing on the next request. **Note**: If you delete a feed locally, you should also delete all items whose **feedId** attribute matches the feeds' **id** attribute. This is done automatically on the server and will also be missing on the next request.
### Creating A feed ### Creating A feed
To create a feed, use the following request: To create a feed, use the following request:
* **Method**: POST * **Method**: POST
* **Route**: /feeds * **Route**: /feeds
* **Authentication**: [required](#authentication) * **Authentication**: [required](#authentication)
with the following request body: with the following request body:
```json ```json
{ {
"url": "https://feed.url.com", "url": "https://feed.url.com",
@ -518,7 +536,7 @@ with the following request body:
} }
``` ```
* **url**: Abitrary long text, the url needs to have the full schema e.g. https://the-url.com. In case the user omits the schema, prepending **https** is recommended * **url**: Abitrary long text, the url needs to have the full schema e.g. <https://the-url.com>. In case the user omits the schema, prepending **https** is recommended
* **folderId**: 64bit Integer, the feed's folder or **0** in case no folder is specified * **folderId**: 64bit Integer, the feed's folder or **0** in case no folder is specified
* **name (optional)**: Abitrary long text, the feeds name or if not given taken from the RSS/Atom feed * **name (optional)**: Abitrary long text, the feeds name or if not given taken from the RSS/Atom feed
* **basicAuthUser (optional)**: Abitrary long text, if given basic auth headers are sent for the feed * **basicAuthUser (optional)**: Abitrary long text, if given basic auth headers are sent for the feed
@ -527,7 +545,6 @@ with the following request body:
* **isPinned (optional)**: See [Feeds](#feeds) * **isPinned (optional)**: See [Feeds](#feeds)
* **fullTextEnabled (optional)**: See [Feeds](#feeds) * **fullTextEnabled (optional)**: See [Feeds](#feeds)
The following response is being returned: The following response is being returned:
Status codes: Status codes:
@ -557,6 +574,7 @@ In case of an HTTP 200, the created feed is returned in full in the response, e.
**Note**: Because the next sync would also pull in the added feed and items again, the added items will be omitted for saving bandwidth. This also means that after successfully creating a feed you will need to query the [sync route](#sync-local-and-remote-changes) again. **Note**: Because the next sync would also pull in the added feed and items again, the added items will be omitted for saving bandwidth. This also means that after successfully creating a feed you will need to query the [sync route](#sync-local-and-remote-changes) again.
### Changing A Feed ### Changing A Feed
To change a feed, use the following request: To change a feed, use the following request:
* **Method**: PATCH * **Method**: PATCH
@ -565,8 +583,8 @@ To change a feed, use the following request:
* **{id}**: feed's id * **{id}**: feed's id
* **Authentication**: [required](#authentication) * **Authentication**: [required](#authentication)
with the following request body: with the following request body:
```json ```json
{ {
"url": "https://feed.url.com", "url": "https://feed.url.com",
@ -586,9 +604,9 @@ All parameters are optional
* **name (optional)**: Abitrary long text, the feeds name or if not given taken from the RSS/Atom feed * **name (optional)**: Abitrary long text, the feeds name or if not given taken from the RSS/Atom feed
* **basicAuthUser (optional)**: Abitrary long text, if given basic auth headers are sent for the feed * **basicAuthUser (optional)**: Abitrary long text, if given basic auth headers are sent for the feed
* **basicAuthPassword (optional)**: Abitrary long text, if given basic auth headers are sent for the feed * **basicAuthPassword (optional)**: Abitrary long text, if given basic auth headers are sent for the feed
* **ordering (optional)**: See [feeds](#Feeds) * **ordering (optional)**: See [feeds](#feeds)
* **isPinned (optional)**: See [feeds](#Feeds) * **isPinned (optional)**: See [feeds](#feeds)
* **fullTextEnabled (optional)**: See [feeds](#Feeds) * **fullTextEnabled (optional)**: See [feeds](#feeds)
* **folderId (optional)**: 64bit Integer, the feed's folder or **0** in case no folder is specified * **folderId (optional)**: 64bit Integer, the feed's folder or **0** in case no folder is specified
The following response is being returned: The following response is being returned:
@ -648,7 +666,9 @@ The attributes mean the following:
* **contentHash**: 64 ASCII characters, used to determine if the item on the client is up to or out of date. The difference between the contentHash and the fingerprint attribute is that contentHash is always calculated from a stable set of attributes (title, author, url, enclosure, body) whereas the fingerprint is calculated from a set of attributes depending on the feed. The reason for this is that some feeds use different URLs for the same article so you would not want to include the URL as uniqueness criteria in that case. If the fingerprint was used for syncing however, an URL update would never reach the client. * **contentHash**: 64 ASCII characters, used to determine if the item on the client is up to or out of date. The difference between the contentHash and the fingerprint attribute is that contentHash is always calculated from a stable set of attributes (title, author, url, enclosure, body) whereas the fingerprint is calculated from a set of attributes depending on the feed. The reason for this is that some feeds use different URLs for the same article so you would not want to include the URL as uniqueness criteria in that case. If the fingerprint was used for syncing however, an URL update would never reach the client.
### Full ### Full
A full item contains the full content: A full item contains the full content:
```json ```json
{ {
"id": 5, "id": 5,
@ -671,7 +691,9 @@ A full item contains the full content:
``` ```
### Reduced ### Reduced
A reduced item only contains the item status: A reduced item only contains the item status:
```json ```json
{ {
"id": 5, "id": 5,
@ -681,6 +703,7 @@ A reduced item only contains the item status:
``` ```
## Updater ## Updater
Instead of using the built in, slow cron updater you can use the parallel update API to update feeds. The API can be accessed through REST or Nextcloud console API. Instead of using the built in, slow cron updater you can use the parallel update API to update feeds. The API can be accessed through REST or Nextcloud console API.
The API should be used in the following way: The API should be used in the following way:
@ -696,11 +719,14 @@ If the REST API is used, Authorization is required via Basic Auth and the user n
If the Nextcloud console API is used, no authorization is required. If the Nextcloud console API is used, no authorization is required.
### Clean Up Before Update ### Clean Up Before Update
This is used to clean up the database. It deletes folders and feeds that are marked for deletion. This is used to clean up the database. It deletes folders and feeds that are marked for deletion.
**Console API**: **Console API**:
php -f /path/to/nextcloud/occ news:updater:before-update ```bash
php -f /path/to/nextcloud/occ news:updater:before-update
```
**REST API**: **REST API**:
@ -709,11 +735,14 @@ This is used to clean up the database. It deletes folders and feeds that are mar
* **Authentication**: [admin](#authentication) * **Authentication**: [admin](#authentication)
### Get All Feeds And User Ids ### Get All Feeds And User Ids
This call returns pairs of feed ids and user ids. This call returns pairs of feed ids and user ids.
**Console API**: **Console API**:
php -f /path/to/nextcloud/occ news:updater:all-feeds ```bash
php -f /path/to/nextcloud/occ news:updater:all-feeds
```
**REST API**: **REST API**:
@ -721,7 +750,6 @@ This call returns pairs of feed ids and user ids.
* **Route**: /updater/all-feeds * **Route**: /updater/all-feeds
* **Authentication**: [admin](#authentication) * **Authentication**: [admin](#authentication)
Both APIs will return the following response body or terminal output: Both APIs will return the following response body or terminal output:
```js ```js
@ -734,6 +762,7 @@ Both APIs will return the following response body or terminal output:
``` ```
### Update A User's Feed ### Update A User's Feed
After all feed ids and user ids are known, feeds can be updated in parallel. After all feed ids and user ids are known, feeds can be updated in parallel.
**Console API**: **Console API**:
@ -742,8 +771,9 @@ After all feed ids and user ids are known, feeds can be updated in parallel.
* **{feedId}**: the feed's id * **{feedId}**: the feed's id
* **{userId}**: the user's id * **{userId}**: the user's id
```bash
php -f /path/to/nextcloud/occ news:updater:update-feed {feedId} {userId} php -f /path/to/nextcloud/occ news:updater:update-feed {feedId} {userId}
```
**REST API**: **REST API**:
@ -754,13 +784,15 @@ After all feed ids and user ids are known, feeds can be updated in parallel.
* **{userId}**: the user's id * **{userId}**: the user's id
* **Authentication**: [admin](#authentication) * **Authentication**: [admin](#authentication)
### Clean Up After Update ### Clean Up After Update
This is used to clean up the database. It removes old read articles which are not starred. This is used to clean up the database. It removes old read articles which are not starred.
**Console API**: **Console API**:
php -f /path/to/nextcloud/occ news:updater:after-update ```bash
php -f /path/to/nextcloud/occ news:updater:after-update
```
**REST API**: **REST API**:
@ -769,13 +801,13 @@ This is used to clean up the database. It removes old read articles which are no
* **Authentication**: [admin](#authentication) * **Authentication**: [admin](#authentication)
## Meta Data ## Meta Data
The retrieve meta data about the app, use the following request: The retrieve meta data about the app, use the following request:
* **Method**: GET * **Method**: GET
* **Route**: / * **Route**: /
* **Authentication**: [required](#authentication) * **Authentication**: [required](#authentication)
The following response is being returned: The following response is being returned:
Status codes: Status codes:
@ -813,12 +845,12 @@ The attributes mean the following:
* **data**: Abitrary long text, the user's image encoded as base64 * **data**: Abitrary long text, the user's image encoded as base64
* **mime**: Abitrary long text, avatar mimetype * **mime**: Abitrary long text, avatar mimetype
## API Level ## API Level
To find out which API levels are supported, make a request to the following route: To find out which API levels are supported, make a request to the following route:
* **Method**: GET * **Method**: GET
* **Route**: https://yournextcloud.com/index.php/apps/news/api * **Route**: <https://yournextcloud.com/index.php/apps/news/api>
* **Authentication**: none * **Authentication**: none
The following response is being returned: The following response is being returned:
@ -829,6 +861,7 @@ Status codes:
* **404**: The user is either running a version prior to **8.8.0** or the News app is disabled or not installed. * **404**: The user is either running a version prior to **8.8.0** or the News app is disabled or not installed.
In case of an HTTP 200, the supported API levels are returned as JSON, e.g.: In case of an HTTP 200, the supported API levels are returned as JSON, e.g.:
```json ```json
{ {
"apiLevels": ["v1-2", "v2"] "apiLevels": ["v1-2", "v2"]
@ -840,7 +873,7 @@ In case of an HTTP 200, the supported API levels are returned as JSON, e.g.:
To find out if a user is running an older News version than **8.8.0**, make a request to the following route: To find out if a user is running an older News version than **8.8.0**, make a request to the following route:
* **Method**: GET * **Method**: GET
* **Route**: https://yournextcloud.com/index.php/apps/news/api/v1-2/version * **Route**: <https://yournextcloud.com/index.php/apps/news/api/v1-2/version>
* **Authentication**: [required](#authentication) * **Authentication**: [required](#authentication)
Status codes: Status codes:

View File

@ -1,4 +1,5 @@
# Developer # Developer
Welcome to the Nextcloud News App developer documentation. Welcome to the Nextcloud News App developer documentation.
News is open for contributions, if you plan to implement a new feature make sure to open a [discussion](https://github.com/nextcloud/news/discussions/new?category=Features). Describe the feature that you are planing and your first idea how to implement it. News is open for contributions, if you plan to implement a new feature make sure to open a [discussion](https://github.com/nextcloud/news/discussions/new?category=Features). Describe the feature that you are planing and your first idea how to implement it.
@ -7,6 +8,7 @@ This ensures that you don't start working on something which collides with the t
For small fixes and improvements feel free to directly create a PR, the maintainers are happy to review your code. For small fixes and improvements feel free to directly create a PR, the maintainers are happy to review your code.
## APIs ## APIs
News offers an API that can be used by clients to synchronize with the server. News offers an API that can be used by clients to synchronize with the server.
There are two API declarations, so far only V1 has been fully implemented. There are two API declarations, so far only V1 has been fully implemented.
Work on V2 has started with low priority. Work on V2 has started with low priority.
@ -16,27 +18,55 @@ Work on V2 has started with low priority.
- [API-V2](api/api-v2.md) - [API-V2](api/api-v2.md)
## Coding Style Guidelines ## Coding Style Guidelines
The PHP code should all adhere to [PSR-2](https://www.php-fig.org/psr/psr-2/). The PHP code should all adhere to [PSR-2](https://www.php-fig.org/psr/psr-2/).
*Note that this is a different codestyle than Nextcloud itself uses.* *Note that this is a different codestyle than Nextcloud itself uses.*
To test the codestyle you can run `make phpcs`. To test the codestyle you can run `make phpcs`.
For linting JavaScript, a [jshint file](https://github.com/nextcloud/news/blob/master/js/.jshintrc) is used that is run before compiling the JavaScript. The application Front End uses Vue 2.7 and the Nextcloud Libraries [Vue Components](https://github.com/nextcloud-libraries/nextcloud-vue) for building the Application running inside your Nextcloud instance. For linting these files, we are using eslint, see the [config file](https://github.com/nextcloud/news/blob/master/.eslintrc.js). We also have Unit Tests for the components that run with Jest, please ensure these pass when adding new features/fixing bugs.
## General Developer setup ## General Developer setup
Check the Nextcloud [documentation](https://docs.nextcloud.com/server/latest/developer_manual/getting_started/devenv.html) to learn how to setup a developer environment, alternatively to a proper web server you can also use the [builtin php server](https://www.php.net/manual/en/features.commandline.webserver.php) on demand, it is enough for development purposes. Check the Nextcloud [documentation](https://docs.nextcloud.com/server/latest/developer_manual/getting_started/devenv.html) to learn how to setup a developer environment, alternatively to a proper web server you can also use the [builtin php server](https://www.php.net/manual/en/features.commandline.webserver.php) on demand, it is enough for development purposes.
When your setup is running, clone the news repository in the `apps/` directory inside the server. When your setup is running, clone the news repository in the `apps/` directory inside the server.
Change into the news directory and run make to build the app, you will need php, composer, node, npm and maybe more. Change into the news directory and run `make` to build the app, you will need php, composer, node, npm and maybe more.
Now you can basically use the news app and test your changes. Now you can basically use the news app and test any changes you make on your local development environment. Check out the `appinfo/routes.php` file and `lib/controller/` directory for details on API controllers. Or check out `package.json` for npm scripts and the `src/` directory for the front end Vue Application.
## Alternative Developer setup
With [PR 2670](https://github.com/nextcloud/news/pull/2670) new options to create a development environment were added.
See the README in the docker directory.
There is also a nix-shell config and zellij layout prepared.
If you have issues with the setup create a [new discussion](https://github.com/nextcloud/news/discussions).
### Frontend Tips/Organization
- We use the Nextcloud Vue component library for most of the form controls and navigation
- Vuex is used for state management, this is similar to Redux and has Actions/Mutations and Getters
- We are using the Nextcloud Webpack Vue configuration and have enabled Typescript support and importing in the Vue components
- We use ESLint and StyleLint for ensuring correct formatting of the Scripts and HTML
## Testing
Please make sure to run all tests before submitting any pull requests.
### Frontend Unit Tests
Frontend unit tests are written with Jest and can be run with `npm run test`.
### API and CLI Integration Tests
## Running Integration tests locally
We use [bats](https://bats-core.readthedocs.io/en/stable/) to run integration tests against the API and the cli. We use [bats](https://bats-core.readthedocs.io/en/stable/) to run integration tests against the API and the cli.
Check how to install bats on your system in the [official documentation](https://bats-core.readthedocs.io/en/stable/installation.html). Check how to install bats on your system in the [official documentation](https://bats-core.readthedocs.io/en/stable/installation.html).
You also need to pull the submodules of the news repo. You also need to pull the submodules of the news repo.
```bash ```bash
git submodules update --init git submodules update --init
``` ```

View File

@ -1,8 +1,9 @@
# Custom CSS # Custom CSS
Sometimes you want to add additional CSS for a feed to improve the rendering. This can very easily be done by adding a CSS class to **css/custom.css** following the following naming convention: Sometimes you want to add additional CSS for a feed to improve the rendering. This can very easily be done by adding a CSS class to **css/custom.css** following the following naming convention:
* Take the URL from the \<link> attribute (e.g.: \<link>https://www.google.de/path?my=query \</link>) * Take the URL from the \<link> attribute (e.g.: \<link><https://www.google.de/path?my=query> \</link>)
* Extract the Domain from the URL (e.g.: www.google.de) * Extract the Domain from the URL (e.g.: <www.google.de>)
* Strip the leading **www.** (e.g.: google.de) * Strip the leading **www.** (e.g.: google.de)
* Replace all . with - (e.g.: google-de) * Replace all . with - (e.g.: google-de)
* Prepend **custom-** (e.g.: custom-google-de) * Prepend **custom-** (e.g.: custom-google-de)

View File

@ -17,14 +17,14 @@ Ex.
1. Click `Add..` 1. Click `Add..`
1. In the *Description* field, enter a description for the RSS reader entry. 'NextCloud News' is a reasonable name. 1. In the *Description* field, enter a description for the RSS reader entry. 'NextCloud News' is a reasonable name.
1. Enter `https://<NEXTCLOUD_BASE_PATH>/index.php/apps/news?subscribe_to=%s` replacing &lt;NEXTCLOUD_BASE_PATH&gt; with the base URL path to your NextCloud instance. 1. Enter `https://<NEXTCLOUD_BASE_PATH>/index.php/apps/news?subscribe_to=%s` replacing &lt;NEXTCLOUD_BASE_PATH&gt; with the base URL path to your NextCloud instance.
* Domain based example: https://cloud.mydomain.com/index.php/apps/news?subscribe_to=%s * Domain based example: <https://cloud.mydomain.com/index.php/apps/news?subscribe_to=%s>
* Domain+subpath based example: https://cloud.mydomain.com/nextcloud/index.php/apps/news?subscribe_to=%s * Domain+subpath based example: <https://cloud.mydomain.com/nextcloud/index.php/apps/news?subscribe_to=%s>
#### Firefox #### Firefox
1. Install Firefox Add-on Extension [Awesome RSS](https://addons.mozilla.org/en-US/firefox/addon/awesome-rss/) 1. Install Firefox Add-on Extension [Awesome RSS](https://addons.mozilla.org/en-US/firefox/addon/awesome-rss/)
1. Open the `Preferences` for the extension 1. Open the `Preferences` for the extension
2. In the 'Subscribe using' section, select the `NextCloud` radio button 1. In the 'Subscribe using' section, select the `NextCloud` radio button
3. In the field link field, enter the base NextCloud URL. 1. In the field link field, enter the base NextCloud URL.
* Domain based example: https://cloud.mydomain.com/ * Domain based example: <https://cloud.mydomain.com/>
* Domain+subpath based example: https://cloud.mydomain.com/nextcloud/ * Domain+subpath based example: <https://cloud.mydomain.com/nextcloud/>

View File

@ -9,52 +9,91 @@ There are essentially three different use cases for plugins:
* Dropping in additional CSS or JavaScript * Dropping in additional CSS or JavaScript
## The Basics ## The Basics
Whatever plugin you want to create, you first need to create a basic structure. A plugin is basically just an app, so you can take advantage of the full [Nextcloud app API](https://docs.nextcloud.org/server/latest/developer_manual/app/index.html). If you want you can [take a look at the developer docs](https://docs.nextcloud.org/server/latest/developer_manual/app/index.html) or [dig into the tutorial](https://docs.nextcloud.org/server/latest/developer_manual/app/tutorial.html).
Whatever plugin you want to create, you first need to create a basic structure. A plugin is basically just an app, so you can take advantage of the full [Nextcloud app API](https://docs.nextcloud.org/server/latest/developer_manual/app/index.html). [Take a look at the developer docs](https://docs.nextcloud.com/server/latest/developer_manual/app_development/index.html) or [dig into the tutorial](https://docs.nextcloud.com/server/latest/developer_manual/app_development/tutorial.html).
However, if you just want to start slow, the full process is described below. However, if you just want to start slow, the full process is described below.
First create the following directories and files: First create a skeleton app using the [web interface](https://apps.nextcloud.com/developer/apps/generate)
The application name affects the name and namespace of your plugin and only one app can exist using the same name. Choose wisely. This will become the directory name in the Nextcloud `apps/` directory
* **newsplugin/** * **newsplugin/**
* **appinfo/** * **appinfo/**
* **app.php** * **app.php**
* **info.xml** * **info.xml**
The first folder name affects the name and namespace of your plugin and only one app can exist using the same name. Choose wisely.
First let's add some meta ata about our app. Open the **newsplugin/appinfo/info.xml** and add the following contents:
```xml
<?xml version="1.0"?>
<info>
<id>newsplugin</id>
<name>Example News Plugin</name>
<description>This plugin allows you to share articles via Twitter</description>
<licence>AGPL</licence>
<author>Your Name Here</author>
<version>0.0.1</version>
<dependencies>
<nextcloud min-version="10"/>
<owncloud min-version="9.1"/>
<php min-version="5.6"/>
</dependencies>
</info>
```
**Note**: You must license your app under the [AGPL 3 or later](https://www.gnu.org/licenses/agpl-3.0.en.html) to comply with the News app's license. Don't forget to add the license as plain text file if you want to distribute your app! **Note**: You must license your app under the [AGPL 3 or later](https://www.gnu.org/licenses/agpl-3.0.en.html) to comply with the News app's license. Don't forget to add the license as plain text file if you want to distribute your app!
Then we want to make sure that our code is only run if the News app is enabled. To do that put the following PHP code into the **newsplugin/appinfo/app.php** file: Then we want to make sure that our code is only run if the News app is enabled. To do that put the following PHP code into the **newsplugin/lib/AppInfo/Application.php** file:
```php
<?php
declare(strict_types=1);
namespace OCA\NewsBookmarkPlugin\AppInfo;
use OCP\AppFramework\App;
use OCP\Util;
use OCP\App as Test;
class Application extends App {
public const APP_ID = 'newsbookmarkplugin';
public function __construct() {
parent::__construct(self::APP_ID);
// your code here
}
}
```
## Server-Side Plugin
A Server-Side plugin is a plugin that uses the same infrastructure as the News app for its own purposes. An example would be a plugin that makes the starred entries of a user available via an interface or a bookmark app that also shows starred articles as bookmarks.
It's very easy to interface with the News app. Because all Classes are registered in the **news/app/application.php** it takes almost no effort to use the same infrastructure.
**Note**: Keep in mind that these classes are essentially private which means they might break if the News app changes. There is no real public API so use at your own risk ;)
Since you don't want to extend the app but use its resources, its advised that you don't inherit from the **Application** class but rather include it in your own container in **newsplugin/appinfo/application.php**:
```php ```php
<?php <?php
namespace OCA\NewsPlugin\AppInfo; namespace OCA\NewsPlugin\AppInfo;
use OCP\App;
if (App::isEnabled('news')) { use OCP\AppFramework\App;
// your code here use OCA\News\AppInfo\Application as News;
class Application extends App {
public function __construct (array $urlParams=[]) {
parent::__construct('newsplugin', $urlParams);
$container = $this->getContainer();
$container->registerService('NewsContainer', function($c) {
$app = new News();
return $app->getContainer();
});
$container->registerService(OCA\News\Service\FeedService::class, function($c) {
// use the feed service from the news app, you can use all
// defined classes but its recommended that you stick to the
// mapper and service classes since they are less likely to change
return $c->query('NewsContainer')->query(OCA\News\Service\FeedService::class);
});
}
} }
``` ```
Using automatic container assembly you can then use it from your code by simply adding the type to your constructors.
# TODO: Update the following
If your plugin integrates with another Nextcloud app, make sure to also require it be installed. If you depend on the Bookmarks app for instance use: If your plugin integrates with another Nextcloud app, make sure to also require it be installed. If you depend on the Bookmarks app for instance use:
```php ```php
@ -92,6 +131,7 @@ This will tell the News app to load the following files after its own JavaScript
* **newspluing/css/style.css** * **newspluing/css/style.css**
### Adding Basic JavaScript Functionality ### Adding Basic JavaScript Functionality
You can basically add any JavaScript you want. If you want to add a new article action, this is a bit more complicated because it's hard to hook into Angular from the outside. Therefore, the News app provides an API which makes creating additional article actions a breeze. You can basically add any JavaScript you want. If you want to add a new article action, this is a bit more complicated because it's hard to hook into Angular from the outside. Therefore, the News app provides an API which makes creating additional article actions a breeze.
A basic article action looks like this: A basic article action looks like this:
@ -158,45 +198,3 @@ Then open the **newspluing/css/style.css** file and add the following CSS:
``` ```
Reload the News app and click the three dots menu, sit back and enjoy :) Reload the News app and click the three dots menu, sit back and enjoy :)
## Server-Side Plugin
A Server-Side plugin is a plugin that uses the same infrastructure as the News app for its own purposes. An example would be a plugin that makes the starred entries of a user available via an interface or a bookmark app that also shows starred articles as bookmarks.
It's very easy to interface with the News app. Because all Classes are registered in the **news/app/application.php** it takes almost no effort to use the same infrastructure.
**Note**: Keep in mind that these classes are essentially private which means they might break if the News app changes. There is no real public API so use at your own risk ;)
Since you don't want to extend the app but use its resources, its advised that you don't inherit from the **Application** class but rather include it in your own container in **newsplugin/appinfo/application.php**:
```php
<?php
namespace OCA\NewsPlugin\AppInfo;
use OCP\AppFramework\App;
use OCA\News\AppInfo\Application as News;
class Application extends App {
public function __construct (array $urlParams=[]) {
parent::__construct('newsplugin', $urlParams);
$container = $this->getContainer();
$container->registerService('NewsContainer', function($c) {
$app = new News();
return $app->getContainer();
});
$container->registerService(OCA\News\Service\FeedService::class, function($c) {
// use the feed service from the news app, you can use all
// defined classes but its recommended that you stick to the
// mapper and service classes since they are less likely to change
return $c->query('NewsContainer')->query(OCA\News\Service\FeedService::class);
});
}
}
```
Using automatic container assembly you can then use it from your code by simply adding the type to your constructors.

View File

@ -1,4 +1,5 @@
# Themes # Themes
Nextcloud News can look different with the following themes: Nextcloud News can look different with the following themes:
* [Nextcloud News Themes](https://github.com/cwmke/nextcloud-news-themes) * [Nextcloud News Themes](https://github.com/cwmke/nextcloud-news-themes)

View File

@ -123,9 +123,9 @@ Connect to your DB and execute the commands. Don't forget to switch to the right
For example in mysql: `use nextcloud;` For example in mysql: `use nextcloud;`
```sql ```sql
DROP TABLE oc_news_folders;
DROP TABLE oc_news_feeds;
DROP TABLE oc_news_items; DROP TABLE oc_news_items;
DROP TABLE oc_news_feeds;
DROP TABLE oc_news_folders;
``` ```
Then we remove the traces in the migrations table. Then we remove the traces in the migrations table.
@ -149,4 +149,4 @@ DELETE FROM oc_jobs WHERE class='OCA\\News\\Cron\\Updater';
DELETE FROM oc_jobs WHERE argument='["OCA\\\\News\\\\Cron\\\\Updater","run"]'; DELETE FROM oc_jobs WHERE argument='["OCA\\\\News\\\\Cron\\\\Updater","run"]';
``` ```
Now nothing is left from News in your nextcloud installation. Now nothing is left from News in your Nextcloud installation.

View File

@ -6,13 +6,13 @@ This is a brief list of common issues that come up with NextCloud News.
If you are serving your Nextcloud over HTTPS your browser will very likely warn you with a yellow warnings sign about your connection not being secure. If you are serving your Nextcloud over HTTPS your browser will very likely warn you with a yellow warnings sign about your connection not being secure.
* Chrome will show no green HTTPS lock sign. * Chrome will show no green HTTPS lock sign.
* Firefox will show you the following image Mixed Passive Content ![Mixed Content Type](https://ffp4g1ylyit3jdyti1hqcvtb-wpengine.netdna-ssl.com/security/files/2015/10/mixed-passive-click1-600x221.png) * Firefox will show you the following image Mixed Passive Content ![Mixed Content Type](https://ffp4g1ylyit3jdyti1hqcvtb-wpengine.netdna-ssl.com/security/files/2015/10/mixed-passive-click1-600x221.png)
Note that this warning **is not red and won't block the page like the following images** which signal a serious issue: Note that this warning **is not red and won't block the page like the following images** which signal a serious issue:
* Chrome ![Chrome error](https://www.inmotionhosting.com/support/images/stories/website/errors/ssl/chrome-self-signed-ssl-warning.png) * Chrome ![Chrome error](https://www.inmotionhosting.com/support/images/stories/website/errors/ssl/chrome-self-signed-ssl-warning.png)
* Firefox ![Firefox error](https://www.howtogeek.com/wp-content/uploads/2014/02/650x367xchrome-mixed-content-https-problem.png.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.r_lQiZiq38.png) * Firefox ![Firefox error](https://www.howtogeek.com/wp-content/uploads/2014/02/650x367xchrome-mixed-content-https-problem.png.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.r_lQiZiq38.png)
### What is the cause of the (yellow) error message? ### What is the cause of the (yellow) error message?
@ -49,30 +49,45 @@ This is very often caused by missing or old files, e.g. by failing to upload all
Feeds can be updated using Nextcloud's system cron or an external updater via the API. **The feed update is not run in Webcron and AJAX cron mode!** Feeds can be updated using Nextcloud's system cron or an external updater via the API. **The feed update is not run in Webcron and AJAX cron mode!**
### Validating Using System Cron ### Validating Using System Cron
!!! info !!! info
This requires Nextcloud 26 or newer and News 24.0.0 or newer. This requires Nextcloud 26 or newer and News 24.0.0 or newer.
Follow this checklist: Follow this checklist:
- Check admin settings of Nextcloud, was the last cron execution ok. * Check admin settings of Nextcloud, was the last cron execution ok.
- Check the logs for errors. * Check the logs for errors.
- Does your [cache configuration](install.md#cache) work? * Does your [cache configuration](install.md#cache) work?
- Check the News admin settings, system cron is used to update news. * Check the News admin settings, system cron is used to update news.
- You should see a info card at the top, which will tell you when the last job execution was. * You should see a info card at the top, which will tell you when the last job execution was.
- If the card is red it is very likely that the update job is stuck. * If the card is red it is very likely that the update job is stuck.
- If it is green then maybe only some feeds are failing to update, check the Nextcloud logs. * If it is green then maybe only some feeds are failing to update, check the Nextcloud logs.
If you believe the job is stuck you can reset it. For further steps you need to use occ. If you believe the job is stuck you can reset it. For further steps you need to use occ.
You can check again the status of the job. You can check again the status of the job.
(replace www-data with your httpd user) (replace `www-data` with your httpd user)
```bash ```bash
sudo -u www-data php ./occ news:updater:job sudo -u www-data php ./occ news:updater:job
Checking update Status Checking update Status
Last Execution was 2023-03-20 12:20:03 UTC Last Execution was 2023-03-20 12:20:03 UTC
``` ```
The same check that is done in the News admin settings can be done using occ too.
Adding the `--check-elapsed` option displays the time elapsed since the last execution,
and if it's considered too long ago, a message will be displayed, and the command returns
with exit code 2. This can be used in scripts to send an alert for example.
```console
$ sudo -u www-data php ./occ news:updater:job --check-elapsed
Checking update Status
Last Execution was 2023-03-20 12:20:03 UTC
8 hours, 21 minutes, 20 seconds ago
Something is wrong with the news cronjob, execution delay exceeded the configured interval.
```
If you think the job is stuck you can reset it, this may lead to issues if the job is currently running! If you think the job is stuck you can reset it, this may lead to issues if the job is currently running!
```bash ```bash
@ -82,7 +97,9 @@ Last Execution was 2023-03-20 12:20:03 UTC
Attempting to reset the job. Attempting to reset the job.
Done, job should execute on next schedule. Done, job should execute on next schedule.
``` ```
The output of the command should have changed. The output of the command should have changed.
```bash ```bash
sudo -u www-data php ./occ news:updater:job sudo -u www-data php ./occ news:updater:job
Checking update Status Checking update Status
@ -140,7 +157,7 @@ The command `occ news:updater:after-update [--purge-unread] [<purge-count>]` can
The purge count only applies to the items that are purged. For example, when purging a feed that has 100 unread items, 100 starred read items and 100 unstarred read items, using a purge-count of 50 would keep all unread and starred items and the latest 50 read items. Using a `purge-count` of 50 along with `--purge-unread` would keep the all starred items plus the latest 50 from the set of unread and read items. The purge count only applies to the items that are purged. For example, when purging a feed that has 100 unread items, 100 starred read items and 100 unstarred read items, using a purge-count of 50 would keep all unread and starred items and the latest 50 read items. Using a `purge-count` of 50 along with `--purge-unread` would keep the all starred items plus the latest 50 from the set of unread and read items.
## Missing 4-byte support SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: ... ## Missing 4-byte support SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value:
This is likely caused by your feed using emojis in the feed title or text. This is likely caused by your feed using emojis in the feed title or text.

Some files were not shown because too many files have changed in this diff Show More