Commit graph

38 commits

Author SHA1 Message Date
arkon
76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -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
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -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
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
arkon
50ef4cc5da Slightly increase chapter cache size (closes #2091) 2020-02-14 09:27:42 -05:00
arkon
9f9de27a57 Reorganize some util files 2020-02-02 22:04:11 -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
Eugene
c339bd49d0
Address minor Kotlin compiler warnings 2019-12-26 17:48:39 -05:00
inorichi
e3259f39f1 Fallback covers' external directory 2017-11-08 22:34:56 +01:00
len
03f3a4805f Fix a crash when retrying a page 2017-09-10 10:14:40 +02:00
len
6c242084ca Fallback chapter cache to internal storage 2017-08-03 21:44:31 +02:00
len
211f7b591b Dependency updates. OkHttp nullability changes 2017-05-23 20:39:02 +02:00
len
e25ce768bb Migrate covers to external files dir. Fix #647 2017-01-26 22:15:17 +01:00
len
706163e7a6 Move source and network outside data 2017-01-20 21:24:31 +01:00
inorichi
dd56d7c0bb Initial support for external sources 2017-01-08 18:12:19 +01:00
len
d30c019b89 Allow to share images when reading online. Move chapter cache to external cache dir. Dependency updates. 2016-11-29 21:37:35 +01:00
len
93e244b4c4 Fix #547 2016-11-24 21:42:01 +01:00
inorichi
6f297161de Download manager rewrite (#535)
* Saving to SD working

* Rename imagePath to uri

* Handle android < 21

* Minor changes

* Separate downloader from the manager. Optimize folder lookups

* Persist downloads across restarts

* Fix for #511

* Updated ReactiveNetwork. Add some documentation

* More documentation and minor fixes

* Handle persistent notifications. Other minor changes

* Improve downloader and add documentation

* Rename pageNumber to index in Page class

* Remove unused methods

* Use chop method

* Make sure dest dir is created

* Reset downloads dir preference

* Use invalidate options menu in download fragment and fix wrong condition

* Fix empty download queue after application restart

* Use addAll method in download queue to avoid too many notifications

* Inform download manager changes
2016-11-20 11:20:57 +01:00
len
d7b8015df7 Drop support for reencode images 2016-10-23 13:22:14 +02:00
len
6e8a41f898 Kissmanga loading through Cloudflare. A lot of refactoring was needed 2016-05-15 20:46:58 +02:00
len
0a27d4e185 Add an option to reencode images under the advanced tab. #262 2016-04-21 15:31:07 +02:00
len
bd8b9febd2 Minor changes 2016-04-21 01:04:46 +02:00
len
9213fc6999 Always close response body 2016-04-19 14:08:35 +02:00
len
b8d1a88623 Changes in cover cache. Store covers in external cache dir 2016-04-11 18:50:31 +02:00
len
723c0e99a5 Remove unneeded class 2016-03-30 17:19:02 +02:00
len
0078cb88c3 A few crashes fixed 2016-03-21 14:50:02 +01:00
inorichi
c0452038f7 Partial migration of data package to Kotlin 2016-02-21 18:55:37 +01:00
NoodleMage
28fd22dfe0 Manga initialized check. Now takes network cover image if something went
wrong
2016-01-30 13:46:18 +01:00
NoodleMage
8b52fea602 Can now manually set cover pictures. #79
Forgot to add IOHandler

Removed FAB library now use the internal one. Changed getTimestamp to modification date.

Rewrote IOHandler.  Fixed Drive Bug. More bug fixes. Tested working for API 16 and 23

Fixed merge bugs
2016-01-29 20:44:51 +01:00
inorichi
733b0da461 Upgrade OkHttp to 3.0.1 2016-01-28 16:44:18 +01:00
inorichi
74c32f9e16 Minor refactor on caches 2016-01-28 01:01:55 +01:00
inorichi
d8ab8f297f Let Glide cache local covers, it improves performance loading the covers from the library 2016-01-27 19:42:01 +01:00
NoodleMage
23a6f76c37 Code optimization. Added javadoc. Removed setSize for it is not used
Fixed some mistakes.

Code optimization. Added comments. Few comment mistake fixes

Few comments

Added classes because of renaming

Fixed refactor mistakes :(.

typo + removed todo empty class

Changed o to 0. Some renaming.  Checked for nullability on string.isEmpty() function to prevent crashes

Removed redundant null check

Update ChapterCache.java

Another o to 0 change. Damn this .o! :)
2016-01-27 17:37:36 +01:00
inorichi
70f4c7fcc3 Rename project 2016-01-15 15:18:19 +01:00