Skip to content

Commit

Permalink
Completed Milestone v1.0.9
Browse files Browse the repository at this point in the history
- Changing the update checker to use GitHub releases instead of GitHub Pages for shipping binaries
- Missing filters on genres and tags
- Broken deeplinking for anime / manga hyperlinks
- GraphQL related errors and notifications alike
- Notifications causing crashes on NPE & missing manga entries from user lists
  • Loading branch information
wax911 committed May 5, 2018
1 parent 58827a2 commit 19142e8
Show file tree
Hide file tree
Showing 10 changed files with 91 additions and 146 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
212 changes: 87 additions & 125 deletions .idea/workspace.xml

Large diffs are not rendered by default.

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":77,"versionName":"1.0.8","enabled":true,"outputFile":"anitrend_v1.0.8_rc_77.apk","fullName":"release","baseName":"release"},"path":"anitrend_v1.0.8_rc_77.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":78,"versionName":"1.0.9","enabled":true,"outputFile":"anitrend_v1.0.9_rc_78.apk","fullName":"release","baseName":"release"},"path":"anitrend_v1.0.9_rc_78.apk","properties":{}}]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
Expand All @@ -12,26 +11,20 @@
import android.widget.LinearLayout;
import android.widget.Toast;

import com.annimon.stream.Stream;
import com.mxt.anitrend.R;
import com.mxt.anitrend.base.custom.consumer.BaseConsumer;
import com.mxt.anitrend.base.interfaces.event.RetroCallback;
import com.mxt.anitrend.base.interfaces.view.CustomView;
import com.mxt.anitrend.databinding.WidgetAutoIncrementerBinding;
import com.mxt.anitrend.model.entity.anilist.MediaList;
import com.mxt.anitrend.model.entity.anilist.meta.CustomList;
import com.mxt.anitrend.model.entity.container.request.QueryContainerBuilder;
import com.mxt.anitrend.presenter.widget.WidgetPresenter;
import com.mxt.anitrend.util.CompatUtil;
import com.mxt.anitrend.util.ErrorUtil;
import com.mxt.anitrend.util.GraphUtil;
import com.mxt.anitrend.util.KeyUtil;
import com.mxt.anitrend.util.MediaListUtil;
import com.mxt.anitrend.util.MediaUtil;
import com.mxt.anitrend.util.NotifyUtil;

import java.util.List;

import retrofit2.Call;
import retrofit2.Response;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,10 @@
import android.widget.AdapterView;
import android.widget.RelativeLayout;

import com.annimon.stream.Stream;
import com.mxt.anitrend.base.interfaces.view.CustomView;
import com.mxt.anitrend.model.entity.anilist.MediaList;
import com.mxt.anitrend.model.entity.anilist.meta.CustomList;
import com.mxt.anitrend.model.entity.base.MediaBase;
import com.mxt.anitrend.model.entity.container.request.QueryContainerBuilder;
import com.mxt.anitrend.presenter.fragment.MediaPresenter;
import com.mxt.anitrend.util.CompatUtil;
import com.mxt.anitrend.util.GraphUtil;
import com.mxt.anitrend.util.KeyUtil;

import java.util.List;

/**
* Created by max on 2018/01/20.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static GiphyModel createGiphyService(Context context) {

public static RepositoryModel createRepositoryService() {
return new Retrofit.Builder().addConverterFactory(GsonConverterFactory.create(gson))
.client(createHttpClient(null, HttpLoggingInterceptor.Level.NONE).build())
.client(createHttpClient(null, HttpLoggingInterceptor.Level.BODY).build())
.baseUrl(BuildConfig.APP_REPO).build().create(RepositoryModel.class);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public interface RepositoryModel {

String DOWNLOAD_LINK = "https://github.com/AniTrend/anitrend-app/releases/download/%s/app-release.apk";

@GET("/AniTrend/anitrend-app/tree/{branch}/app/.meta/version.json")
@GET("/AniTrend/anitrend-app/raw/{branch}/app/.meta/version.json")
Call<VersionBase> checkVersion(@Path("branch") String branch);
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import com.mxt.anitrend.util.NotifyUtil;
import com.mxt.anitrend.view.activity.detail.CommentActivity;
import com.mxt.anitrend.view.activity.detail.MediaActivity;
import com.mxt.anitrend.view.activity.detail.MessageActivity;
import com.mxt.anitrend.view.activity.detail.ProfileActivity;

import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import android.annotation.SuppressLint;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.Menu;
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ API_LINK = "https://graphql.anilist.co/"
CRUNCHY_LINK = "http://www.crunchyroll.com/"
FEEDS_LINK = "http://feeds.feedburner.com/"

APP_REPO = "https://raw.githubusercontent.com/"
APP_REPO = "https://github.com/"

GIPHY_LINK = "https://api.giphy.com/v1/gifs/"

0 comments on commit 19142e8

Please sign in to comment.