Commit graph

1527 commits

Author SHA1 Message Date
Samuel Bronson
9276c491bc Upgrade Kotlin (to 1.3), Coroutines, Gradle and Android gradle plugin.
Kotlin:                1.2.71 -> 1.3.50
Coroutines:            0.30.2 -> 1.3.1
Gradle:                4.6    -> 5.4.1
Android gradle plugin: 3.2.1  -> 3.5.0

This brings us down to *one* experimental coroutine API, and we've
opted in to using it in just *one* place.

(The fact that the API to opt-in to using an experimental API in a
specific place is *also* experimental surely will not come back to
bite us later.)
2019-09-18 22:45:54 -04:00
Samuel Bronson
fa59b4f8a7 Fix coroutine deprecations again 2019-09-18 17:41:09 -04:00
Samuel Bronson
934a37c36b Update to kotlinx.coroutines 0.30.2
Almost done, honest!
2019-09-18 13:37:57 -04:00
Samuel Bronson
5362f62078 Update deprecated coroutines code 2019-09-18 13:32:42 -04:00
Samuel Bronson
ccd360687e Update to kotlinx.coroutines 0.26.0 2019-09-18 13:20:39 -04:00
Samuel Bronson
5a2e8a838c Update to kotlinx.coroutines 0.23.4 2019-09-18 01:31:15 -04:00
fei long
3abae1cc75 Add chinese track website "bangumi" (#2032)
* copy from shikimori and change parmater

* add login activity

* fix

* login sucess

* search

* add...

* auth fix

* save status

* revert shikimori

* fix oauth error

* add bangumi info

* update read chapter index

* refersh token

* remove outdate file

* drop comment

* change icon

* drop search result which type not comic

* fix bind logic

* set status

* add ep status

* format code

* disable cache for `collection` api
2019-07-23 12:35:38 +02:00
Eugene
b68ef8c983 Update info about auto updates in README (#2132) 2019-07-23 12:29:01 +02:00
Eugene
d5f5ba95bb Add automatic updates for dev builds (#2128) 2019-07-13 19:36:30 +02:00
MCAxiaz
e8638cb0b3 Hide Empty Search Results in Catalogues (#2066)
* test2

* remove nothing_found view and associated resources
2019-07-01 13:06:19 +02:00
Eugene
62f9071adc Avoid infinite loading in global search if a single catalogue fails (#2097) 2019-06-29 22:27:58 +02:00
MCAxiaz
1d079dd9a4 use dist: trusty (#2085) 2019-06-18 13:53:47 +02:00
inorichi
cccb56bda1 Change default update priorization 2019-06-09 14:35:24 +02:00
Harsh Parekh
5d8dc241d8 Update ranking (#1772)
* Add LibraryUpdateRanker

This class provides various functions to generate Comparators that can 
be used to order the manga to update.

One such ordering is by relevance:
It prioritises manga that were updated more recently.

Another Ordering is by lexicographic order:
This is the default behaviour.

* Use relevanceRanking scheme

Instead of default(noRanking/lex ranking) now mangaList is sorted with 
relevanceRanking.

* Add UI and associated variables & strings for Update Ranking.

* Use user preferences to determine update ranking scheme.

* Refactor relevanceRanking to latestFirstranking.

This name seems to better reflect the ranking scheme and frees up the 
name relevanceRanking for future use.

* Set latestFirst scheme as default.

(Changing over from lexicographic scheme)

* Fix 1

[Convert LibraryUpdateRanker to a object.](./files/82f263749f0ae775385b23dd919f1865360db969#r287513539)

[Nitpick: Add lines](./files/82f263749f0ae775385b23dd919f1865360db969#r287540256)

[Replace Java comparator](./files/82f263749f0ae775385b23dd919f1865360db969#r287539976)

[Nitpick: Add local variable](./files/82f263749f0ae775385b23dd919f1865360db969#r287514805)

* Fix 2

[Weird import](./files/82f263749f0ae775385b23dd919f1865360db969#r287513709)

[Default value](./files/82f263749f0ae775385b23dd919f1865360db969#r287540064)

[Use existing Strings](./files/82f263749f0ae775385b23dd919f1865360db969#r287514476)

[Use Library update order](./files/82f263749f0ae775385b23dd919f1865360db969#r287540204)
2019-06-09 14:32:12 +02:00
MCAxiaz
9ba7312caf Make MAL Tracking Slightly Less Shitty (#2042)
* * fix cookieManager not clearing cookies properly
* manually clear tracking prefs when !isLogged (e.g. cookies were cleared)

* use full url for removing cookies

* add interceptor for all non-login network calls
* attempt auto login if cookies are missing
* move handling of csrf token to interceptor

* * move methods around to improve readability
* fix TrackSearchAdapter not updating other fields if cover_url is missing
* revert accidental removal of feature in https://github.com/inorichi/tachiyomi/issues/65
* avoid login if credentials are missing

* fix eol

* *separate login flow from rxjava for reuse in sync

* *use less expensive method of finding manga

* *move variable declaration

* formatting

* set total chapters in remote track
2019-06-09 14:31:19 +02:00
Harsh Parekh
8ebda219c4 Fix the category selection bug (#2052)
Fixes #2051
2019-05-26 11:37:47 +02:00
Harsh Parekh
47f14e8555 Long click to manage categories (#2045) 2019-05-25 13:47:53 +02:00
Eugene
974a24d03b Add help link to nav drawer (#2049) 2019-05-25 13:46:42 +02:00
Jannis Becker
15f225537e Update tracking sites after finishing chapter (#2044)
* Added second updateTrackLastChapterRead() called whenever a chapter has been read in the reader

* Removed old updateTrackLastChapterRead() so that it's not called twice.
2019-05-25 13:46:20 +02:00
Harsh Parekh
a32572fc96 Ignore case while sorting Library (#2048)
* Ignore case while sorting Library

* Simplify code

As suggested by @arkon
2019-05-24 09:57:05 +02:00
inorichi
be3ed9b6af
Create FUNDING.yml 2019-05-24 09:56:31 +02:00
BlueCat300
a0939e1c48 Update Shikimori (#2038)
Domain name change due to blocking by local authorities.
2019-05-16 18:21:54 +02:00
Pavka
003dca9d45 Bugfix. Sharing images with very long name (#1999)
* Fix sharing with very long images name

* Fix dropLast to take
2019-05-07 11:06:38 +02:00
DarKCroX
5c1770247c Update README.md
mangafox has been broken for months
2019-05-03 15:51:27 -04:00
Deumiankio
021dde66eb Add color filter blend modes (#2013)
* Add color filter blend modes

* Only show modes supported by currently used API level.

* Fix arrays.xml for API level <=27.
2019-04-29 19:32:49 +02:00
Pavka
5840a3e1e2 Shikomori -> Shikimori. Fix update chapters (#1996)
* Shikomori -> Shikimori. Fix update chapters

* Removed logs and format code
2019-04-29 18:40:26 +02:00
FlaminSarge
7c6478fe6b Force Migration to display titles from source rather than from local DB, and update local titles when migrated (#1670) 2019-04-29 18:38:59 +02:00
Eugene
68aca55e6f Add options to open catalogue in browser/webview (#1979) 2019-04-16 17:34:52 +02:00
inorichi
ba674935f4 Release 0.8.4 2019-04-13 15:10:44 +02:00
inorichi
a053d55fbc Disable proguard 2019-04-13 14:57:58 +02:00
inorichi
38ba8852a3 Release 0.8.3 2019-04-13 14:18:10 +02:00
inorichi
3533359fae Use single task activity 2019-04-13 13:09:01 +02:00
inorichi
0a988d1c69 Enable new translations 2019-04-12 19:19:35 +02:00
inorichi
5f9e65cc9b Fix lint issues on new strings 2019-04-12 19:07:41 +02:00
Jozef Hollý
026188268d Translations (#1886)
* Translated using Weblate (Czech)

Currently translated at 99.8% (426 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/cs/

* Translated using Weblate (Hindi)

Currently translated at 99.8% (426 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/

* Translated using Weblate (Korean)

Currently translated at 79.2% (338 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/

* Translated using Weblate (Korean)

Currently translated at 81.5% (348 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/

Translated using Weblate (Korean)

Currently translated at 81.5% (348 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/

* Translated using Weblate (Korean)

Currently translated at 94.1% (402 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/

* Translated using Weblate (French)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/

* Translated using Weblate (Hindi)

Currently translated at 99.8% (426 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/

* Translated using Weblate (Korean)

Currently translated at 95.3% (407 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nl/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.8% (426 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt_BR/

* Added translation using Weblate (Sardinian)

* Translated using Weblate (Sardinian)

Currently translated at 52.7% (225 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/

* Added translation using Weblate (Filipino)

* Translated using Weblate (Filipino)

Currently translated at 5.2% (22 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fil/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/

* Translated using Weblate (Filipino)

Currently translated at 11.2% (48 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fil/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt_BR/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/tr/

* Translated using Weblate (Sardinian)

Currently translated at 56.4% (241 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/

* Translated using Weblate (Portuguese)

Currently translated at 81.5% (348 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt/

* Translated using Weblate (Portuguese)

Currently translated at 81.5% (348 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt/

* Translated using Weblate (Serbian)

Currently translated at 77.5% (331 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sr/

* Translated using Weblate (Sardinian)

Currently translated at 71.7% (306 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/

* Translated using Weblate (Russian)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ru/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/uk/

* Translated using Weblate (Sardinian)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/

* Translated using Weblate (Bulgarian)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/bg/
(cherry picked from commit ab854420b5e52f145146da9df5f2f4ff2ee283f1)
2019-04-12 19:04:44 +02:00
inorichi
0e3464457c Remove internal sources 2019-04-12 19:05:18 +02:00
inorichi
56195434e7 Add intent filter for external queries 2019-04-12 18:40:04 +02:00
inorichi
ba2194f435 Load urls inside webview 2019-04-12 17:29:02 +02:00
inorichi
e7df172da1 Provide default web view client so that redirections work 2019-04-08 10:13:58 +02:00
inorichi
e7606e6dca Add option to open manga details in a WebView 2019-04-08 02:08:40 +02:00
inorichi
8d4c0f505c Fix shared files not deleted from internal cache 2019-04-07 14:58:40 +02:00
Amine A
8f2878a841 Added search intent handler and Google Search Action, for the global search (#1787)
* Added search intent handler

* Added support for Google Search actions
2019-04-03 10:25:52 +02:00
Carlos
77296348a0 add option to skip chapters marked read (#1791) 2019-04-03 10:22:32 +02:00
Pavka
a62a7d5330 Feature/shikomori track (#1905)
* Add shikomori track

* Fix char 'M'

* Fix date in search
2019-04-03 10:14:37 +02:00
inorichi
bf60aae9d8 Fix crashes below L 2019-04-03 09:47:07 +02:00
inorichi
ecc1520100 Use OkHttp to solve the challenge 2019-04-02 00:26:03 +02:00
inorichi
f1f6a2b341 Test solving Cloudflare's challenge with WebView 2019-04-01 17:20:13 +02:00
inorichi
55bf1c31a6 Set explicit autobackup rules 2019-04-01 17:14:37 +02:00
Deumiankio
e47dd3d587 Add 32-bit color mode to reader settings (#1941)
* add ARGB_8888 mode to reader settings

* Only show option on Oreo or later.
Only show option in settings screen.
2019-03-30 14:21:35 +01:00
Jozef Hollý
af0e3a278f Fix discord link (#1951)
Fix discord link
2019-03-30 06:39:10 -04:00