Commit graph

426 commits

Author SHA1 Message Date
arkon
6a95ff56df Use coroutines for updater 2020-02-09 22:36:44 -05:00
arkon
8aa48effaa Refactor notification builder extension 2020-02-09 17:28:09 -05:00
arkon
3c41a5e910 Move JsoupExtensions back (fixes #2562) 2020-02-02 23:45:13 -05:00
arkon
a3e39987d4 Migrate extension list fetch to coroutine 2020-02-02 22:57:15 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
9f9de27a57 Reorganize some util files 2020-02-02 22:04:11 -05:00
arkon
6f84815801 Filter out tmp directories for download badge 2020-02-02 18:01:08 -05:00
MCAxiaz
c79ebd4eeb
fix NPE in dateFormat (#2549)
Bug #2548 fix NPE in dateFormat pref
2020-01-29 07:23:26 -05:00
arkon
13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
arkon
c707d4bfd8 Minor date format code cleanup 2020-01-28 22:32:56 -05:00
Sam Lewis
aeacdad484
Allow setting a preferred date format (#2175) 2020-01-28 22:23:41 -05:00
Jay
4b84fb5ac5 Tracker status naming edits
Cherry picked from ad8c69aa15e7c27879c2a528a45b0744f7e45197
2020-01-20 18:50:39 -05:00
arkon
8273a396c8 Anilist: rename "On hold" to "Paused" 2020-01-19 16:29:43 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
44f406b4b9 Fix Bangumi class formatting 2020-01-11 22:06:23 -05:00
mutsumi
427d2fed8c fix bangumi track will override record to 0 after every track search(bind) (#2486)
* fix bangumi track : the update status api must be called before update chapter api

* fix bangumi track will override record to 0 after every track search(bind)
2020-01-11 22:05:03 -05:00
arkon
3892b93bca Rename tracker icon images 2020-01-11 22:01:26 -05:00
MCAxiaz
62d3fc65e0 Filter Extensions By Language (#2275)
* add options menu item to filer extensions by languages

* resolve merge conflicts
changes per pr comments

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-01-11 15:06:54 -05:00
arkon
012b1b56aa Minor grammar fixes 2020-01-11 10:11:39 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
489f981e40 Convert tracker icons to webp 2020-01-09 18:54:07 -05:00
arkon
13a2d3dfdd Provide more human readable error when downloading to invalid directory (#2462) 2020-01-09 08:39:40 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
andrecsilva
b55814a1c0 Made 'Default' category selectable in global update settings (#2318) 2020-01-07 18:46:08 -05:00
mutsumi
eb5382e0de fix bangumi tracker crash in searching english manga title (#2452)
fix bangumi tracker crash in searching english manga title
2020-01-06 20:02:28 -05:00
arkon
600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
Carlos
aa57b1bc77
adjust so downloader doesnt autostart when queue was paused (#2413)
adjust so downloader doesnt autostart when queue was paused
2020-01-03 15:33:17 -05:00
MCAxiaz
491d476cac auto attempt a login refresh once if MAL returns http 400 (#32) (#2403) 2019-12-29 17:45:58 -05:00
Eugene
c339bd49d0
Address minor Kotlin compiler warnings 2019-12-26 17:48:39 -05:00
Eugene
bc825bdefa
Minor dependency updates 2019-12-26 16:47:01 -05:00
arkon
b8b118bdeb
Add .nomedia file in each chapter download folder (#2199)
* Move .nomedia creation to directory fetch

* Add .nomedia file to all chapter download directories
2019-12-26 12:39:20 -05:00
arkon
a0fb1eff4a
Merge branch 'master' into update-kotlin-coroutines-gradle 2019-12-23 09:49:53 -05:00
Eugene
89dc240a22
Clean up Anilist GraphQL query formatting 2019-12-22 22:19:15 -05:00
Ken Swenson
ee4f069341 fix: Don't send newlines and whitespace in API calls (#2348) 2019-12-22 22:13:27 -05:00
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
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
d5f5ba95bb Add automatic updates for dev builds (#2128) 2019-07-13 19:36:30 +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
BlueCat300
a0939e1c48 Update Shikimori (#2038)
Domain name change due to blocking by local authorities.
2019-05-16 18:21:54 +02: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
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
f1f6a2b341 Test solving Cloudflare's challenge with WebView 2019-04-01 17:20:13 +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
inorichi
3f2d375a53 Reduce priority of jcenter repository 2019-03-14 17:32:08 +01:00