Skip to content
Snippets Groups Projects
  1. May 26, 2017
    • Eugen Rochko's avatar
      Fix some nil errors (#3338) · 44cb0829
      Eugen Rochko authored
      * Fix nil input not handled well in AuthorExtractor concern
      
      * Fix hard error in ProcessFeedService when replied-to status has been deleted
      
      * Fix nil errors in ProcessInteractionService when favourited status
      cannot be found
      44cb0829
  2. May 22, 2017
  3. May 18, 2017
  4. May 16, 2017
  5. May 12, 2017
    • Eugen Rochko's avatar
      Add conversation model, <ostatus:conversation /> (#3016) · 5abdc77c
      Eugen Rochko authored
      * Add <ostatus:conversation /> tag to Atom input/output
      
      Only uses ref attribute (not href) because href would be
      the alternate link that's always included also.
      
      Creates new conversation for every non-reply status. Carries
      over conversation for every reply. Keeps remote URIs verbatim,
      generates local URIs on the fly like the rest of them.
      
      * Fix conversation migration
      
      * More spec coverage for status before_create
      
      * Prevent n+1 query when generating Atom with the new conversations
      
      * Improve code style
      
      * Remove redundant local variable
      5abdc77c
  6. May 11, 2017
  7. May 04, 2017
  8. May 03, 2017
    • Eugen Rochko's avatar
      Fix #2706 - Always respond with 200 to PuSH payloads (#2733) · bafd22ec
      Eugen Rochko authored
      Fix #2196 - Respond with 201 when Salmon accepted, 400 when unverified
      Fix #2629 - Correctly handle confirm_domain? for local accounts
      Unify rules for extracting author acct from XML, prefer <email>, fall back
      to <name> + <uri> (see also #2017, #2172)
      bafd22ec
  9. Apr 29, 2017
    • yhirano's avatar
      Downgrade rubocop 0.48.1 => 0.46.0 (#2628) · 8325866c
      yhirano authored
      * downgrade rubocop 0.48.1 => 0.46.0
      
      * exclude vendor/**/* from rubocop target files
      
      * add frozen_string_literal comment line
      
      * fix percent literal delimited by ( and )
      
      * fix alignment
      
      * remove comment disabling unknown cop
      8325866c
  10. Apr 27, 2017
    • Eugen Rochko's avatar
      Improve shared status verification (#2525) · 2af4f3c4
      Eugen Rochko authored
      * Instead of parsing shared status contents verbatim, make roundtrip
      to purported original URL. Confirm that the "original" URL is from the
      same domain as the author it claims to be from.
      
      * Fix obvious typo, add comment
      
      * Use URI look-up first
      
      * Add test, update Goldfinger dependency to make less useless HTTP requests per Webfinger lookup
      2af4f3c4
  11. Apr 25, 2017
    • Eugen's avatar
      Punycode URI normalization (#2370) · 17c591ff
      Eugen authored
      * Fix #2119 - Whenever about to send a HTTP request, normalize the URI
      
      * Add test for IDN request in FetchLinkCardService
      
      * Perform IDN normalization on domains before they are stored in the DB
      17c591ff
  12. Apr 16, 2017
    • Eugen's avatar
      Add language detection (#1772) · e4af4898
      Eugen authored
      * Add language detection via WhatLanguage and (de)serialization of it through Atom
      
      * Fix default language in ProcessFeedService
      
      * Re-add newline before 'react-rails' Gem to fix groupings
      
      Fixes Code Climate issue
      e4af4898
    • Eugen's avatar
      Fix #1813 - Alleviate extra requests when processing mentions (#1938) · babbb213
      Eugen authored
      The <link rel="mentioned" /> tag refers to accounts by href. So we were
      matching the DB by the url attribute, and falling back to HTTP look-up.
      However, GS and Mastodon use profile URLs as URIs, too, and the match
      for that was missing. This could potentially alleviate some extra network
      requests
      babbb213
    • Eugen's avatar
      Make file attachment on MediaAttachment optional (#1865) · 5d710b11
      Eugen authored
      Create MediaAttachment but without actual file download when domain is blocked with reject_media set to true
      Clean up old media files when creating a new domain block with reject_media set to true
      Return remote_url in media attachments API if local file is not present
      Undo domain block action in admin UI
      Ability to enable reject_media from admin UI
      5d710b11
  13. Apr 15, 2017
    • ThibG's avatar
      Allow running mastodon on a different domain as the one used for identifying users (#1267) · a9529d3b
      ThibG authored
      * Allow running mastodon on a different domain as the one used for identifying users
      
      * Alter documentation of WEB_DOMAIN to make clear it shouldn't be used unless the admin knows what they are doing
      
      * Compare to web_domain instead of local_domain when dealing with feeds/API
      
      * Correctly identify mentions to local accounts
      
      Mentions URLs point to the person's web profile, i.e., the user page served on WEB_DOMAIN.
      a9529d3b
  14. Apr 08, 2017
  15. Apr 05, 2017
  16. Mar 13, 2017
  17. Feb 22, 2017
  18. Feb 11, 2017
  19. Feb 09, 2017
  20. Jan 27, 2017
  21. Jan 25, 2017
  22. Jan 23, 2017
  23. Jan 20, 2017
  24. Jan 14, 2017
  25. Jan 11, 2017
  26. Dec 12, 2016
  27. Dec 11, 2016
  28. Dec 05, 2016
  29. Nov 30, 2016
  30. Nov 26, 2016
  31. Nov 22, 2016
  32. Nov 21, 2016
  33. Nov 20, 2016
  34. Nov 18, 2016
Loading