Commit Graph

3276 Commits

Author SHA1 Message Date
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
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
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
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
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
inorichi
e7ecfd1e84 Separate method pullImageUrlsFromNetwork to allow testing 2015-10-09 13:38:28 +02:00
inorichi
ea8ded549b Insert or remove chapters with one subscriber 2015-10-08 22:48:50 +02:00
inorichi
74ccd8bd24 Update insertOrRemoveChapters method 2015-10-08 14:28:57 +02:00
inorichi
67a2e99cc1 Use interfaces for database managers, create a source manager 2015-10-08 13:15:29 +02:00
inorichi
2888023eb1 Insert or remove method (meh) 2015-10-07 00:26:53 +02:00
inorichi
a3463addc3 Get chapter list 2015-10-06 19:44:30 +02:00
inorichi
a78359e4a9 Download chapter images 2015-10-06 00:24:29 +02:00
inorichi
c3b65d286f Send crash reports 2015-10-05 12:47:10 +02:00
inorichi
b2a1ba777d Use constraints, delete chapters when deleting a Manga 2015-10-03 00:27:47 +02:00
inorichi
53f86c4f4b Delete mangas 2015-10-03 00:14:40 +02:00
inorichi
a6c59bbc10 Item selection 2015-10-02 18:27:25 +02:00
inorichi
7fe40525f2 Add proguard rules. Show unread count. Use compact font 2015-10-02 13:20:15 +02:00
inorichi
ff26c38860 Use support fragments 2015-10-01 23:44:17 +02:00
inorichi
90b0948968 Add composite subscriptions 2015-10-01 16:52:08 +02:00
inorichi
e386257d34 Unsubscribe subscriptions 2015-10-01 14:51:07 +02:00
inorichi
4e795b69e5 Add an option to get unread chapters of mangas 2015-10-01 14:30:08 +02:00
inorichi
db49c3ee88 Create adapter in presenter 2015-10-01 00:11:19 +02:00
inorichi
d7bb4a6a2a Create adapter in presenter 2015-09-30 22:51:36 +02:00
inorichi
3349227868 Observing filter changes shouldn't be needed 2015-09-30 21:11:16 +02:00
inorichi
710638e2eb Use Observable to filter library 2015-09-30 21:07:45 +02:00
inorichi
e175a75031 Search working 2015-09-30 19:35:27 +02:00
inorichi
289e53a7f5 Search for library (not working) 2015-09-30 19:03:11 +02:00
inorichi
790ccdaba6 Download button 2015-09-29 14:40:36 +02:00
inorichi
59fa396eeb Insert two dummy mangas 2015-09-29 00:09:30 +02:00
inorichi
d47e469665 Show chapter list 2015-09-28 15:02:46 +02:00
inorichi
d3b6b8721e Set toolbar in BaseActivity. Show title in MangaDetailActivity 2015-09-28 12:42:16 +02:00
inorichi
43439720db Use EasyAdapter 2015-09-28 02:35:54 +02:00
inorichi
e567bc753f Update library when changes to the DB are made and open manga detail activity 2015-09-26 18:58:01 +02:00
inorichi
8b6bdfdfdc Get data from database 2015-09-26 14:25:18 +02:00
inorichi
9302ecfb92 Display dummy data 2015-09-25 19:43:23 +02:00
inorichi
207aca60b2 Make entities' fields public 2015-09-25 19:33:02 +02:00
inorichi
393caaa549 Add library class 2015-09-25 12:44:11 +02:00
inorichi
9e5622c92e Delete boilerplate resources 2015-09-25 12:39:41 +02:00
inorichi
b69510e972 Initial commit 2015-09-24 17:27:43 +02:00