Commit Graph

137 Commits

Author SHA1 Message Date
arkon
012b1b56aa Minor grammar fixes 2020-01-11 10:11:39 -05:00
arkon
ff999a6dda Show selected preference for "Library update order" 2020-01-11 10:11:30 -05:00
arkon
044a4f7575 Split general settings into general and library 2020-01-09 21:22:58 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
arkon
0d5099f230
Drop support for Android 4.x (#2440)
* Bump minSdkVersion

* Remove Android 4.x specific logic

* Consolidate res assets

* Add note about minimum Android version to README

* Restore incorrectly removed method, remove unneeded Lollipop TargetApi annotations
2020-01-07 18:46:31 -05:00
andrecsilva
b55814a1c0 Made 'Default' category selectable in global update settings (#2318) 2020-01-07 18:46:08 -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
arkon
ff8e3f0af4
Update to SDK 28 (#2394) 2019-12-26 16:01:16 -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
FlaminSarge
80ea9001b3 Allow 'Default' category as the default for adding manga (#2292) 2019-11-03 13:52:33 +01: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
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
inorichi
0a988d1c69 Enable new translations 2019-04-12 19:19:35 +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
08cdac968d Fix strings and add new languages 2019-03-25 14:52:07 +01:00
inorichi
3f2d375a53 Reduce priority of jcenter repository 2019-03-14 17:32:08 +01:00
inorichi
2c4fd340c8 Restore dark blue theme. Closes #1302 2018-10-27 19:10:11 +02:00
inorichi
23e99a3ed8 Add new translations to settings 2018-10-09 16:13:26 +02:00
inorichi
da8b870670 Update image decoder library. Remove deprecated ask update tracking setting 2018-09-17 14:50:44 +02:00
inorichi
18f89cc341
New reader (#1550)
* Delete old reader

* Add utility methods

* Update dependencies

* Add new reader

* Update tracking services. Extract transition strings into resources

* Restore delete read chapters

* Documentation and some minor changes

* Remove content providers for compressed files, they are not needed anymore

* Update subsampling. New changes allow to parse magic numbers and decode tiles with a single stream. Drop support for custom image decoders. Other minor fixes
2018-09-01 17:12:59 +02:00
inorichi
9d5cf9163a Release v0.7.4 2018-05-13 11:56:24 +02:00
Jozef Hollý
9abce0cca3 Vanity url (#1408)
* vanity url

* vanity url

* vanity url
2018-05-13 11:36:08 +02:00
inorichi
345f96055d Fix indonesian language. Closes #1387 2018-05-05 14:23:34 +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
jFields99
86a599d13f Added Github link to about. (#1389)
* Added Github link to about.

* Added github link to About page (Fixed)

Fixed based on jogerj's comment in #1389

* Changed Github link to correct URL.

* Balanced brackets
2018-05-04 16:36:06 +02:00
inorichi
303e6c0102 Reorganize reader settings. Update Conductor version 2018-04-28 10:40:08 +02:00
inorichi
18883f1ba3 Crop borders for webtoon now have a separate setting. Close #972 2018-04-27 16:55:12 +02:00
inorichi
968f4a69e8 Separate 'en' locale into 'en-US' and 'en-GB' for displaying dates 2018-04-22 13:15:47 +02:00
inorichi
7464497c88 Use our OkHttpClient in updates checker. It should fix the updater on KitKat due to TLS 2018-04-06 10:02:01 +02:00
Carlos
1b7a0de745 Added country/region support for locale when displayed for sources (#1240)
* Added country support for locale when displayed for sources

* code review changes/comments fix
2018-03-05 19:46:18 +01:00
paronos
e3ab90042d Add missing languages in settings (#1275) 2018-02-26 08:47:36 +01:00
inorichi
fa4d61eaf0 Run periodic backups without launching services 2018-02-18 20:14:12 +01:00
inorichi
7b4ac7998a Remove simultaneous downloads 2018-02-18 17:34:22 +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
Ken Swenson
b0482003bd Handle ActivityNotFoundException (#1170)
* [SettingsBackupController] Handle ActivityNotFoundException

When using `Intent.ACTION_CREATE_DOCUMENT` on SDK >= Lollipop there is no
guarantee that the ROM supports the built in file picker such as MIUI

* [SettingsBackupController] Add import for ActivityNotFoundException

* Add additional handlers to Android document intents

* Requested review changes

Move `try {`s to top of block
Replace version numbers with `Build.VERSION_CODES.LOLLIPOP`
Break out custom file picker intent to Context extention `Context.getFilePicker`
Rename `val i` to `val intent` to be more clear with variable names

* Add version check to custom file picker after exception
2018-01-12 10:57:21 +01:00
inorichi
6d3cc16ab1 Include minor changes from extensions PR 2018-01-09 12:27:45 +01:00
Bram van de Kerkhof
8994b42760
Remove local broadcast receiver to prevent race conditions (#1123)
* Remove local broadcast receiver to prevent run exceptions.
Added option to set tile for extension update.
2017-12-11 20:01:28 +01:00
Jozef Hollý
9ae6285eef Change discord invite link in settings (#1112)
* Change discord invite link in settings

* Change discord link is readme
2017-12-06 08:41:37 +01:00
inorichi
8bcb14c65d Add view caching to view holders 2017-12-03 17:00:32 +01:00
inorichi
d690d6e0e3 Use synthetic view's new caching method 2017-12-03 01:03:15 +01:00
Bram van de Kerkhof
d1d1d60c30
Fix automatic backups (#1074)
* Fix automatic backups

* Small fixes

* small fixes
2017-11-28 22:55:50 +01:00
inorichi
604929d002 Update support library and kotlin 2017-11-28 00:21:38 +01:00