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

707 Commits

Author SHA1 Message Date
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