Skip to content
Snippets Groups Projects
  1. May 03, 2018
  2. Apr 22, 2018
  3. Apr 20, 2018
    • unarist's avatar
      Ignore keyevents during text composition (#7205) · 84214b86
      unarist authored
      KeyboardEvent.key may be physical key name (Escape, Tab, etc.)
      even in text composition and it causes hotkeys or suggestion selection.
      So we need to check e.which or e.isComposing.
      
      Checking e.which also allows us to avoid Esc key on compositionend in Safari.
      84214b86
    • TakesxiSximada's avatar
      Fix the hot key (j, k) does not function correctly when there is a pinned toot... · 23106844
      TakesxiSximada authored
      Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline. (#7202)
      
      * Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline.
      
      * Fix typo
      
      * Add custom attribute prefix
      23106844
    • mayaeh's avatar
      Fix #6157: boosting own private toots (#7200) · ee2e0f69
      mayaeh authored
      * Fix boosting own private toots.
      
      * Run yarn manage:translations and update Japanese translations.
      ee2e0f69
    • unarist's avatar
      Fix Esc hotkey behavior (#7199) · 4e35ce82
      unarist authored
      This fixes following cases which causes hotkey action accidentally:
      
      * hitting Esc key to cancel text composition (mostly in CJK)
      
        Although events on cancelling composition are still heavily
        browser / input method dependent, but this implementation would
        covers current UI Events spec and some exceptions.
      
      * hitting Esc key to close autocomplete suggestions
      
      This PR changes to use keydown event instead of keyup event as well as other hotkeys.
      4e35ce82
  4. Apr 18, 2018
  5. Apr 17, 2018
  6. 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
  7. Apr 10, 2018
  8. 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
  9. 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
  10. 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
  11. Mar 26, 2018
  12. Mar 24, 2018
  13. Mar 13, 2018
  14. Mar 11, 2018
  15. Mar 09, 2018
  16. Mar 08, 2018
  17. Mar 07, 2018
  18. 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
  19. 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
  20. Mar 02, 2018
  21. 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
  22. 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
  23. Feb 15, 2018
  24. Feb 08, 2018
  25. Feb 03, 2018
  26. Feb 01, 2018
  27. 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
Loading