Commit Graph

423 Commits

Author SHA1 Message Date
inorichi
6f297161de Download manager rewrite (#535)
* Saving to SD working

* Rename imagePath to uri

* Handle android < 21

* Minor changes

* Separate downloader from the manager. Optimize folder lookups

* Persist downloads across restarts

* Fix for #511

* Updated ReactiveNetwork. Add some documentation

* More documentation and minor fixes

* Handle persistent notifications. Other minor changes

* Improve downloader and add documentation

* Rename pageNumber to index in Page class

* Remove unused methods

* Use chop method

* Make sure dest dir is created

* Reset downloads dir preference

* Use invalidate options menu in download fragment and fix wrong condition

* Fix empty download queue after application restart

* Use addAll method in download queue to avoid too many notifications

* Inform download manager changes
2016-11-20 11:20:57 +01:00
len
453f742732 Trying to fix a crash in settings (again) 2016-11-15 19:12:03 +01:00
len
83349fc72d Trying to fix a crash in settings 2016-11-15 17:48:51 +01:00
inorichi
9f625835ec Added option to download page or set page as cover (#481)
* Added option to download page or set page as cover

* Removed network call now copies from page image

* Format fix + notification feedback

* Added code to prevent OutOfMemory error.  Made notification optional. Can now save image on long press. Bug fixes

* Now uses glide for notification

* Fixed webtoon page

* Fixes + API 16 support

* fixes

* Fixed API 24 FileProvider error

* Added page.ready check

* Indention
2016-11-14 20:48:34 +01:00
Bram van de Kerkhof
9c5b497751 Changed sort icon from by alpha to by numeric (#525) 2016-11-13 14:25:55 +01:00
Bram van de Kerkhof
125f1ae34c Added option to bookmark single chapter (#496)
* Added option to bookmark single chapter

* Fixes
2016-11-06 13:33:00 +01:00
len
10a1ba95d6 Support API 25 again. Bump dependencies 2016-11-05 19:28:47 +01:00
len
dcbd72e64d Release 0.3.2 2016-10-30 17:39:16 +01:00
len
52e1e93f9d Added another image decoder. It should be faster than Rapid and more reliable than Skia. 2016-10-28 19:26:47 +02:00
Bram van de Kerkhof
7d3d0999f3 Fixed API 24 FileProvider error 2016-10-25 17:34:49 +02:00
Bram van de Kerkhof
c2b113ac0a Fixes + API 16 support 2016-10-25 15:49:27 +02:00
Bram van de Kerkhof
414b8c9f21 Now uses glide for notification 2016-10-25 15:49:21 +02:00
Bram van de Kerkhof
4975787afa Added code to prevent OutOfMemory error. Made notification optional. Can now save image on long press. Bug fixes 2016-10-25 15:49:20 +02:00
Bram van de Kerkhof
2991906a85 Added option to download page or set page as cover 2016-10-25 15:49:17 +02:00
len
5b1f4f189b Reader fixes 2016-10-24 22:16:50 +02:00
len
90e0e0b72a Webtoon reader now shows download progress. Keep the progress bar until the image is decoded 2016-10-23 18:59:25 +02:00
len
d7b8015df7 Drop support for reencode images 2016-10-23 13:22:14 +02:00
len
e375101132 Revert "Support API 25. Use new DividerItemDecoration."
This reverts commit 05b14bae7b.
2016-10-22 21:42:48 +02:00
len
05b14bae7b Support API 25. Use new DividerItemDecoration. 2016-10-22 20:21:25 +02:00
inorichi
c9e1e6e020 Release 0.3.1 2016-10-17 08:43:19 +02:00
len
ee2aae7e3a Release 0.3.0 2016-10-16 21:00:40 +02:00
Bram van de Kerkhof
b16a90e9d9 Fixed incorrect string for color filter (#493) 2016-10-15 11:50:07 +02:00
len
4578edf157 Use old refresh icon (but with the app's logo) 2016-10-15 11:31:24 +02:00
len
8fc467652d Add app's notification icon 2016-10-13 19:45:10 +02:00
MrAmnesiac
7971b64d57 Update Portuguese(pt_PT) translation. (#492)
-New strings required translation
-Correcting mistakes
2016-10-12 21:24:12 +02:00
len
4524c705da Add simple method for preference bindings 2016-10-06 19:39:59 +02:00
len
1f70be688a Allow to refresh the entire library info (fixing empty covers after restoring backups). Closes #462 2016-10-06 19:23:59 +02:00
len
6d0689fe6c Keep compatibility with YAML sources. Reorder methods 2016-09-30 21:29:03 +02:00
Roman Martinez
0b3dda18d3 Implement latest updates. (#472) 2016-09-30 21:11:51 +02:00
len
11ac4df5d7 Bump dependencies, remove unused resources 2016-09-29 19:53:59 +02:00
Andy Bao
d352405ba6 Open from homescreen/add shortcut to launcher (#435)
* Add very basic "Add to homescreen" action in manga info fragment.

* Fix open from homescreen opening current manga (if a manga is open).
Code cleanup.

* Improve fix for "Opening from homescreen opens currently open manga if a manga is currently open" and fix "Going back to the main app via a Manga opened through a shortcut repeats the launcher open animation".

* Implement custom icons, add star icon and optimize some things.

* Remove Tachiyomi and custom image icon types.

* Move icon creation task into an observable.
Added some extra error handling.
2016-09-29 18:38:29 +02:00
Bram van de Kerkhof
596a24fce8 Added option to share your favorite manga (#477) 2016-09-22 21:36:40 +02:00
Bram van de Kerkhof
8be67a4431 Custom color filter for reader (#434)
* [WIP] Custom color filter for reader

* Improvements

* temp image to prevent build error

* Shift all the bits

* Some improvements. Removed DiscreteSeekBar

* Improvements

* API 16 + fixes

* Reduced lag. Fixed brightness value being reset to 0

* Small fixes
2016-09-21 21:26:08 +02:00
inorichi
58a2f7a874 Hide catalogues (#466)
Hide catalogues
2016-09-18 21:12:12 +02:00
len
20e2bf9682 Place restrictions above category selection 2016-09-15 18:46:51 +02:00
len
8512f97386 Show default message when no categories selected 2016-09-15 18:39:16 +02:00
len
91829b0e7d Select categories for global update 2016-09-15 18:01:07 +02:00
inorichi
ccdc336112 Complete auto updates checker (#449)
* Complete auto updates checker

* Use GcmTaskService for the periodical updates checker

* Persist task across reinstalls

* Hide setting instead of disabling

* Minor refactor
2016-09-07 19:44:55 +02:00
Bram van de Kerkhof
d8d93ee344 Added read filter to chapter select. (#431)
* Added read filter to chapter select.
* Can now select how far back the chapter should be deleted after read.
2016-09-05 11:08:16 +02:00
Robin Appelman
2fb3b50535 Add genre filter for catalogue (#428)
* Add genre filter for catalogue

* Implement genre filter for batoto

* hardcode filters for sources

* swtich filter id to string

* reset filters when switching sources

* Add filter support to mangafox

* Catalogue changes

* Indefinite snackbar on error, use plain subscriptions in catalogue presenter
2016-08-28 22:59:00 +02:00
len
60b3036037 Rename fragment to view 2016-08-22 12:55:31 +02:00
len
dfb2487640 Library views recycling 2016-08-22 12:54:16 +02:00
len
b6a06189fb Fix text overlapping, make icons a bit bigger 2016-07-31 01:01:25 +02:00
len
e95fcf6172 Dynamic recyclerview inflation for the library view and better swap handling 2016-07-30 23:54:32 +02:00
len
c0a0d60c87 Replace page fragments with views 2016-07-30 15:51:49 +02:00
Bram van de Kerkhof
9cf5a4cac0 Minor Improvements (#405) 2016-07-28 01:01:56 +02:00
Josh
f21a030cf8 Added the ability to view the library as a list (#394)
* Added in the ability to view the library as a list

* reverted LibraryAdapter and renamed libraryToggleViewEvent to LibraryToggleViewEvent for consistency

* removed LibraryToggleViewEvent and directly subscribed to option change

* fixed the toggleView subscription

* Made the library list item layout more compliant with material design

* Changed unread text style and removed background
2016-07-27 17:37:36 +02:00
len
74e3d387eb Release v0.2.3 2016-07-24 15:41:58 +02:00
len
8c1bedf796 Back button now returns to start screen. Also fix #356 2016-07-20 19:09:28 +02:00
Josh
33b04427d5 Added a startup screen preference option (#395)
* Added a startup screen preference option

* changed string and keys to be consistent
2016-07-18 19:58:18 +02:00
len
e08e41ae0d Remove most unused settings from the reader (keep screen on and page transitions), they are still available in the app's settings. Also lower minimum brightness to -75% 2016-07-08 22:31:46 +02:00
len
f15df40a54 Add an overlay on top of the reader to simulate a lower brightness. Closes #362 2016-07-07 23:18:22 +02:00
len
e198f7e671 Add icons for settings 2016-07-02 22:14:04 +02:00
len
5fe1799dab Fix #333 2016-07-02 14:12:52 +02:00
len
864f001c3e Add portuguese translation by @MrAmnesiac 2016-06-30 16:10:30 +02:00
Neverest
72811e59f5 Spanish UI translation (#365)
Added spanish translation
2016-06-29 15:32:05 +02:00
inorichi
05c0516a57 New reader menu (#368) 2016-06-27 16:46:31 +02:00
len
9beeca652f Rewrite preferences with a modified support library v7 2016-06-16 20:52:51 +02:00
len
a82e1d0e45 Remove unneeded annotations and some cleanup 2016-06-15 17:47:44 +02:00
len
658860fdff Add chapter loader, drop non seamless mode 2016-06-14 15:15:31 +02:00
len
2d1e85f280 Fix scroll position with many categories. Closes #332 2016-06-09 14:27:11 +02:00
Bram van de Kerkhof
1f8126e2af Use cardBackgroundColor instead of android:Background (#339) 2016-06-07 20:59:43 +02:00
Bram van de Kerkhof
86db7497e9 Small card fixes (#338) 2016-06-07 20:36:40 +02:00
Bram van de Kerkhof
172305fc6a Wrong card background fix + bump gradle version (#337) 2016-06-07 20:14:36 +02:00
Bram van de Kerkhof
7ba898f701 Added recently read tab (#316) 2016-06-06 15:26:56 +02:00
len
11262f86f9 Release 0.2.2 2016-06-06 14:43:02 +02:00
len
d1db2d60ec Fix #329. Add confirmation before removing favorite manga on multiple selection. Add new proguard rules 2016-06-05 23:40:27 +02:00
len
156e43290e Remove unneeded swipe refresh 2016-06-05 11:54:35 +02:00
Bram van de Kerkhof
1fbec7bf3d Added improvements for RecentChapters. Closes #320 (#324) 2016-06-04 17:50:44 +02:00
len
2723aeeb5c Better error feedback. Closes #325 2016-06-03 12:37:07 +02:00
James Harris
eec728f162 Rename "Only update incomplete manga" string to "ongoing" (#318) 2016-06-02 14:42:40 +02:00
len
1ac8ef5341 Reader fixes and minor changes 2016-06-02 14:11:10 +02:00
len
0fe350af9a Minor classes restructuration and optimize imports 2016-05-27 13:21:21 +02:00
len
a08cea9df8 Show changelog when new version is installed 2016-05-26 15:10:28 +02:00
Bram van de Kerkhof
26f4f53ec2 Fixed spinner + improved ripple (#310) 2016-05-25 00:09:24 +02:00
len
e885469504 Allow to change sorting mode from the chapters fragment 2016-05-21 22:04:06 +02:00
len
637dda2e22 Make status bar transparent on API >= 21 2016-05-21 15:43:48 +02:00
NoodleMage
575eaee1d2 UI tweaks 2016-05-19 16:29:25 +02:00
len
6e8a41f898 Kissmanga loading through Cloudflare. A lot of refactoring was needed 2016-05-15 20:46:58 +02:00
len
88e64c878b Double the distance required to trigger category update and remove overflow menu setting 2016-05-12 15:30:57 +02:00
Bram van de Kerkhof
0ad9e4af0b Fix #267 (#299) 2016-05-12 14:28:44 +02:00
len
7ca99f749b Remember last active category. Closes #261 2016-05-08 18:11:09 +02:00
len
7cc4405c09 Swipe down updates active category. Closes #292. Not sure I'll keep this 2016-05-08 17:27:49 +02:00
len
62d5deaa6f Allow to open manga in the browser. Closes #157 (Doesn't work with kissmanga) 2016-05-08 15:20:55 +02:00
len
7f5879ed6f Add confirm dialog for multiple deletion. Closes #155 2016-05-08 14:58:21 +02:00
Bram van de Kerkhof
ed77c60283 Added download notifications, resolves #260 (#289) 2016-05-07 23:09:14 +02:00
len
9de3da33aa Fix recent chapters menu button not showing on high dpi screens 2016-05-05 20:58:19 +02:00
len
1226023dc2 Allow to update one category 2016-05-05 00:37:03 +02:00
len
47bc1f7a9f Remove RelativeLayout from covers for better performance 2016-04-29 20:00:03 +02:00
NoodleMage
eb9c5f95db Removed automatic update + duplicate fix 2016-04-26 22:56:49 +02:00
NoodleMage
55e9d2880c Rewrote UpdateDownloader to Kotlin
Added auto update check (every 12 hour)
Warning message optional fix #256
Lots of bug fixes!
2016-04-26 20:57:05 +02:00
len
31731e8f26 Fix a crash in older android versions 2016-04-25 23:43:32 +02:00
len
0a27d4e185 Add an option to reencode images under the advanced tab. #262 2016-04-21 15:31:07 +02:00
len
17c59657c3 Allow to unbind manga, closes #258. Fix some network calls leaking 2016-04-18 20:14:50 +02:00
len
a7840bc247 Rewrite PreferencesHelper. Allow to customize navigation with volume keys and tapping. Closes #251 and closes #129. 2016-04-18 17:29:46 +02:00
len
deaba48431 Fix a crash on older devices 2016-04-14 17:37:21 +02:00
len
eb662f1234 Fix some crashes when restoring backups 2016-04-14 17:24:34 +02:00
len
dc80a5ffbd Minor XML refactoring 2016-04-13 16:42:59 +02:00
Bram van de Kerkhof
b1b97c19d4 Added option to check if connected to power before updating. closes #192 (#229) 2016-04-13 14:08:07 +02:00
len
b84635ffec Fix last commit 2016-04-10 20:14:35 +02:00
len
ed2fd00603 Style toolbar's spinner with light theme 2016-04-10 19:47:06 +02:00
len
b27669ee32 Remove unused strings 2016-04-10 17:49:48 +02:00
len
81d39ea272 Remove unused attrs and colors. Theme preference dialogs on API >= 21 2016-04-10 17:34:10 +02:00
len
936ede9aba Light and dark theme are now using different accent colors 2016-04-10 15:48:57 +02:00
len
e28f69cddf Dark theme now uses accent color for drawer items. #222 2016-04-10 01:37:42 +02:00
len
11f6c44442 Make status bar transparent on API > 21 properly. Snack function moved to an extension method in View 2016-04-10 00:59:12 +02:00
len
67c4781376 Upgrade support library. Switch gradle build tools and AS to 2.0. Adapt code to new support lib 2016-04-08 16:18:41 +02:00
len
ac15c0c57e Fix an error when restoring backup 2016-03-31 12:17:40 +02:00
len
e04596c668 Minor UI fixes 2016-03-30 10:30:13 +02:00
inorichi
da44dc3fb5 Support backups 2016-03-29 20:48:28 +02:00
len
06c63f1207 Fix a crash in the reader when restoring the instance. Removed capitalization on each word 2016-03-29 13:47:32 +02:00
NoodleMage
a78f89d4eb Can now choose to automatically remove chapter after reading (or previous). Fix #42 2016-03-25 23:05:50 +01:00
NoodleMage
499c2213ee Implements delete chapter when set as read for issue #42 2016-03-25 23:05:46 +01:00
NoodleMage
abbc7b572a Implements Download next 1/5/10/all chapters for issue #42 2016-03-25 23:05:45 +01:00
NoodleMage
137c21e6c9 Added animation 2016-03-23 19:38:12 +01:00
NoodleMage
bc473055b9 Changed fragment_manga_chapters.xml. Fix #221 2016-03-22 20:56:19 +01:00
len
ce271649ac Page number indicator now transparent 2016-03-21 15:58:59 +01:00
len
bbfe0a0cd1 Fix directory picker 2016-03-20 21:50:48 +01:00
len
4ccce424de Reader view in Kotlin. Upgrade gradle wrapper. Remove ButterKnife from the project 2016-03-18 20:21:30 +01:00
NoodleMage
5ef5f9b45f Rewrote Theme 2016-03-17 20:01:52 +01:00
NoodleMage
98d420d5aa Rewrote nav drawer to Kotlin + UI updates
Added launch screen + new Header

Removed MaterialDrawer library. Implemented Nav Draw from Support Library
2016-03-17 20:01:33 +01:00
len
f49577bc77 Manga in Kotlin. Expect some errors yet 2016-03-13 22:06:32 +01:00
len
a87c65872c Fix login dialogs not showing the correct title 2016-03-11 16:16:56 +01:00
len
689f2e7fbf Support for sources from different languages 2016-03-10 16:15:48 +01:00
len
ba1dca1826 Fix #206 2016-03-10 16:05:26 +01:00
len
a07e4c69b6 Fix crashes with vector drawables on older Android versions 2016-03-08 17:39:59 +01:00
inorichi
0ddbfd1036 Merge pull request #204 from NoodleMage/svg_all_the_way
Converted all icon drawables to vector + Removed Android-Iconics library.
2016-03-08 00:47:26 +01:00
NoodleMage
8b45df37d2 Converted all icon drawables to vector.
Removed Android-Iconics library.
2016-03-08 00:35:29 +01:00
len
70e557575f Preferences ported to support library 2016-03-07 23:48:43 +01:00
NoodleMage
6383a745ff Fixed wrong download filter from commit #33386e2
Fixed another tab not in TabLayout error.

Drawable to Vector
Removed Filter... Toast
2016-03-06 22:27:30 +01:00
NoodleMage
8fbef4b4bb Can now filter unread manga + Code opt 2016-03-06 22:27:24 +01:00
NoodleMage
d9f5a97d56 Can now filter downloads only on library view. Fix #27 2016-03-06 22:27:22 +01:00
len
e4ee03cb61 Allow to cancel update. #192. Needs testing 2016-03-06 20:58:15 +01:00
len
8c456a2da4 Replace some image drawables with vector drawables 2016-03-06 18:18:09 +01:00
len
ff61282104 Readers in Kotlin. Also fix #193 2016-03-04 14:10:41 +01:00
NoodleMage
a7e652f1f7 Rewrote Recent to Kotlin 2016-03-02 14:54:51 +01:00
len
ee4bf163ef Catalogue in Kotlin. Support library upgraded to 23.2.0. Downloads directory now shows a list of folders, it should fix #141. 2016-03-01 23:29:07 +01:00
inorichi
f73f0cc341 Download queue's UI in Kotlin 2016-02-26 18:10:13 +01:00
inorichi
59276b7160 Migrate library to Kotlin. 2016-02-25 15:37:52 +01:00
NoodleMage
9f78c8f6b4 - Rewrote Category to Kotlin
- Moved category to ui
- Reworked Animation (smoother)
- Updated TextDrawable
2016-02-25 09:58:01 +01:00
NoodleMage
144d315e27 rewrote ScrollAwareFABBehavior.java to Kotlin. Can now implement FABAnimationBase to create different FAB animations 2016-02-24 11:57:57 +01:00
inorichi
34dc85e605 Allow to retry image when decoding fails or open in the browser. Fixes #177 and fixes #120. Also fix a bug where the current page was not restored when changing settings. 2016-02-23 20:02:49 +01:00
NoodleMage
aac6b242a0 Can now delete manga from recent + added missing res files #118 2016-02-18 17:29:31 +01:00
inorichi
1cd77a97a7 Merge pull request #143 from NoodleMage/fab_improvement
Moved edit to cover select and update manga info view
2016-02-15 23:28:04 +01:00
inorichi
f820522a69 Show keep screen on in reader settings. Closes #146 2016-02-15 21:25:01 +01:00
NoodleMage
3da613dedb Moved edit cover to library | Updated manga info view | Updated catalogue
grid
2016-02-15 16:59:24 +01:00
NoodleMage
3a19f8e40b FAB animation update 2016-02-13 12:08:15 +01:00
inorichi
a90a4bf80c Remove old orientation lock. Add orientation types to preferences 2016-02-12 21:22:54 +01:00
inorichi
140bf8caee Allow to force a rotation 2016-02-12 19:36:00 +01:00
Kevin Richter
f84731c2df cleanup chapter action menu 2016-02-09 16:50:26 +01:00