Skip to content
Snippets Groups Projects
  1. Jun 17, 2017
    • nightpool's avatar
      Whitelist allowed classes for federated statuses (#3810) · 94d0e012
      nightpool authored
      * Whitelist allowed classes for federated statuses
      
      Allowed classes are currently:
      
       - Any microformats class (h/p/u/dt/e-*)
       - the classes mention, hashtag, ellipses and invisible.
      
      this last one is somewhat suspect, but Mastodon currently uses it to render hidden link text.
      
      resolved #3790
      
      * Fix code style
      94d0e012
    • Quent-in's avatar
      l10n update for account deletion (#3820) · 8fd931dc
      Quent-in authored
      * l10n update for acount deletion
      
      * l10n little change
      
      * l10n little changes
      
      Less passive voice, more natural.
      
      * Update oc.yml
      
      Correction, " added
      8fd931dc
  2. Jun 16, 2017
  3. Jun 15, 2017
  4. Jun 14, 2017
  5. Jun 13, 2017
  6. Jun 12, 2017
  7. Jun 11, 2017
    • ThibG's avatar
      Fix an error when TagManager.local_url? is called with a bad URI (#3701) · f8fe394e
      ThibG authored
      TagManager.local_url? was sometimes called with an URI with a nil host,
      leading to a crash in TagManager.local_url?. This fixes moves the
      already-existing uri.host.blank? check in front to avoid this case.
      f8fe394e
    • Eugen Rochko's avatar
      Fix #3582 - Update OStatus2 gem (#3699) · 2a545e0f
      Eugen Rochko authored
      2a545e0f
    • Eugen Rochko's avatar
      Fix removal of status sending the original status to mentioned users instead... · ce812466
      Eugen Rochko authored
      Fix removal of status sending the original status to mentioned users instead of delete Salmon (#3672)
      
      * Fix removal of status sending the original status to mentioned users instead
      of delete Salmon, add test
      
      * Create remove_status_service_spec.rb
      ce812466
    • Eugen Rochko's avatar
      Fix #3665 - Refactor timelines reducer (#3686) · 47bf7a80
      Eugen Rochko authored
      * Move ancestors/descendants out of timelines reducer
      
      * Refactor timelines reducer
      
      All types of timelines now have a flat structure and use the same
      reducer functions and actions
      
      * Reintroduce some missing behaviours
      
      * Fix wrong import in reports
      
      * Fix includes typo
      
      * Fix issue related to "next" pagination in timelines and notifications
      
      * Fix bug with timeline's initial state, expandNotifications
      47bf7a80
    • René Klačan's avatar
      Fix Account model deprecation warnings (#3689) · 85d405c8
      René Klačan authored
      ```
      DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:60)
      DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:60)
      DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:60)
      DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:61)
      DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:62)
      DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:63)
      ```
      
      Here's PR describing changes to Dirty API https://github.com/rails/rails/pull/25337
      85d405c8
Loading