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
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