Commit Graph

58 Commits

Author SHA1 Message Date
Shinokuni
572f1f7c45 Add create account activity with login flow 2019-05-18 13:57:01 +02:00
Shinokuni
062e5a6050 synchronize read/unread changes 2019-05-17 11:37:20 +02:00
Shinokuni
3119d44264 Add account entity 2019-05-15 22:45:43 +02:00
Shinokuni
970c14581b Add normal sync calls in NextNewsAPI 2019-05-14 14:10:14 +02:00
Shinokuni
ac030c146f Fix authentification failure, sort items by date and add better handling for null values 2019-05-12 22:42:45 +02:00
Shinokuni
92ce491771 Requesting folders, feeds and items from Nextcloud News now works 2019-05-12 16:16:27 +02:00
Shinokuni
3903bb6eb1 Starting to implement nextcloud news Rest API 2019-05-10 15:41:11 +02:00
Shinokuni
60d968d367 Migrate to androidx 2019-05-10 13:24:02 +02:00
Shinokuni
245719e2f6 Use okHttpClient as a singleton 2019-04-25 21:29:54 +02:00
Shinokuni
b9a31d4652 Implement paging for the items list and refactor the filter/sort logic using more queries 2019-04-20 13:16:25 +02:00
Shinokuni
75a65730f7 A RSS 2.0 feed item now needs at least the guid and title tags to be accepted by Readrops 2019-03-28 17:06:24 +01:00
Shinokuni
d20d1e3ed1 Minor diverse changes 2019-03-28 16:56:55 +01:00
Shinokuni
fc369888ac sync now returns potential errors 2019-03-13 09:32:14 +01:00
Shinokuni
604c56ebc0 replace callback by RSSQueryResult object 2019-03-12 16:23:14 +01:00
Shinokuni
0869631d95 Starting re-implementing feed and item insertion process, for better flexibility and control over results 2019-03-11 19:12:30 +01:00
Shinokuni
18e626a303 Add edit feed activity 2019-03-10 15:19:02 +01:00
Shinokuni
9e13b3aca0 Fix rss request bug 2019-02-22 12:22:49 +00:00
Shinokuni
ba4a0f0db0 Add support for direct feed urls 2019-02-21 21:58:46 +00:00
Shinokuni
6a05cd6bbf Add support for alternative tags author and dc:date. Fix date parsing bug 2019-02-21 21:00:28 +00:00
Shinokuni
880010b356 Fix enclosure field simplexml annotation 2019-02-19 18:37:19 +00:00
Shinokuni
c290551917 Improve rss enclosure parsing 2019-02-19 11:47:59 +00:00
Shinokuni
2211017472 Improve atom link matching 2019-02-18 15:36:39 +00:00
Shinokuni
81d5d7a80a Support more favicon cases 2019-02-15 12:22:35 +00:00
Shinokuni
76aef3916a improve image detection by providing only body children nodes 2019-02-14 22:27:36 +00:00
Shinokuni
9bf6e2613f Add support for another RSS 2.0 date format (really close to the main one) and media enclosure tag 2019-02-11 21:42:55 +00:00
Shinokuni
518cada73f Fixing RSS content tag parsing, there may be more than one 2019-02-11 18:16:01 +00:00
Shinokuni
c9b3e3f09f Delete image from content or description only if it's a cover image, so an img tag surrounded by a p or div tag a the beginning of the string 2019-02-10 21:36:38 +00:00
Shinokuni
b7ac444be0 Fixing atom format very annoying urls problem, by setting them manually just after parsing 2019-02-08 20:28:10 +00:00
Shinokuni
cc88fc8334 Fix rss 2.0 creator tag support and add it to the item activity 2019-02-08 15:12:12 +00:00
Shinokuni
9042b9a039 Adding Item view activity with very basic collapsing toolbar layout and webview to render item html content. Big improvements needed. 2019-02-07 18:33:55 +00:00
Shinokuni
098ae50044 Implementing Optional GET with If-None-Match and If-Modified-Since headers 2019-02-06 21:01:51 +00:00
Shinokuni
f384d5b9c8 Parsing feeds which have a text/html content-type 2019-02-06 13:15:40 +00:00
Shinokuni
edbff99c4f Fixing atom feed getUrl() method when links has only one element 2019-02-05 18:48:52 +00:00
Shinokuni
5aded28681 Fixing Atom link tag parsing and RSS 2 match issues 2019-02-05 17:50:07 +00:00
Shinokuni
0836d45217 Fixing atom parsing problem and rss type discovery when the mime-type is not enough specific (application/xml, text/xml). Note that is a workaround and I definitely have to improve this. 2019-02-04 22:45:13 +00:00
Shinokuni
c8680af7ca Add support for mime-type application/xml and retrieving absolute favicon url 2019-02-04 17:39:19 +00:00
Shinokuni
2b0bf9f63d Add support for rss feeds which does not have any atom:link tag in their channel tag 2019-02-04 10:20:21 +00:00
Shinokuni
7bbf038aa8 get absolute url when parsing html page 2019-02-04 10:10:58 +00:00
Shinokuni
808d442735 Add media:content tag parsing for the RSS format and displaying it when it's an image 2019-02-03 21:40:51 +00:00
Shinokuni
bb9d79a9da Fixing some atom and html parsing problems, improving favicon link retrieval. The ATOM parsing should be now at the same level as the RSS one 2019-02-03 19:41:53 +00:00
Shinokuni
5941e9708f Adding support for more content-type header formats (text/xml and remove charset indication) 2019-02-02 22:08:47 +00:00
Shinokuni
0335d67541 Improving item layout for items without image cover and fixing some null pointer exceptions for the favicon url and the image url 2019-02-02 15:10:13 +00:00
Shinokuni
c5b068be17 Optimizing feed link parsing 2019-02-01 19:20:57 +00:00
Shinokuni
6cd29826c1 get dominant color from feed favicon for feed title 2019-02-01 19:03:06 +00:00
Shinokuni
6656724a53 Adding url field verification to add feed dialog (still lacks other http errors) 2019-01-31 15:04:31 +00:00
Shinokuni
3b8e3c742a Feed database insertion now works with RSS 2.0 feeds, insert dialog is OK 2019-01-30 19:43:47 +00:00
Shinokuni
aa692c8222 adding dialog to add a new feed 2019-01-29 21:53:53 +00:00
Shinokuni
fb9a1a706c The list item displays now an image when available (found in its description) 2019-01-27 15:35:44 +00:00
Shinokuni
9704b2bb5c Adding some documentation 2019-01-26 22:33:19 +00:00
Shinokuni
62f86341cb Adding some items to the navigation drawer as well as a floating button in the main activity 2019-01-26 22:24:19 +00:00