Commit Graph

131 Commits

Author SHA1 Message Date
davidoskky ca4b7ada97 Upgrade dependencies (#371) 2021-10-27 16:47:50 +02:00
davidoskky 2dff3d9191 Use FLAG_IMMUTABLE as required by android 12 (#366) 2021-10-26 12:46:30 +02:00
davidoskky c0ae0466c2 Remove the LikeButton library (#363)
* Add functions to add and remove favorites from SharedItems

* Remove the LikeButton dependency

* Use the theme colors for the icon tint
2021-10-22 20:06:39 +02:00
davidoskky 58b0574cf9 Use the drawer image loader to load images (#364) 2021-10-22 20:04:28 +02:00
davidoskky 5472c607cd Upgrade bottom navigation library (#362) 2021-10-15 20:15:30 +02:00
davidoskky 5640b7e56c Upgrade MaterialDrawer (#359)
* Upgrade material drawer library

* Add footer options to drawer

* Apply styles to drawer

* Added sources and tags to side drawer

* Hide bottom bar when the side drawer is opened

* Display hamburger icon to open the side drawer

* Add information about libraries to the side drawer

* Cleanup

* Implement reloading badges
2021-10-15 20:14:21 +02:00
davidoskky fa697f1313 Re-enable resource shrinking (#351) 2021-10-07 21:01:27 +02:00
davidoskky a12623f8e4 Upgrade dependencies (#352)
* Upgrade gradle to version 7.0.2

* Disable deprecated options

* Upgrade to latest SDK

* Upgrade kotlin

* Upgrade dependencies
2021-10-07 21:01:12 +02:00
davidoskky 2e38639910 Missing test variables configuration (#348)
* Add buildconfig variables for debug testing

* Allow marking articles as read from the article reader (#346)

* Add new items according to the selfoss id, to avoid duplicate items.

* Migrate setting articles as read from ArticleFragment to SharedItems

* Removed unused assertion

* Allow marking articles as read from the article reader

* Added contributors, because they deserve it !

Co-authored-by: Amine Bou <510304+aminecmi@users.noreply.github.com>
2021-10-06 13:23:52 +02:00
davidoskky 46e723a238 Migration of Item management to SharedItems (#345)
* Refactor Item addition and deletion

* Metods to filter the items according to read and starred status

* Remove displayed items only if displaying unread items

* Remove unnecessary api calls on tab change and delegate item storage to SharedItems

* Store articles in SharedItems when they get fetched

* Add tag filtering

* Mark items as read

* Disable sorting function

* Add function to get the unread status of an element.

* Fetch items on pull gesture

* Move marking as read logic in SharedItems.

* Delegate item status to SharedItems

* Allow changing unread status of items

* Use full article position reference and not the relative one

* Delegate marking items as unread to SharedItems

* Delegate database addition of Items to SharedItems.

* Function to only provide connectivity information

* Better database management

* Sort items by date

* Provide information about item caching to SharedItems

* Add missing imports

* Update database after fetching articles

* Add missing variable

* Remove unused import

* Use coroutines to access database

* Use coroutines to simultaneously fetch articles.

* Update database after fetching articles.

* Don't block thread when accessing the database

* Prevent crash if connectivity is lost while fetching articles

* Show "Not connected" snackbar if there is no connection or connection is lost during download

* Use coroutines in the background sync

* Added function to get only new items

* Introduced function to filter articles

* Don't execute background sync if the option is disabled

* Improve item filtering

* Apply filters when they are selected on the UI

* Handle infinite scroll

* Incorrect parameters were passed

* Simplify tab selection logic

* Upgrade kotlin jvm to version 1.8

* On tab change fetch new items if the item list is not completely populated

* Remove redundant assignations.

* Fetch articles when changing tag, source or search if the list is not fully populated

* Fetch only the article in the tab selected

* Correct inconsistent position address

* Disable swiping articles only if favorites are selected

* Delegate badge count to SharedItems

* Clear the database when the app starts in order to avoid accumulation and inconsistencies

* Remove unused functions and variables

* Do not overwrite fetched items with old copies from the database

* Display "There's nothing here" only if there are no articles

* Adapt function to read all articles to the new changes

* Use IO Dispatcher for Database and Network computations

* Adapt Background sync to the usage of SharedItems

* Handle refresh gesture appropriately by refreshing the whole items list

* Remove unused imports
2021-09-25 13:45:51 +02:00
davidoskky 626c9e2797 Migrate to View Binding. (#338) 2021-03-17 17:50:44 +01:00
aminecmi 41c14362a8 Fixes #323. 2021-01-09 15:01:59 +01:00
davidoskky 918661be2d Expand images on tap (#315)
* Detect click on images in WebView

* First stub of the fragment to show the image in full screen

* Scale image dimension to fit the display

* Hide toolbar from Image view

* Add back button to the Image view

* Open one image on tap

* Allow zooming on images

* Revert to using Toolbar for navigation.

* Remove vibration when opening the Image view

* Do not open links associated with images

* Send all images in the webpage to the Image fragment.

* Change image on swipe

* Store article images in cache in background.

* Use PhotoView in place of WebView to display images. Implemented a pager to swipe through images.

* Removed debugging logging.
2020-12-22 20:06:38 +01:00
aminecmi 7b8a5c9a56 Fixed migration issue. 2020-12-22 18:02:03 +01:00
aminecmi 4049f6a5c7 Removed acra because the issues wern't sent anyway. 2020-02-01 14:30:03 +01:00
aminecmi 84f1ab12cf Finally fixed issue with crash on launch. 2019-05-17 20:28:21 +02:00
aminecmi f48f6ed788 Trying to fix crashes. 2019-05-17 19:05:11 +02:00
aminecmi e517803bd8 Fixed a bug with theme settings page. 2019-05-12 21:42:56 +02:00
aminecmi 6de54d63e6 Updates. 2019-05-12 21:17:45 +02:00
aminecmi dd7a2f476b Fixed an issue with compilation not working. 2019-05-12 21:07:05 +02:00
aminecmi d1dad3e61a Cleaning and update. 2019-04-06 12:42:25 +02:00
aminecmi a0aead6491 Closes #271. 2019-01-13 15:59:38 +01:00
Amine Bou f1757937a4 Disabled resources shrinking after #262. 2019-01-09 13:33:02 +01:00
Amine 83eeb11388 Fixes #254 and #255. 2018-12-02 13:13:19 +01:00
Amine 200851894b See #254. 2018-12-01 19:32:28 +01:00
Amine Bou 511553806c No idea why this was changed. 2018-11-21 09:57:44 +01:00
Amine d8478ebb01 Added loging url validation. 2018-11-20 19:44:10 +01:00
Amine ddac2870af Changed git tag sort for it to work on the jenkins server. 2018-11-17 20:48:18 +01:00
Amine 21ce061282 Better handling for version code automation. 2018-11-15 21:11:15 +01:00
Amine fb1614070e Inital app shortcuts. 2018-11-07 20:25:48 +01:00
Amine d02b28b81f Initial changes for #179. 2018-11-04 14:25:05 +01:00
Amine ccab2c7648 Initial work on background task. 2018-11-01 21:51:31 +01:00
Amine 374537b5c7 Preparing for room migrations. Some cleaning. 2018-10-14 11:07:10 +02:00
Amine 4984f2f7ad Removed the intro. It was causing issues. 2018-10-13 20:49:26 +02:00
Amine 4901e7174c Still trying to fix the build issue. 2018-10-13 04:52:55 +02:00
Amine 8d70e68fe2 Trying to fix build issue. 2018-10-12 22:50:43 +02:00
Amine 0c201301f2 Replaced reservoir by room. 2018-10-12 22:04:47 +02:00
Amine 6090590f24 Imports cleaning. Libraries update. 2018-10-12 21:01:39 +02:00
Amine 06b88c783d Auto migration to android x. 2018-10-12 20:36:18 +02:00
Amine 377c5518f7 Minimal versions updates. 2018-09-25 20:47:38 +02:00
Amine 21be7357b5 Revert "Updated to androidx."
This reverts commit d47ba2c820.
2018-09-25 20:27:27 +02:00
Amine d47ba2c820 Updated to androidx. 2018-09-25 20:08:51 +02:00
Amine 3db3157dc9 Trying to fix a strange issue with the loading when hiding items.. 2018-09-09 19:44:01 +02:00
Amine Bou f57ec1f6c0 Add hidden tags option (#212)
* Add filter for hidden tags. (#207)

This commit adds the option to configure hidden tags. Articles tagged
with these hidden tags won't appear in the list of articles by default.
To see these articles the user must explicitly filter by those tags.

* Closes #211. Handling hidden tags in the lateral panel.

* Changelog.
2018-08-02 22:04:15 +02:00
Amine c46acbc579 Dependencies update to solve fdroid issues. 2018-07-07 13:50:32 +02:00
Amine Bou 38b5e7dc65 New (new, new, new, new) way for handling versions. Will work with jenkins and fdroid. 2018-05-24 22:32:34 +02:00
Amine Bou 9cb02f0272 Changelog. 2018-05-23 20:44:47 +02:00
Amine Bou 6d24fd9336 Removed every config string added at build time. 2018-05-23 20:39:50 +02:00
Amine Bou a3a7b78c96 Removed direct call to mercury api. 2018-05-23 20:00:46 +02:00
Amine Bou 218b8fa843 Replace with ACRA bug reporter. 2018-05-21 21:39:23 +02:00