Commit graph

343 commits

Author SHA1 Message Date
inorichi
a32c1b5eb2 Fix MAL autoupdate function. 2015-12-19 20:25:49 +01:00
inorichi
0a7f8711ad Add a new test case for chapter recognition 2015-12-19 16:22:57 +01:00
inorichi
9a117f0969 Fix NPE when the process restarts in the reader for downloaded chapters and save page list before killing the process. 2015-12-19 16:13:24 +01:00
inorichi
3c87b4cba9 Allow to start/stop queue from download queue fragment. DownloadQueue now extends from ArrayList. 2015-12-19 14:58:36 +01:00
inorichi
6412ec1d9b Remove successful downloads from queue 2015-12-18 16:41:16 +01:00
inorichi
c6dc5d344d Fix some crashes 2015-12-17 15:33:15 +01:00
inorichi
42cd6ea007 Invert seekbar and textviews on right to left reader 2015-12-16 16:10:34 +01:00
inorichi
04d9176c3c Update dependencies. Update last chapter read in MAL only when the reader is left, instead of on every chapter change. Other minor improvements. 2015-12-16 15:37:00 +01:00
inorichi
273527e7fb Changes to viewpager readers 2015-12-16 13:49:36 +01:00
inorichi
e2795f5480 Add a black background setting for the reader 2015-12-15 13:34:14 +01:00
inorichi
4630a5ed1a Catalogue now has a dropdown menu to select or change the source 2015-12-14 16:51:12 +01:00
inorichi
8dca7fe79a Improve MAL support (UI is very simple yet). 2015-12-14 13:24:05 +01:00
inorichi
a1d67c0fce Fix commit count command 2015-12-12 02:35:12 +01:00
inorichi
9c0abdeb81 Show version (commit count) and build time in the 'about' section 2015-12-12 02:08:47 +01:00
inorichi
a571bb5637 Recover manga activity status when the process restarts 2015-12-11 17:47:07 +01:00
inorichi
e7f8d4d2c2 Fix library update service 2015-12-11 14:14:04 +01:00
inorichi
ed5486975d Better alignment for bottom toolbar in chapters fragment 2015-12-11 13:50:47 +01:00
inorichi
5fda4ad786 Add sdk manager to gradle 2015-12-09 20:54:00 +01:00
inorichi
23c9caf87e Fix memory leak in reader 2015-12-09 15:22:06 +01:00
inorichi
39d3033d44 Recover reader from process restart 2015-12-09 14:55:32 +01:00
inorichi
e1b68f66f2 Changes:
- Declare RxJava as dependency
- Add a folder chooser for downloads
- Fix a force close when updating library
- Enable ACRA and add a setting to send crash reports
- Manga class now uses the default get resolver
- Other minor changes
2015-12-08 19:39:57 +01:00
inorichi
65a2345bf7 Minor changes 2015-12-07 20:25:42 +01:00
inorichi
8a3bb2b7ee Remove chapters on a background thread. 2015-12-07 18:01:44 +01:00
inorichi
8f7443a686 Add an option to change cache size and clear the cache 2015-12-07 15:53:01 +01:00
inorichi
4aee1ca8a3 Improvements for downloads fragment 2015-12-06 12:27:05 +01:00
inorichi
49a38821f2 Animate recycler view decorations 2015-12-06 10:02:29 +01:00
inorichi
a304ccaaea Update download progress in chapters fragment 2015-12-05 23:58:03 +01:00
inorichi
03ddf6d376 Add an observable that notifies of every download progress 2015-12-05 18:22:29 +01:00
inorichi
758ebfca0b Another fix for batoto chapter dates 2015-12-05 15:49:48 +01:00
inorichi
eaab0f33ce Fix batoto chapter dates. Remove subjects subscribe schedulers 2015-12-05 15:43:33 +01:00
inorichi
d859947c7c Remove view logic from catalogue presenter and improve catalogue fragment 2015-12-05 12:40:47 +01:00
inorichi
eb10d77374 Improve info fragment. Other minor changes and fixes. 2015-12-05 02:05:42 +01:00
inorichi
c52c567eae Avoid filename conflicts (not sure if it will be totally fixed). Check if a chapter is properly downloaded after download finishes. 2015-12-04 18:03:56 +01:00
inorichi
260fa59799 Better error handling for downloads 2015-12-04 14:35:39 +01:00
inorichi
3b11090e00 Minor changes 2015-12-04 12:37:58 +01:00
inorichi
54a715640d Improve the use and caching of the covers' cache. Use restartables in LibraryPresenter 2015-12-04 11:50:40 +01:00
inorichi
976f010d64 Use download queue subject for updating chapter status 2015-12-03 17:12:43 +01:00
inorichi
384acb2322 Fix chapter recognition. Improve initial requests to fetch chapters from source 2015-12-03 13:57:25 +01:00
inorichi
b986309b81 Improve the refresh of chapter filters 2015-12-03 12:48:30 +01:00
inorichi
ab216a3608 Use local filtering. Use long class instead of primitives again for database keys (they can be null) 2015-12-02 21:45:41 +01:00
inorichi
6b8ccbe01b Add filter by downloaded chapter. When searching manga by URL, also check the source 2015-12-02 14:56:47 +01:00
inorichi
d6257cf52e Fix order button 2015-12-02 12:27:18 +01:00
inorichi
ab48686262 Minor changes 2015-12-02 11:53:32 +01:00
inorichi
96f6e28c68 Rename variable to a more suitable one (keeping column name for backwards compatibility) 2015-12-02 10:48:08 +01:00
inorichi
68f1e5f4bb Minor changes 2015-12-02 10:32:16 +01:00
inorichi
aa6dfddffa Show download status in chapters fragment 2015-12-02 10:17:08 +01:00
inorichi
d5a6fac931 Merge pull request #8 from icanit/master
Improving chapter menu button layout
2015-12-02 09:52:44 +01:00
inorichi
b9da3cb914 Get rid of getView() calls in Chapters presenter. Minor changes in download manager 2015-12-02 09:50:01 +01:00
Yuri Revich
357da7178b expanding chapter item menu button layout 2015-12-02 10:08:04 +03:00
inorichi
771f49fa3b Minor changes 2015-12-01 22:01:41 +01:00
Yuri Revich
b737da62dd No next chapter toast on play button 2015-12-01 22:56:24 +03:00
Yuri Revich
d7f5787ea0 UI improvements 2 2015-12-01 22:18:19 +03:00
Yuri Revich
89683c24a8 Merge remote-tracking branch 'inorichi/master' 2015-12-01 20:16:57 +03:00
Yuri Revich
0f7c20d015 UI improvements 2015-12-01 20:16:55 +03:00
inorichi
0f5cf6a748 Simplify chapter's popup logic 2015-12-01 15:47:34 +01:00
inorichi
04a61edb38 Changes:
- Add a new cache to store library covers without relying on Glide's cache, making sure they are always available.
- Use Observable's defer instead of create in NetworkHelper.
- Fix Kissmanga showing only one genre.
2015-12-01 14:20:14 +01:00
inorichi
b66809b2b2 Complete Kissmanga 2015-11-30 23:51:17 +01:00
inorichi
8288e98a13 Make title a bit smaller and remove unneeded padding 2015-11-30 21:43:29 +01:00
inorichi
382acab118 Add a query to get the next unread chapter 2015-11-30 21:08:06 +01:00
Yuri Revich
93b7135380 Merge remote-tracking branch 'inorichi/master' 2015-11-30 22:53:48 +03:00
Yuri Revich
d8703fd2e3 Chapter view improvements
- Smaller title
- Bigger touch zone
2015-11-30 22:52:12 +03:00
inorichi
b2f44ff76a Improve chapter recognition 2015-11-30 20:33:27 +01:00
Yuri Revich
82f1e694e8 Merge remote-tracking branch 'inorichi/master' 2015-11-30 20:49:42 +03:00
Yuri Revich
65c07450da UI improvements
- Manga order by title in library
- New chapter list item design
- Chapter item popup
- Color normalisation to Material Design pallets
- Theme and style fixes
2015-11-30 20:45:45 +03:00
inorichi
cbd2e8398b Add Kissmanga (search not working yet) 2015-11-30 17:54:35 +01:00
inorichi
c37a6ac673 Fix batoto 2015-11-30 13:19:04 +01:00
inorichi
8bda39ee26 Don't store sources domain in database 2015-11-30 13:07:57 +01:00
inorichi
a05cc934d0 Improve reader gestures. Upgrade gradle and retrolambda. 2015-11-28 23:32:13 +01:00
inorichi
c803b91223 Only preload pages without the image url 2015-11-28 20:11:56 +01:00
inorichi
34201bece1 Support Batoto webtoons 2015-11-28 20:02:30 +01:00
inorichi
5dcaeffa0b Fix an issue where the next chapter was the same as the current. Fix a NPE when page list throws 2015-11-28 19:01:26 +01:00
inorichi
30b907bdf2 Fix an issue where the retry button wasn't doing anything. Preload the first pages of the next chapter (if available). Show a toast if no next/previous chapter is available. Other minor changes. 2015-11-28 10:48:01 +01:00
inorichi
9db81b1832 Update last chapter read in MAL when reaching the last page 2015-11-27 00:51:18 +01:00
inorichi
e1a14be2bd Create chaptersync table for new databases 2015-11-25 20:05:30 +01:00
inorichi
1d5e8e02d3 Fix chapter recognition tests 2015-11-25 19:16:42 +01:00
inorichi
ee7d76e775 Initial MAL support 2015-11-25 16:08:24 +01:00
inorichi
da7d5886da Rename tables classes 2015-11-24 20:45:37 +01:00
inorichi
725f70a54c Minor fixes 2015-11-24 20:40:28 +01:00
Yuri Revich
9074cd6f6d fix formatting 2015-11-24 21:59:38 +03:00
Yuri Revich
1c8b68ab0e fix autoformat 2015-11-24 21:54:42 +03:00
Yuri Revich
18130e931f UI improvement Phase 1
- Simplified theme/style settings and corrected UI styles
- Move «Add To Library» button from toolbar to be simple  to find/press
it
- Toolbar in chapter list with sort/filtration
- library/catalog layout fixes
2015-11-24 20:45:53 +03:00
inorichi
85dcfd2beb Add an option to use custom brightness 2015-11-22 20:03:48 +01:00
inorichi
9b504126d0 Complete Mangafox and other minor changes 2015-11-22 01:35:26 +01:00
inorichi
9dd9c995a8 Some reordering and renaming 2015-11-21 03:56:07 +01:00
inorichi
970e75e59f Add a subscription to the list 2015-11-21 03:39:45 +01:00
inorichi
3aaaf563af Use smaller icons 2015-11-21 03:37:44 +01:00
inorichi
e66ba4d834 Add more settings to the reader 2015-11-21 02:27:34 +01:00
inorichi
5e2269df14 Improve reader options menu. Allow to select default viewer per manga. Allow to lock screen rotation. Working on more options. 2015-11-19 18:56:46 +01:00
inorichi
13e1227fc5 Show animations on reader menu. Don't retain fragment instances in ViewPagerReader. 2015-11-19 04:58:29 +01:00
inorichi
3c1b00435c Add an initial menu for the reader, and some minor changes. 2015-11-18 21:54:33 +01:00
inorichi
b389db9773 Destroy fragment's presenter when they aren't needed using FragmentStack class from Nucleus' examples 2015-11-17 00:28:22 +01:00
inorichi
11563e6f95 Fix a leak when rotating screen while reading 2015-11-16 21:22:17 +01:00
inorichi
e177edfee6 Reorganize strings. Close reader activity when page list throws an exception and notify it. 2015-11-16 19:33:33 +01:00
inorichi
75236559ca Minor changes 2015-11-16 18:09:31 +01:00
inorichi
b002a125fd Allow manual retries of images (needs improvement) 2015-11-16 16:44:33 +01:00
inorichi
e6c230cbe3 Allow to load next and previous chapter for horizontal readers 2015-11-15 21:21:12 +01:00
inorichi
a055cc07d8 Improve sources' paging 2015-11-15 17:51:14 +01:00
inorichi
f63b7c8141 Reorganize data package 2015-11-14 19:20:39 +01:00
inorichi
67ab54ff3b Upgrade dependencies 2015-11-14 17:50:37 +01:00
inorichi
4f604e828b Organize ui by feature instead of layer 2015-11-14 17:10:55 +01:00
inorichi
e74f81d41a New source (unfinished) 2015-11-14 15:33:07 +01:00
inorichi
985c5c09a7 Automatically close dialog when login is successful and notify user by toast 2015-11-11 19:15:56 +01:00
inorichi
089b5d3326 More improvements to webtoon viewer 2015-11-11 04:56:16 +01:00
inorichi
692d3c1b2c Initial chapter number recognition (needs improvement). Remove an old class. 2015-11-10 19:31:18 +01:00
inorichi
bc83bd7033 Some improvements to viewers 2015-11-10 16:35:23 +01:00
inorichi
f2b05e8519 Tip: don't copy paste without reading it again 2015-11-09 03:47:39 +01:00
inorichi
ceb56e2c8a Update number of downloaded images in the queue, and improve the way the view refreshes the data 2015-11-09 03:31:50 +01:00
inorichi
7c37262a9f Merge database operations in a single class, deleting duplicated methods (as observable or blocking) and let the consumer decide the option 2015-11-08 13:50:49 +01:00
inorichi
a130506514 Hold a wake lock until downloads are finished 2015-11-07 22:10:08 +01:00
inorichi
0f372ba069 Allow to resume downloads when a connection is again available 2015-11-07 16:34:22 +01:00
inorichi
17c60644dd Bugfixes in download manager and other minor changes 2015-11-06 20:22:01 +01:00
inorichi
d3a32da62c Change the download event. Fix some bugs in download manager. Other minor changes. 2015-11-06 03:29:23 +01:00
inorichi
2683cad5b5 Download queue threads are now updated when the setting change 2015-11-05 20:01:37 +01:00
inorichi
c73779ea3b Listen for downloaded pages, but it's not updating the UI yet 2015-11-05 00:50:39 +01:00
inorichi
de8b7b27e1 Minor changes 2015-11-04 22:50:05 +01:00
inorichi
3bdca95d96 Use flatMap with a limit instead of windows for concurrent downloads 2015-11-04 19:54:01 +01:00
inorichi
999cc0df6e Initial download queue fragment. Update progress working 2015-11-04 18:54:07 +01:00
inorichi
3b9f4cb6f1 Allow to delete downloaded chapters 2015-11-04 12:02:55 +01:00
inorichi
fa28ccc19a Read downloaded chapters 2015-11-04 11:25:29 +01:00
inorichi
b0a8740e8d Improve download manager. Add an option to select the number of threads for downloads. 2015-11-04 10:51:49 +01:00
inorichi
11638ae917 Allow reading downloaded chapters 2015-11-03 21:27:56 +01:00
inorichi
62ae572c72 Add a temporary way to select download directory 2015-11-03 20:04:07 +01:00
inorichi
13ff612ce0 Initial download manager 2015-11-03 16:21:50 +01:00
inorichi
b3f12ae333 Allow to remove a favorite manga from info tab 2015-11-02 21:22:31 +01:00
inorichi
04dfdba0b7 Refresh button in library is now looking for new chapters in sources and notifying the user 2015-11-02 17:25:06 +01:00
inorichi
faef785fc3 Add multiple chapters selection and allow to mark them as read/unread 2015-11-02 14:42:08 +01:00
inorichi
22ee78d256 Show toast when source login is needed 2015-11-01 22:04:48 +01:00
inorichi
9407d9b4f5 Minor changes 2015-11-01 21:28:03 +01:00
inorichi
95581007df Rename pager adapter and horizontal view pager 2015-10-29 15:54:18 +01:00
inorichi
571c24d3d9 Fix bug in reader's current position 2015-10-29 15:31:42 +01:00
inorichi
720b0a29ce Allow fullscreen reading 2015-10-29 13:46:10 +01:00
inorichi
afebfec737 Initial support for read chapters 2015-10-29 00:45:51 +01:00
inorichi
5e01937cce Recover page position when configuration changes 2015-10-28 21:29:28 +01:00
inorichi
cd456d2186 Use BehaviorSubject instead of PublishSubject to observe page progress 2015-10-28 17:47:21 +01:00
inorichi
e160f53bb2 Better handling of loading progress and image load. 2015-10-28 17:20:00 +01:00
inorichi
d26049155c Increase cache size 2015-10-28 14:03:58 +01:00
inorichi
1339e32de7 Show download progress. Caching of images now without glide 2015-10-28 02:10:37 +01:00
inorichi
3561392d24 Retry calls 2015-10-27 18:40:13 +01:00
inorichi
68e5efb02b Better error handling for images 2015-10-27 17:12:16 +01:00
inorichi
35b8be6c75 Library now showing favorite mangas 2015-10-27 00:00:09 +01:00
inorichi
baa24fbf17 Check credentials before saving 2015-10-26 18:50:11 +01:00
inorichi
1b45ff3b12 Authentication with batoto done 2015-10-26 17:29:16 +01:00
inorichi
8b0b174c93 Split source class 2015-10-26 14:04:03 +01:00
inorichi
0ef610bb73 Minor changes again 2015-10-26 02:15:31 +01:00
inorichi
e975860420 Minor changes 2015-10-26 01:55:36 +01:00
inorichi
0e9e80b081 Initial support for sources' login. Upgrade support library version. 2015-10-26 01:41:10 +01:00
inorichi
e857a44987 Fix batoto parser 2015-10-25 00:08:15 +02:00
inorichi
c7e9016ad7 Add vertical viewer. Allow to select a viewer 2015-10-24 22:47:34 +02:00
inorichi
0a9b84ea11 Add broken webtoon viewer (not sure if it will be possible with RecyclerView) 2015-10-24 21:09:58 +02:00
inorichi
d3c83f0bf2 Decouple viewer from the reader activity 2015-10-24 16:04:42 +02:00