1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-09-06 14:53:09 +02:00
Commit Graph

442 Commits

Author SHA1 Message Date
Carlos Silva
6c01164b9b Add the 'Accept' header to the request (#525)
* Add the 'Accept' header to the request

Some firewalls block requests without the Accept header on the HTTP(s) request as seen on issue #517,
so, just add the header to all requests and say we accept anything.

Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org>

* Use a more detailed Accept Header

Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org>

* Split up long line

Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org>
2019-08-16 07:14:20 +02:00
nachoparker
1a54c2abec add "mark read" floating button mobile. Fixes #469 (#505)
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-05-11 10:08:14 +02:00
Daniel Opitz
10c0b1ff10 removed warning about non utf8mb4 charset for mysql/mariadb - #496 (#497)
Signed-off-by: Daniel Opitz <git@copynpaste.de>
2019-04-25 13:04:56 +02:00
Benjamin Brahmer
6410d92f3e Use nextclouds temp dir (#493) 2019-04-11 12:59:05 +02:00
Sean Molenaar
1983ca1315 Set tmp dir as cache for favicon 2019-04-05 15:12:59 +02:00
Sean Molenaar
b37e237c7a Fix xkcd commics 2019-03-26 09:31:03 +01:00
Sean Molenaar
62bd42cb17 Stop assuming encoding of xml, let simplexml throw silently (#457) 2019-03-22 09:19:05 +01:00
Sean Molenaar
c69bcb8e68 Allow empty-ish lastmodified and clean up FeedFetcher Test (#458) 2019-03-21 05:16:35 +01:00
Jasper Knockaert
84af098d01 reset modified since filter when updating feeds
When updating feeds the modified since date is added as a filter. This needs to be reset when looping over the feeds. Fixes #444.
2019-03-20 07:51:45 +01:00
Sean Molenaar
9b915e24af Use a copy of the FeedIO client that doesn't specify a useragent 2019-03-18 10:39:32 +01:00
Sean Molenaar
6ed63bdedd Set nextcloud user agent 2019-03-18 10:39:32 +01:00
Sean Molenaar
2698214c41 fix/allow CDATA encoding (#428) 2019-03-17 08:23:37 +01:00
Sean Molenaar
f416213993 Fix email and password not being encoded 2019-03-12 19:58:06 +01:00
Sean Molenaar
9d5ac4b039 Catch FeedIO reader exception.
Closes #413

Closes #412
2019-03-12 13:30:05 +01:00
Simon Gilliot
67799e07b8 #413 DateTime::createFromFormat() 2019-03-11 08:33:14 +01:00
Sean Molenaar
71ba5a3ad1 Fix generation commands and make them available in ./occ (#402) 2019-03-06 13:10:37 +01:00
Sean Molenaar
7c17b2c24b Allow empty update time 2019-02-23 16:11:28 +01:00
Sean Molenaar
ee6bb6ce70 Fix mismatched interface 2019-01-31 13:40:52 +01:00
Sean Molenaar
d61a57bd2d Make feed failing more verbose 2019-01-31 10:23:56 +01:00
Sean Molenaar
a3246a927d Parser: Switch to feedIO for parsing instead of picoFeed 2019-01-30 20:36:40 +01:00
Morris Jobke
9cd871983a Merge pull request #382 from SMillerDev/codestyle_psr2
Define an official codestyle and adhere to it.
2019-01-28 22:32:49 +01:00
DriverXX
71ce148554 Return also folderId with "news:updater:all-feeds" 2019-01-10 10:35:48 +01:00
Sean Molenaar
becce6b752 Define an official codestyle and adhere to it. 2018-12-14 07:54:43 +01:00
Daniel Opitz
5c7fdb0853 remove some wrapping functions, define argument and response types, removed configuration of AppConfig as its not existing anymore 2018-12-04 17:09:28 +01:00
blackcrack
499bbe930f add EFB.NU & New
add EFB.NU 
http://www.essential-freebies.de/board/feed.php
a German Freeware,Share and OpenSource Board who be the members where posting News.
Any can make with and can posting News for WinNT Freeware. It's a Huge German Windows Software Board.

best regards
blacky
2018-10-22 10:27:38 +02:00
Alexander Grüßung
0bf1af1ee9 Update feeds.de.json
Added APPkosmos.de to explore file
2018-10-19 13:32:47 +02:00
Detlev Zundel
8337d2aa7d Fix lastModified to be a string rather than an integer. (#355)
This fixes https://github.com/nextcloud/news/issues/350#issue-369283392

Signed-off-by: Detlev Zundel <dzu@member.fsf.org>
2018-10-14 18:53:53 +02:00
Benjamin Brahmer
68c656fea7 add date to export .opml 2018-10-04 10:27:59 +02:00
Daniel Opitz
89f2c7cfdb add setters + getters to Folder and Item entities, fixed unit tests, rearranged methods 2018-09-28 23:24:10 +02:00
Daniel Opitz
2aabd8fd1f fixed feed tests 2018-09-28 23:24:10 +02:00
Daniel Opitz
159986553b add php7 types 2018-09-28 23:24:10 +02:00
Daniel Opitz
a3b5b516d2 add getters + setters for feed entity 2018-09-28 23:24:10 +02:00
Daniel Aleksandersen
dea3cebf2e Restore a working User-Agent
The previous User-Agent was malformed. Using an old Chrome version now looks more suspicious. This version conforms and passes WAF just fine.
2018-09-12 03:36:42 +02:00
David Guillot
a84e80131a feat(api): support new OC core login flow
* Base ApiController now needs IUserSession and extracts/serves IUser from it
* All other API controllers now inherit from ApiController
2018-07-01 23:01:54 +02:00
Sean Molenaar
5b94705cf3 Core: Fix compatibility with nextcloud codestyle (#280) 2018-03-27 15:35:06 +02:00
Sean Molenaar
17e85dd507 Unit: Fix unittests (#278)
* Unit: Fix unittests

Issue #171

* Tests: Move test namespace to the expected nextcloud namespace
2018-03-18 15:01:08 +01:00
Daniel S
65dc9f5b56 Add: German Feeds for t3n.de and netzpolitik.org (#241)
- Add: http://t3n.de/rss.xml as new discoverable source for tech news
- Add: https://netzpolitik.org/feed/ as source for network politics / news source

- See also: #240
2017-12-16 12:21:13 +01:00
Daniel Opitz
a97dd58e3b Split binary to booleans (#203)
* replaced old status with 2 flags for unread and starred

* add fields to db, replace int(1,0) with booleans in sql queries, removed StatusFlags class + refactor code relying to it

* add repair step for migration

* again use integer(1,0) instead of bool in sql queries, because of sqlite doesn't support true/false

* add/fix unit tests for new boolean status

* set unread/starred flags as statements in sql

* fixed mysql unknown column items.unread, fixed marking of read items on repair step

* remove unnecessary bool casts

* add empty checks to Items::is* methods

* update migration to use native sql instead of the querybuilder

* don't cast the flags manually, let the api do the work
2017-08-14 10:34:53 +02:00
rakekniven
0fa82e88d7 Rakekniven patch 1 (#204)
* Update FeedFetcher.php

* Update part.content.warnings.php

* Update part.content.warnings.php
2017-07-13 16:52:30 +02:00
rakekniven
e09a146941 Update FeedFetcher.php (#200)
Small l10n fix
2017-07-09 09:04:04 +02:00
coderkun
68e3fa0172 Call cron beforeUpdate() before update() (#172) (#174) 2017-06-03 13:32:57 +02:00
sonologic
774b4b6852 Fix #163, use IDBConnection->supports4ByteText() (#169)
Instead of the buggy StatusService->hasIncorrectCharset, use
the already available IDBConnection->supports4ByteText() to
determine if 4byte unicode is supported.
2017-05-31 20:12:09 +02:00
Bernhard Posselt
42c57af9f8 better link 2017-05-24 20:52:23 +02:00
Bernhard Posselt
e64167ec0a Fix #151, Fix #145 2017-05-19 17:48:16 +02:00
Bernhard Posselt
53822bb4bc add new apis 2017-05-13 21:35:17 +02:00
Bernhard Posselt
0dd88fad75 Fix #142 2017-05-02 19:48:29 +02:00
Robin Appelman
bc27596f70 Add postprocessor for getting lwn subscriber articles (#72) 2017-01-04 11:10:19 +01:00
Daniel Schaal
04f66c9710 Add updatedDate to item model (#81)
* Update picoFeed to v0.1.28

* Add updated_date to database and bump version to 10.1.1

* Add updatedDate to item model

* Check for updatedDate when updating a feed

* Fix unit test to check for newer updatedDate
2017-01-04 11:09:46 +01:00
Robin Appelman
547b977c49 use non depricated public api to register background job (#59) 2016-11-25 09:57:35 +01:00
Daniel Schaal
f658beaf61 Throw ServiceNotFoundException when marking non-existent item as read (#61)
* Throw ServiceNotFoundException when marking non-existent item as read

Fixes #58

* Add test case for marking non-existent item as read
2016-11-18 16:03:31 +01:00