Skip to content
Snippets Groups Projects
  1. Dec 05, 2017
  2. Dec 04, 2017
  3. Dec 03, 2017
  4. Dec 01, 2017
  5. Nov 29, 2017
  6. Nov 28, 2017
    • aschmitz's avatar
      Allow hiding of reblogs from followed users (#5762) · eeaec398
      aschmitz authored
      * Allow hiding of reblogs from followed users
      
      This adds a new entry to the account menu to allow users to hide
      future reblogs from a user (and then if they've done that, to show
      future reblogs instead).
      
      This does not remove or add historical reblogs from/to the user's
      timeline; it only affects new statuses.
      
      The API for this operates by sending a "reblogs" key to the follow
      endpoint. If this is sent when starting a new follow, it will be
      respected from the beginning of the follow relationship (even if
      the follow request must be approved by the followee). If this is
      sent when a follow relationship already exists, it will simply
      update the existing follow relationship. As with the notification
      muting, this will now return an object ({reblogs: [true|false]}) or
      false for each follow relationship when requesting relationship
      information for an account. This should cause few issues due to an
      object being truthy in many languages, but some modifications may
      need to be made in pickier languages.
      
      Database changes: adds a show_reblogs column (default true,
      non-nullable) to the follows and follow_requests tables. Because
      these are non-nullable, we use the existing MigrationHelpers to
      perform this change without locking those tables, although the
      tables are likely to be small anyway.
      
      Tests included.
      
      See also <https://github.com/glitch-soc/mastodon/pull/212>.
      
      * Rubocop fixes
      
      * Code review changes
      
      * Test fixes
      
      This patchset closes #648 and resolves #3271.
      
      * Rubocop fix
      
      * Revert reblogs defaulting in argument, fix tests
      
      It turns out we needed this for the same reason we needed it in muting:
      if nil gets passed in somehow (most usually by an API client not passing
      any value), we need to detect and handle it.
      
      We could specify a default in the parameter and then also catch nil, but
      there's no great reason to duplicate the default value.
      eeaec398
    • Yamagishi Kazutoshi's avatar
      2b3b44eb
    • Marcin Mikołajczak's avatar
      i18n: :flag_pl: (#5841) · d937a599
      Marcin Mikołajczak authored
      
      Signed-off-by: default avatarMarcin Mikołajczak <me@m4sk.in>
      d937a599
  7. Nov 27, 2017
    • Joshua Wood's avatar
      Add Keyboard Shortcuts Legend (#5823) · ff78c117
      Joshua Wood authored
      * Add Keyboard Shortcuts Legend
      
      Adds a "Keyboard Shortcuts" legend (displayed in the rightmost column)
      which is toggled via a new "?" hotkey. When subsequently pressed from
      the Keyboard Shortcuts legend, "?" will navigate back to the previous
      location.
      
      * Add hidden table headings.
      
      Makes the headings available for accessibility but hides them visually.
      ff78c117
  8. Nov 26, 2017
  9. Nov 25, 2017
  10. Nov 24, 2017
  11. Nov 21, 2017
  12. Nov 18, 2017
    • Eugen Rochko's avatar
      Profile redirect notes (#5746) · 58cede48
      Eugen Rochko authored
      * Serialize moved accounts into REST and ActivityPub APIs
      
      * Parse federated moved accounts from ActivityPub
      
      * Add note about moved accounts to public profiles
      
      * Add moved account message to web UI
      
      * Fix code style issues
    • SerCom_KC's avatar
      Updating Chinese (Simplified) translations (#5725) · 6be72a3e
      SerCom_KC authored
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Change `静音` to `隐藏`
      
      * i18n: (zh-CN) Add translations for #5087 & #5669
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Add missing translation for #5728
      6be72a3e
  13. Nov 15, 2017
    • masarakki's avatar
      reusable-streaming (#5709) · c73a1fb5
      masarakki authored
      c73a1fb5
    • Surinna Curtis's avatar
      Optional notification muting (#5087) · 031a5a8f
      Surinna Curtis authored
      * Add a hide_notifications column to mutes
      
      * Add muting_notifications? and a notifications argument to mute!
      
      * block notifications in notify_service from hard muted accounts
      
      * Add specs for how mute! interacts with muting_notifications?
      
      * specs testing that hide_notifications in mutes actually hides notifications
      
      * Add support for muting notifications in MuteService
      
      * API support for muting notifications (and specs)
      
      * Less gross passing of notifications flag
      
      * Break out a separate mute modal with a hide-notifications checkbox.
      
      * Convert profile header mute to use mute modal
      
      * Satisfy eslint.
      
      * specs for MuteService notifications params
      
      * add trailing newlines to files for Pork :)
      
      * Put the label for the hide notifications checkbox in a label element.
      
      * Add a /api/v1/mutes/details route that just returns the array of mutes.
      
      * Define a serializer for /api/v1/mutes/details
      
      * Add more specs for the /api/v1/mutes/details endpoint
      
      * Expose whether a mute hides notifications in the api/v1/relationships endpoint
      
      * Show whether muted users' notifications are muted in account lists
      
      * Allow modifying the hide_notifications of a mute with the /api/v1/accounts/:id/mute endpoint
      
      * make the hide/unhide notifications buttons work
      
      * satisfy eslint
      
      * In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.
      
      * fix a missing import
      
      * add an explanatory comment to AccountInteractions
      
      * Refactor handling of default params for muting to make code cleaner
      
      * minor code style fixes oops
      
      * Fixed a typo that was breaking the account mute API endpoint
      
      * Apply white-space: nowrap to account relationships icons
      
      * Fix code style issues
      
      * Remove superfluous blank line
      
      * Rename /api/v1/mutes/details -> /api/v2/mutes
      
      * Don't serialize "account" in MuteSerializer
      
      Doing so is somewhat unnecessary since it's always the current user's account.
      
      * Fix wrong variable name in api/v2/mutes
      
      * Use Toggle in place of checkbox in the mute modal.
      
      * Make the Toggle in the mute modal look better
      
      * Code style changes in specs and removed an extra space
      
      * Code review suggestions from akihikodaki
      
      Also fixed a syntax error in tests for AccountInteractions.
      
      * Make AddHideNotificationsToMute Concurrent
      
      It's not clear how much this will benefit instances in practice, as the
      number of mutes tends to be pretty small, but this should prevent any
      blocking migrations nonetheless.
      
      * Fix up migration things
      
      * Remove /api/v2/mutes
      031a5a8f
  14. Nov 14, 2017
    • SerCom_KC's avatar
      Updating Chinese (Simplified) translations (#5643) · c3ec1e87
      SerCom_KC authored
      * i18n: (zh-CN) Bug fix for note-counter.
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Add missing translations
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Add support.array key for better wording
      
      * Revert "i18n: (zh-CN) Add support.array key for better wording"
      
      This reverts commit 27bf9a946e886213e827cd985d4f62419db57534.
      Looks like this commit can't get pass the checks, revert it for now.
      
      * i18n: (zh-CN) Change `客户端` to `应用`
      
      * i18n: (zh-CN) Improve translations
      
      * i18n: (zh-CN) Add missing translations (#5635)
      
      * i18n: (zh-CN) Change `两步验证` to `双重认证`
      
      * i18n: (zh-CN) Improve translations
      c3ec1e87
    • Marcin Mikołajczak's avatar
      8087aa83
    • Anna e só's avatar
      l10n: PT-BR translation updated (#5681) · 0e6c4cb7
      Anna e só authored
      * Improved e-mail messages; delted repeated words
      
      * pt-BR.json translations updated
      
      * Revert "pt-BR.json translations updated"
      
      This reverts commit 108c460531196fed6e6d14f93e8d8d047c835ffd.
      
      * Updated pt-BR.json
      
      * pt-BR.yml updated
      0e6c4cb7
  15. Nov 12, 2017
  16. Nov 09, 2017
    • unarist's avatar
      Show confirmation dialog on leaving WebUI while composing (#5616) · 49a285ce
      unarist authored
      * Show confirmation dialog on leaving WebUI while composing
      
      Currently, Back button and Back hotkey can cause leaving from WebUI, as well as browser's back button. Users may hit those buttons accidentally, and their composing text will be lost.
      
      So this prevents it by showing confirmation dialog from `onbeforeunload` event.
      
      * Fix message and comments
      49a285ce
  17. Nov 07, 2017
    • ThibG's avatar
      Twidere mention workaround (#5552) · 5d5c0f4f
      ThibG authored
      * Work around Twidere and Tootdon bug
      
      Tootdon and Twidere construct @user@domain handles from mentions in toots based
      solely on the mention text and account URI's domain without performing any
      webfinger call or retrieving account info from the Mastodon server.
      
      As a result, when a remote user has WEB_DOMAIN ≠ LOCAL_DOMAIN, Twidere and
      Tootdon will construct the mention as @user@WEB_DOMAIN. Now, this will usually
      resolve to the correct account (since the recommended configuration is to have
      WEB_DOMAIN perform webfinger redirections to LOCAL_DOMAIN) when processing
      mentions, but won't do so when displaying them (as it does not go through the
      whole account resolution at that time).
      
      This change rewrites mentions to the resolved account, so that displaying the
      mentions will work.
      
      * Use lookbehind instead of non-capturing group in MENTION_RE
      
      Indeed, substitutions with the previous regexp would erroneously eat any
      preceding whitespace, which would lead to concatenated mentions in the
      previous commit.
      
      Note that users will “lose” up to one character space per mention for their
      toots, as that regexp is also used to remove the domain-part of mentioned
      users for character counting purposes, and it also erroneously removed the
      preceding character if it was a space.
      5d5c0f4f
    • voidSatisfaction's avatar
      fix: slang to adequate word (#5453) · e618edf8
      voidSatisfaction authored
      e618edf8
    • MIYAGI Hikaru's avatar
      782224c9
    • nullkal's avatar
      Make fullscreen video in detailed status plays in fullscreen (Partly Fix #5160) (#5611) · 864c4d86
      nullkal authored
      * Make fullscreen video in detailed status plays in fullscreen (Fix #5160)
      
      * Directly assign the initial state
      864c4d86
  18. Nov 03, 2017
  19. Nov 01, 2017
  20. Oct 31, 2017
  21. Oct 30, 2017
Loading