Skip to content
Snippets Groups Projects
  1. Apr 16, 2018
    • ThibG's avatar
      Fix scrolling behavior (#7151) · 7e0aed39
      ThibG authored
      * Update React.JS
      
      * Use React's new lifecycles for scrollable lists
      
      * Clean up dead code
      
      * Make CodeClimate happy
      7e0aed39
  2. Apr 10, 2018
  3. Apr 09, 2018
    • Emelia Smith's avatar
      Feature: Direct message from Statuses (#7089) · 904a2479
      Emelia Smith authored
      * Fix: Switching between composing direct message and mention from menus
      
      Previously clicking "direct message" followed by "mention" resulted in the composed status staying as "direct", along with weird spacing of items in the text area. This attempts to fix that.
      
      * Fix: Add missing proptype check for onMention in Status component
      
      * Add the ability to send a direct message to a user from the menu on Statuses
      
      * Add space between "Embed" and "Mention" on expanded statuses menu
      904a2479
  4. Mar 31, 2018
    • unarist's avatar
      Ignore AbortError when cancelled sharing (#6978) · fb3dc00d
      unarist authored
      `navigator.share()` rejects Promise if user cancelled sharing, and it may
      print it as an error on JavaScript console.
      
      This patch ignores it and prints other errors on the console.
      fb3dc00d
  5. Mar 30, 2018
    • ThibG's avatar
      Add some UI for user-defined domain blocks (#6628) · a6c129dd
      ThibG authored
      * Keep list of blocked domains
      
      Might be overkill, but I'm trying to follow the same logic as for blocked users
      
      * Add basic domain block UI
      
      * Add the domain blocks UI to Getting Started
      
      * Fix undefined URL in `fetchDomainBlocks`
      
      * Update all known users' domain_blocking relationship instead of just one's
      a6c129dd
  6. Mar 26, 2018
  7. Mar 24, 2018
  8. Mar 13, 2018
  9. Mar 11, 2018
  10. Mar 09, 2018
  11. Mar 08, 2018
  12. Mar 07, 2018
  13. Mar 05, 2018
    • Akihiko Odaki's avatar
      Replace onScrollToBottom with onLoadMore (#6615) · b0664a5e
      Akihiko Odaki authored
      onScrollToBottom was a function to run instead of onScrollToTop and
      onScroll when scrolling to the bottom. The behavior to prevent
      onScrollToTop was inconvenient because the viewport can be at the bottom
      and at the top at the same time if the viewport is larger than the
      container.
      
      onScrollToBottom was also called when the button to load more is clicked
      on contray to the name suggests, which led notifications and
      status_list_container components to mark the scrolled location is not at
      the top mistakenly.
      
      onLoadMore is a replacement for onScrollToBottom. It will be called
      independently from onScrollToTop and onScroll.
      b0664a5e
    • Akihiko Odaki's avatar
  14. Mar 04, 2018
    • Yuto Tokunaga's avatar
      [RFC] Improved media modal (#5956) · 4e929b2d
      Yuto Tokunaga authored
      * Improved media modal
      
      ImageLoader: Impliment pinch zoom by CSS `transform: scale(X)`
      ImageLoader: Impliment panning by CSS `overflow: scroll`
      ImageLoader: Larger image
      MediaModal: Larger close button
      MediaModal: Close the modal by swiping vertically
      MediaModal: Show/hide close button and right/left navigation on tapping image
      MediaModal: Change the `pointer-event` CSS prpp to get more blank space to close the modal
      ImageLoader: Zoom/reset zoom on double tap
      MediaModal: disable vertical swiping while horizontally swiped
      ImageLoader: prevent propagating touchmove event to MediaModal
      MediaModal: Adjust size and potision of buttons
      ImageLoader: Adjust scroll potision on pinch zoom
      
      * Remove "swipe to close" and "double tap to zoom" features
      
      * remove unused prop and functions
      
      removed `onScroll` prop and `handleScroll` func in ImageLoader
      
      * separate zoom functionary to ZoomableImage component
      
      adjust styling of ImageLoader
      add styling for ZoomableImage
      
      * adjust size and potision of close button of media modal
      
      * Fix for gif video
      
      add `onClick` prop to ExtendedVideoPlayer
      specify `onClick` prop to video tag for switching nav of `MediaModal`
      add `.video-modal` class to scss to separate styling for `VideoModal`
      
      * fix styling for centering
      
      specify height of `ZoomableImage` by pixel
      clean styling for `ImageLoader`
      
      * fix lint errors
      
      * small fix
      
      * fixed designated parts
      4e929b2d
    • Akihiko Odaki's avatar
      Implement tag auto-completion by history (#6621) · 460e380d
      Akihiko Odaki authored
      This is a functionality similar to one implemented in Pawoo:
      https://github.com/pixiv/mastodon/commit/21a3c70f8083b1347d2b8420ed7001b78c2c9620
      460e380d
    • Eugen Rochko's avatar
      Federate pinned statuses over ActivityPub (#6610) · 9110db41
      Eugen Rochko authored
      * Federate pinned statuses over ActivityPub
      
      * Display pinned toots in web UI
      
      Fix #6117
      
      * Fix migration
      
      * Fix tests
      
      * Update outbox_serializer.rb
      
      * Update remove_serializer.rb
      
      * Update add_serializer.rb
      
      * Update fetch_featured_collection_service.rb
  15. Mar 02, 2018
  16. Feb 21, 2018
    • Eugen Rochko's avatar
      Focal points (#6520) · 90f12f2e
      Eugen Rochko authored
      * Add focus param to media API, center thumbnails on focus point
      
      * Add UI for setting a focal point
      
      * Improve focal point icon on upload item
      
      * Use focal point in upload preview
      
      * Add focalPoint property to ActivityPub
      
      * Don't show focal point button for non-image attachments
  17. Feb 19, 2018
    • Eugen Rochko's avatar
      Fix media spoiler design (#6507) · cbb69d41
      Eugen Rochko authored
      - 4px rounded corners on media attachments
      - Better colors/contrast for CW/media spoiler on public pages
      - Fix vertical alignment of "Show more" button
      - Fix layout jump when unhiding standalone media
  18. Feb 15, 2018
  19. Feb 08, 2018
  20. Feb 03, 2018
  21. Feb 01, 2018
  22. Jan 17, 2018
    • Eugen Rochko's avatar
      Fix home regeneration (#6251) · 7badad77
      Eugen Rochko authored
      * Fix regeneration marker not being removed after completion
      
      * Return HTTP 206 from /api/v1/timelines/home if regeneration in progress
      Prioritize RegenerationWorker by putting it into default queue
      
      * Display loading indicator and poll home timeline while it regenerates
      
      * Add graphic to regeneration message
      
      * Make "not found" indicator consistent with home regeneration
    • Yamagishi Kazutoshi's avatar
      0a103c77
  23. Jan 15, 2018
    • Eugen Rochko's avatar
      Surround mid-text display names with bdi tags (#6257) · 7861c5f1
      Eugen Rochko authored
      * Fix #1095 - Surround mid-text display names with bdi tags
      
      * Update jest snapshot
    • Eugen Rochko's avatar
    • Gô Shoemake's avatar
      Fix column headers accessibility (#6199) · 08e4c78e
      Gô Shoemake authored
      * Fix accessibility of column headers
      
      As a screen reader user new to Mastodon, I encountered the following issues with the column headers as designed:
       * Jumping between them was difficult. FOr instance, passing my home timeline to reach notification settings was difficult to impossible, especially considering infinite scrolling.
       * There doesn't appear to be any means for triggering the control via the keyboard. the `titleClick` handler only responds to mouse clicks.
       * I didn't even realize there was a Settings toggle until I made this change.
      
      Thanks for using ARIA in your designs. It's a huge help. But adding a `button` role doesn't add keyboard handling and other button behavior. Also, because the role was on the heading container, it obscured the controls within the container itself. This fix resolve that. It also exposes the headings as headings rather than buttons, enabling skipping columns by using screen readers' heading navigation commands.
      
      Since I myself am blind, if this fix requires additional visual styling, I'd like help applying that so it can be merged. I'd consider it an essential accessibility fix for my and other blind users' existence on the platform. Thanks!
      
      * Styling fixes
      
      * Fixed overflow issue
      08e4c78e
  24. Dec 24, 2017
  25. Dec 13, 2017
  26. Dec 07, 2017
  27. Dec 06, 2017
    • aschmitz's avatar
      Break out nested relationship API keys (#5887) · 4de211b8
      aschmitz authored
      * Break out nested relationship API keys
      
      This closes #5856 by restoring the existing behavior of the `muting`
      and `following` keys (returning booleans rather than truthy or false).
      It adds `showing_reblogs` and `muting_notifications` keys:
      
      * `showing_reblogs` returns true if:
        1. You've requested to follow the user, with reblogs shown, or
        2. You are following the user, with reblogs shown.
      * `muting_notifications` returns true if you have muted the user and
        their notifications as well.
      
      * Rubocop fix
      
      * Fix pulling reblog/mute status from relationships
      
      I could swear this had passed tests before, but apparently not.
      Works now.
      
      * More test fixes
      
      Really, you'd expect this to be more straightforward.
      4de211b8
  28. Dec 05, 2017
Loading