117 Commits

Author SHA1 Message Date
Jobobby04
2e033356aa Manga info edit will now not break everything 2020-07-11 15:22:11 -04:00
Jobobby04
044c638079 Very basic manga info edit, currently will break everything if used, tags and cover edit not working 2020-07-11 14:53:59 -04:00
Jobobby04
543d46c16c Fix category table creation 2020-06-20 20:00:54 -04:00
Jobobby04
6bd564823a More comments and simple tweaks 2020-06-20 16:55:05 -04:00
Jobobby04
4ef72194bb Cleanup resources and put comments where SY code is different from preview code 2020-06-19 20:50:16 -04:00
Lautaro Martin Emanuel
f85c34b807 Added sorting by upload date
Spanish 'strings' contains the proper translation for the new feature.

(cherry picked from commit ee8c71c14a37390c815bda7a71d851856ea237a6)
2020-05-22 17:50:07 -04:00
MCAxiaz
4cdf2f468c Manga cover updates (#3101)
* cover caching overhaul

* add ui for removing custom cover

* skip some loading work

* minor cleanup

* allow refresh library metadata to refresh local manga

* rename metadata_date to cover_last_modified

* rearrange removeMangaFromLibrary

* change custom cover directory
add setting for updating cover when refreshing library

* remove toggle and explicit action for updating covers

(cherry picked from commit dc54299e2487bc7c7c97734c2d5aa3f8ca379dae)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt
2020-05-10 14:27:05 -04:00
Jobobby04
509d7b20b4 ReImplement history features 2020-05-07 14:50:24 -04:00
Jobobby04
f5b7a8db1a Setup for install 2020-05-03 19:33:28 -04:00
Jobobby04
bef0a44447 It Builds! 2020-05-03 18:34:46 -04:00
Jobobby04
7e99a9f789 Linting Fixes AZ 2020-05-03 14:36:19 -04:00
Jobobby04
03e5c5ca10 Linting fixes
(cherry picked from commit 3f63b320c44255cc6136282adb5eb2201706dee6)
2020-05-03 14:35:49 -04:00
Jobobby04
a393772083 Move things back into the EH package, no need for them to be in the regular app 2020-05-03 14:24:22 -04:00
Rani Sargees
42c7669bca database changes for mergedsources 2020-05-03 14:21:26 -04:00
jobobby04
e7b39f29f2 Implemented J2K Auto Source Migration
(cherry picked from commit 8ba75831e6f51f6472d85f813405ede3f679cfd8)
2020-05-03 13:07:43 -04:00
jobobby04
23ac3d18e5 Optimize imports, disallow wildcard imports because of klint, run linter 2020-05-03 01:36:21 -04:00
jobobby04
c85825f3c7 Run default Android Studio formatter on code
(cherry picked from commit 3ecc883944cba6102fb68940023d90ef959c8b9c)
2020-05-03 01:33:58 -04:00
Jay
41c99c33a6 cherrypick drag and drop sorting 2020-05-03 00:12:54 -04:00
Rani Sargees
4d8f44ddae merge double upstream 2020-05-02 23:39:46 -04:00
arkon
6ef59a5949 Remove redundant DB transaction function 2020-04-26 16:45:23 -04:00
arkon
96c55db7ca Consider individual manga as transactions rather than entire restore job (closes #2482) 2020-04-25 18:50:44 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
Hawk of the Death
f7c139030f
Add Start/Finish date support for MAL (#2672)
* Started working on MAL support

* Added date picker UI

* Replaced Date with Calendar

* Added MAL remote update functionality

* Join url methods listEntryUrl and editUrl

* Removed unused methods

* Renamed mangaEditPayload to mangaEditPostBody

* Moved code to separate method

* Uniformed code to project conventions

* Removed wildcard import

* Moved MyAnimeListTrack to private class

* Improved MyAnimeListTrack name

* Removed redundant code

* Add start/finish date in local database

* Fixed format and improved codestyle

* Fixed typo and fixed TrackHolder's format

* Improved code style

* Ran linter

* Add database updating methods

* Change date format to fit new layout

* Review Commits

* Improve SetTrackReadingDatesDialog readability

* Move private methods after public ones

* Fixed SQL error

* Fixed remove date button

* Updated MaterialDesign methods to latest version

* Replaced dismissDialog() with dialog.Dismiss()

* Fixed wrong string resource usage.
2020-04-22 21:23:23 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon
42a97f8c40 Add function in interface to get list of genres 2020-04-18 11:36:05 -04:00
arkon
0f2d480036 More linting fixes 2020-02-26 18:12:44 -05:00
arkon
043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
Jays2Kings
7f115f2e83
Group notifcations for Library updates (#2582) 2020-02-17 10:56:23 -05:00
FlaminSarge
247a39c0a9 Move empty-chapterlist manga to end of Latest Chapter sort in Library view 2020-02-16 07:19:38 -07:00
FlaminSarge
a096e6b337 Library View: Add latest chapter sorting and revert last updated sorting changes
Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)
2020-02-02 23:16:42 -08:00
arkon
13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
Rani Sargees
9b883b1a09 androidx migration
I DID THIS ONE MYSELF WITHOUT TAKING IT FROM THE OTHER FORKS
YEEEEEEEEEEET
2020-01-06 03:26:31 -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
NerdNumber9
7fe742e6ed Upstream merge 2019-07-27 17:56:31 -04: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
NerdNumber9
4aff768b8e Fix multi-select operations crashing when selection is too large 2019-04-19 17:53:41 -04:00
NerdNumber9
c4df7b496b More optimizations to library search 2019-04-19 04:19:07 -04:00
NerdNumber9
f0109aa796 Fix manga info screen completely breaking on some sources 2019-04-18 21:04:20 -04:00
NerdNumber9
1d36c3269e Add automatic gallery updating 2019-04-18 17:40:13 -04:00
NerdNumber9
28d43bbecc Allow searching by title for lewd galleries with missing metadata 2019-04-14 20:04:53 -04:00
NerdNumber9
603fd84753 Rewrite tag searching to use SQL
Fix EHentai/ExHentai
Fix hitomi.la
Fix hitomi.la crashing application
Rewrite hitomi.la search engine to be faster, use less CPU and require no preloading
Fix nhentai
Add additional filters to nhentai
Fix PervEden
Introduce delegated sources
Rewrite HentaiCafe to be a delegated source
Introduce ability to save/load search presets
Temporarily disable misbehaving native Tachiyomi migrations
Fix tap-to-search-tag breaking on aliased tags
Add debug menu
Add experimental automatic captcha solver
Add app name to wakelock names
Add ability to interrupt metadata migrator
Fix incognito open-in-browser being zoomed in immediately when it's opened
2019-04-06 07:35:36 -04:00
NerdNumber9
5fbe1a8614 Upstream merge 2019-03-31 00:23:44 -04:00
inorichi
aeaf4d78f8 Bundle SQLite. Fixes tachiyomi not working on KitKat. Making a backup before using this version is recommended, but everything should work. 2018-11-26 13:05:42 +01:00
inorichi
36aabf23e1 Optimize library query 2018-11-09 11:59:17 +01:00
inorichi
788cb843fc Minor fixes when updating the manga viewer 2018-10-09 14:27:00 +02:00
NerdNumber9
71c10df270 Merge branch 'master' of https://github.com/inorichi/tachiyomi
# Conflicts:
#	README.md
#	app/.gitignore
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAboutController.kt
#	app/src/main/res/raw/changelog_release.xml
2018-06-09 19:52:02 -04: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
NerdNumber9
a71ae29c98 Add Tsumino captcha display and merge branch 'master' of upstream
# Conflicts:
#	.github/readme-images/app-icon.png
#	.github/readme-images/screens.png
#	.travis.yml
#	README.md
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/SourceManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/YamlHttpSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/YamlHttpSourceMappings.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/DynamicConcurrentMergeOperator.java
2018-02-24 11:13:43 -05:00