Skip to content
Snippets Groups Projects
  1. Jul 31, 2017
  2. Jul 27, 2017
  3. Jul 24, 2017
    • sdukhovni's avatar
      Allow domain blocks that only reject media without silencing or suspending (#4325) · 06d905f4
      sdukhovni authored
      * Allow domain blocks to reject media without silencing or suspending
      
      * Fix typo
      
      * Hide 'Reject media' button when superfluous, instead of disabling it
      
      * Properly hide 'reject media' checkbox on page load if needed
      
      This may happen when resubmitting the domain block form after an error.
      
      * Don't ask whether undoing a media-only block should be retroactive
      
      * Rename :media_only block to :noop
      
      * Display :noop block as None in frontend, allow blocks that do nothing
      
      * Remove 'coding' line auto-added by emacs
      06d905f4
  4. Jul 22, 2017
  5. Jul 19, 2017
  6. Jul 18, 2017
  7. Jul 15, 2017
    • ThibG's avatar
      Optimize uri normalization (#4212) · 05cd3709
      ThibG authored
      * Add dependency on idn-ruby to speed up URI normalization
      
      * Use normalized_host instead of normalize.host when applicable
      
      When we are only interested in the normalized host, calling normalized_host
      avoids normalizing the other components of the URI as well as creating a
      new object
      05cd3709
  8. Jul 14, 2017
    • Eugen Rochko's avatar
      Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205) · cd9b2ab2
      Eugen Rochko authored
      * Fix #2672 - Connect signed PuSH subscription requests to instance domain
      
      Resolves #2739
      
      * Fix return of locate_subscription
      
      * Fix tests
      cd9b2ab2
    • Eugen Rochko's avatar
      HTTP signatures (#4146) · 1618b68b
      Eugen Rochko authored
      * Add Request class with HTTP signature generator
      
      Spec: https://tools.ietf.org/html/draft-cavage-http-signatures-06
      
      * Add HTTP signature verification concern
      
      * Add test for SignatureVerification concern
      
      * Add basic test for Request class
      
      * Make PuSH subscribe/unsubscribe requests use new Request class
      
      Accidentally fix lease_seconds not being set and sent properly, and
      change the new minimum subscription duration to 1 day
      
      * Make all PuSH workers use new Request class
      
      * Make Salmon sender use new Request class
      
      * Make FetchLinkService use new Request class
      
      * Make FetchAtomService use the new Request class
      
      * Make Remotable use the new Request class
      
      * Make ResolveRemoteAccountService use the new Request class
      
      * Add more tests
      
      * Allow +-30 seconds window for signed request to remain valid
      
      * Disable time window validation for signed requests, restore 7 days
      as PuSH subscription duration (which was previous default due to a bug)
      1618b68b
    • Eugen Rochko's avatar
      Fix #4149, fix #1199 - Store emojis as unicode (#4189) · e2685ccc
      Eugen Rochko authored
      - Use unicode when selecting emoji through picker
      - Convert shortcodes to unicode when storing text input server-side
      - Do not convert shortcodes in JS anymore
      e2685ccc
  9. Jul 13, 2017
    • Sorin Davidoi's avatar
      Web Push Notifications (#3243) · 0c7c188c
      Sorin Davidoi authored
      * feat: Register push subscription
      
      * feat: Notify when mentioned
      
      * feat: Boost, favourite, reply, follow, follow request
      
      * feat: Notification interaction
      
      * feat: Handle change of public key
      
      * feat: Unsubscribe if things go wrong
      
      * feat: Do not send normal notifications if push is enabled
      
      * feat: Focus client if open
      
      * refactor: Move push logic to WebPushSubscription
      
      * feat: Better title and body
      
      * feat: Localize messages
      
      * chore: Fix lint errors
      
      * feat: Settings
      
      * refactor: Lazy load
      
      * fix: Check if push settings exist
      
      * feat: Device-based preferences
      
      * refactor: Simplify logic
      
      * refactor: Pull request feedback
      
      * refactor: Pull request feedback
      
      * refactor: Create /api/web/push_subscriptions endpoint
      
      * feat: Spec PushSubscriptionController
      
      * refactor: WebPushSubscription => Web::PushSubscription
      
      * feat: Spec Web::PushSubscription
      
      * feat: Display first media attachment
      
      * feat: Support direction
      
      * fix: Stuff broken while rebasing
      
      * refactor: Integration with session activations
      
      * refactor: Cleanup
      
      * refactor: Simplify implementation
      
      * feat: Set VAPID keys via environment
      
      * chore: Comments
      
      * fix: Crash when no alerts
      
      * fix: Set VAPID keys in testing environment
      
      * fix: Follow link
      
      * feat: Notification actions
      
      * fix: Delete previous subscription
      
      * chore: Temporary logs
      
      * refactor: Move migration to a later date
      
      * fix: Fetch the correct session activation and misc bugs
      
      * refactor: Move migration to a later date
      
      * fix: Remove follow request (no notifications)
      
      * feat: Send administrator contact to push service
      
      * feat: Set time-to-live
      
      * fix: Do not show sensitive images
      
      * fix: Reducer crash in error handling
      
      * feat: Add badge
      
      * chore: Fix lint error
      
      * fix: Checkbox label overlap
      
      * fix: Check for payload support
      
      * fix: Rename action "type" (crash in latest Chrome)
      
      * feat: Action to expand notification
      
      * fix: Lint errors
      
      * fix: Unescape notification body
      
      * fix: Do not allow boosting if the status is hidden
      
      * feat: Add VAPID keys to the production sample environment
      
      * fix: Strip HTML tags from status
      
      * refactor: Better error messages
      
      * refactor: Handle browser not implementing the VAPID protocol (Samsung Internet)
      
      * fix: Error when target_status is nil
      
      * fix: Handle lack of image
      
      * fix: Delete reference to invalid subscriptions
      
      * feat: Better error handling
      
      * fix: Unescape HTML characters after tags are striped
      
      * refactor: Simpify code
      
      * fix: Modify to work with #4091
      
      * Sort strings alphabetically
      
      * i18n: Updated Polish translation
      
      it annoys me that it's not fully localized :P
      
      * refactor: Use current_session in PushSubscriptionController
      
      * fix: Rebase mistake
      
      * fix: Set cacheName to mastodon
      
      * refactor: Pull request feedback
      
      * refactor: Remove logging statements
      
      * chore(yarn): Fix conflicts with master
      
      * chore(yarn): Copy latest from master
      
      * chore(yarn): Readd offline-plugin
      
      * refactor: Use save! and update!
      
      * refactor: Send notifications async
      
      * fix: Allow retry when push fails
      
      * fix: Save track for failed pushes
      
      * fix: Minify sw.js
      
      * fix: Remove account_id from fabricator
      0c7c188c
  10. Jul 11, 2017
  11. Jul 10, 2017
  12. Jul 09, 2017
  13. Jul 08, 2017
  14. Jul 07, 2017
  15. Jul 05, 2017
  16. Jul 03, 2017
  17. Jun 30, 2017
  18. Jun 29, 2017
  19. Jun 28, 2017
  20. Jun 26, 2017
  21. Jun 20, 2017
    • ThibG's avatar
      Fix conversations (fixes #3869) (#3870) · 15b43f55
      ThibG authored
      * Actually create conversations given explicit URIs
      
      * Try to get the parent toot in before validation, to avoid creating a new conversation
      15b43f55
    • Akihiko Odaki (@fn_aki@pawoo.net)'s avatar
      Filter direct statuses in Status.as_home_timeline (#3842) · bab5a182
      Akihiko Odaki (@fn_aki@pawoo.net) authored
      The classes using Status.as_home_timeline, namely Feed and
      PrecomputeFeedService are expected to filter direct statuses as
      FanOutWriteService does, but their filtering were incomplete or missing.
      
      This commit solves the problem by filtering direct statuses in
      as_home_timeline as the other similar methods such as as_public_timeline
      does.
      bab5a182
  22. Jun 18, 2017
  23. Jun 15, 2017
  24. Jun 14, 2017
Loading