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

684 Commits

Author SHA1 Message Date
Bernhard Posselt
6b138b98a6 use before and after update hooks to delete items only after new ones have been fetched 2013-09-13 18:29:34 +02:00
Bernhard Posselt
e178dc843a go back to 200 autopurge count 2013-09-13 18:17:47 +02:00
Bernhard Posselt
f9691e0faf respect articles per update count in item cleanup 2013-09-13 18:14:40 +02:00
Bernhard Posselt
dda579ccaa also store feeds per article when doing updates 2013-09-13 17:59:16 +02:00
Bernhard Posselt
2391e6bf62 fix #342 2013-09-12 01:00:32 +02:00
Bernhard Posselt
00c6e040de removed google importer on the serverside, add importer for articles 2013-09-12 01:00:32 +02:00
Bernhard Posselt
09f60e75c9 #342 implement export 2013-09-12 01:00:32 +02:00
Bernhard Posselt
ee861fa6dd extra work for postgres, fix #338 2013-09-07 23:00:34 +02:00
Bernhard Posselt
4a36e0e4af quickfix release 2013-09-07 20:42:24 +02:00
bastei
e57fe91d2a unit tests for commit a051d38 2013-09-06 18:40:24 +02:00
Bernhard Posselt
efa881fd42 trying to fix delete older than threshold query 2013-09-05 14:36:41 +02:00
bastei
772999e562 ArticleEnhancer unit test modified for multiple XPath-results 2013-09-05 02:51:20 +02:00
bastei
99ba646192 deleteReadOlderThanThreshold unit test fix 2013-09-05 02:34:45 +02:00
Bernhard Posselt
9315f0c6de typecast config values to default values of config object 2013-09-02 17:24:45 +02:00
Bernhard Posselt
d4a2bb9d15 fixing cors again 2013-09-02 16:20:36 +02:00
Bernhard Posselt
01e4a7a824 fix updater cleanup route 2013-09-02 15:46:37 +02:00
Bernhard Posselt
479d5e2e37 fix cors and cors unittests, fix #324 2013-09-02 14:45:37 +02:00
Bernhard Posselt
b512f04544 switch from json config to ini config 2013-09-02 03:19:42 +02:00
Bernhard Posselt
38297af11f move configuration values into a config file, fix #167 2013-09-02 02:43:32 +02:00
Bernhard Posselt
7036a1407c Throw proper error codes when creating invalid folders through the API, fix #297 2013-08-31 02:58:56 +02:00
Bernhard Posselt
4d7f53380d allow more than one article enhancer per url based on the url regex, also allow embedded youtube videos that start with // 2013-08-29 13:30:38 +02:00
Bernhard Posselt
3d46b715e9 add unittest for cors middleware 2013-08-29 00:20:12 +02:00
Bernhard Posselt
dec43f5e77 also allow authorization header 2013-08-28 23:50:59 +02:00
Bernhard Posselt
6191bf5339 add access control max age header 2013-08-28 23:23:25 +02:00
Bernhard Posselt
9e2975c629 add cors for API 2013-08-28 23:09:07 +02:00
Bernhard Posselt
2f67340e55 Possible backwards incompatible change by using the link provided by simplepie instead of the user for the url hash. This prevents duplication of the feed when adding a slightly different feed url which points to the same feed and allows a speedup from O(n) to O(1) for article enhanchers 2013-08-28 19:19:28 +02:00
Bernhard Posselt
a9eb72911b add enhancers for articles, fix #14 2013-08-28 17:26:38 +02:00
Bernhard Posselt
824f074ecb change email adress in copyright headers 2013-08-26 17:23:22 +02:00
Bernhard Posselt
2d4806ad4d also allow magnet urls in article links, fix #313 2013-08-14 01:57:39 +02:00
Bernhard Posselt
05d38a2b74 use a default batchsize of 20 if none given, fix #220 2013-08-06 14:11:03 +02:00
Bernhard Posselt
78b0bcc19a move sanitation of urls to the serverside code to also provide security for clients, fix #151 2013-08-06 13:56:32 +02:00
Bernhard Posselt
582dba7e94 strip all html tags from author and title, fix #287 2013-08-06 13:41:40 +02:00
Bernhard Posselt
1a74a758f9 also log errors when updating with update script 2013-08-05 17:38:34 +02:00
Bernhard Posselt
cb33a80b60 ignore update errors when using the update script 2013-08-05 16:39:09 +02:00
Bernhard Posselt
c67335d9f8 return proper response for update method 2013-08-05 16:08:53 +02:00
Bernhard Posselt
7332ec1e85 also require admin account for feed updating 2013-08-03 10:10:10 +02:00
Bernhard Posselt
08d9474aac require admin account for executing cron routes 2013-08-03 10:10:10 +02:00
Bernhard Posselt
9507e6a3ee make cron updater optional, created updater class for better updating handling, created a route for the api to clean up old stuff 2013-08-02 15:31:55 +02:00
Bernhard Posselt
27c7c7773e add api for updating feeds with a seperate cron job, #301 2013-08-02 14:34:08 +02:00
Bernhard Posselt
b655fc74e4 decode title twice to fix stupid feed authors' mistakes 2013-07-25 00:08:06 +02:00
Bernhard Posselt
9cad62a71f remove failing phpunit test, everything went as expected 2013-07-20 00:19:47 +02:00
Bernhard Posselt
3f12cc6ed9 check if travis fails properly on failing phpunit test 2013-07-20 00:17:26 +02:00
Bernhard Posselt
9807ee7d6b use current date when feed does not provide pubdates, disable article updates 2013-07-18 14:13:38 +02:00
Bernhard Posselt
b8a613351f increase timeout to from 10 to 60 seconds, fix #278 2013-07-11 11:21:19 +02:00
bluehaze
88de94d510 Modified testReadAll, testReadFolder and testReadAll SQL quieries 2013-07-01 14:33:34 +02:00
Bernhard Posselt
4affc4f485 add api annotations 2013-06-22 18:18:55 +02:00
Bernhard Posselt
3c7486272c Revert "fix #253, use current date when no pubdate is provided"
This reverts commit 7d1c2b2c2c.
2013-06-22 16:01:56 +02:00
Bernhard Posselt
20597eb1af also set last modified when marking feeds, folders, or all read, fix #256 2013-06-22 15:11:34 +02:00
Bernhard Posselt
7d1c2b2c2c fix #253, use current date when no pubdate is provided 2013-06-22 15:02:33 +02:00
Bernhard Posselt
73c02fdaa6 adjust routes for new api 2013-06-12 20:32:49 +02:00