Commit Graph

829 Commits

Author SHA1 Message Date
Shinokuni 34e8c1b4c2 Set the default color for the item date background when no color is available 2019-03-28 16:53:42 +01:00
Shinokuni bd6cbe30e7 rework add feed_item_layout margin constraints 2019-03-26 17:55:20 +01:00
Shinokuni 5fabec0c1c The date background for both litem list and item activities has the now the color of the feed 2019-03-23 13:31:24 +01:00
Shinokuni 789f9d24ea revamp some constraints and add background to the date in activity item layout 2019-03-22 13:20:12 +01:00
Shinokuni e14a098cf8 fix item activity toolbar subtitle color 2019-03-20 11:17:13 +01:00
Shinokuni 00ac9211fd Add folder name in item layout and add date blue background 2019-03-20 11:08:03 +01:00
Shinokuni 8decb98e4f Add swipe for parse result recycler view 2019-03-18 15:02:35 +01:00
Shinokuni ee0e8aa83e Delete unused code 2019-03-18 11:05:00 +01:00
Shinokuni 3e50e63626 remove old callback in main activity 2019-03-17 19:55:06 +01:00
Shinokuni 3b277a1fba change read time icon color 2019-03-16 17:46:59 +01:00
Shinokuni f04acd0c4c Add style for buttons and add some view visibility logic 2019-03-16 17:10:50 +01:00
Shinokuni 2182e4b340 Remove add feed activity recyclerviews separators 2019-03-16 13:09:26 +01:00
Shinokuni 0b389dd080 Add insertion results to the AddFeedActivity layout 2019-03-15 16:06:54 +01:00
Shinokuni 594f3d1c5e Update sync progress textview 2019-03-14 10:51:46 +01:00
Shinokuni 8c483b1885 Improve progressbar style 2019-03-13 16:48:27 +01:00
Shinokuni 5689fef568 Add loading view to show sync progress 2019-03-13 15:04:07 +01:00
Shinokuni fc369888ac sync now returns potential errors 2019-03-13 09:32:14 +01:00
Shinokuni 710eb18dc0 Get added feeds from add feed activity result to start syncing them when going back to the main activity 2019-03-12 15:19:21 +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 5aa6496d1e put parseUrl logic in the viewModel 2019-03-10 22:17:51 +01:00
Shinokuni bc263a05f8 Add feed insertion with multi selection in add fed activity 2019-03-10 20:01:55 +01:00
Shinokuni 78f2b65a30 Fix bug where item and feed names can have unwanted characters 2019-03-10 19:59:19 +01:00
Shinokuni 18e626a303 Add edit feed activity 2019-03-10 15:19:02 +01:00
Shinokuni b1631e9d0d Display the correct wording int the feed layout for the default folder 2019-03-09 21:36:09 +01:00
Shinokuni 5df6e1ed27 Change the way a feed is deleted, we are now using a swipe 2019-03-09 19:04:32 +01:00
Shinokuni 54b4aa15a7 Modify edit feed dialog opening way and add feed website link opening on long click 2019-03-09 18:35:09 +01:00
Shinokuni f8054d14a9 Use ListAdapter instead of FastAdadpter, fixes some update bugs 2019-03-09 17:41:47 +01:00
Shinokuni 95a50a4787 Correct typo 2019-03-08 16:57:27 +01:00
Shinokuni ed9fb458c8 Use rxjava with feed synchronization 2019-03-08 16:29:26 +01:00
Shinokuni f7a0ef47fe Add confirmation dialog for feed deletion 2019-03-07 18:23:54 +01:00
Shinokuni 767139d1ce Add feed deletion 2019-03-07 16:43:25 +01:00
Shinokuni ef7e1a9b12 Set folder spinner selection 2019-03-06 16:20:30 +01:00
Shinokuni 54d6fca734 Add DiffUtil changePayload actions to avoid the list flickering 2019-03-06 11:58:16 +01:00
Shinokuni 652ce8b629 Add folder insertion with RxJava and DiffUtil to fastAdapter (needs some improvements though) 2019-03-05 18:21:13 +01:00
Shinokuni bd3f279d0a Add folders names to edit feed dialog spinner 2019-02-27 16:47:32 +00:00
Shinokuni 4c538af36e Add feed update 2019-02-26 22:06:12 +00:00
Shinokuni 50ede215fb Add feedWithFolder argument to the add feed dialog to display and edit feed data 2019-02-25 21:29:37 +00:00
Shinokuni 3b4f6fe9f0 change edit feed dialog to dialog fragment with an alert dialog 2019-02-24 15:33:47 +00:00
Shinokuni 706861a825 Add feed edit dialog 2019-02-24 14:21:06 +00:00
Shinokuni 83ca13249a Not to hold a database instance in a viewmodel class 2019-02-23 21:46:21 +00:00
Shinokuni 3cee4fead6 add manage feeds activity closing options 2019-02-23 21:12:16 +00:00
Shinokuni 4e74109fbd grey icons for feed layout icons 2019-02-23 21:08:17 +00:00
Shinokuni bc63ee16bf Fix android studio build failures 2019-02-23 21:06:34 +00:00
Shinokuni 728dd8fc17 Order files 2019-02-23 17:31:11 +00:00
Shinokuni 32833706b2 Add manage feeds activity with basic feed layout 2019-02-23 17:13:10 +00:00
Shinokuni e0232ce0fc clean app gradle 2019-02-23 13:27:39 +00:00
Shinokuni d8f6fade84 Minor changes for the item activity (date format, close actions) 2019-02-23 12:12:22 +00:00
Shinokuni 4dd01a6966 close fab menu after click 2019-02-22 22:20:39 +00:00
Shinokuni e543fa3664 Add custom fab 2019-02-22 14:42:56 +00: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 3290c55e65 add support for another date format and modify item activity date format 2019-02-21 19:04:09 +00:00
Shinokuni 5c722b38c9 add material-dialogs sdk 2019-02-21 15:01:14 +00:00
Shinokuni c290551917 Improve rss enclosure parsing 2019-02-19 11:47:59 +00:00
Shinokuni e89eb4f0de Improve webview top margin 2019-02-19 11:46:38 +00:00
Shinokuni d0b5fa6866 Add folder creation, deletion and feed folder change with rxandroid 2019-02-19 11:02:50 +00:00
Shinokuni d76d2e356f Add folder db model 2019-02-18 19:05:50 +00:00
Shinokuni 7dcdcb68fb Improve webview presentation and add scroll bar visibility 2019-02-15 12:47:22 +00:00
Shinokuni 2cc0d27660 Fix items time reading for some feeds 2019-02-15 12:23:19 +00:00
Shinokuni b53463b2d4 Fix feed name color when no color is available 2019-02-15 12:02:57 +00:00
Shinokuni 76aef3916a improve image detection by providing only body children nodes 2019-02-14 22:27:36 +00:00
Shinokuni 90d15c57b2 set background color to item activity title if available 2019-02-14 19:50:31 +00:00
Shinokuni f668f88a60 Add collapsing toolbar fab action in menu after total layout collapse 2019-02-13 22:26:45 +00:00
Shinokuni d2a6617311 Add share action 2019-02-12 09:27:16 +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 385dc05691 Add date to the item activity layout and start adding a share button to the same activity (not finished though) 2019-02-11 17:38:54 +00:00
Shinokuni 62c3da343d No top margin for h1 tag 2019-02-10 22:20:13 +00:00
Shinokuni b4931c6d36 Add a floating action button to open the item link 2019-02-10 22:19:49 +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 1a78feec81 fix link color regression 2019-02-10 18:35:08 +00:00
Shinokuni d684ecaffd Removing div tag attributes to avoid images not fitting the screen width 2019-02-10 17:15:37 +00:00
Shinokuni 64cc134d68 Use template for better html/css formatting 2019-02-09 22:52:44 +00:00
Shinokuni 897f8d058d Fixing scrim visibility when no image is displayed 2019-02-09 22:35:45 +00:00
Shinokuni b9e19098eb Set webview padding to 10dp 2019-02-09 21:29:45 +00:00
Shinokuni cac2bed15f Fixing webview padding (I really have to make a template) 2019-02-09 21:28:01 +00:00
Shinokuni bca77af852 Adding back navigation to item activity and fixing bug when either description or content are null 2019-02-09 19:13:46 +00:00
Shinokuni a2c3aa22c8 tweaking item activity margins 2019-02-09 19:02:50 +00:00
Shinokuni 20efc02d4e Getting background color from favicon to set it to the item activity toolbar and default color to the item activity title 2019-02-09 18:55:09 +00:00
Shinokuni bf2401a337 Add scrim to collapsing toolbar layout for better title visibility 2019-02-09 13:25:39 +00:00
Shinokuni 017ce251fa Improving item activity code and toolbar status when no header image is available 2019-02-09 12:34:44 +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 8fcd5fc3ad Adding view port to fit the webview images in the screen size 2019-02-08 20:15:06 +00:00
Shinokuni 4d05174ce2 Improving readtime display in list item layout 2019-02-08 19:37:11 +00:00
Shinokuni a1d4112322 Add item readtime on item list activity and item activity 2019-02-08 18:22:42 +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 8bf62465ff Add item details below the collapsing toolbar layout. Improving general UI 2019-02-08 13:57:25 +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 659eeaa48b Add items sorting before insertion 2019-02-07 14:32:49 +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 287abcafc0 Add adapter listener to set the list to the top when inserting new items 2019-02-05 18:48:13 +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 4c2a5c682a Tweaking item title 2019-02-04 17:38:01 +00:00
Shinokuni 92497ac625 The add feed dialog now handles exceptions and display the right error messages 2019-02-03 22:55:44 +00:00
Shinokuni aaa2e921c3 Improving the add feed dialog with better components style and margins 2019-02-03 22:17:51 +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 c5cca8d822 Improving some layouts 2019-02-03 14:28:14 +00:00
Shinokuni 1a9bba1e44 stopping refreshlayout animation when an exception is raised 2019-02-03 13:06:21 +00:00
Shinokuni ff8b9156db Adding advanced glide management 2019-02-03 12:58:36 +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 79e8146758 Improving item layout 2019-02-01 22:45:12 +00:00
Shinokuni be1c7ff01f Adding feed icon and item description (without any html !) to the item layout 2019-02-01 22:11:27 +00:00
Shinokuni adbbf2f2bd Get feed id as room insert result 2019-02-01 19:20:21 +00:00
Shinokuni 6cd29826c1 get dominant color from feed favicon for feed title 2019-02-01 19:03:06 +00:00
Shinokuni bf15c04c68 Modifying item request to have feed name 2019-01-31 21:28:11 +00:00
Shinokuni bab22e99ee Adding image displaying control with glide 2019-01-31 19:32:56 +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 5f837d6edb Adding click listener and default click animation to feed items list 2019-01-30 19:44:30 +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 290e59be27 Modification of the default style 2019-01-27 18:32:19 +00:00
Shinokuni bff0256243 The default item list layout looks a bit better, and gained a date 2019-01-27 16:05:45 +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 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
Shinokuni 0f9fa1d166 Adding simple navigation drawer 2019-01-26 19:03:23 +00:00
Shinokuni 8b779473ee Adding diffUtil Callback to the adapter 2019-01-26 15:35:22 +00:00
Shinokuni d9931db99c adding right date format and parsing 2019-01-25 12:23:28 +00:00
Shinokuni 43666dfb11 Adding simple refresh layout 2019-01-23 14:08:06 +00:00
Shinokuni 88aa232f81 Add a basic feed request and display with some android architect components 2019-01-22 22:51:18 +00:00
Shinokuni 4d1d723158 attempt to make a simple recycler view to show the results of an rss request and parsing 2019-01-15 18:43:25 +00:00
Shinokuni 9490aa7f20 Simple html parsing to get feed url 2019-01-12 15:54:27 +00:00
Shinokuni 808135f891 Nextcloud News implementation testing 2019-01-12 14:57:46 +00:00
Shinokuni 3b0e34f7cc adding some dependancies 2019-01-12 14:07:04 +00:00
Shinokuni 6f6053c96c android studio project creation 2019-01-12 12:10:02 +00:00