Skip to content

Commit

Permalink
Multiple Bug Fixes & Minor Improvements
Browse files Browse the repository at this point in the history
- GraphQL requests and missing variable parameters
- Query optimization, and fixes
- New image getter handler for html image tags
- New unresolved content recyclyer view holder
  • Loading branch information
wax911 committed Apr 28, 2018
1 parent 04f5606 commit 1eeb2c2
Show file tree
Hide file tree
Showing 96 changed files with 1,357 additions and 1,353 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

962 changes: 475 additions & 487 deletions .idea/workspace.xml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,11 @@
<orderEntry type="library" name="Gradle: com.android.support:support-media-compat-27.1.1" level="project" />
<orderEntry type="library" name="Gradle: com.google.firebase:firebase-iid-15.0.0" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test:rules-1.0.1" level="project" />
<orderEntry type="library" name="Gradle: com.android.databinding:adapters-3.1.1" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: javax.inject:javax.inject:1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.databinding:adapters-3.1.2" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-fragment-27.1.1" level="project" />
<orderEntry type="library" name="Gradle: com.android.support.constraint:constraint-layout-1.1.0" level="project" />
<orderEntry type="library" name="Gradle: android.arch.core:runtime-1.1.1" level="project" />
<orderEntry type="library" name="Gradle: com.android.databinding:library-3.1.1" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:design-27.1.1" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:appcompat-v7-27.1.1" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:/home/max/Documents/GitHub/anitrend-app/app/libs/YouTubeAndroidPlayerApi.jar:unspecified@jar" level="project" />
Expand All @@ -148,6 +147,7 @@
<orderEntry type="library" name="Gradle: com.google.code.findbugs:jsr305:3.0.2@jar" level="project" />
<orderEntry type="library" name="Gradle: com.ogaclejapan.smarttablayout:library-1.6.1" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.retrofit2:converter-gson:2.4.0@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.databinding:library-3.1.2" level="project" />
<orderEntry type="library" name="Gradle: com.google.android.gms:play-services-tasks-15.0.0" level="project" />
<orderEntry type="library" name="Gradle: uk.co.samuelwall:material-tap-target-prompt-2.7.0" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:runtime-1.1.1" level="project" />
Expand All @@ -166,6 +166,7 @@
<orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable-27.1.1" level="project" />
<orderEntry type="library" name="Gradle: org.ocpsoft.prettytime:prettytime:4.0.1.Final@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-utils-27.1.1" level="project" />
<orderEntry type="library" name="Gradle: com.android.databinding:baseLibrary:3.1.2@jar" level="project" />
<orderEntry type="library" name="Gradle: com.google.android.gms:play-services-ads-identifier-15.0.0" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:extensions-1.1.1" level="project" />
<orderEntry type="library" name="Gradle: android.arch.core:common:1.1.1@jar" level="project" />
Expand Down Expand Up @@ -199,7 +200,6 @@
<orderEntry type="library" name="Gradle: com.afollestad.material-dialogs:core-0.9.6.0" level="project" />
<orderEntry type="library" name="Gradle: com.tapadoo.android:alerter-2.0.4" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test:runner-1.0.1" level="project" />
<orderEntry type="library" name="Gradle: com.android.databinding:baseLibrary:3.1.1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-annotations:27.1.1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:animated-vector-drawable-27.1.1" level="project" />
<orderEntry type="library" name="Gradle: com.crashlytics.sdk.android:crashlytics-2.7.1" level="project" />
Expand Down
6 changes: 5 additions & 1 deletion app/objectbox-models/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"entities": [
{
"id": "1:7381284941123272533",
"lastPropertyId": "6:520616083576039591",
"lastPropertyId": "7:1143516165755284576",
"name": "WebToken",
"properties": [
{
Expand All @@ -27,6 +27,10 @@
{
"id": "6:520616083576039591",
"name": "refresh_token"
},
{
"id": "7:1143516165755284576",
"name": "expires"
}
],
"relations": []
Expand Down
107 changes: 23 additions & 84 deletions app/objectbox-models/default.json.bak
Original file line number Diff line number Diff line change
Expand Up @@ -249,87 +249,6 @@
}
],
"relations": []
},
{
"id": "21:5597106433451204540",
"lastPropertyId": "19:5191429675911056039",
"name": "MediaList",
"properties": [
{
"id": "1:865944807870467002",
"name": "id"
},
{
"id": "2:1556378088293802561",
"indexId": "8:8527992697025819419",
"name": "mediaId"
},
{
"id": "3:1528334680309736535",
"name": "status"
},
{
"id": "4:624821725566730788",
"name": "score"
},
{
"id": "5:5678177800122688485",
"name": "progress"
},
{
"id": "6:4264771901605757912",
"name": "progressVolumes"
},
{
"id": "7:6706050239200382226",
"name": "repeat"
},
{
"id": "8:6801549971161550827",
"name": "priority"
},
{
"id": "9:7507736809296666944",
"name": "notes"
},
{
"id": "10:5645792354927733333",
"name": "hidden"
},
{
"id": "11:8662450930514164074",
"name": "hiddenFromStatusLists"
},
{
"id": "12:5046611002573700646",
"name": "advancedScores"
},
{
"id": "13:4865317041894946100",
"name": "customLists"
},
{
"id": "14:6119860312703398703",
"name": "startedAt"
},
{
"id": "15:4521045387923603177",
"name": "completedAt"
},
{
"id": "16:1028517349533308976",
"name": "updatedAt"
},
{
"id": "17:8818665484947413382",
"name": "createdAt"
},
{
"id": "18:8044832169621340581",
"name": "media"
}
],
"relations": []
}
],
"lastEntityId": "21:5597106433451204540",
Expand All @@ -350,13 +269,15 @@
3375209278407374134,
9088633577119353342,
1021677628609453194,
7606742837028811672
7606742837028811672,
5597106433451204540
],
"retiredIndexUids": [
4356584926379327934,
2490581992659279563,
8099986486146876590,
6452572299229966384
6452572299229966384,
8527992697025819419
],
"retiredPropertyUids": [
5808886818358913984,
Expand Down Expand Up @@ -501,7 +422,25 @@
4658998643227657610,
7641348231231136182,
6428497792662302578,
5191429675911056039
5191429675911056039,
865944807870467002,
1556378088293802561,
1528334680309736535,
624821725566730788,
5678177800122688485,
4264771901605757912,
6706050239200382226,
6801549971161550827,
7507736809296666944,
5645792354927733333,
8662450930514164074,
5046611002573700646,
4865317041894946100,
6119860312703398703,
4521045387923603177,
1028517349533308976,
8818665484947413382,
8044832169621340581
],
"retiredRelationUids": [],
"version": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mutation SaveMediaListEntry($id: Int, $mediaId: Int, $status: MediaListStatus, $scoreRaw: Int, $progress: Int, $progressVolumes: Int, $repeat: Int, $priority: Int, $private: Boolean = false, $hiddenFromStatusLists: Boolean = false, $customLists: [String], $advancedScores: [Float], $notes: String, $scoreFormat: ScoreFormat = POINT_100) {
SaveMediaListEntry(id: $id, mediaId: $mediaId, status: $status, scoreRaw: $scoreRaw, progress: $progress, progressVolumes: $progressVolumes, repeat: $repeat, priority: $priority, private: $private, hiddenFromStatusLists: $hiddenFromStatusLists, customLists: $customLists, advancedScores: $advancedScores, notes: $notes) {
mutation SaveMediaListEntry($id: Int, $mediaId: Int, $status: MediaListStatus, $scoreRaw: Int, $progress: Int, $progressVolumes: Int, $repeat: Int, $priority: Int, $private: Boolean = false, $hiddenFromStatusLists: Boolean = false, $customLists: [String], $advancedScores: [Float], $notes: String, $scoreFormat: ScoreFormat = POINT_100, $startedAt: FuzzyDateInput, $completedAt: FuzzyDateInput) {
SaveMediaListEntry(id: $id, mediaId: $mediaId, status: $status, scoreRaw: $scoreRaw, progress: $progress, progressVolumes: $progressVolumes, repeat: $repeat, priority: $priority, private: $private, hiddenFromStatusLists: $hiddenFromStatusLists, customLists: $customLists, advancedScores: $advancedScores, notes: $notes, startedAt: $startedAt, completedAt: $completedAt) {
... on MediaList {
id
mediaId
Expand All @@ -11,7 +11,6 @@ mutation SaveMediaListEntry($id: Int, $mediaId: Int, $status: MediaListStatus, $
priority
private
hiddenFromStatusLists
advancedScores
customLists(asArray: true)
notes
startedAt {
Expand All @@ -28,64 +27,6 @@ mutation SaveMediaListEntry($id: Int, $mediaId: Int, $status: MediaListStatus, $
day
}
}
user {
... on User {
id
name
avatar {
... on UserAvatar {
large
medium
}
}
isFollowing
}
}
media {
... on Media {
id
title {
... on MediaTitle {
english
romaji
native
userPreferred
}
}
coverImage {
... on MediaCoverImage {
large
medium
}
}
type
format
season
status
meanScore
averageScore
startDate {
... on FuzzyDate {
day
month
year
}
}
episodes
chapters
volumes
isAdult
isFavourite
nextAiringEpisode {
... on AiringSchedule {
id
airingAt
timeUntilAiring
episode
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,64 +27,6 @@ mutation UpdateMediaListEntries($ids: [Int], $scoreFormat: ScoreFormat = POINT_1
day
}
}
user {
... on User {
id
name
avatar {
... on UserAvatar {
large
medium
}
}
isFollowing
}
}
media {
... on Media {
id
title {
... on MediaTitle {
english
romaji
native
userPreferred
}
}
coverImage {
... on MediaCoverImage {
large
medium
}
}
type
format
season
status
meanScore
averageScore
startDate {
... on FuzzyDate {
day
month
year
}
}
episodes
chapters
volumes
isAdult
isFavourite
nextAiringEpisode {
... on AiringSchedule {
id
airingAt
timeUntilAiring
episode
}
}
}
}
}
}
}
Loading

0 comments on commit 1eeb2c2

Please sign in to comment.