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

506 Commits

Author SHA1 Message Date
Benjamin Brahmer
0fb620244d check if variable is null before striping tags
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2022-05-04 18:14:37 +02:00
Benjamin Brahmer
5af0cb6e22 update last_modified when marking an item as read
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

this way it works

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

add changelog entry

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

Partly fix test

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

test passing

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-02 09:56:12 +02:00
Paul Tirk
f44967d9e7 document new starring api methods in changelog
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30 20:04:30 +02:00
Benjamin Brahmer
835f295ece Release 18.0.1
No major changes since the beta versions.

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-04-24 10:29:33 +02:00
Benjamin Brahmer
4afe4b4deb Release 18.0.1-beta3
Fixed
- Fix import of items when feed does not exist (1742)
- Fix malformed feeds (without GUIDs) stopping the update process (#1738)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-04-18 19:32:33 +02:00
nextcloud486153
032d48ad7b Fix malformed feeds (without GUIDs) stopping the update process (fixes #1738)
Signed-off-by: nextcloud486153 <78801830+nextcloud486153@users.noreply.github.com>
2022-04-18 13:16:01 +02:00
Benjamin Brahmer
78c723f38a fix import of items when feed does not exist
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-04-18 13:10:21 +02:00
Benjamin Brahmer
fc6e2c0e4f Release 18.0.1-beta2
Fixed
- Fix no item marked as read by Folder API due to mismatch in parameter name (#1703)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-03-22 12:11:17 +01:00
Benjamin Brahmer
c49e0fb4f4 rename maxItemId to newestItemId to match docs
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-03-18 11:54:02 +01:00
Benjamin Brahmer
59979b73a7 Release 18.0.1-beta1
Fixed
- Fix only one item marked as read by Feed API (#1687)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-03-09 12:33:16 +01:00
Benjamin Brahmer
b206673dc5 add changelog entry
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-03-08 13:05:15 +01:00
Benjamin Brahmer
d4a1db9629 Release 18.0.0
Changed
- Change shortcut descriptions. (#1669)

Fixed
- Fix spaces in passwords getting replaced with "+" (#1678)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-02-28 15:14:19 +01:00
Benjamin Brahmer
3bd3ee97cc add changelog entry
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-02-27 20:04:14 +01:00
Dennis Müller
dbf6db8bff Update shortcuts
Shortcut "q" is not supported anymore as stated in https://github.com/nextcloud/news/issues/1613#issuecomment-991891468
Shortcuts "c" and "v" seemed to have swapped descriptions.

Signed-off-by: Dennis Müller <dennis.mueller@bib.uni-mannheim.de>
2022-02-21 17:31:49 +01:00
Benjamin Brahmer
9f539394cb Release 18.0.0-beta1
Changed
- Drop support for Nextcloud 21

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-02-16 16:19:10 +01:00
Sean Molenaar
0c67ffac37 chore: deprecate nc 21
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2022-02-14 11:39:04 +01:00
Benjamin Brahmer
7eb3449284 Release 17.0.1
Fixed
- Fix catching network errors while fetching feed logos. (#1601)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-12-09 11:46:36 +01:00
Michael Hamann
f071c05a48 Fix catching connect exceptions while fetching feed logos #1570
Display the message instead of the response when catching an exception
during feed logo fetching. As there is no response and thus no method
`getResponse()` in `ConnectException`, this fixes a "call to undefined
method"-error that prevented feeds from fetching if fetching the logo
resulted in a `ConnectException`.

Signed-off-by: Michael Hamann <michael@content-space.de>
2021-11-30 23:39:39 +01:00
Benjamin Brahmer
eac208b250 Release 17.0.0
Fixed
- fix link-icon-overlap in mobile-view (#1579)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-29 08:32:48 +01:00
Matthias
6e8a3f4c87 fix link-icon-overlap in mobile-view
Signed-off-by: Matthias <matthias.baier@mabaart.de>
2021-11-28 18:19:07 +01:00
Benjamin Brahmer
9613ee0918 Release 17.0.0-beta1
Changed
- Drop support for Nextcloud 20 (#1514)
- Use better sql commands, that were not possible with Nextcloud 20 (#1514)
- Add support for Nextcloud 23 (#1585)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-18 15:14:27 +01:00
Benjamin Brahmer
fbacf4c1f7 Update changelog for 17.x.x
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-18 14:10:57 +01:00
Benjamin Brahmer
5198f4258f Release 16.2.1
Fixed
- Catch network errors while fetching feed logos. (#1572, #1570)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-15 14:41:13 +01:00
Benjamin Brahmer
9f3b63b5f9 Catch network errors while fetching feed logos, fixes #1570
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-14 20:16:16 +01:00
Benjamin Brahmer
a476249d57 Release 16.2.0
No notable changes compared to the beta versions.

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-03 15:13:58 +01:00
Benjamin Brahmer
8973769aa6 Release 16.2.0-beta2
Changed
- Updated "New Folder" and "All articles" icons to differentiate them from "Subscribe" and "All articles". (#1542)

Fixed
- Mark the latest post in a feed as read when clicking on the right arrow key. (#1546)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-25 12:59:22 +02:00
Artem Lavrukhin
9fb9a4c6da Mark latest post as read when clicking on right arrow shortcut
Signed-off-by: Artem Lavrukhin <lavryha4590@gmail.com>
2021-10-23 12:31:55 +02:00
Greg
c7a265fedf Update add folder and unread feed icons
Give both add folder and unread feed icons their own unique icons instead of sharing them with subscribe and all articles.

Signed-off-by: Greg Ross <greg@toolstack.com>
2021-10-21 16:02:34 +02:00
Benjamin Brahmer
075bd3b658 Release 16.2.0-beta1
Changed
- Add changelog and DCO notice to CONTRIBUTING.md (#1521)
- Download feed logos via guzzle to have better error handling (#1533)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-20 11:26:46 +02:00
Benjamin Brahmer
7d61a1cb09 Download feed logos via guzzle to have better error handling
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-18 17:57:18 +02:00
Daniel Rheinbay
82aa83bb76 Add changelog item.
Signed-off-by: Daniel Rheinbay <danielrheinbay@gmail.com>
2021-10-08 10:30:41 +02:00
Benjamin Brahmer
62ad505730 Release 16.1.0
Changed
- Remove dependency's large test files from release (#1519)
- Fix spelling of "receive" in log files (#1520)

Note: Nextcloud 20 support will be dropped in Oct 2021, this is very likely the last version to support Nextcloud 20. This also means that PHP 7.2, will no longer be supported by news.

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-07 18:16:53 +02:00
Daniel Rheinbay
f6148a614d Add Changelog entry
Signed-off-by: Daniel Rheinbay <danielrheinbay@gmail.com>
2021-10-03 14:50:18 +02:00
Zach DeCook
2364d8cbe6 compiled image: Remove readability tests
Signed-off-by: Zach DeCook <zachdecook@librem.one>
2021-10-01 23:58:11 +02:00
Benjamin Brahmer
f397c111a8 Release 16.1.0-beta1
Changed
- Added new `news:updater:update-user` command to update the feeds of a single user (#1360).

Fixed
- Removed spurious requests for `.../apps/news/%7B%7B%20::Content.getFeed(item.feedId).faviconLink%20%7D%7D` (#1488)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-09-02 11:54:14 +02:00
Benjamin Brahmer
1f8880c8de Revert Add Vue and ng-vue packages
This reverts commits:
8809bb2c56
d2a5c26ee1
3344431a9b
83cdcb016b
36d304ec76

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-09-02 11:32:44 +02:00
mormegil
34c1f5c7a5 Fix favicon element making broken requests
The markup for favicon `<img>` element in feed item used `src` instead of
`ng-src`, causing browser to make broken requests for
`.../apps/news/%7B%7B%20::Content.getFeed(item.feedId).faviconLink%20%7D%7D`

Changing the attribute to `ng-src` fixed that.

Signed-off-by: mormegil <mormegil@centrum.cz>
2021-08-23 17:44:41 +02:00
anoy
820f75442d explicitly set icon offset for navigation items
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-08-01 13:05:41 +02:00
David Baucum
21203dbf63 Update all feeds from command
Closes #1359

Signed-off-by: David Baucum <david@baucum.me>
2021-07-24 18:17:31 +02:00
Alec Kojaev
65c15dac38 Reimplement relative time formatting as a filter, dropping dependency on deprecated moment.js
Signed-off-by: Alec Kojaev <alec@kojaev.name>
2021-07-24 14:52:34 +02:00
Tucker McKnight
3344431a9b Update changelog
Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
2021-07-19 14:58:49 +02:00
Benjamin Brahmer
02cbdc9635 Release 16.0.0
There are no additional changes compared to the latest beta.

Changed
- News now requires a 64bit OS
- v2 API implementation (folder part)
- Implemented sharing news items between nextcloud users (#1191)
- Updated the news items table in DB to include sharer data (#1191)
- Added route for sharing news items (#1191)
- Added share data in news items serialization (#1191)
- Added tests for the news items share feature (#1191)
- Added sharing articles with nextcloud users (#1217)
- Added sharing articles on social media (Facebook, Twitter) or mail (#1217)
- Allow installation on Nextcloud v22
- Remove deprecated API endpoints and occ command (#935)
  - /api/v1-2/user
  - /api/v1-2/user/avatar
  - ./occ news:updater:all-feeds
- added feed search (#1402)

Fixed
- allow calling `/items?getRead=false` without a feed/folder (#1380 #1356)
- newestId does not return newest ID but last updated (#1339)
- removed reference for deleted repair-steps (#1399)
- Fix NotNullConstraintViolation when sharing news items with users (#1406)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-07-04 10:54:16 +02:00
Benjamin Brahmer
db831426d3 Release 16.0.0-beta3
Changed
- added feed search (#1402)
Fixed
- removed reference for deleted repair-steps (#1399)
- Fix NotNullConstraintViolation when sharing news items with users (#1406)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-06-16 13:50:30 +02:00
Sean Molenaar
fd01e9ad7b Search: add feed search
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-06-16 11:32:19 +02:00
Marco Nassabain
be45dd9830 📝 Update CHANGELOG
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-06-16 11:31:11 +02:00
anoy
c64db81796 removed reference for deleted repair-steps
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-06-04 17:18:30 +02:00
Benjamin Brahmer
d55cef06f0 Release 16.0.0-beta2
Changed
- Allow installation on Nextcloud v22
- Remove deprecated API endpoints and occ comand (#935)
  - /api/v1-2/user
  - /api/v1-2/user/avatar
  - ./occ news:updater:all-feeds
Fixed
- allow calling `/items?getRead=false` without a feed/folder (#1380 #1356)
- newestId does not return newest ID but last updated (#1339)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-06-02 15:07:35 +02:00
Sean Molenaar
469807a091 Chore: implement removals from #935
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-06-01 11:23:04 +02:00
Sean Molenaar
74f09ee716 db: no longer order by items.last_modified
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-27 19:12:55 +02:00
Sean Molenaar
2159eccbf1 controller: getRead + all_items is now unread type
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-27 19:10:53 +02:00