Commit graph

290 commits

Author SHA1 Message Date
arkon
bf5065d16b Minor cleanup, remove some usages of ArrayList 2020-05-30 23:42:11 -04:00
arkon
3c4bc17065 Reorganize some migration classes 2020-05-23 19:33:47 -04:00
arkon
39ae84301a Move migration classes under browse 2020-05-23 18:40:33 -04:00
MCAxiaz
ed029c52ae
download new chapters changes (#3193)
* download new chapters changes

* move initialFetchChapters logic into onNextChapters

* refractor download new chapter logic to be more explicit
2020-05-17 17:33:26 -04:00
arkon
102a372df9
Sort chapters by upload date (#3180)
* Added sorting by upload date

Spanish 'strings' contains the proper translation for the new feature.

* Added missing sorting cases handling

Previous commit missed some cases resulting in errors at runtime

* Implemented review changes

Shorter UI text and >= date comparison instead of >
2020-05-17 10:18:49 -04:00
arkon
035038a0b6 Add migrate option from manga info view (closes #1903) 2020-05-16 12:27:56 -04:00
Lautaro Martin Emanuel
ee8c71c14a Added sorting by upload date
Spanish 'strings' contains the proper translation for the new feature.
2020-05-14 23:38:19 -03:00
arkon
97aed045e6 Copy to clipboard when long pressing tracking title (closes #3163) 2020-05-12 09:11:15 -04:00
MCAxiaz
5723c184b1
Cover Update Followup to Address #3139 (#3150)
* update cover logic when thumbnail url becomes null

* always clear cover on refresh even if custom cover is set

* remove concurrency changes
2020-05-10 23:10:31 -04:00
arkon
dd1b5c7ea7 Minor edits 2020-05-10 12:58:13 -04:00
arkon
04d44f19f5 Show date format examples, migrate to FlowPreferences 2020-05-10 12:26:18 -04:00
MCAxiaz
dc54299e24
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
2020-05-10 11:15:25 -04:00
arkon
40776bdc8d Concurrently refresh trackers 2020-05-08 19:04:45 -04:00
arkon
ce6848b3c0 Show icon when chapter is bookmarked 2020-05-07 23:03:22 -04:00
arkon
03baa21185 Destroy action mode after actioning in chapters list (closes #3004) 2020-05-06 23:21:17 -04:00
arkon
dabca5f09e Lighter weight method of rounding cover art 2020-05-03 22:29:09 -04:00
arkon
ce0090f0ca Bunch of crash fixes 2020-05-03 12:17:10 -04:00
arkon
e2158af592 Swap bottom nav and ActionToolbar when appropriate 2020-05-02 12:27:23 -04:00
arkon
d72c51c8dd Hide app/nav bars on scroll 2020-05-02 11:33:31 -04:00
arkon
33d2b0984f Fix chapter list selection uninverting (closes #3014) 2020-05-01 19:53:26 -04:00
arkon
ed6f82af0f Only apply downloaded only to chapter lists in library 2020-04-27 20:06:47 -04:00
arkon
7307ddd1b8 Restore landscape manga info layout 2020-04-27 19:48:54 -04:00
arkon
0601bedb0b Revert removal of last chapter/updated from manga info 2020-04-27 19:37:09 -04:00
arkon
d593362ba8 Merge sources and extensions into one view 2020-04-27 19:16:46 -04:00
arkon
57911c42d1 Copy debug info when tapping version 2020-04-26 22:55:13 -04:00
arkon
0a509cb382 Remove usage of alpha color selectors (fixes #2957)
Doesn't work properly in API < 23
2020-04-26 17:24:31 -04:00
arkon
7fd547a2d6 Fix categories button not working after adding manga (closes #2966) 2020-04-26 16:08:23 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
fba3ed2244 Show scrollable single line of genres when compacted 2020-04-24 16:05:43 -04:00
arkon
77cca1ce84 Change favorite icon to heart 2020-04-23 23:08:25 -04:00
arkon
c0bbbdb7ee Separate categories picker from long pressing manga favorite button 2020-04-23 23:03:20 -04:00
arkon
8e6b7aaec0 More subdued chapter page progress text 2020-04-23 22:58:35 -04:00
Hawk of the Death
aae6820fdc
Replace Track Reading Dates date picker with MaterialDialog's one (#2935)
* Replaced datepicker with MaterialDialog's one

* Removed max date due to library bug (afollestad/material-dialogs#1973)

* Removed old date picker view.
2020-04-23 18:28:41 -04:00
arkon
53a3be0703 Migrate more preferences 2020-04-22 22:19:21 -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
arkon
c967308859 Replace deprecated adapterPosition with bindingAdapterPosition 2020-04-22 09:17:23 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
MCAxiaz
b3611eef9d
Bug/2894 covers not updating (#2908)
* Use a wrapper around Manga to supply glide with proper equals() and hashCode() impl. for caching

* reload image if url has changed

* ignore case for http scheme comparison

* more ignore case for http scheme comparison

* fix indenting

* use data class for MangaThumbnail
2020-04-21 09:13:23 -04:00
arkon
d6e49be268 Remove some progress dialogs 2020-04-20 23:10:10 -04:00
arkon
c9a727594e Fix manga info expansion toggling again after refreshing 2020-04-19 23:23:36 -04:00
arkon
abbb329ba6 Rename offline mode to downloaded only 2020-04-19 16:02:33 -04:00
arkon
5bc77fc6e8 Add offline mode (forced download filters; closes #2902) 2020-04-19 15:30:55 -04:00
arkon
a5d9fb518a Minor edits 2020-04-19 15:12:46 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
arkon
9876732875 Genre search from updates/history (closes #2893) 2020-04-18 19:11:47 -04:00
arkon
6c14402992 Remove manga homescreen shortcuts 2020-04-18 16:06:31 -04:00
arkon
bdee525336 Lint fixes 2020-04-18 15:28:44 -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
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00
arkon
df69559b39 Collapsable manga summary/genre section 2020-04-18 12:40:47 -04:00