Commit graph

455 commits

Author SHA1 Message Date
inorichi
1508bf42fb Open app from the new chapters found notification. Fixes #22 2016-01-15 14:38:24 +01:00
inorichi
5bb72429ea Adding a new logo, finally! Thanks @LinkCable 2016-01-15 02:42:10 +01:00
inorichi
414900abf8 Do not let the launcher create a new MainActivity 2016-01-14 22:33:41 +01:00
inorichi
3b8246588a Hide the search button in the library until it's fixed (or removed) 2016-01-14 21:14:56 +01:00
inorichi
1c465a6e59 Exclude novels from MAL. Fix #19 2016-01-14 20:50:14 +01:00
inorichi
24a0a3b96f Improve chapter recognition. 2016-01-14 17:45:32 +01:00
inorichi
4ee95140e6 Crash fixes 2016-01-14 00:50:40 +01:00
inorichi
6ef0573a49 Add an option to allow downloads on mobile connections. 2016-01-13 22:31:12 +01:00
inorichi
7e79a377cc Minor changes 2016-01-12 00:31:04 +01:00
inorichi
b170520370 Add an option to automatically update last chapter read and another one to ask before updating. Fixes #10 2016-01-11 18:21:17 +01:00
inorichi
226cc6990d Allow whitespaces in downloads path and add chapter id to avoid path conflicts. Throw if page list is empty
WARNING: Downloaded chapters from a previous version won't be visible in the app anymore. You  will have to manually delete the folder and download them again.
2016-01-10 21:16:23 +01:00
inorichi
e702be1a8d Rewrite the chapter insertion method. Create a wakelock until the library updates. Move custom preferences to widget package. 2016-01-10 19:49:26 +01:00
inorichi
fcb5bf4dd4 Add an option to update the library automatically after a specified time and an option to update only non completed mangas. Other minor changes. 2016-01-10 17:47:43 +01:00
inorichi
6eb321bb06 Don't update the chapter list if the parsed list is empty (#18) 2016-01-09 21:39:59 +01:00
inorichi
201650ced7 Notify when an image can't be decoded in the pager reader. Changes to theme. Reload library adapter when the mangas per row setting is changed (to recalculate covers height). 2016-01-09 18:23:38 +01:00
inorichi
8be44c209c Show selected decoder and background color in the popup menu. Reload adapter when the decoder changes. 2016-01-09 00:57:02 +01:00
inorichi
d03e7e2f8c Add Rapid decoder for better image support. Reorganize readers. 2016-01-08 20:16:17 +01:00
inorichi
b735a1f581 Add minor improvements and retry button to webtoon reader. 2016-01-07 21:21:42 +01:00
inorichi
39c9fd5945 Keep covers aspect ratio. Unsubscribe from the library when it's not needed. 2016-01-07 02:48:46 +01:00
inorichi
690684bacf Drop progress emissions on backpressure 2016-01-06 22:57:39 +01:00
inorichi
d0089e3f5e Add buttons to open next/previous chapter in the reader. Try entire app with hardware acceleration 2016-01-06 20:55:52 +01:00
inorichi
73aa93773c Replace hamcrest with assertj. ChaptersSubject now uses only one observeOn. 2016-01-06 16:08:15 +01:00
inorichi
dd833852ad Trying to fix a backpressure issue (#17). 2016-01-05 18:47:25 +01:00
inorichi
2f66b6e56c Use ARGB8888 for covers. Fix buttons background 2016-01-05 15:54:51 +01:00
inorichi
138e92d0aa Fix theme action mode 2016-01-05 14:17:16 +01:00
inorichi
060da4185e Theme fixes 2016-01-05 13:54:00 +01:00
inorichi
8000d67871 Enable tiling to webtoon reader and add a fade in animation 2016-01-05 04:55:31 +01:00
inorichi
737d3d4282 Improve webtoon reader precaching images. Show a badge for the apk. 2016-01-04 16:18:18 +01:00
inorichi
e477f2df1f Rename viewpager classes 2016-01-04 01:35:05 +01:00
inorichi
631ef65502 Host readers inside a fragment (Avoids some leaks) 2016-01-04 01:31:15 +01:00
inorichi
ddc188700c Make all info fragment content scrollable 2016-01-03 13:48:14 +01:00
inorichi
829c2d5faa Description scrollable and show real manga status. 2016-01-03 01:20:31 +01:00
inorichi
868058a50b Use RecyclerView for catalogue 2016-01-03 00:30:20 +01:00
inorichi
453a187938 Remove cache size setting. Add advanced settings section. Other minor changes. 2016-01-02 21:09:46 +01:00
inorichi
986572f6cb Create an util class to write less code on sources. Save status from sources. 2016-01-01 21:02:13 +01:00
inorichi
4d9cd6cb6e Allow to refresh data from MAL and show total chapters. Create nomedia file for default downloads folder on new installations. 2016-01-01 15:34:25 +01:00
inorichi
c830c037f7 Fix #11 2016-01-01 13:13:22 +01:00
inorichi
f9a97631f2 Store total chapters from MAL and automatically set as completed if it's the last chapter. Other minor changes 2015-12-31 19:15:24 +01:00
inorichi
f26a60f1ba Fixed again 2015-12-30 19:58:52 +01:00
inorichi
1344824b4a Fix crash on launch... 2015-12-30 19:56:56 +01:00
inorichi
a794bea9e7 Fix inconsistent tab layout 2015-12-30 19:29:25 +01:00
inorichi
ef444b0b63 Minor changes 2015-12-30 19:10:28 +01:00
inorichi
384bc3c690 Category improvements 2015-12-30 14:10:31 +01:00
inorichi
e6b7a79bee Fix a crash 2015-12-30 01:47:16 +01:00
inorichi
f9c13e0ee6 Fix a bug when updating categories in library 2015-12-29 22:57:58 +01:00
inorichi
b0ad72afad Upgrade storio to 1.7.0 2015-12-29 21:47:03 +01:00
inorichi
62535c77ae Hide default category if it doesn't have any manga 2015-12-29 21:19:41 +01:00
inorichi
1360a90bf9 Change mangas from categories (needs testing) 2015-12-29 01:00:05 +01:00
inorichi
3f1f9ea9f2 Allow to reorder and rename categories 2015-12-28 18:06:07 +01:00
inorichi
e548cbf171 Allow to create/remove categories. Some refactoring. 2015-12-28 01:13:52 +01:00
inorichi
3dff7f90e7 Allow to change number of columns 2015-12-27 14:58:36 +01:00
inorichi
1c86828b65 Use recyclerview in library 2015-12-26 21:54:10 +01:00
inorichi
043ab7eca9 Remove PageBundle class 2015-12-26 00:08:28 +01:00
inorichi
4900284c48 Categories improvements 2015-12-26 00:07:45 +01:00
inorichi
e3bc13630d Incomplete changes 2015-12-25 17:50:31 +01:00
inorichi
2aa36ed702 Minor changes 2015-12-24 15:04:52 +01:00
inorichi
1c4b5b3a72 Initial commit for categories 2015-12-23 22:30:48 +01:00
inorichi
72b2471619 Fix crash with gestures 2015-12-22 13:22:13 +01:00
inorichi
322f54380d Include Subsampling Scale Image View as library to allow preloading tiles when a max bitmap size is provided. 2015-12-21 18:09:09 +01:00
inorichi
80a59548a5 Merge changes from Nucleus presenter 2015-12-21 17:58:12 +01:00
inorichi
50d6632d0e Allow to set status, score and last chapter read in MAL. Other minor changes 2015-12-20 20:10:04 +01:00
inorichi
5f44e5d492 Make sure the answer from MAL is successful before updating DB. 2015-12-19 20:36:13 +01:00
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