Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Search Bug and Update Libraries #591

Merged
merged 6 commits into from May 12, 2018

Conversation

ianmcxa
Copy link
Contributor

@ianmcxa ianmcxa commented Apr 22, 2018

I noticed that searches would not include nsfw results, even if show nsfw content was enabled. This seems to be due to an undocumented API change requiring a cookie for searches to return nsfw results. I've implemented this with the okhttp backend. I have also updated the SDK version to 27.

@QuantumBadger
Copy link
Owner

Great, thank you!

Any chance this could be tied to the existing NSFW preference please?

https://github.com/QuantumBadger/RedReader/blob/master/src/main/res/xml/prefs_behaviour.xml#L158

Some people may have NSFW enabled on their account, but disabled in the app (because you don't necessarily want it enabled on the bus :)) Also I assume this works if someone is logged out?

It looks like the build is failing due to the gradle wrapper change -- please could you fix the distributionSha256Sum in gradle-wrapper.properties? Just downloaded it and got the checksum 7a2c66d1a78f811d5f37d14630ad21cec5e77a2a4dc61e787e2257a6341016ce.

@ianmcxa
Copy link
Contributor Author

ianmcxa commented Apr 29, 2018

The NSFW preference will prevent NSFW results showing up, even with this enabled, so we shouldn't need to tie this to the NSFW preference.

@ianmcxa
Copy link
Contributor Author

ianmcxa commented Apr 29, 2018

Looks like the build is still failing. It's saying licenses have not been accepted. I'm not sure how to fix that.

@QuantumBadger
Copy link
Owner

I think the .travis.yml file needs updating:

https://github.com/QuantumBadger/RedReader/blob/master/.travis.yml

It tells Travis which SDKs to download, and it's still stuck on the old versions.

@ianmcxa
Copy link
Contributor Author

ianmcxa commented May 4, 2018

I updated .travis and it looks like it's still failing.

@QuantumBadger
Copy link
Owner

Travis still seems to be downloading the wrong SDK -- maybe it checked out the wrong commit somehow. Restarting the build didn't help.

Would you mind adding another commit to the pull request please? Just something minor like an extra newline somewhere, to hopefully make Travis detect the latest commit? If that doesn't work I'll probably just merge this and fix any actual issues which crop up.

@ianmcxa
Copy link
Contributor Author

ianmcxa commented May 9, 2018

Alright, pushed

@QuantumBadger
Copy link
Owner

Perfect, thanks, looks like it's working now :) I'll get this merged in.

@QuantumBadger QuantumBadger merged commit fbfb231 into QuantumBadger:master May 12, 2018
@QuantumBadger
Copy link
Owner

Changelog updated:

e42ac20

@QuantumBadger
Copy link
Owner

Alpha 156 built.

QuantumBadger added a commit that referenced this pull request Nov 11, 2018
LizardWithHat pushed a commit to LizardWithHat/RedReader that referenced this pull request Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants