Commit Graph

420 Commits

Author SHA1 Message Date
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
arkon
02207f6cfd Make entire history item card clickable 2020-04-22 09:14:30 -04:00
arkon
2485ef8547 Remove migrating progress dialog 2020-04-21 19:01:01 -04:00
arkon
b17762f8d9 Remove source name from history cards, slightly compacter 2020-04-21 18:41:05 -04:00
arkon
a5d9fb518a Minor edits 2020-04-19 15:12:46 -04:00
arkon
01dd46c5ed Remove unused widget styles and animations 2020-04-19 12:23:37 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
arkon
29e453c201 Minor style tweaks 2020-04-18 19:05:19 -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
df69559b39 Collapsable manga summary/genre section 2020-04-18 12:40:47 -04:00
arkon
e388f0d563 Round manga info cover 2020-04-18 11:59:22 -04:00
arkon
fae763dbb0 Manga info action buttons 2020-04-16 22:16:15 -04:00
arkon
c0792522a4 Scrolling manga info view 2020-04-16 22:16:15 -04:00
arkon
c67e62bac3 Remove some relayed chapter info from main manga info view 2020-04-16 22:16:15 -04:00
arkon
e67bb64311 Rounded library covers 2020-04-12 22:29:15 -04:00
arkon
9058536406 Use native fontFamily support for library titles 2020-04-12 22:22:26 -04:00
arkon
5bc9e1632a Remove unnecessary reader sheet backgrounds 2020-04-12 22:10:49 -04:00
arkon
a0a8899801 Tweak tracking card UI 2020-04-12 22:00:19 -04:00
arkon
a1e7592bd8 Rename catalogue classes/layouts -> source 2020-04-12 12:21:47 -04:00
arkon
7c7d40ea44 Fix status/navigation bar colors (fixes #2858) 2020-04-10 18:07:09 -04:00
arkon
aa70be525d Add text to chapter FAB, shrink extended FABs on scroll 2020-04-10 15:39:28 -04:00
arkon
f7ac969a4a Fix for Filter.Select labels jumping on filter sheet reloading 2020-04-10 15:23:29 -04:00
arkon
4f5e52fdd4 Move search filter sheet actions to the top 2020-04-10 15:15:31 -04:00
arkon
69af1baf7a Use LinearLayout as root of main_activity
Was causing issues within catalogues when search was invoked
2020-04-10 14:49:21 -04:00
arkon
9a28cbc1e4 Use FAB for catalogue filter 2020-04-10 14:43:13 -04:00
arkon
8cfd80ba84 Move catalogue filters to bottom sheet 2020-04-10 14:23:27 -04:00
arkon
fdc7981d18 Tweak webtoon margin setting 2020-04-10 11:45:30 -04:00
arkon
145a744ce0 Merge branch 'feature/webtoon-margins' of git://github.com/jleehey/tachiyomi into jleehey-feature/webtoon-margins
# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/preference/PreferenceDSL.kt
#	app/src/main/res/values/strings.xml
2020-04-10 11:14:09 -04:00
arkon
dd59748bf0 Minor cleanup 2020-04-07 22:44:37 -04:00
arkon
de8e530b37 Update tracker icons 2020-04-07 16:58:08 -04:00
arkon
441e2a69d8 Minor edits 2020-03-29 16:41:14 -04:00
arkon
912629c2dc Replace TagGroup library with Material chips 2020-03-29 14:11:13 -04:00
arkon
920ffa8c24 Add fast scroller to library 2020-03-28 17:17:28 -04:00
arkon
488f81ef74 Use bottom sheet for library settings 2020-03-28 17:17:21 -04:00
arkon
0a5461cbea Use pill icon instead of text for sheet pull up indicator 2020-03-28 16:32:34 -04:00
arkon
bb43e2aa03 Show empty catalogue error view with actions 2020-03-28 15:57:50 -04:00
arkon
5fd1865504 Remove elevation overlay 2020-03-24 18:18:10 -04:00
arkon
622d6c0cab Fix bottom nav background color (closes #2704) 2020-03-24 13:14:28 -04:00
arkon
3f4140900d Tweak button styles 2020-03-22 18:43:16 -04:00
arkon
b434bc93a3 Add fast scroller in catalogues/extensions lists 2020-03-22 12:43:53 -04:00
arkon
11529f2795 Add end pending for catalogues/extensions group header for RTL names 2020-03-22 12:43:42 -04:00
arkon
6da350aee6 Minor extension update cleanup, default to on 2020-03-20 22:59:59 -04:00
Jays2Kings
9585f9a1a6
Option to auto check for extension updates (#2680)
* Option to auto check for extension updates

* Addressing comments

* Added foreground check for extensions

* Added Extension Preference widget
2020-03-20 22:22:39 -04:00
arkon
fb897e37d1 Add download queue features from J2K fork 2020-03-15 22:42:40 -04:00
arkon
3e5a48e5e4 Use actual dialog title for tracker login dialogs 2020-03-15 17:31:36 -04:00
arkon
ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
arkon
1ebcafb25d Fix focused text input stroke color (fixes #2703) 2020-03-15 12:58:48 -04:00
arkon
90396153f4 Tweak tab indicator style 2020-03-15 12:56:00 -04:00
arkon
e41edc1fb7 Pure white light theme 2020-03-15 11:36:38 -04:00
arkon
a6c1de1cb2 Replace more icons 2020-03-14 16:04:14 -04:00
arkon
b9ea6e8d96 Fix common toolbar popup menu text color (fixes #2695) 2020-03-12 19:14:43 -04:00
arkon
7d0ea614da Migrate to MaterialComponents themes 2020-03-11 22:59:37 -04:00
arkon
937fb85376 Use accent color for refresh circle 2020-03-10 22:53:49 -04:00
arkon
a405324907 Simplify track item layout to use LinearLayout instead of nested ConstraintLayouts 2020-03-10 21:17:39 -04:00
arkon
208552f0b4 Tweak compact tracker card design 2020-03-10 21:13:55 -04:00
arkon
d7d3731567 Random kaomoji for empty view 2020-03-09 19:47:12 -04:00
arkon
466ec7b962 Compact tracker card 2020-03-09 16:27:23 -04:00
morcefaster
9936b402a6
Added config to hide transition page when not needed (#2682)
* Added config to hide transition page when not needed

* Moved always_show_chapter_transition setting to General group
2020-03-09 14:36:29 -04:00
arkon
48363aa3b0 Fix library empty view alignment 2020-03-08 20:48:44 -04:00
arkon
c63d8e7a30 Bottom action menu in chapters list 2020-03-08 17:37:42 -04:00
arkon
d6ea69a115 Action toolbar code cleanup 2020-03-08 17:23:26 -04:00
arkon
29a2d41331 Fix chapter list item end padding 2020-03-08 15:21:16 -04:00
arkon
9f8046324d Abstract bottom action menu code to main activity 2020-03-08 13:57:50 -04:00
arkon
af05c34da3 Bottom action menu for updates 2020-03-08 12:16:17 -04:00
arkon
c275adbb91 Remove chapter item popup menu 2020-03-07 23:00:29 -05:00
arkon
4061232fe3 Remove chapter updates popup menu 2020-03-07 22:46:13 -05:00
arkon
507471e318 Label Kitsu login field as email address instead of username 2020-03-07 22:19:45 -05:00
arkon
fbaaed1516 Match status/nav bar to reader toolbar color 2020-03-07 17:08:11 -05:00
onlymash
5fb3b0e0e3
Show page number only when toolbar is hidden (#2601)
* Show pagenumber only when toolbar is hidden

* Fix fullscreen issue

* Remove unneeded dependency

* Fix menubar padding

* Revert ReaderSeekBar height

* Refine code

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-03-07 16:57:14 -05:00
arkon
b84638ac5a Fix chapter description and download badge overlap 2020-03-07 13:28:27 -05:00
arkon
79f2882aaf Remove unused layout 2020-03-07 13:28:02 -05:00
arkon
52434819c3 Add history date section headers 2020-03-06 23:14:30 -05:00
arkon
29eb87b7ef Rename recently read / recent updates classes/layouts to match new names 2020-03-06 22:55:44 -05:00
arkon
c38026886a Combine chapter date/scanlator lines 2020-03-06 22:46:21 -05:00
arkon
0ac33b64b1 Merge branch '0.8.x'
# Conflicts:
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/models/Backup.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/TrackQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/TrackManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/TrackService.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistInterceptor.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterJob.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/AndroidCookieJar.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/OkHttpExtensions.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/ProgressListener.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/ProgressResponseBody.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/Requests.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/CatalogueSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/Source.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/SourceManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/Filter.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/FilterList.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/MangasPage.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/Page.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SChapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SChapterImpl.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SMangaImpl.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSourceFetcher.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/LoginSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/NucleusController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorDelegate.java
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorLifecycleListener.java
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/filter/SortGroup.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/ChangeMangaCategoriesDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/DeleteLibraryMangasDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.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/LibraryHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryNavigationView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySort.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeleteChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeletingChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DownloadChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetDisplayModeDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetSortingDialog.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
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackScoreDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackStatusDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/recent_updates/RecentChaptersController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt
#	app/src/main/java/eu/kanade/tachiyomi/widget/ExtendedNavigationView.kt
#	app/src/main/res/drawable/ic_book_white_24dp.xml
#	app/src/main/res/layout/categories_controller.xml
#	app/src/main/res/layout/chapters_controller.xml
#	app/src/main/res/layout/navigation_view_checkbox.xml
#	app/src/main/res/layout/navigation_view_group.xml
#	app/src/main/res/layout/pref_item_source.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/track_item.xml
#	app/src/main/res/values/strings.xml
#	build.gradle
2020-02-29 17:52:49 -05:00
arkon
82faa91ce3 Tweak reader seekbar height for Android 5 UI bug (closes #2487)
(cherry picked from commit 81418a7712)
2020-02-29 13:12:04 -05:00
arkon
ad664dfb9f Remove clickable attributes from unclickable text in reader
(cherry picked from commit d4c25359bd)
2020-02-29 13:11:58 -05:00
arkon
9bb3195bca Remove up/down animation for FAB, add list padding (#2456) e411f542 arkon <arkon@users.noreply.github.com> Jan 8, 2020 at 21:33 2020-02-29 13:10:25 -05:00
arkon
c4dad1c20b Unix line endings 2020-02-29 13:03:29 -05:00
arkon
ac3823e10a Add ripple to menu icons
Supersedes https://github.com/inorichi/tachiyomi/pull/2612
2020-02-27 18:58:36 -05:00
arkon
bf8268adc4 Always show bottom nav labels 2020-02-27 18:30:51 -05:00
arkon
7d4f25b354 Add description for secure screen setting 2020-02-26 18:58:13 -05:00
arkon
11544fe8ef Migrate to bottom navigation 2020-02-25 22:31:54 -05:00
Unlocked
ca10356fd9
Added Webtoon with Padding viewer (#2618)
* Added Webtoon with Padding viewer

* Change webtoon padding to be a config option

* Removed obselete padded_webtoon

* Switch ambiguous padding to vertical padding
2020-02-23 12:44:50 -05:00
arkon
beb2d880ea Move color filter behind reader toolbars (fixes #2619) 2020-02-23 00:07:34 -05:00
arkon
aa05458f1d Run formatter on layout files 2020-02-21 18:43:50 -05:00
arkon
c694160c9c Minor layout tweaks for better RTL support 2020-02-21 18:41:37 -05:00
onlymash
12aa04be93
Fix fullscreen reader for notch device (#2595)
* Fix fullscreen reader for notch device

* Make cutout mode configurable

* Rename cutout option
2020-02-17 10:40:49 -05:00
arkon
678597cc96 Remove unused layout 2020-02-05 22:39:02 -05:00
arkon
417d82de58 Remove round icon asset 2020-02-04 22:24:16 -05:00
arkon
a746d4cc3a Tweak initial tracker card appearance 2020-01-24 12:18:55 -05:00
arkon
7be6ee9a68 Remove fast scroller from library
Interferes with filter sidebar too much currently.
2020-01-22 18:32:32 -05:00
arkon
5bad914411 Remove reflection to show tracking checkmark
Icon now shows up on the left, but code is less fragile.
2020-01-19 16:26:38 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
73fbc81067 Webview enhancements
- Pull to refresh
- Loading progress
- Share page
2020-01-16 21:43:10 -05:00
arkon
f3e228e8a4
Indicate obsolete extensions (#2494)
* Indicate obsolete extensions

* Make obsolete indicators red

* Move obsolete extensions up the list

* Add base button theme for holder

* Use red button color state instead of explicit text color
2020-01-12 18:27:04 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00
arkon
81418a7712 Tweak reader seekbar height for Android 5 UI bug (closes #2487) 2020-01-11 22:29:31 -05:00
arkon
885c7bbb10 Add descriptions to reader prev/next buttons for a11y 2020-01-11 22:14:02 -05:00
arkon
d4c25359bd Remove clickable attributes from unclickable text in reader 2020-01-11 22:13:46 -05:00