Skip to content
Snippets Groups Projects
  1. Jul 14, 2017
    • 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
    • Sorin Davidoi's avatar
      :christmas_tree::hammer: Force tree shake emojione (#4202) · c1f201c4
      Sorin Davidoi authored
      * chore(yarn): Install babel-plugin-preval as development dependency
      
      * feat(babel): Add preval as a plugin
      
      * feat(emojione_light): Prevaled module what tree-shaked emojione
      
      * refactor(emoji): Use emojione_light
      
      * feat: Preload emojione_picker bundle
      
      * fix(emojione_light): Do not use Object.entries
      
      * fix(emojify): Update tests
      
      * chore(emojione_light): Remove silly ascii art
      c1f201c4
    • unarist's avatar
      Follow renaming of microformats2 gem (#4203) · 8d224ad2
      unarist authored
      8d224ad2
    • 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
    • masarakki's avatar
      add validation to tag name (#4194) · a49be271
      masarakki authored
      a49be271
  2. 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
    • unarist's avatar
      Make tag search case insensitive again (#4184) · c2753fdf
      unarist authored
      c2753fdf
  3. Jul 12, 2017
  4. Jul 11, 2017
    • Eugen Rochko's avatar
      Redesign the landing page, mount public timeline on it (#4122) · e19eefe2
      Eugen Rochko authored
      * Redesign the landing page, mount public timeline on it
      
      * Adjust the standalone mounted component to the lacking of router
      
      * Adjust auth layout pages to new design
      
      * Fix tests
      
      * Standalone public timeline polling every 5 seconds
      
      * Remove now obsolete translations
      
      * Add responsive design for new landing page
      
      * Address reviews
      
      * Add floating clouds behind frontpage form
      
      * Use access token from public page when available
      
      * Fix mentions and hashtags links, cursor on status content in standalone mode
      
      * Add footer link to source code
      
      * Fix errors on pages that don't embed the component, use classnames
      
      * Fix tests
      
      * Change anonymous autoPlayGif default to false
      
      * When gif autoplay is disabled, hover to play
      
      * Add option to hide the timeline preview
      
      * Slightly improve alt layout
      
      * Add elephant friend to new frontpage
      
      * Display "back to mastodon" in place of "login" when logged in on frontpage
      
      * Change polling time to 3s
      e19eefe2
  5. Jul 10, 2017
  6. Jul 08, 2017
  7. Jul 07, 2017
  8. Jul 06, 2017
    • Damien Erambert's avatar
      Add a setting allowing the use of system's default font in Web UI (#4033) · 18d3fa95
      Damien Erambert authored
      * add a system_font_ui setting on the server
      
      * Plug the system_font_ui on the front-end
      
      * add EN/FR locales for the new setting
      
      * put Roboto after all other fonts
      
      * remove trailing whitespace so CodeClimate is happy
      
      * fix user_spec.rb
      
      * correctly write user_spect this time
      
      * slightly better way of adding the classes
      
      * add comments to the system-font stack for clarification
      
      * use .system-font for the class instead
      
      * don't use multiple lines for comments
      
      * remove trailing whitespace
      
      * use the classnames module for consistency
      
      * use `mastodon-font-sans-serif` instead of Roboto directly
      18d3fa95
  9. Jul 05, 2017
  10. Jul 03, 2017
  11. Jun 30, 2017
  12. Jun 29, 2017
  13. Jun 28, 2017
  14. Jun 26, 2017
  15. Jun 25, 2017
  16. Jun 23, 2017
  17. Jun 22, 2017
    • Akihiko Odaki (@fn_aki@pawoo.net)'s avatar
      Some minor change and spec for Account (#3813) · e27f792c
      Akihiko Odaki (@fn_aki@pawoo.net) authored
      * Introduce domains method to Account relation
      
      Account had followers_domains method, which was excessively specific.
      Let relation of Account have domains method instead.
      
      * Move follow_mapping in Account to AccountInteractions
      
      * Introduce shared examples for AccountAvatar inclusion
      
      * Cover Account more
      e27f792c
    • Eugen Rochko's avatar
      Fix regression from #3842 (#3892) · 0190aac2
      Eugen Rochko authored
      * Fix regression from #3842
      
      Simplify the query by omitting all direct statuses. Private statuses
      are allowed because they are from accounts we are following (so
      by definition)
      
      Resolves #3887 (alternative)
      
      * Adjust test
      0190aac2
  18. Jun 20, 2017
Loading