1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-12-04 15:42:45 +01:00
Commit Graph

234 Commits

Author SHA1 Message Date
Bernhard Posselt
274034a633 put models into seperate folder 2014-05-19 16:00:08 +02:00
Bernhard Posselt
11f0246acd subscribe to more channels and fetch more feeds on init 2014-05-19 15:51:26 +02:00
Bernhard Posselt
928ccf49fb periodically update 2014-05-19 03:41:28 +02:00
Bernhard Posselt
90584316b8 add test for firstrun page 2014-05-19 02:22:02 +02:00
Bernhard Posselt
ded252d29e register publisher 2014-05-18 22:56:44 +02:00
Bernhard Posselt
2459002dcc add models 2014-05-18 22:49:30 +02:00
Bernhard Posselt
e2e9a79aa3 add model 2014-05-18 18:51:16 +02:00
Bernhard Posselt
88d5f941a0 fix e2e test 2014-05-16 21:14:07 +02:00
Bernhard Posselt
9247e21d8b fix e2e test 2014-05-16 20:46:56 +02:00
Bernhard Posselt
af1edf7516 try to fail e2e 2014-05-16 17:25:06 +02:00
Bernhard Posselt
4772ad4101 travis fixes 2014-05-15 17:16:36 +02:00
Bernhard Posselt
5eee2cc5a1 add ng animate 2014-05-15 15:36:11 +02:00
Bernhard Posselt
145ba6a487 add some notes 2014-05-15 14:17:55 +02:00
Bernhard Posselt
9d3de6d095 serve an example rss file for testing 2014-05-15 13:55:31 +02:00
Bernhard Posselt
3bd4247065 remove jshint because jslint is the same but stricter 2014-05-15 13:45:05 +02:00
Bernhard Posselt
dcbe710cf2 put login into prepare function 2014-05-15 13:36:51 +02:00
Bernhard Posselt
d6625bc445 fix protractor tests 2014-05-15 12:26:42 +02:00
Bernhard Posselt
83226fc3cb add first protractor test 2014-05-15 05:36:41 +02:00
Bernhard Posselt
3ce894af1e use markdown, refactor js 2014-05-15 03:00:53 +02:00
Bernhard Posselt
b567d32b0e first commit, nothing working yet 2014-05-14 19:22:55 +02:00
Bernhard Posselt
f333f6b38f fix js tests 2014-05-13 22:48:54 +02:00
Bernhard Posselt
10109c9ebe fix js tests to run without appframework 2014-04-12 01:56:59 +02:00
Bernhard Posselt
3b5d012b57 fix user settings request 2014-04-09 22:52:27 +02:00
Bernhard Posselt
17e1e167ba fix bug that would prevent you from creating folders 2014-04-08 22:43:37 +02:00
Bernhard Posselt
a3c78541d7 use generate url, fix #496 2014-04-08 22:29:12 +02:00
Bernhard Posselt
8750ce5d8c Merge pull request #502 from owncloud/routing
Update requests to use the full route. Refs. #496
2014-04-08 22:21:27 +02:00
Bernhard Posselt
68f5a01dc6 port javascript from appframework 2014-04-08 22:19:19 +02:00
Bernhard Posselt
7c6d727f6a fix errors related to persistence data change 2014-04-06 16:00:21 +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
Thomas Tanghus
e2dfa63781 Update requests to use the full route. Refs. #496 2014-03-26 21:07:40 +01:00
Bernhard Posselt
69ba0a6f92 dont collapse old item when opening a new one, fix #453 2014-03-08 21:54:06 +01:00
Bernhard Posselt
13f9849a68 debug 2013-12-20 23:02:29 +01:00
Bernhard Posselt
b5553a83db debug 2013-12-20 22:54:32 +01:00
Bernhard Posselt
0454021bc3 Revert "prevent multiple autopage requests, fix #201"
This reverts commit 67daf10747.
2013-12-20 17:30:51 +01:00
Bernhard Posselt
67daf10747 prevent multiple autopage requests, fix #201 2013-12-20 17:25:01 +01:00
Bernhard Posselt
015fbb80fc add compact view, fix #267, merry christmas ;D 2013-12-19 17:47:10 +01:00
Bernhard Posselt
6dc8dad23e add persistent option for compact view 2013-12-19 15:15:32 +01:00
Bernhard Posselt
11e170fc19 lint coffee 2013-12-19 13:59:39 +01:00
Davide Saurino
260beb6b12 Rename Feed: tests added 2013-11-16 12:51:13 +01:00
Bernhard Posselt
dbd13392dd use better wording for hiding/showing unread articles and feeds/folders, fix #366 2013-09-23 21:54:59 +02:00
Bernhard Posselt
00119cb60c Empty folders should probably be displayed
Edit
 fix #361
2013-09-23 02:11:54 +02:00
Bernhard Posselt
2937a633de also translate title, fix #350 2013-09-16 17:39:32 +02:00
Bernhard Posselt
bfa090ed5d dont do pull to refresh when loading in items 2013-09-14 02:44:32 +02:00
Bernhard Posselt
df8f6b5fee implement pull to refresh, fix #44 2013-09-14 02:22:44 +02:00
Bernhard Posselt
2391e6bf62 fix #342 2013-09-12 01:00:32 +02:00
Bernhard Posselt
4a8984a997 dont ignore vendor build directories 2013-09-09 16:37:04 +02:00
Bernhard Posselt
a84b978221 fix unit tests for phantomjs runner 2013-09-09 16:31:03 +02:00
Bernhard Posselt
2ec1f71203 more whitespace for oc6 2013-09-01 00:31:36 +02:00
Bernhard Posselt
824f074ecb change email adress in copyright headers 2013-08-26 17:23:22 +02:00
Xemle
ce88338925 Issue #166 Improve RESTful urls for web backend
Change create and delete urls for feeds and folders:

    POST /feed - Creates a feed
    DELETE /feed/:feedId - Deletes a feed
    POST /folder - Creates a folder
    DELETE /folder/:folderId - Deletes a feed
2013-05-27 17:01:48 +02:00
Bernhard Posselt
0f56370f8c fixed tests for delete 2013-05-10 16:15:53 +02:00
Bernhard Posselt
3843f75b49 undo queue fixes (unittests not adjusted yet: todo fix folderbusinesslayer and feedbusinesslayer specs) 2013-05-10 15:19:30 +02:00
Bernhard Posselt
019b286b8e Fix a bug that would mark the items on the right side as read regardless of feed or folder id 2013-05-09 14:03:37 +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
d648b26345 use 99 as maximum unread count to display, permanently display delete button for active feed 2013-05-04 16:44:22 +02:00
Bernhard Posselt
28c64c842f dont mark feed read if newest item id is 0 2013-04-29 13:30:02 +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
01210ea081 format unread count properly 2013-04-26 12:08:07 +02:00
Bernhard Posselt
f987751d8c order by pubdate on the client side fix #115 2013-04-26 11:52:50 +02:00
Bernhard Posselt
02436eae6d dont show unread articles when there are no feeds 2013-04-23 13:47:16 +02:00
Bernhard Posselt
df18314b32 added import from google reader, fix #80 2013-04-22 18:24:31 +02:00
Bernhard Posselt
b9099435cb add undo for feed and folder deletion, fix #56 2013-04-22 16:05:45 +02:00
Bernhard Posselt
ac5c8f5f4f add unittest for feedcontroller, fix #51, dont activate add button if input does not contain characters 2013-04-22 12:31:38 +02:00
Bernhard Posselt
6c7883d284 add a unittest for itemcontroller, fix #92 2013-04-22 11:15:51 +02:00
Bernhard Posselt
bcba311485 add http:// to feed url if its not specified, fix #111 and fix #61 2013-04-22 10:24:07 +02:00
Bernhard Posselt
4344888056 update all feeds in one go and dont trigger serverside update anymore on feedupdate, fix #90 2013-04-20 16:11:56 +02:00
Bernhard Posselt
67e00e798d added javascript for uploading google reader json files 2013-04-19 12:31:54 +02:00
Bernhard Posselt
402c534ee6 remove clientside hashing, fix #72 2013-04-18 17:47:03 +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
e48be020ad fix bug that prevented marking read if the highestitemid was 0 also clientside 2013-04-16 17:24:15 +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
8df6d36d49 move instantiation into file where object is declared, fix unittests that overwrote services for all unittests and caused them to fail 2013-04-16 15:23:12 +02:00
Bernhard Posselt
34342814a0 fix potential errors when fetching favicon that preven feed from being added, fix #66 by not shortening the url 2013-04-15 18:49:44 +02:00
Bernhard Posselt
0ed9131f3f add simple keyboard shortcuts, implemt keep unread fix #43, implement mark as read when scrolling fix #4 2013-04-15 18:31:30 +02:00
Bernhard Posselt
94e82411f7 fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +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
01d6e6a3df show real date on hover, more robust check for language support for relative dates 2013-04-15 14:44:48 +02:00
Bernhard Posselt
506dc652ff add support for relative dates, fix #28 2013-04-15 13:52:56 +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
b4818a403a also check https for favicons 2013-04-14 00:30:01 +02:00
Bernhard Posselt
33342f4ea6 add code to get favicons, fix #49 2013-04-13 23:56:41 +02:00
Bernhard Posselt
ce7cd121f4 fix import scoping issue that caused feeds not to be imported at times, set created folders to be opened by default 2013-04-13 22:48:31 +02:00
Bernhard Posselt
3149963853 remove debug console.log output from import 2013-04-13 17:37:19 +02:00
Bernhard Posselt
ee9e17ef17 implement opml import, fix #23 2013-04-13 17:28:38 +02:00
Bernhard Posselt
38e4b6d7e9 implement opml import, fix #23 2013-04-13 17:28:38 +02:00
Bernhard Posselt
e8767f7511 implement clientside update requests, fix #27 2013-04-12 12:25:58 +02:00
Bernhard Posselt
eda8fec587 autoselect folder when it was created and open folder if a feed gets added to it 2013-04-11 21:38:20 +02:00
Bernhard Posselt
b06fc20ddb allow users to discard folder and feed errors 2013-04-11 20:56:23 +02:00
Bernhard Posselt
ce6b20c59e properly clear the query cache 2013-04-11 20:32:34 +02:00
Bernhard Posselt
a9fb379b37 make moving feeds work, fix #22 2013-04-11 19:56:36 +02:00
Bernhard Posselt
f16b8e1d92 load new feed when it was added 2013-04-11 19:50:17 +02:00
Bernhard Posselt
aa208e38b6 fixed folderselection 2013-04-11 19:45:36 +02:00
Bernhard Posselt
9963975875 added more code for adding feeds and folders 2013-04-11 19:34:24 +02:00
Bernhard Posselt
59f42f80ad add a button for people to get out of add folder mode 2013-04-11 17:55:59 +02:00
Bernhard Posselt
b54b454f8a fixed feedmodel 2013-04-11 11:33:05 +02:00
Bernhard Posselt
50902e1c05 fixed foldermodel 2013-04-11 11:21:02 +02:00
Bernhard Posselt
ca0864dbcd prework for adding folders 2013-04-08 17:56:53 +02:00
Bernhard Posselt
e6d926de62 add link to feed which gets opened when clicked on the subheading of an item 2013-04-08 15:23:06 +02:00
Bernhard Posselt
4b169b4561 dont allow setting read and unread if it doesnt change the status 2013-04-05 23:53:56 +02:00
Bernhard Posselt
27f34bcb4b reload page after showall has been changed 2013-04-05 23:15:25 +02:00
Bernhard Posselt
685ff350eb reduce unreadcount instantly when marking as read, fixes #7 2013-04-05 14:27:14 +02:00
Bernhard Posselt
ae42bb1c5f fix collapsing of folders 2013-04-05 14:08:12 +02:00
Bernhard Posselt
1a169b29c1 fixed showall toggle and added methods to set items read and starred 2013-04-05 13:50:30 +02:00
Bernhard Posselt
a6d1cc915a implemented bare itembl methods 2013-04-05 12:07:04 +02:00
Bernhard Posselt
54a67849bd brought back feeds and folders 2013-04-05 11:38:12 +02:00
Bernhard Posselt
f8451ca565 bring back show all button 2013-04-05 11:22:38 +02:00
Bernhard Posselt
d001da3394 cleaned up feedcontroller 2013-04-04 21:57:17 +02:00
Bernhard Posselt
76267670f3 finished feedbl methods 2013-04-04 21:18:43 +02:00
Bernhard Posselt
346346e01c added most of the bl functionality 2013-04-04 19:59:06 +02:00
Bernhard Posselt
1ffedced05 fixes mappers by using the correct status condition 2013-04-04 17:21:43 +02:00
Bernhard Posselt
b723c12e4c improved and cleaned up js unittests 2013-04-04 15:23:58 +02:00
Bernhard Posselt
635a9d7795 split logic into business layers 2013-04-02 10:38:00 +02:00
Bernhard Posselt
eb532ff318 adding dudes 2013-03-27 20:44:20 +01:00
Bernhard Posselt
d97e2b1f0e fixed bug that didnt add feeds when they were deleted once 2013-03-27 18:07:48 +01:00
Bernhard Posselt
02869fdc16 adding folders works 2013-03-27 17:19:50 +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
03e4ec51b3 also update feedmodel if urlhash is the same 2013-03-27 12:49: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
7b2a214017 show title and author below feed 2013-03-26 19:48:55 +01:00
Bernhard Posselt
f7c8199380 viewing the first 20 items is now possible 2013-03-26 19:30:27 +01:00
Bernhard Posselt
d646f33a1a deleting and adding feeds works 2013-03-26 18:21:00 +01:00
Bernhard Posselt
c8d3f8fb46 added casting information for data objects 2013-03-26 18:04:02 +01:00
Bernhard Posselt
8e1e0f5281 added logic for adding feeds 2013-03-26 14:45:39 +01:00
Bernhard Posselt
cd3b748f65 added adding of feeds logic 2013-03-26 14:22:01 +01:00
Bernhard Posselt
866f5eef01 fix bad setter usage 2013-03-25 23:24:47 +01:00
Bernhard Posselt
0430a6ca38 added more feedcontroller methods 2013-03-25 21:50:49 +01:00
Bernhard Posselt
7ade1165dd added feedcontroller methods and tests 2013-03-25 21:13:09 +01:00
Bernhard Posselt
29b4fc1552 provide feedcontroller skeleton methods 2013-03-25 17:07:12 +01:00
Bernhard Posselt
b0f35f7f7b fixed js errors on load 2013-03-25 15:05:20 +01:00
Bernhard Posselt
d65fa80904 fixed dicontainer and added basic controllers 2013-03-23 16:08:39 +01:00
Bernhard Posselt
aa4916b829 wired routing 2013-03-21 12:56:14 +01:00
Bernhard Posselt
206510d126 fixed test for init 2013-03-18 12:41:57 +01:00
Bernhard Posselt
a8c1a0dd93 ported persistence to new request interface 2013-03-18 12:32:40 +01:00
Bernhard Posselt
8c5bf6f317 added rewritten js from appframwork-js branch 2013-03-18 11:49:26 +01:00