Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
AO3-4205 Adding ip address when importing works without preview #3169
Conversation
hatal175
added some commits
Nov 11, 2017
| @@ -81,6 +81,11 @@ def import_from_urls(urls, options = {}) | ||
| urls.each do |url| | ||
| begin | ||
| work = download_and_parse_story(url, options) | ||
| + | ||
| + if work |
houndci-bot
Nov 18, 2017
Use safe navigation (&.) instead of checking if an object exists before calling the method.
sarken
added
the
Awaiting review
label
Nov 19, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hatal175 commentedNov 18, 2017
Issue
https://otwarchive.atlassian.net/browse/AO3-4205
Purpose
Adds IP address of importer when posting without preview.
Testing
I added feature tests for these cases but the described procedure in the bug should do.
Credit
Tal Hayon
Please use he.