Skip to content

Commit

Permalink
Merge Release 1.2.0 Into Master
Browse files Browse the repository at this point in the history
### Enhancements & Bug Fixes
☆ Amoled Theme
☆ Genre & Tag filters
☆ Changeable application language
☆ Media list status icons for your list
☆ Personalised score types based on your profile settings
☆ Start and end dates editable from the list editor anime/manga lists
☆ Additional support for trailers when a device doesn't have the YouTube app

✓ Clicking below the anime/manga image behaves as expected
✓ Inverted title sort for your media lists has been resolved
  • Loading branch information
wax911 committed Sep 13, 2018
2 parents ddb9772 + 28aafca commit a6f020f
Show file tree
Hide file tree
Showing 168 changed files with 1,642 additions and 1,142 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Big shout out to all the testers, translators and donators on the [AniTrend Disc

- Find all issues, feature requests, bugs and project road map [here](https://waffle.io/AniTrend/anitrend-app)

## Documentation

Development documentation for AniTrend is still a work in progress so for the time bieng on the essentials are available and can be found over at: __[anitrend.gitbook.io](https://anitrend.gitbook.io/project/)__

# Screenshots

### Dual Application Themes
Expand Down
4 changes: 2 additions & 2 deletions app/.meta/version.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"code": 85,
"code": 90,
"migration": false,
"releaseNotes": "",
"version": "1.1.2",
"version": "1.2.0",
"appId": "com.mxt.anitrend"
}
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dependencies {
implementation "android.arch.lifecycle:extensions:${rootProject.architecture}"

/** Android Support Libraries */
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation "com.android.support:appcompat-v7:${rootProject.supportLibrary}"
implementation "com.android.support:support-v4:${rootProject.supportLibrary}"
implementation "com.android.support:design:${rootProject.supportLibrary}"
Expand Down Expand Up @@ -146,7 +146,7 @@ dependencies {
implementation 'com.annimon:stream:1.1.9'

/** Highly Customizable Video Player */
implementation 'cn.jzvd:jiaozivideoplayer:6.2.10'
implementation 'cn.jzvd:jiaozivideoplayer:6.2.12'

/** Photo View */
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
Expand All @@ -161,7 +161,7 @@ dependencies {
implementation 'com.zzhoujay.richtext:richtext:3.0.5'

/** Tap Target Prompt */
implementation 'uk.co.samuelwall:material-tap-target-prompt:2.7.0'
implementation 'uk.co.samuelwall:material-tap-target-prompt:2.12.1'

/** Circular Progress View */
implementation 'com.github.rahatarmanahmed:circularprogressview:2.5.0'
Expand All @@ -173,7 +173,7 @@ dependencies {
implementation'com.github.PhilJay:MPAndroidChart:v3.0.3'

/** About Library */
implementation 'com.github.medyo:android-about-page:1.2.2'
implementation 'com.github.medyo:android-about-page:1.2.4'
}

apply plugin: 'com.google.gms.google-services'
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":85,"versionName":"1.1.2","enabled":true,"outputFile":"anitrend_v1.1.2_rc_85.apk","fullName":"release","baseName":"release"},"path":"anitrend_v1.1.2_rc_85.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":90,"versionName":"1.2.0","enabled":true,"outputFile":"anitrend_v1.2.0_rc_90.apk","fullName":"release","baseName":"release"},"path":"anitrend_v1.2.0_rc_90.apk","properties":{}}]
16 changes: 12 additions & 4 deletions app/src/main/assets/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@
- Take a moment to give us your [feedback](https://poll.ly/#/PEA4x1Wg), thank you.

### Enhancements
- Amoled theme, find option in settings then use the toggle theme entry
- Changeable application language, find this option in settings
- New genre and tags filters
- New amoled theme: __Settings -> General__
- New changeable application language: __Settings -> General__
- New personalised score types based on your profile settings
- New start and end dates for your anime/manga lists
- Media list status icons for your list
- Additional support for trailers when a device doesn't have the YouTube app
- Many other minor enhancement and improvements

### Bug Fixes
-
- Crash issue with Android Pie devices when viewing status feeds
- 404 on profile links that end with /

### Current Issues
- Clicking on @username shows mixed feed
- Emojis have been disabled. _New AniList site doesn't support them anymore_
- Sometimes image slide count doesn't change when you scroll slowly in feeds
- Notifications don't always work (We don't have an ETA for a fix at the moment, please bear with us)
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Browse/Query/MediaBrowse.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ query MediaBrowse($id: Int, $page: Int, $perPage: Int, $seasonYear: Int, $type:
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Browse/Query/ReviewBrowse.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ query ReviewBrowse($page: Int, $perPage: Int, $mediaId: Int, $type: MediaType, $
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ query CharacterActors($id: Int!, $page: Int, $perPage: Int, $sort: [StaffSort] =
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ query CharacterMedia($id: Int!, $page: Int, $perPage: Int, $sort: [MediaSort] =
timeUntilAiring
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Feed/Query/FeedList.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ query FeedList($page: Int, $perPage: Int, $id: Int, $isFollowing: Boolean, $user
timeUntilAiring
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Feed/Query/FeedListReply.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ query FeedListReply($id: Int, $asHtml: Boolean = false) {
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
siteUrl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ query MediaRelations($id: Int!, $type: MediaType, $isAdult: Boolean = false) {
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Search/Query/MediaSearch.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ query MediaSearch($id: Int, $page: Int, $perPage: Int, $search: String, $type: M
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Staff/Query/StaffMedia.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ query StaffMedia($id: Int!, $page: Int, $perPage: Int, $sort: [MediaSort] = FORM
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Staff/Query/StaffRoles.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ query StaffRoles($id: Int!, $page: Int, $perPage: Int, $sort: [MediaSort] = POPU
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/graphql/Studio/Query/StudioMedia.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ query StudioMedia($id: Int!, $page: Int, $perPage: Int, $sort: [MediaSort] = POP
episode
}
}
mediaListEntry {
... on MediaList {
status
}
}
}
}
}
Expand Down
40 changes: 21 additions & 19 deletions app/src/main/java/com/mxt/anitrend/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
import android.support.annotation.Nullable;

import com.crashlytics.android.core.CrashlyticsCore;
import com.crashlytics.android.core.CrashlyticsListener;
import com.google.firebase.analytics.FirebaseAnalytics;
import com.mxt.anitrend.model.entity.MyObjectBox;
import com.mxt.anitrend.util.ApplicationPref;
import com.mxt.anitrend.util.LocaleHelper;
import com.mxt.anitrend.util.LocaleUtil;

import org.greenrobot.eventbus.EventBus;

Expand All @@ -25,9 +24,9 @@

public class App extends Application {

private FirebaseAnalytics analytics;
private @Nullable FirebaseAnalytics analytics;
private BoxStore boxStore;
private Fabric fabric;
private @Nullable Fabric fabric;

private void setupBoxStore() {
boxStore = MyObjectBox.builder()
Expand All @@ -38,15 +37,16 @@ private void setupBoxStore() {
}

private void setCrashAnalytics(ApplicationPref pref) {
CrashlyticsCore crashlyticsCore = new CrashlyticsCore.Builder()
.disabled(BuildConfig.DEBUG || !pref.isCrashReportsEnabled())
.build();

fabric = Fabric.with(new Fabric.Builder(this)
.kits(crashlyticsCore)
.debuggable(BuildConfig.DEBUG)
.appIdentifier(BuildConfig.BUILD_TYPE)
.build());
if (!BuildConfig.DEBUG)
if (pref.isCrashReportsEnabled()) {
CrashlyticsCore crashlyticsCore = new CrashlyticsCore.Builder()
.build();

fabric = Fabric.with(new Fabric.Builder(this)
.kits(crashlyticsCore)
.appIdentifier(BuildConfig.BUILD_TYPE)
.build());
}
}

private void initApp(ApplicationPref pref) {
Expand All @@ -55,9 +55,11 @@ private void initApp(ApplicationPref pref) {
.sendSubscriberExceptionEvent(BuildConfig.DEBUG)
.throwSubscriberException(BuildConfig.DEBUG)
.installDefaultEventBus();
analytics = FirebaseAnalytics.getInstance(this);
analytics.setAnalyticsCollectionEnabled(pref.isUsageAnalyticsEnabled());
analytics.setMinimumSessionDuration(5000L);
if (pref.isUsageAnalyticsEnabled()) {
analytics = FirebaseAnalytics.getInstance(this);
analytics.setAnalyticsCollectionEnabled(pref.isUsageAnalyticsEnabled());
analytics.setMinimumSessionDuration(5000L);
}
}

@Override
Expand All @@ -71,7 +73,7 @@ public void onCreate() {

@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(LocaleHelper.onAttach(base));
super.attachBaseContext(LocaleUtil.onAttach(base));
}

/**
Expand All @@ -90,7 +92,7 @@ protected void attachBaseContext(Context base) {
*
* @see com.mxt.anitrend.util.AnalyticsUtil
*/
public @NonNull Fabric getFabric() {
public @Nullable Fabric getFabric() {
return fabric;
}

Expand All @@ -99,7 +101,7 @@ protected void attachBaseContext(Context base) {
*
* @see com.mxt.anitrend.util.AnalyticsUtil
*/
public @NonNull FirebaseAnalytics getAnalytics() {
public @Nullable FirebaseAnalytics getAnalytics() {
return analytics;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@
import android.view.ViewGroup;
import android.widget.Filter;

import com.annimon.stream.IntPair;
import com.bumptech.glide.Glide;
import com.mxt.anitrend.R;
import com.mxt.anitrend.base.custom.recycler.RecyclerViewAdapter;
import com.mxt.anitrend.base.custom.recycler.RecyclerViewHolder;
import com.mxt.anitrend.databinding.AdapterCommentBinding;
import com.mxt.anitrend.model.entity.anilist.FeedList;
import com.mxt.anitrend.model.entity.anilist.FeedReply;
import com.mxt.anitrend.util.CompatUtil;
import com.mxt.anitrend.util.KeyUtil;

import java.util.List;

import butterknife.OnClick;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import android.view.ViewGroup;
import android.widget.Filter;

import com.annimon.stream.IntPair;
import com.bumptech.glide.Glide;
import com.mxt.anitrend.R;
import com.mxt.anitrend.base.custom.recycler.RecyclerViewAdapter;
Expand All @@ -15,8 +14,6 @@
import com.mxt.anitrend.model.entity.anilist.Genre;
import com.mxt.anitrend.util.CompatUtil;

import java.util.List;

import butterknife.OnClick;
import butterknife.OnLongClick;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import android.view.ViewGroup;
import android.widget.Filter;

import com.annimon.stream.IntPair;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions;
import com.bumptech.glide.request.RequestOptions;
Expand All @@ -20,7 +19,6 @@
import com.mxt.anitrend.util.KeyUtil;

import java.util.HashMap;
import java.util.List;

import butterknife.OnClick;
import butterknife.OnLongClick;
Expand Down
Loading

0 comments on commit a6f020f

Please sign in to comment.