Refactor user file attachments URL computation to handle local sites.

Review Request #9470 — Created Jan. 5, 2018 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
a92fc5e...

Reviewers

The user file attachments resource URL used for uploading images via
drag-and-drop wasn't correct when a local site was present, because we
were computing it inside the JavaScript. This change makes it so we
include the URL as part of the UserSession model, which makes it work
correctly.

  • Verified that I could now DnD images into a review request within a
    local site.
  • Ran js-tests.
    Loading...