Shinokuni
f462933c8d
Put some requests in the abstract repository for a better abstract model
2019-08-17 18:00:24 +02:00
Shinokuni
20ba537670
Add a repository factory to better handle repository instantiation
2019-08-17 17:38:56 +02:00
Shinokuni
62eec1e077
Add greader feed insertion and deletion requests
2019-08-17 16:04:56 +02:00
Shinokuni
ccf0a46a13
Insert greader API writeToken after getting it
2019-08-17 12:43:16 +02:00
Shinokuni
46d4d8a868
Disable select all contextual menu item when current account is FreshRSS
2019-08-17 12:32:34 +02:00
Shinokuni
5eb4353f8a
Refactor repositories to put item read state request in it
...
Put account variable needed for most request directly in the constructor instead in each method as a variable. Put item read state request code in the repository instead of the viewModel
2019-08-17 12:23:06 +02:00
Shinokuni
75e9323177
Add mark item read/unread request
2019-08-16 20:12:57 +02:00
Shinokuni
0a0abd4a4d
Fix new unread items request
2019-08-15 16:51:37 +02:00
Shinokuni
f6c322c4f2
Add greader folders (tags) request and insertion
2019-08-13 22:45:57 +02:00
Shinokuni
500b363942
Add freshrss items and feeds insertion
2019-08-11 18:01:32 +02:00
Shinokuni
829e6e98fc
Add feeds and items greader requests
2019-08-10 19:13:39 +02:00
Shinokuni
6a5feb2d63
Initial support of greader API for Freshrss with working authentication
2019-08-09 21:57:11 +02:00
Shinokuni
2b08ae9c96
Add an abstraction level for credentials to support multiple authorization field values
2019-08-09 19:58:11 +02:00
Shinokuni
5df094ca30
Add abstraction level for services APIs
2019-08-09 12:44:07 +02:00
Shinokuni
985fcddb1e
Merge branch 'master' of https://github.com/readrops/Readrops
2019-08-06 21:23:34 +02:00
Shinokuni
ae1b38b662
Fix webview text encoding bug
2019-08-06 21:22:42 +02:00
Shinokuni
3c523dfe2c
Improve sync speed
...
Put feed and folder insertion/update logic in transactions. Get only the feed id for an item insertion instead of getting the full feed
2019-08-04 17:29:54 +02:00
Shinokuni
1ee0f50801
Clean code
2019-07-30 19:59:30 +02:00
Shinokuni
aaee34f5de
Fix login failed flow using a toast instead of a snackbar
2019-07-30 18:44:45 +02:00
Shinokuni
f6c9a9774f
Update splash screen logo size
2019-07-30 18:41:59 +02:00
Shinokuni
b7be85221b
Fix update account credentials flow
2019-07-30 16:51:48 +02:00
Shinokuni
01e55ff78f
Create arrays ressource file
2019-07-30 16:00:35 +02:00
Shinokuni
c540a5c57e
Add a method to know if an account is local or not
2019-07-30 15:48:59 +02:00
Shinokuni
5cf6089301
Replace AccountSettingsActivity by a standard preferences fragment
2019-07-30 15:42:42 +02:00
Shinokuni
73a7519944
Delete drawer profile settings item
2019-07-27 15:23:12 +02:00
Shinokuni
5b5534be48
Clean code
2019-07-27 11:23:35 +02:00
Shinokuni
470bedd669
Don't check feed count if the current account is not local
2019-07-27 11:21:15 +02:00
Shinokuni
ff27c3bae1
Move EditFeedDialog in the fragments package and rename views package to adapters package
2019-07-25 18:05:50 +02:00
Shinokuni
df49951d3f
Prevent the user modifying a nextcloud news feed url as the API doesn't allow its modification
2019-07-25 18:03:12 +02:00
Shinokuni
00fae40637
Remember if the app was syncing when destroying and recreating the activity
2019-07-25 17:51:38 +02:00
Shinokuni
480dddc95d
Dispose sync ressources when destroying activity
2019-07-25 17:16:52 +02:00
Shinokuni
8c8d6d65c2
Display errors with snackbars instead of toasts
2019-07-25 16:59:20 +02:00
Shinokuni
8a8e4394ce
Update/delete Nextcloud News feeds and folders when syncing
2019-07-25 14:00:04 +02:00
Shinokuni
a9fc9799fc
Add account deletion action
2019-07-23 21:54:43 +02:00
Shinokuni
db0d689f10
Update gradle plugin and some gradle dependancies
2019-07-20 16:46:59 +02:00
Shinokuni
a587c8aa6f
Add Nextcloud news feed deletion and update (rename/change folder)
2019-07-20 16:40:38 +02:00
Shinokuni
9512932282
Fix nextcloud news folder creation/deletion
2019-07-16 13:48:53 +02:00
Shinokuni
5970b18203
Implement Nextcloud folder creation, update and deletion APIs
2019-07-14 21:24:59 +02:00
Shinokuni
9097c1d660
Add folder list, folder update and deletion
2019-07-14 12:24:19 +02:00
Shinokuni
b05fbbe080
Add view pager for feed and folder management. Put feed management in a fragment
2019-07-13 13:13:12 +02:00
Shinokuni
ef8176b324
Add titles to activites
2019-07-12 15:42:42 +02:00
Shinokuni
142d0f19cf
Fix wrong drawer items getting their icon updated
2019-07-12 14:12:36 +02:00
Shinokuni
7ca509e8a9
Add account settings activity to modify account informations and get account feeds and folder list
2019-07-11 13:49:34 +02:00
Shinokuni
e1bf8b936e
Disable account switching when updating feeds
2019-07-07 21:22:32 +02:00
Shinokuni
5d6ea2ee09
Fix item activity main request
2019-07-07 15:39:29 +02:00
Shinokuni
179832f80d
Add password toggle for password field in add account activity
2019-07-07 15:14:59 +02:00
Shinokuni
f574ccfd16
Fix drawer items without folder having their feed icon not displaying and their unread count badge
2019-07-07 14:25:46 +02:00
Shinokuni
ddfd9507a5
Fix null pointer exception when going back to main activity from add feed activity
2019-07-07 13:50:50 +02:00
Shinokuni
a343b8c2aa
Add feedly and freshrss icons
2019-06-25 16:08:57 +02:00
Shinokuni
59a0a81672
Add account support for other queries
2019-06-23 22:17:30 +02:00
Shinokuni
d35db1dd57
Fix main query joins
2019-06-23 17:19:20 +02:00
Shinokuni
9b6dd6713a
Display feed icon for all feed drawer items
2019-06-23 17:00:24 +02:00
Shinokuni
44f58a8aba
Fix Folder entity usage as its foreign key is now nullable
2019-06-23 16:50:53 +02:00
Shinokuni
75a0ee4d97
Clean some layouts
2019-06-23 13:35:46 +02:00
Shinokuni
e12cf1ec7f
Add nextcloud news feed insertion and account choice in the add feed activity
2019-06-23 13:33:10 +02:00
Shinokuni
b0b8e4202a
Fix AccountType enum parcel write
2019-06-15 22:22:38 +02:00
Shinokuni
d93137b0a5
Use enum ordinal value instead of a custom field to store the enum in db
2019-06-14 15:49:25 +02:00
Shinokuni
61f79b8546
Add better use of AccountType enum instead of using a class of the same name holding same fields
2019-06-14 15:28:33 +02:00
Shinokuni
65c7141c29
Check item remoteId presence with its foreign feedId
2019-06-14 14:52:03 +02:00
Shinokuni
9cb3c14e40
Clear list data when adding a new account
2019-06-14 14:30:55 +02:00
Shinokuni
64d3f384be
Fix item duplicates when getting last modified items
2019-06-06 15:15:12 +02:00
Shinokuni
73b4b8e4d3
Add a local account from the main activity is now possible
2019-05-24 23:07:42 +02:00
Shinokuni
a12dfa6f13
Fix folder and feed check queries returning bad results
2019-05-24 22:35:52 +02:00
Shinokuni
c4d00fe2e1
Replace drawer feeds icons by their favicon
2019-05-23 22:32:50 +02:00
Shinokuni
3efb023d56
It's now possible to add the same nextcloud news account multiple times
2019-05-23 22:20:02 +02:00
Shinokuni
14596c75fd
Add only forward flag when coming from main activity
2019-05-23 21:53:00 +02:00
Shinokuni
52219995bb
Feeds and folders are now linked to an account
2019-05-23 17:14:36 +02:00
Shinokuni
00f331a18f
Put account logic in the view model
2019-05-23 10:16:44 +02:00
Shinokuni
4df3087691
Add splash activity
2019-05-22 11:16:11 +02:00
Shinokuni
86a6daaf5b
Put drawer build in DrawerManager
2019-05-21 22:10:57 +02:00
Shinokuni
642617b1ce
It's now possible to add an account (other than local) from the main activity, the activity will switch to this new account
2019-05-21 14:53:16 +02:00
Shinokuni
bfc7f934bf
When a new account is inserted, it becomes the current account
2019-05-21 13:29:18 +02:00
Shinokuni
feba9b321e
Add account type list activity
2019-05-21 12:57:08 +02:00
Shinokuni
c771086989
Add empty list layout
2019-05-20 10:40:27 +02:00
Shinokuni
2ecc707d0e
Add drawer account header
2019-05-19 22:44:22 +02:00
Shinokuni
4985604289
Add drawer header
2019-05-18 22:37:47 +02:00
Shinokuni
635e9fdbf8
Add Nextcloud News icon
2019-05-18 22:05:09 +02:00
Shinokuni
3a163c1de5
Fix select all menu item behaviour and add icon
2019-05-18 16:32:56 +02:00
Shinokuni
432726defa
Set lastModified to the current account object, otherwise the sync mode will always be the initial one
2019-05-18 16:17:20 +02:00
Shinokuni
60797cf76c
Set its id to the new account instance
2019-05-18 16:15:40 +02:00
Shinokuni
572f1f7c45
Add create account activity with login flow
2019-05-18 13:57:01 +02:00
Shinokuni
945da48807
Check is enclosureMime is not null
2019-05-17 15:01:20 +02:00
Shinokuni
e1478eab2c
Fix getting item list selection
2019-05-17 13:59:22 +02:00
Shinokuni
38179d0110
Add support for enclosure images
2019-05-17 13:29:50 +02:00
Shinokuni
1302d8306d
Tweak feed colors rules
2019-05-17 11:52:07 +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
5737a1bea3
Enable databinding
2019-05-10 12:09:09 +02:00
Shinokuni
7c162a3ada
Add Readrops logo
2019-05-08 14:00:55 +02:00
Shinokuni
49e4b3e12f
Json feed format now works !
2019-04-29 11:44:02 +02:00
Shinokuni
aeb4994c2a
Select all option now respects the feed filter
2019-04-26 09:37:55 +02:00
Shinokuni
245719e2f6
Use okHttpClient as a singleton
2019-04-25 21:29:54 +02:00
Shinokuni
f32b711be2
Select all option, use the global boolean
2019-04-25 21:09:39 +02:00
Shinokuni
9f8c663176
Add select all option in the contextual menu of the items list activity
2019-04-25 19:47:04 +02:00
Shinokuni
c03e6ec3f4
Scroll to top when changing feed filter in the items list
2019-04-25 18:14:36 +02:00