Commit Graph

243 Commits

Author SHA1 Message Date
inorichi
3d1afe7cf2 Show manga with no installed source. Based on PR #1345 2018-06-30 19:55:46 +02:00
Jozef Hollý
f4b838d8e2 Remove unused string (#1422) 2018-05-26 15:24:44 +02:00
Ken Swenson
51144aa45e Implement Anilist API v2 (closes #1159) (#1383)
* Implement Anilist API v2 (closes #1159)

Switches to using the Anilist v2 API.
Login is now done by implicit grant and tokens are good for one year.
Users will need to login again after token expiration.
"clientId" on line 289 of AnilistApi.kt should be changed to Tachiyomi's
own client ID number.

* Code style formatting

Revert to kotlin 1.2.30
Use correct client ID
Rename AnilistApi.login to AnilistApi.createOAuth to reflect changed implementation
Rename json mimetype variable from json to jsonMime for clarity
Don't read response if it's ignored
Remove unused parameters from api requests

* Close netResponse after read

* Refactor remote_id into media_id and library_id

* DB: Refactor RemoteId

Refactor RemoteId into library_id and media_id
Implement function to fetch library_id if user is migrating rom APIv1

* Remove logging interceptor

* Compatability and sql simplification

* Fix score and minor improvements

* Revert changes to Kitsu API
2018-05-05 14:05:02 +02:00
inorichi
303e6c0102 Reorganize reader settings. Update Conductor version 2018-04-28 10:40:08 +02:00
inorichi
7b4ac7998a Remove simultaneous downloads 2018-02-18 17:34:22 +01:00
Carlos
40b222f8bc Improve tracking search results (#1178)
* initial commit
changed tracking info screen
added ability to click logo to launch website

* added publishing status and type to description.
adjusted layout some

* added start date to track info

* tweaked layout

* tweaked layout

* tweaked layout

* code review changes

* code review changes part 2

* code review changes
2018-02-17 13:04:49 +01:00
Carlos
854112095b Downloading extensions from Github Repo. (#1101)
Downloading extensions from Github Repo.
2018-02-05 22:50:56 +01:00
Joel Shapiro
f88dd28c51 Add option to change double tap animation speed in the reader (#974)
* Add option to change double tap animation speed in the reader

* address requests from review
2018-01-26 20:22:31 +01:00
Bram van de Kerkhof
6a310bbaa9
Added custom download option (#1185)
* Added custom download option

* Implemented new design. TODO comments (like always...)

* W00t comments

* Implemented code review.

* Fixed commit breaking mistake :O

* Small design fix
2018-01-23 21:18:55 +01:00
Carlos
7f63e318f1 Catalog visuals update 1155 (#1167)
* adjusted search to be lower in navview

* close drawer on search
moved search and reset to bottom

* switched sort icon to arrow

* allow secondary drawer to swipe open and close

* fixed click to collapse for sortgroup, and group item
updated to rc4 flexibleadapter

* added header to drawer

* changed string to Search filters

* collapsed sort group

* fixed arrow size

* added divider line

* fixed vector size

* add divider id and tools text
2018-01-23 18:50:48 +01:00
Josh
34d21c1de3 Information Page Improvements (click to search, copy to clipboard, etc) (#1139)
* adds long click to copy details per inorichi/tachiyomi#1127

* Added the latest update date for inorichi/tachiyomi#1098 and possible fix for inorichi/tachiyomi#1141

* cleanup some mistakes I left

* adds modifications to full name display for inorichi/tachiyomi#1141 and click to search on various information pieces for inorichi/tachiyomi#860

* This modifies how the full title shows up in the info pages and also properly ellipsizes the titles in the catalogue/library list views

* Changes full title layout in horizontal mode

* Adds the tags in using AndroidTagGroup library

* reverting the sdk version in the gradle build

* code cleanup

* added back status update
2018-01-18 19:15:33 +01:00
inorichi
a75457ad88 Add a new screen to help migrating manga from sources 2018-01-12 22:02:05 +01:00
Carlos
6027671c09 Address #1154 (#1160)
* change add to library icon add toast

* adjusted toast messages
added toast to catalog long click

* adjusted strings
2018-01-08 14:08:48 +01:00
Bram van de Kerkhof
bdcc6e52e6
Small new user improvements (#1143)
- Changed empty library string
- Added empty view for Categories
2018-01-01 14:57:20 +01:00
inorichi
aee4ad2d3f Fix test 2017-10-22 18:58:31 +02:00
inorichi
d0567de4e6 Download badge 2017-10-21 17:08:49 +02:00
inorichi
d97aff85b3 Support notification channels. Fixes #995 2017-10-10 14:16:37 +02:00
Bram van de Kerkhof
deec65446f Shortcut fix Oreo (#1026)
* Moved to Android O Shortcutmanager

* Re-added possibility to change icon shape pre oreo.
2017-10-10 12:05:33 +02:00
Bram van de Kerkhof
54c8b3ef29 Global Search (#849)
* Global Search

* Cards are now independent of design by use of recycler.

* Added local

* Some attribute fixes + moved onclick to controller.

* Lots of improvements to code

* Reversed some stuff. Thanks API 16

* Code fixes

* Performance improvements

* Moved adapter creation to constructor

* Small changes

* Removed sources settings from settings menu. Added OnChangeListener in catalogue. Made setting icon visible if room.

* bug fix

* Code review part uno

* Code review part uno-2

* Single recycler approach

* Add last source used

* Fix scroll state and some layout issues

* Fix wrong item binding

* Use data class for items

* Calculate item position and count while binding

* Fix background color with slices

* Reuse slices. Fix card background. Flatten constraint layout

* Fix global_search scroll issue

* Store last state with global search

* Minor changes

* Remove catalogue toolbar spinner. Persist catalogue across process restarts

* Save view state of recycler views. Set toolbar title with current query
2017-09-23 13:11:39 +02:00
len
1794782323 Add option to invert volume keys. Closes #834 2017-06-11 11:36:12 +02:00
Carlos
1089c25b8f allow sorting by total chapters for library view (#811)
* allow sorting by total chapters for library view

* allow sorting by total chapters for library view

* Changed to remove query per manga.
2017-05-31 21:50:21 +02:00
inorichi
67678cd49e Add an option to refresh all tracking metadata 2017-05-17 13:36:42 +02:00
len
0da2f91771 Info shows last chapter instead of chapter count. Resolves #765 2017-05-14 19:55:48 +02:00
Bram van de Kerkhof
2118434823 Initial AMOLED theme + some CardView fixes (#787)
* Initial AMOLED theme + some CardView fixes

* small fix
2017-05-07 12:36:25 +02:00
Bram van de Kerkhof
6069659e0f Small fixes (#740) 2017-04-07 21:17:21 +02:00
lifeweaver
f6a79bde6f Add manga straight into a category from catalogues (#737)
* Add feature mention in issue #625
2017-04-07 20:39:09 +02:00
Bram van de Kerkhof
4ebb3a894d Added round icon + added shortcuts (#732)
* Added round icon + added shortcuts

* Moved values to companion
2017-04-04 17:42:39 +02:00
Bram van de Kerkhof
0642889b64 Rewrote Backup (#650)
* Rewrote Backup

* Save automatic backups with datetime

* Minor improvements

* Remove suggested directories for backup and hardcoded strings. Rename JSON -> Backup

* Bugfix

* Fix tests

* Run restore inside a transaction, use external cache dir for log and other minor changes
2017-04-04 17:42:17 +02:00
len
f9fec74ffd Add short description to library update notification 2017-03-30 20:02:48 +02:00
len
de8fa09366 Keep new chapters notification across updates 2017-03-25 22:00:55 +01:00
Bram van de Kerkhof
68c4116327 Category-specific auto download (#701)
* Category-specific auto download
2017-03-18 13:09:40 -04:00
len
91c58640a7 Add crop borders functionality, #219 2017-02-12 00:30:32 +01:00
len
f7c791d153 Ask for chapter deletion when removing from library 2017-02-03 20:14:33 +01:00
paronos
2b73a9d2a4 Local manga in zip/cbz/folder format (#648)
* add local source

* small fixes

* change Chapter to SChapter and and Manga to SManga in ChapterRecognition.
Use ChapterRecognition.parseChapterNumber() to recognize chapter numbers.

* use thread poll

* update isImage()

* add isImage() function to DiskUtil

* improve cover handling

* Support external SD cards

* use R.string.app_name as root folder name
2017-01-29 20:48:55 +01:00
Bram van de Kerkhof
c445ea90ba Notification Improvements (#594)
* Download notifier improvements

* Notification improvements

Added a Notification Service.

Added a Notification Activity Handler.

* Removed service. Everything is now managed by single broadcast

* Fixed some flags

* Fixed ReaderActivity call

* Code review

* Added Handler. Removed dismiss onDestroy
2017-01-20 21:18:15 +01:00
len
871e17c2f5 Rewrite catalogue adapter 2017-01-17 20:13:29 +01:00
len
7b9f5d0e9f Update category adapter 2017-01-13 19:35:20 +01:00
Bram van de Kerkhof
72f8c4d5e2 Added add to library dialog when downloading from catalogue (#618)
* Now show snackbar when adding from catalogue

* Code cleanup + added manga favorite event to update favorite drawable when added via snack

* Update SettingsAdvancedFragment.kt

Forgot to check optimize import. I think(hope) I got them all ;).

* Now uses PublishRelay. Manga favorite is now handled in info presenter

* Update MangaInfoFragment.kt
2017-01-08 20:07:19 +01:00
len
c25af3d5ad Change filters dialog with a drawer 2017-01-02 18:35:54 +01:00
len
1a3a1db4ff Remove Language class. App's language and hidden languages settings were reset 2016-12-26 15:44:59 +01:00
Gianmarco David
1f14240251 Translated some strings to Italian (#602)
* Translated some strings to Italian

* Added missing strings and fixed a couple of errors
2016-12-24 00:08:27 +01:00
inorichi
94ee4e7fb5 Experimental Anilist and Kitsu support (#586)
* Tracking tab with anilist support

* Rename MangaSync to Track

* Rename variables and methods to track

* Kitsu implementation

* Variables refactoring

* Travis fix?
2016-12-18 22:56:28 +01:00
len
e1a3ee1b81 Bugfixes 2016-12-18 16:35:39 +01:00
Ken Swenson
cc9fd53abb Implement language switcher (#563)
* Implement language switching using BaseActivity

* Add requested changes

* Cleanup App.kt Imports and add pref_language_key

* Acutally use @string for key

* Use string resource for language preference title
2016-12-13 20:47:46 +01:00
inorichi
b067096fc7 Add drawer to filter and sort the library (#570)
* Add additional drawer to filter and sort the library

* Tint icon when there's a filter active

* Comments and minor changes
2016-12-11 12:43:44 +01:00
len
2dd58e5f7d Ask for confirmation before changing the cover. Fixes #562 2016-12-10 23:16:46 +01:00
Robin Appelman
8b60d5bfcb Add optional to automatically download new chapers (#538)
* Add optional to automatically download new chapers

* Only trigger download once
2016-12-06 17:22:03 +01:00
Bram van de Kerkhof
aba528b227 Added option to sort library (#536)
* Initial code

* Added all sort options

* Fixes

* Removed sort by added. Some renaming

* Removed date added database calls

* Fixes
2016-12-04 20:22:12 +01:00
len
a0064a1699 Don't allow to create categories with the same name 2016-12-01 20:34:30 +01:00
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
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
125f1ae34c Added option to bookmark single chapter (#496)
* Added option to bookmark single chapter

* Fixes
2016-11-06 13:33:00 +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
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
d7b8015df7 Drop support for reencode images 2016-10-23 13:22:14 +02:00
Bram van de Kerkhof
b16a90e9d9 Fixed incorrect string for color filter (#493) 2016-10-15 11:50:07 +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
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
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
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
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
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
658860fdff Add chapter loader, drop non seamless mode 2016-06-14 15:15:31 +02:00
Bram van de Kerkhof
7ba898f701 Added recently read tab (#316) 2016-06-06 15:26:56 +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
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
e885469504 Allow to change sorting mode from the chapters fragment 2016-05-21 22:04:06 +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
len
7cc4405c09 Swipe down updates active category. Closes #292. Not sure I'll keep this 2016-05-08 17:27:49 +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
1226023dc2 Allow to update one category 2016-05-05 00:37:03 +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
0a27d4e185 Add an option to reencode images under the advanced tab. #262 2016-04-21 15:31:07 +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
eb662f1234 Fix some crashes when restoring backups 2016-04-14 17:24:34 +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
b27669ee32 Remove unused strings 2016-04-10 17:49:48 +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
bc473055b9 Changed fragment_manga_chapters.xml. Fix #221 2016-03-22 20:56:19 +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
689f2e7fbf Support for sources from different languages 2016-03-10 16:15:48 +01:00