Commit Graph

184 Commits

Author SHA1 Message Date
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
inorichi
ef7613f7ad Cache chapter images from presenter with glide. 2015-10-23 01:40:27 +02:00
inorichi
fefc6ba0e9 Disable tiling, for now 2015-10-22 17:24:17 +02:00
inorichi
3a748a9453 Allow tapping on the edges of the chapter to change pages 2015-10-22 02:20:42 +02:00
inorichi
38c6fac385 Move dagger classes to injection directory 2015-10-21 21:04:10 +02:00
inorichi
57290a5395 Remove unused util classes 2015-10-21 20:54:11 +02:00
inorichi
985d71a869 Starting preferences 2015-10-21 19:27:22 +02:00
inorichi
af678a5b3c Copy nucleus activity and fragment to create a base activity and fragment 2015-10-21 18:36:01 +02:00
inorichi
4966f1e15f Convert catalogue to a fragment 2015-10-21 17:20:03 +02:00
inorichi
4c786077a8 Show page number, improve the load of the first image of a chapter 2015-10-21 16:40:50 +02:00
inorichi
74da971b2e Reader working. Yay! 2015-10-21 02:18:29 +02:00
inorichi
915847c0ed Rename viewer to reader 2015-10-21 00:18:55 +02:00
inorichi
5142df103b Almost showing a chapter reader 2015-10-21 00:04:04 +02:00
inorichi
49c69be38e Fix wrong manga received through EventBus 2015-10-19 23:54:19 +02:00
inorichi
0c77a7034a Show chapter count 2015-10-19 17:27:41 +02:00
inorichi
9ad6efbada Minor changes 2015-10-19 15:10:25 +02:00
inorichi
a3236e98d0 Instant search when leaving search mode 2015-10-19 04:23:31 +02:00
inorichi
85d34ab9e5 Search survive screen rotation 2015-10-19 04:15:30 +02:00
inorichi
264d627dea Use subscriptions in onCreate method in CataloguePresenter 2015-10-19 02:57:00 +02:00
inorichi
1719959bc8 Use nucleus restartables in chapters presenter. Fix some database methods. Add swipe refresh to chapters fragment. Use Icepick library. 2015-10-18 19:18:50 +02:00
inorichi
920a71601b Don't restart library subscription 2015-10-18 02:33:15 +02:00
inorichi
c6df23b1aa Don't query db twice 2015-10-18 01:59:21 +02:00
inorichi
a52e33b628 Use EventBus 2015-10-18 01:22:05 +02:00
inorichi
1802dd04e4 More changes to MangaDetailActivity and its fragments 2015-10-17 21:31:10 +02:00
inorichi
c13d747665 Show chapters tab if it's a manga from library 2015-10-17 17:32:31 +02:00
inorichi
161a4b17a6 Use same activity for manga details on catalague and library. Move some methos to view. 2015-10-17 17:09:33 +02:00
inorichi
c768b4de3b Delete all view interfaces 2015-10-17 16:34:22 +02:00
inorichi
1929eea19d Delete old BasePresenter 2015-10-17 16:33:29 +02:00
inorichi
b36aa69a67 All fragments using Nucleus 2015-10-17 16:28:35 +02:00
inorichi
8c0994747f All activities using Nucleus 2015-10-17 15:51:44 +02:00
inorichi
0e52c81970 Add MangaDetailActivity with two fragments, info and chapters 2015-10-17 13:51:54 +02:00
inorichi
07395892a0 Imports cleanup 2015-10-17 04:06:30 +02:00
inorichi
049e5a1ee5 Use RxPresenter in Library 2015-10-17 04:03:39 +02:00
inorichi
8da5c83cb3 Add catalogue detail page. Add simple tests for sources 2015-10-17 02:39:16 +02:00
inorichi
0cfd433234 Begin switch to Nucleus 2015-10-16 21:40:59 +02:00
inorichi
906cdc1348 Add MangaHere source 2015-10-16 21:30:16 +02:00
inorichi
235ed36fbe Introducing nucleus 2015-10-16 19:31:18 +02:00
inorichi
68f1102c40 Create empty MangaCatalogue 2015-10-15 01:51:35 +02:00
inorichi
684c5e98d3 Rename classes 2015-10-14 13:39:07 +02:00
inorichi
fbf141aad8 Fix crash when searching in the library 2015-10-14 12:49:00 +02:00
inorichi
19eeb18d0d Show loading progress bar in catalogue 2015-10-14 12:27:51 +02:00
inorichi
991e4d40d0 Remove redundant code 2015-10-14 11:54:22 +02:00
inorichi
8dc7c550ad Use a publisher to get manga details. Refactor CatalogueListPresenter 2015-10-13 21:27:29 +02:00
inorichi
ed76520ebc Load catalogue with thumbnails 2015-10-13 20:16:15 +02:00
inorichi
c88d8f0ded Rename library holder 2015-10-13 18:57:10 +02:00
inorichi
13b4f5c385 Fix incorrect batoto thumbnail url. Create a function to copy the manga from network to local. 2015-10-13 16:47:27 +02:00
inorichi
82ac2b3223 Simplify if/else 2015-10-13 00:15:03 +02:00
inorichi
0febdfb715 Fix force close when no more mangas found 2015-10-12 23:53:27 +02:00
inorichi
0278531e51 Search mangas from source (unusable yet) 2015-10-12 23:17:37 +02:00
inorichi
66ab8caf76 Get mangas from search first steps 2015-10-12 23:00:55 +02:00
inorichi
38da2ba35b Optimize imports. Keep tracking of every subscription 2015-10-12 21:33:53 +02:00
inorichi
e7116bdcab Load more mangas on scroll 2015-10-12 18:39:24 +02:00
inorichi
2aaaad7a24 Show mangas from catalogue 2015-10-12 01:01:20 +02:00
inorichi
381bedf68d Create presenter and view for CatalogueList 2015-10-11 15:48:17 +02:00
inorichi
18be01e4c5 Create empty CatalogueListActivity.
Add some changes to view interfaces
2015-10-11 15:01:26 +02:00
inorichi
13124ee02f Create catalogue fragment 2015-10-10 14:28:57 +02:00
inorichi
a6a05fbb7f Use lambdas in CacheManager 2015-10-09 22:28:32 +02:00
inorichi
36265472f8 Move generic methods to Source 2015-10-09 22:08:36 +02:00
inorichi
270b3e796a Pull manga details from Batoto 2015-10-09 16:05:13 +02:00