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

707 Commits

Author SHA1 Message Date
Bernhard Posselt
29000e2d6f move databases into dependencies section 2014-10-21 10:59:02 +02:00
Bernhard Posselt
1a31d82d61 fix #634 2014-10-14 09:37:59 +02:00
Bernhard Posselt
de2121d066 More coverage 2014-10-09 10:02:44 +02:00
Bernhard Posselt
462e62598d more coverage 2014-10-09 09:57:01 +02:00
Bernhard Posselt
13b13aeda1 more code coverage 2014-10-09 09:52:12 +02:00
Bernhard Posselt
b32fc30d68 even more code coverage 2014-10-09 09:33:59 +02:00
Bernhard Posselt
6fa7d6e4db more code coverage 2014-10-09 09:27:23 +02:00
Bernhard Posselt
8462bed782 cleanup test method in appconfig class, add test for item serialization 2014-10-09 09:09:59 +02:00
Bernhard Posselt
d9920cc529 add test for simplepie api factory 2014-10-08 23:09:00 +02:00
Bernhard Posselt
24b0e711d6 improve code coverage 2014-10-08 23:03:28 +02:00
Bernhard Posselt
5bcfc4e800 remove redundant owncloud version check 2014-10-08 22:57:18 +02:00
Bernhard Posselt
483d2551ea get rid of simplepie absolute url function and use Net url2 2014-10-08 15:24:19 +02:00
Bernhard Posselt
c20923f5ea more cleanup 2014-10-08 14:33:20 +02:00
Bernhard Posselt
1fccfbbf26 try to fix scrutinizer bugs 2014-10-08 14:28:18 +02:00
Bernhard Posselt
2c07af4842 remove dead proxy code from favicon fetcher 2014-10-08 13:41:53 +02:00
Bernhard Posselt
b5f4871da2 further cleanup 2014-10-04 18:22:12 +02:00
Bernhard Posselt
17e6d0483b first round of xpatharticleenhancer cleanup 2014-10-04 17:52:33 +02:00
Bernhard Posselt
96c7439c73 ignore zendxml result 2014-10-04 11:30:09 +02:00
Bernhard Posselt
f8e11569ef zendxml for global enhancer 2014-10-04 11:15:04 +02:00
Bernhard Posselt
26d950486b add default locale and developer names and move the method to the pagecontroller, @cosenal 2014-09-29 21:22:34 +02:00
Bernhard Posselt
1ca33d6b5a add author names to manifest file 2014-09-29 21:00:12 +02:00
Bernhard Posselt
650ef3331a fix manifest test 2014-09-29 20:53:19 +02:00
Alessandro Cosentino
885b506695 web app manifest 2014-09-29 13:45:17 -04:00
Bernhard Posselt
d4f19a20c6 require libxml 2014-09-29 14:08:27 +02:00
Bernhard Posselt
ff4abd968f fix scrutinizer issues 2014-09-22 13:20:33 +02:00
Bernhard Posselt
785a085a5d better specify yt url 2014-09-22 12:21:14 +02:00
Bernhard Posselt
19910df42e fix #454, allow global enhancers 2014-09-22 12:14:23 +02:00
Bernhard Posselt
04fbad4554 also use url in user agent 2014-09-16 20:42:57 +02:00
Bernhard Posselt
8e0cbf094e fix enclosure 2014-09-16 19:42:37 +02:00
Bernhard Posselt
242fdbf9fc add import articles 2014-09-14 04:17:32 +02:00
Bernhard Posselt
08df2433ca autopaging 2014-09-13 16:58:38 +02:00
Bernhard Posselt
e06aaac512 fix starred count for deleted folders, reload path when deleting 2014-09-13 12:46:29 +02:00
Bernhard Posselt
daaf87749d add css custom classes 2014-09-09 18:56:31 +02:00
Bernhard Posselt
03baa5ba68 reorganize templates 2014-09-09 15:09:34 +02:00
Bernhard Posselt
59db6aebde fix backend sorting 2014-09-05 14:00:24 +02:00
Bernhard Posselt
4490422601 fix tests 2014-09-01 11:15:08 +02:00
Bernhard Posselt
60c4dfbd96 add phpunit xml 2014-06-25 01:21:21 +02:00
Bernhard Posselt
5f0fd49ccd add phpunit xml 2014-06-25 01:18:53 +02:00
Bernhard Posselt
35d0d8750e more additions 2014-05-30 22:19:26 +02:00
Bernhard Posselt
79032a17fb add autopaging 2014-05-30 00:06:49 +02:00
Bernhard Posselt
cba949fb07 order by pubdate 2014-05-29 22:58:30 +02:00
Bernhard Posselt
4eaee79d9b implement #137 serverside 2014-05-23 01:25:55 +02:00
Bernhard Posselt
2b4da592f1 simplify star and read 2014-05-22 02:15:56 +02:00
Bernhard Posselt
dfba50bbba try to reload fpm 2014-05-16 16:26:42 +02:00
Bernhard Posselt
513f8e2e60 try port 9001 2014-05-16 16:16:08 +02:00
Bernhard Posselt
054aad5a69 fix coding style and dead code 2014-05-16 01:19:29 +02:00
Bernhard Posselt
d6130d150f remove travis-ci comment 2014-05-15 23:59:14 +02:00
Bernhard Posselt
5c4f88142c bind to port 80 2014-05-15 23:50:21 +02:00
Bernhard Posselt
f80972e745 try to install php-fpm 2014-05-15 23:39:40 +02:00
Bernhard Posselt
0f327d6105 use custom trait to fix tests on 5.4 2014-05-15 23:20:52 +02:00
Bernhard Posselt
407fbebc2d rename businesslayer to service 2014-05-15 03:41:49 +02:00
Bernhard Posselt
10d76fff64 fix operator for paging 2014-05-14 20:22:53 +02:00
Bernhard Posselt
b567d32b0e first commit, nothing working yet 2014-05-14 19:22:55 +02:00
Bernhard Posselt
d9acb9ed87 add serverside possibility to order by oldest first 2014-05-14 18:08:52 +02:00
Bernhard Posselt
160a0dfeba convert array() to [] 2014-05-14 17:32:49 +02:00
Bernhard Posselt
acc2df1251 use more flexible serializer that ignores nulls, non entity values and responses 2014-05-14 02:16:31 +02:00
Bernhard Posselt
2bfa9f22b7 fix unittests 2014-05-14 01:04:57 +02:00
Bernhard Posselt
7faa40dc59 fix some tests 2014-05-13 23:13:52 +02:00
Bernhard Posselt
b9de58c0c9 remove more old code 2014-05-13 22:10:02 +02:00
Bernhard Posselt
fb85040af6 move to new controller layout 2014-05-13 21:57:21 +02:00
Bernhard Posselt
39d1eeb119 remove more tests of classes that are now in core 2014-05-13 00:43:54 +02:00
Bernhard Posselt
da3e9717ba fix doc comments in feedfetcher 2014-05-13 00:20:58 +02:00
Bernhard Posselt
ac047d9eb6 remove unused import in itemapicontrollertest 2014-05-13 00:12:57 +02:00
Bernhard Posselt
be46f0bc10 remove dead code 2014-05-13 00:12:21 +02:00
Bernhard Posselt
6bceeea837 remove tests of built into oc7 classes 2014-05-13 00:10:36 +02:00
Bernhard Posselt
08647e4a79 remove more json responses 2014-05-13 00:09:40 +02:00
Bernhard Posselt
2d4b74884b remove dead code 2014-05-13 00:01:58 +02:00
Bernhard Posselt
a130805a04 remove failing jsonresponse from tests, this will be transformed into arrays anyways when port to oc7 happens 2014-05-12 23:55:42 +02:00
Bernhard Posselt
308224eada remove more unused code 2014-05-12 23:42:56 +02:00
Bernhard Posselt
f01a7748ba remove more unused code 2014-05-12 23:35:40 +02:00
Bernhard Posselt
937f025137 remove more unused code 2014-05-12 23:26:59 +02:00
Bernhard Posselt
874c469e02 remove more dead code 2014-05-12 23:16:08 +02:00
Bernhard Posselt
a72ed5f93f remove dead code 2014-05-12 22:57:53 +02:00
Bernhard Posselt
1fbe0ea4cf more style fixes 2014-05-12 22:45:24 +02:00
Bernhard Posselt
22ce7b5640 version bump 2014-05-10 00:08:48 +02:00
Bernhard Posselt
32cab8ed69 also validate database types 2014-05-02 22:11:14 +02:00
Bernhard Posselt
e231ba2ec1 add custom app.json config and parser 2014-05-02 21:34:17 +02:00
Bernhard Posselt
9c9625b0f6 add parser for app.json file, parsing jobs and hooks still left 2014-05-02 17:25:05 +02:00
Bernhard Posselt
8c58a41566 fix updater url 2014-05-01 23:04:08 +02:00
Bernhard Posselt
b9f3136f3a get rid of unneeded settings core class and inject it from the core container 2014-04-20 12:14:42 +02:00
Bernhard Posselt
ffa43f3c3b update headers to be compatible with phpdoc, slim down license text to make code more visible 2014-04-19 18:16:55 +02:00
Bernhard Posselt
517e4ca543 split up api class for easier testing and clearer code 2014-04-19 13:21:11 +02:00
Bernhard Posselt
7083a7e1fd add unittest for method annotation reader 2014-04-12 00:20:37 +02:00
Bernhard Posselt
836dfebf72 build http basic auth rather than requiring it from the user to write the correct auth string into the config 2014-04-10 19:38:52 +02:00
Bernhard Posselt
5befce51ef add proxy support based on simplepie pr, fix #491 2014-04-10 19:15:31 +02:00
Bernhard Posselt
db545b430a add proxy settings to config 2014-04-10 17:06:27 +02:00
Bernhard Posselt
b33d0cc52c fix api updated request 2014-04-09 23:05:50 +02:00
Bernhard Posselt
91b154ea24 remove last reference from appframework, fix routing issue 2014-04-09 22:52:28 +02:00
Bernhard Posselt
339b427121 only set passed settings 2014-04-09 22:52:27 +02:00
Bernhard Posselt
6e0de4208c remove usersettingscontroller in favor of pagecontroller, simplify settings requests 2014-04-09 22:52:27 +02:00
Bernhard Posselt
643fa4624d port to internal controller, some routes are still broken 2014-04-09 22:52:27 +02:00
Bernhard Posselt
4637dcc458 migrate security annotations, please review 2014-04-09 22:52:27 +02:00
Bernhard Posselt
21bd539847 ported to owncloud internal appframework classes, confused with how to start the app and define deps 2014-04-09 22:52:26 +02:00
Bernhard Posselt
fcef0800a2 fix article enhancers by providing the correct useragent 2014-04-09 12:57:33 +02:00
Bernhard Posselt
5513e39c7b remove html tags from feed title 2014-04-08 23:18:22 +02:00
Bernhard Posselt
31ae116fe4 migrated database, utility, bootstrap from appframework 2014-04-08 18:50:10 +02:00
Bernhard Posselt
3904320f95 fix probably broken sql query on sqlite and postgres for deleting items after a folder was deleted 2014-04-06 22:16:39 +02:00
Bernhard Posselt
d70f905f91 fix deletion of items from users on sqlite 2014-04-06 22:05:09 +02:00
Bernhard Posselt
dbd18a2099 get rid of deprecated getParams and renderJSON method to ease transition to built in appframework 2014-04-06 15:26:58 +02:00
Bernhard Posselt
2879f07476 depend on oc6, bind correct types, fix #457 2014-04-04 17:33:08 +02:00
Bernhard Posselt
57e6103187 register hooks for deleting feeds, folders and items if a user is deleted, fix #468 2014-04-04 03:09:26 +02:00
Davide Saurino
d67b77ac25 Test for renaming feed API feature 2014-03-13 00:00:03 +01:00
Bernhard Posselt
99af7d32d4 fix XSS when importing articles, speed up update and adding of feeds by only purifying content that will be added to the db 2014-02-11 16:05:58 +01:00
Bernhard Posselt
c638ef6f06 disable simplepie caching, see https://github.com/simplepie/simplepie/issues/345#issuecomment-34718099 2014-02-11 02:37:48 +01:00
Bernhard Posselt
32b5d57dbc fix broken sql statement when deleting folders 2014-02-08 20:59:08 +01:00
Robin Appelman
d38f2576b2 fix unit tests 2014-01-23 22:47:52 +01:00
Bernhard Posselt
28d28d8c9e add serverside infrastructure for setting and remembering compact view 2013-12-19 14:09:59 +01:00
Davide Saurino
260beb6b12 Rename Feed: tests added 2013-11-16 12:51:13 +01:00
Robin Appelman
9666a55c07 adjust tests to xpathenhancer fallback behaviour 2013-10-20 15:48:48 +02:00
Bernhard Posselt
b679b8c031 always open links in new tab 2013-09-27 20:52:20 +02:00
Bernhard Posselt
7675b0184f external to api folder 2013-09-27 20:06:58 +02:00
Bernhard Posselt
d6066c3820 use seperate direcotires for article enhancers and fetchers 2013-09-27 20:03:16 +02:00
Bernhard Posselt
c56d433ca4 create a seperate config file for regex enhancers 2013-09-26 20:54:56 +02:00
bastei
ca0b341401 ArticleEnhancer: convert relative urls to html characters 2013-09-26 06:45:47 +02:00
Bernhard Posselt
2f651f709d 64bit integers for everyone 2013-09-22 15:09:22 +02:00
Bernhard Posselt
7d7511714d Merge pull request #358 from bastei/relativeurls
ArticleEnhancer: Transform relative to absolute URLs
2013-09-20 20:18:13 -07:00
bastei
ea8e552ccb ArticleEnhancer: Transform relative to absolute URLs 2013-09-21 04:27:13 +02:00
Bernhard Posselt
3a13a680a3 also group by updates_per_article column 2013-09-20 20:06:12 +02:00
Bernhard Posselt
483ef49d7c manually convert ' to ' because its not built into PHP for author an title 2013-09-16 17:27:45 +02:00
David
8b380a09ff Add ThemeRepublic Enhancer 2013-09-14 23:07:23 +02:00
Bernhard Posselt
96a3156a09 allow inserted urls again 2013-09-14 19:51:51 +02:00
Bernhard Posselt
df8f6b5fee implement pull to refresh, fix #44 2013-09-14 02:22:44 +02:00
Bernhard Posselt
6df3b51c55 fix sql 2013-09-13 21:34:54 +02:00
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
Bernhard Posselt
836c65b6fa move to new restful api 2013-06-12 20:32:49 +02:00
Bernhard Posselt
4faa08d708 add annotations for api controllers 2013-06-12 14:50:25 +02:00
Bernhard Posselt
653b9f82ab implement starring and marking as read for multiple items 2013-06-11 00:25:00 +02:00
lsmooth
24299e4db2 don't update faviconLink on feed update 2013-06-09 01:08:12 +02:00
Bernhard Posselt
6475bf5da4 also consider deleted folders and feeds in the feed update, #214 2013-06-01 11:00:25 +02:00
Bernhard Posselt
242555e659 fixed a bug when deleting folders 2013-05-24 17:15:51 +02:00
Bernhard Posselt
37b48d2aef fix a bug that would not display items of feeds without folders 2013-05-24 15:28:42 +02:00
Bernhard Posselt
0fe7d8dd7e Fix bug that would still show items after its feed or folder has been marked as deleted, fix #196 2013-05-24 15:09:41 +02:00
Bernhard Posselt
d529559942 dont use table in subselect of mark read query to not fail on mysql, fixes #173 2013-05-24 13:06:22 +02:00
Bernhard Posselt
031ba0ce52 When creating a feed or folder the it should purge the deleted
Edit
fix #176
2013-05-21 21:10:45 +02:00
s17t.net
75bf8ed4b2 Fix #174 2013-05-18 18:53:03 +02:00
Bernhard Posselt
347000cc2d use a deleted flag for deleted feeds to handle undo 2013-05-10 13:30:00 +02:00
Bernhard Posselt
c487bfe233 fixed acceptance tests 2013-05-10 10:58:14 +02:00
Bernhard Posselt
59069e85a2 also send newest item id when creating a feed from the api 2013-05-09 13:44:16 +02:00
Bernhard Posselt
b8b4dfb496 only make one request for mark all read and mark folder read, fix #171, fix a bug that prevented readding of feeds when its folder was deleted, fix a bug that would not allow mark read for feeds when the app was started for the first time 2013-05-09 12:57:35 +02:00
Bernhard Posselt
fe0de2ab84 further state precondition 2013-05-08 12:21:45 +02:00
Bernhard Posselt
855f0a3a5e move hover check into precondition 2013-05-08 12:20:36 +02:00
Bernhard Posselt
7a372ed40a added test for sliding up the form 2013-05-08 12:18:24 +02:00
Bernhard Posselt
bc02ce6a31 small change 2013-05-07 22:03:50 +02:00
Bernhard Posselt
632898d273 make host configurable 2013-05-07 21:36:19 +02:00
Bernhard Posselt
e83462f764 typo fix 2013-05-07 21:18:11 +02:00
Bernhard Posselt
f08dd69dd1 added comment 2013-05-07 21:16:58 +02:00
Bernhard Posselt
112285d423 fix visibility test 2013-05-07 21:16:10 +02:00
Bernhard Posselt
7b33f0b82c fixed acceptance tests 2013-05-07 20:57:55 +02:00
Bernhard Posselt
6fa3308b9e added acceptancetest suite 2013-05-07 17:50:37 +02:00
Bernhard Posselt
e52e9332df added first cucumber steps and definitions 2013-05-07 13:06:39 +02:00
Bernhard Posselt
89de367fc8 also sanitize imported json 2013-05-04 01:04:03 +02:00
Bernhard Posselt
10831dd274 use html purifier for sanitation 2013-05-04 00:15:41 +02:00
Bernhard Posselt
7b628a3e4d log feed errors 2013-05-03 15:03:27 +02:00
Bernhard Posselt
e241d438bb also provide the app version 2013-05-03 10:41:14 +02:00
Bernhard Posselt
b8a2a02744 implemented last api method, fix #105 2013-05-02 22:46:54 +02:00
Bernhard Posselt
d2e9cbd3c9 implement item api methods 2013-05-02 22:11:59 +02:00
Bernhard Posselt
ec8394eda1 add read button 2013-05-02 21:03:33 +02:00
Bernhard Posselt
2b42d8bd9e send correct folder exists error code 2013-05-02 20:49:41 +02:00
Bernhard Posselt
20d4c2911f implemented folder api methods 2013-05-02 20:42:39 +02:00
Bernhard Posselt
f29881d554 force links to open in new tabs, fix #146 2013-05-02 20:01:35 +02:00
Bernhard Posselt
5ae697ac9d added proper exception handling for all controllers and businesslayer 2013-05-02 19:40:10 +02:00
Bernhard Posselt
e9878cb5b5 added api method for getting items 2013-05-02 18:45:10 +02:00
Bernhard Posselt
3d405e0541 removed useless get calls to api 2013-05-02 18:04:14 +02:00
Bernhard Posselt
f8bdf57881 add test for api result 2013-05-02 17:47:07 +02:00
Bernhard Posselt
51d71796ad move external api stuff to appframework 2013-05-02 17:30:51 +02:00
Bernhard Posselt
d7014ce74f added small result wrapper 2013-05-02 17:23:13 +02:00
Bernhard Posselt
c8c01278d8 implement all routes and function bodies for api calls 2013-05-02 16:55:11 +02:00
Bernhard Posselt
c5dde50a71 implemented first feeds get all method 2013-05-02 13:45:34 +02:00
Bernhard Posselt
2dfab0dbec added toAPI methods for folder and feed 2013-05-02 12:53:17 +02:00
Bernhard Posselt
0da3c160df add serialize method for api 2013-05-02 12:44:37 +02:00
Bernhard Posselt
3fc18156ae go back to order by id, fix #138, use a newest item id to prevent marking items as read that the user didnt see yet fix #141, also update the starred count periodically 2013-04-29 13:30:01 +02:00
Bernhard Posselt
cd2488ee42 prefer web favicon over feed favicon, fix #101 2013-04-27 14:00:52 +02:00
Bernhard Posselt
f987751d8c order by pubdate on the client side fix #115 2013-04-26 11:52:50 +02:00
Bernhard Posselt
5cc47b4f41 use last_modified column for finding new items (so we also see if they were updated or starred), use offset to paginate rather than item id 2013-04-26 11:52:50 +02:00
Bernhard Posselt
4ca4b190c8 import in reversed order because first item is the newest one, #80 2013-04-25 12:03:21 +02:00
Bernhard Posselt
5a0e774ad8 fix unittests 2013-04-25 10:44:25 +02:00
Bernhard Posselt
830398682f dont add items with no title or guid or url and handle non existent pubdate 2013-04-22 18:38:29 +02:00
Bernhard Posselt
df18314b32 added import from google reader, fix #80 2013-04-22 18:24:31 +02:00
Bernhard Posselt
5f71477e1a added unittest for author mail 2013-04-22 10:14:35 +02:00
Bernhard Posselt
1140199677 if feed has no title, use its url, fix #108 2013-04-21 13:53:22 +02:00
Bernhard Posselt
252168aceb update items when they are being set read or starred 2013-04-20 23:44:22 +02:00
Bernhard Posselt
18b523b808 Also load the newest feed data when you load a feed
Edit
 fix #102
2013-04-20 21:51:42 +02:00
Robin Appelman
b4defde566 Add test case for feed items with missing pubDate 2013-04-20 20:16:28 +02:00
Bernhard Posselt
afe9467f17 also test for limit parameter 2013-04-20 15:12:08 +02:00
Bernhard Posselt
381f8efd10 set autopurge limit to 200 and purge per feed rather than per user or per all items, fix #98 2013-04-20 15:09:15 +02:00
Bernhard Posselt
e0091e293b added test for opmlexporter fix #58 2013-04-19 15:38:36 +02:00
Bernhard Posselt
823f57eafe added unittest for opmlexporter 2013-04-19 15:31:33 +02:00
Bernhard Posselt
9bb05d9733 also html decode author 2013-04-19 15:00:25 +02:00
Bernhard Posselt
a841116494 added some hints for importing google reader items 2013-04-19 14:42:48 +02:00
Bernhard Posselt
76cc72393a added a way to prevent feed from being updated 2013-04-19 13:01:44 +02:00
Bernhard Posselt
3e9a13efc9 added skeletons for google reader import 2013-04-19 11:42:40 +02:00
Bernhard Posselt
ffea36001e Merge pull request #83 from owncloud/unkown-pubdate
Don't always mark feed items as unread if the pubDate of the item is unknown
2013-04-18 12:09:26 -07:00
Robin Appelman
826e345c85 Add test case for feed items with unknown pubdate 2013-04-18 16:40:56 +02:00
Bernhard Posselt
daa2c7dea5 added test for fetcher class fix #47 2013-04-18 15:56:12 +02:00
Bernhard Posselt
1fbcd35ac8 always return the unreadcount when marking read to set update request as 0, dont create new feeds that only consist of unreadcount updates 2013-04-17 10:51:04 +02:00
Bernhard Posselt
cdbf8ca56d dont add items if they are already in the database 2013-04-16 23:52:23 +02:00
Bernhard Posselt
42ca456a05 fix bug that prevented marking read if the highestitemid was 0 2013-04-16 17:16:42 +02:00
Bernhard Posselt
3b425b0a46 dont care if starred items are read or unread, always show them 2013-04-16 16:08:55 +02:00
Bernhard Posselt
dee17d002d dont show unread count when it is 0, dont bold read feeds, implemented autopaging 2013-04-16 15:23:12 +02:00
Bernhard Posselt
464ff6c4c1 renamed bl to businesslayer, handle exception in update routine, fix #69 2013-04-15 16:02:32 +02:00
Bernhard Posselt
360966ab4b get language from server and save it in a language object, dont use a seperate file for instantiating controllers 2013-04-15 12:06:14 +02:00
Bernhard Posselt
33342f4ea6 add code to get favicons, fix #49 2013-04-13 23:56:41 +02:00
Bernhard Posselt
a069add71e implement export, needs proper unittests though, fix 31 2013-04-12 14:53:02 +02:00
Bernhard Posselt
e8767f7511 implement clientside update requests, fix #27 2013-04-12 12:25:58 +02:00
Bernhard Posselt
e9eaa93826 added return value tests for controllers 2013-04-12 12:00:38 +02:00
Bernhard Posselt
3baa8b51e4 implement mark as read for feeds and folders, fix #29 2013-04-12 11:54:49 +02:00
Bernhard Posselt
80707aa9e3 translate folder and feed errors and added css and template code for creating folders and feeds and what happens when an error gets triggered 2013-04-11 15:48:50 +02:00
Bernhard Posselt
4c7c12584c fixed feedbl unittests 2013-04-09 10:37:47 +02:00
Bernhard Posselt
f704dfe333 brought back starring of feeds 2013-04-05 23:43:15 +02:00
Bernhard Posselt
2d8f76d28f fix statusflag db query bugs and unittests 2013-04-05 22:56:22 +02:00
Bernhard Posselt
c6a279128e fix #37 by fixing multiple, hard to track down typos 2013-04-05 16:06:04 +02:00
Bernhard Posselt
76b3dcd712 small work on integration test 2013-04-05 11:01:37 +02:00
Bernhard Posselt
061d70dd2e moved 2013-04-05 10:27:56 +02:00
Bernhard Posselt
7171a3dba0 moved tests into unit directory 2013-04-05 10:27:28 +02:00
Bernhard Posselt
1ffedced05 fixes mappers by using the correct status condition 2013-04-04 17:21:43 +02:00
Bernhard Posselt
1f2391b0cd move autopurge to itembl 2013-04-04 13:23:03 +02:00
Bernhard Posselt
3ec631a5c7 autopurge all read items which are not starred if there are more than 1000 2013-04-04 13:13:25 +02:00
Bernhard Posselt
4b994c97ad autopurge all read items which are not starred if there are more than 1000 2013-04-04 13:12:07 +02:00
Bernhard Posselt
2cffff339b removed useless settings 2013-04-03 12:25:48 +02:00
Bernhard Posselt
76fd21bccd added simple twitter fetcher implementation 2013-04-02 13:48:16 +02:00
Bernhard Posselt
c795c0aa10 fix #11 by not relying on db exceptions anymore since there is no fking proper exception handling in the owncloud db code and stuff will break. instead update when item has been found and if not insert 2013-04-02 12:04:45 +02:00
Bernhard Posselt
3350ed7caf added pluggable fetchers 2013-04-02 11:09:33 +02:00
Bernhard Posselt
bf93d491ce correctly save last viewed feed 2013-03-27 18:21:30 +01:00
Bernhard Posselt
78674ebc36 star by guid hash and feedid to also star an item if it has been updated in the meantime. read still only works on the current version of the item, that means if an item is updated on the server side and an older version is being read on the server it will not be marked as read 2013-03-27 13:47:53 +01:00
Bernhard Posselt
003ab9ca77 delete existing item on update 2013-03-27 13:02:18 +01:00
Bernhard Posselt
02ae36eba3 fixed mark all unread serverside (was missing highestitemid, dont use lastmodified to compare for new versions but use the highest item id. if items are updated and the guidHash and feedId are the same then it will be deleted and newly inserted to make the lastmodified feasable 2013-03-27 12:26:04 +01:00
Bernhard Posselt
f7c8199380 viewing the first 20 items is now possible 2013-03-26 19:30:27 +01:00
Bernhard Posselt
c8d3f8fb46 added casting information for data objects 2013-03-26 18:04:02 +01:00
Bernhard Posselt
b553ff3903 fix referential integrity 2013-03-26 11:44:36 +01:00
Bernhard Posselt
d0fde9dbce also use feedid because feed + guid hash are unique together 2013-03-26 11:08:14 +01:00
Bernhard Posselt
866f5eef01 fix bad setter usage 2013-03-25 23:24:47 +01:00
Bernhard Posselt
c16402308b remove prefix 2013-03-25 14:43:30 +01:00
Bernhard Posselt
0f9e0e3de7 implemented feed update 2013-03-25 12:54:38 +01:00
Bernhard Posselt
77ec6f08aa updated backgroundjob 2013-03-25 11:48:15 +01:00
Bernhard Posselt
df07df3b29 set last viewed feed type and id and added casts to int for parameters 2013-03-25 10:43:05 +01:00
Bernhard Posselt
842b39c380 various bugfixes 2013-03-23 16:43:50 +01:00
Bernhard Posselt
ecc4a533cc use all articles if active feed is null 2013-03-23 16:18:43 +01:00
Bernhard Posselt
2956c5c673 finished itemmappers 2013-03-23 15:17:46 +01:00
Bernhard Posselt
7837e71f70 added index template 2013-03-23 14:37:49 +01:00
Bernhard Posselt
3455fe9cb7 finished findall methods in itembl 2013-03-23 13:24:35 +01:00
Bernhard Posselt
f4f27ab927 also pass in showall value to items 2013-03-23 12:27:36 +01:00
Bernhard Posselt
29571aff34 finished itemcontroller 2013-03-23 01:23:47 +01:00
Bernhard Posselt
ddfe6fd4de check if active feed or folder exist 2013-03-22 23:23:08 +01:00
Bernhard Posselt
46cbbb1a1e finished usersettingscontroller 2013-03-22 23:04:44 +01:00
Bernhard Posselt
80644c69e0 finished get starred count 2013-03-22 22:29:58 +01:00
Bernhard Posselt
452d91ee39 slim down select queries 2013-03-22 21:49:36 +01:00
Bernhard Posselt
f9107664b0 made mappers faster by only joining the relevant rows for each user 2013-03-22 21:39:39 +01:00
Bernhard Posselt
91a327f5c6 implemented feedRead 2013-03-22 16:08:19 +01:00
Bernhard Posselt
585667bdf4 dont add feed twice 2013-03-22 13:47:45 +01:00
Bernhard Posselt
196177a0ca removed mapper parent class and use the new mapper methods from the framework 2013-03-22 13:20:24 +01:00
Bernhard Posselt
7a579b42fa added creating feeds 2013-03-22 12:35:30 +01:00
Bernhard Posselt
13eed83a10 renamed utils into something more accurated 2013-03-22 11:18:16 +01:00
Bernhard Posselt
e674fe47e6 disallow creating and renaming of folders that already exist 2013-03-21 23:29:54 +01:00
Bernhard Posselt
b6adabf245 finished foldercontroller 2013-03-21 23:07:03 +01:00
Bernhard Posselt
7ed948b19b finished open and collapse in foldercontroller 2013-03-21 21:48:24 +01:00
Bernhard Posselt
a10b775b95 fixed itemmapper test 2013-03-21 21:08:54 +01:00
Bernhard Posselt
c8bdd9c3fb finished feedcontroller 2013-03-21 20:38:20 +01:00
Alessandro Cosentino
18dda32e14 Merge branch 'master' of github.com:owncloud/news 2013-03-21 18:00:30 +01:00
Alessandro Cosentino
25177ab493 not working itemmapper with tests 2013-03-21 18:00:07 +01:00
Bernhard Posselt
e8abe7886d added all controller methods and tests for the annotations 2013-03-21 17:53:30 +01:00
Bernhard Posselt
f4fc7f07e7 added feed annotation test 2013-03-21 17:36:19 +01:00
Alessandro Cosentino
3e1225f30a Merge branch 'master' of github.com:owncloud/news 2013-03-21 17:35:02 +01:00
Alessandro Cosentino
fadceb308d intermediate mapper layer with test 2013-03-21 17:34:43 +01:00
Bernhard Posselt
2c0cbeac0d added additional empty methods 2013-03-21 17:07:57 +01:00
Bernhard Posselt
bc7b72cc46 dont fail on empty test 2013-03-21 16:33:29 +01:00
Bernhard Posselt
ac84b27965 reorganize folder 2013-03-21 16:32:36 +01:00
Bernhard Posselt
f475d882d0 also get unread count when fetching feeds from a user 2013-03-21 16:18:43 +01:00
Bernhard Posselt
39d3bc61d8 added all controllers 2013-03-21 13:16:16 +01:00
Alessandro Cosentino
93cf89a858 findAll All All 2013-03-21 00:31:58 +01:00
Bernhard Posselt
964383cc7a welcome in the age of newness 2013-03-21 00:31:48 +01:00
Bernhard Posselt
ef2af010a6 finished folder businesslayer 2013-03-21 00:31:41 +01:00
Bernhard Posselt
6dab27a668 be nice 2013-03-21 00:31:18 +01:00
Bernhard Posselt
b9d98e336c finished foldermapper 2013-03-20 19:40:17 +01:00
Bernhard Posselt
c26baa1eb7 finished feedmapper 2013-03-20 19:30:05 +01:00
Bernhard Posselt
9c78fd8295 added feedmaper 2013-03-20 19:21:47 +01:00
Bernhard Posselt
8f215ec03b tests 2013-03-20 19:06:17 +01:00
Alessandro Cosentino
eacd2a1755 adds findAllFromFolder 2013-03-20 19:04:34 +01:00
Alessandro Cosentino
843f5e0fd2 findAll functions in the itemmapper 2013-03-20 18:24:21 +01:00
Alessandro Cosentino
46a7c39bcb test find method 2013-03-20 14:28:29 +01:00
Bernhard Posselt
0f0a7f0c47 moved entity to the appframework 2013-03-20 12:19:17 +01:00
Bernhard Posselt
5a32f7a956 added tablename for entites 2013-03-20 12:03:02 +01:00
Bernhard Posselt
d18ab3212a added another entity test 2013-03-20 11:34:06 +01:00
Bernhard Posselt
070abc32e5 finished item 2013-03-20 11:05:15 +01:00
Bernhard Posselt
fa3a2e469d throw exceptions when attributes dont exist 2013-03-20 10:46:37 +01:00
Bernhard Posselt
acb40d091f correctly map table column names to properties 2013-03-20 10:23:04 +01:00
Bernhard Posselt
d96e794673 added getter and setter automation and added translation for database fields 2013-03-19 21:24:33 +01:00
Bernhard Posselt
50e00916ce added namespaced indices for the newsapp 2013-03-19 20:32:44 +01:00
Bernhard Posselt
966af078df added mapper spec 2013-03-19 19:49:25 +01:00
Bernhard Posselt
4e077697a1 added itemmapper test 2013-03-19 19:20:42 +01:00
Bernhard Posselt
3cacc9c90d added entity baseclass and pull deps if phpunit is run 2013-03-19 18:41:42 +01:00
Bernhard Posselt
172de781cb dont run broken tests 2013-03-16 21:46:05 +01:00
Bernhard Posselt
99cc7013f9 spaces to tabs 2013-02-10 11:16:32 +01:00
Bernhard Posselt
2d293fea43 added another exception for collapsing folders 2013-02-10 11:16:17 +01:00
Bernhard Posselt
7aaaa14b83 added the collapse method for the foldercontroller + tests 2013-02-02 15:58:40 +01:00
Bernhard Posselt
f831169672 added ajax annotation 2013-02-02 00:28:09 +01:00
Bernhard Posselt
374ad065e2 added returns json test 2013-02-02 00:25:39 +01:00
Bernhard Posselt
d4064fe2c7 added annotations test 2013-02-02 00:23:55 +01:00
Bernhard Posselt
703502d7c4 spaces to tabs 2013-02-02 00:21:22 +01:00
Bernhard Posselt
ac423f6ca0 added foldercontroller + test 2013-02-02 00:20:41 +01:00
Bernhard Posselt
3d0ef34fca removed useless and failing unittest 2012-11-11 22:41:32 +01:00
Bart Visscher
f77e9f2408 Add loadApp to test cases 2012-10-26 16:33:26 +02:00
Bart Visscher
1e37bc139b Whitespace cleanup 2012-10-14 21:15:47 +02:00
Bernhard Posselt
4dd641cb6f fixed a bug that would prevent all new items from being loaded, fixed a bug that would send the wrong starred count to the webinterface 2012-10-14 16:51:12 +02:00
Bernhard Posselt
d085a688af removed change that caused errors 2012-10-13 00:05:18 +02:00
Bernhard Posselt
294333e41f added drag and drop 2012-08-30 01:36:20 +02:00
Bernhard Posselt
3969be1203 more unittests for menu.js 2012-08-30 00:00:20 +02:00
Bernhard Posselt
daa76d848d added click handlers and buttons for menu.js 2012-08-29 23:12:14 +02:00
Bernhard Posselt
0f48a14dad added js tests and menu.js improvements 2012-08-29 21:37:11 +02:00