Skip to content
Snippets Groups Projects
  1. Apr 25, 2017
  2. Apr 24, 2017
  3. Apr 23, 2017
    • Effy Elden's avatar
      Report processing improvements (#2349) · 1801a364
      Effy Elden authored
      * Expose media attachments on reported statuses directly
      
      * Comment out unused bulk report checkbox. Add title to report comment for viewing full comment. Add 'contents' column, with icons and numerical indicators to show the number of referenced statuses and media attachments in the report
      
      * Link account name on authorize_follow card back to account
      
      * Add localisation string for report_contents
      
      * Show new admin accounts card partial on report view. Apply simple_format to report comment so newlines are preserved.
      
      * Add new admin accounts card partial, for display quick useful admin stats (e.g. report history, moderation status).
      
      * Fix localized variable
      1801a364
    • Eugen's avatar
      Followers-only post federation (#2111) · 50151496
      Eugen authored
      * Make private toots get PuSHed to subscription URLs that belong to domains where you have approved followers
      
      * Authorized followers controller, stub for bulk action
      
      * Soft block in the background
      
      * Add simple test for new controller
      
      * Rename Settings::FollowersController to Settings::FollowerDomainsController, paginate results,
      rename "private" post setting to "followers-only", fix pagination style, improve post privacy
      preferences style, improve warning style
      
      * Extract compose form warnings into own container, show warning when posting to followers-only with unlocked account
      50151496
    • Ash Furrow's avatar
      ef5937da
    • ymmtmdk's avatar
      Add link for domain in land strip (#2306) · 072c6f15
      ymmtmdk authored
      * Add link for domain in land strip
      
      * Use root_path
      
      * Avoid repeating code
      072c6f15
    • Yamagishi Kazutoshi's avatar
      Update Japanese translation (#2360) · 55e32fe5
      Yamagishi Kazutoshi authored
      for #2181
      55e32fe5
    • Stephen Burgess's avatar
      fix(style): Fix styles after classname refactor (#2368) · 7ee8e50b
      Stephen Burgess authored
      Float detailed status display avatar left. Only apply display block to display names in status info, not in detailed status. Thanks to @nightpool for finding those. Make star icon in notification show up as gold. Add anchor selector back to status__content__spoiler-link in order to override default anchor style elsewhere.
      7ee8e50b
    • Stephen Burgess's avatar
      feat(cw-button): Add aria controls to CW trigger (#2303) · 995f0ad5
      Stephen Burgess authored
      Add an ID to the CW spoiler input field to give aria-controls a handle on it. Pass that id to the CW trigger button. Modify text icon button component to accept aria controls id value. Add aria-expanded value to text icon button to indicate when it is expanded.
      995f0ad5
    • Matt Jankowski's avatar
    • Matt Jankowski's avatar
      Ensure i18n matches options (#2358) · 55e1e12b
      Matt Jankowski authored
      * Add failing spec showing that human_locales does not match what i18n knows about
      
      * Add missing `ar` key for arabic to human locales
      
      * Remove duplicate `id` key from available locales
      
      * Sort keys in human locales list
      
      * Add spec for human_locale helper
      55e1e12b
    • Yamagishi Kazutoshi's avatar
    • Yamagishi Kazutoshi's avatar
      d670f728
    • Matt Jankowski's avatar
      57cd6546
    • 178inaba's avatar
      Add simple_format to simplified_format (#2198) · 1244630a
      178inaba authored
      1244630a
    • Effy Elden's avatar
    • Effy Elden's avatar
      Export environment variables from .env.vagrant before running rails commands... · cc83ee60
      Effy Elden authored
      Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343)
      
      cc83ee60
    • ThibG's avatar
      Allow webfinger controller to reply to user@WEB_DOMAIN in addition to user@LOCAL_DOMAIN (#2351) · 89dc29af
      ThibG authored
      This provides a hotfix for outbound salmon requests to other Mastodon instances
      as they currently will try to resovle user@WEB_DOMAIN instead of user@LOCAL_DOMAIN
      (see #2012 and #20312).
      
      Furthermore, this should ease transition from users switching from
      LOCAL_DOMAIN = WEB_DOMAIN to another LOCAL_DOMAIN when WEB_DOMAIN does not change.
      89dc29af
    • Ashley's avatar
      Halved padding for emoji (#2344) · 85e09518
      Ashley authored
      85e09518
    • Stephen Burgess's avatar
      fix(style): Fix regressions introduced by #2338 (#2345) · 663f090c
      Stephen Burgess authored
      Put Column Slim Back Button classnames in order so it is positioned right and top. Add icon button style back to privacy dropdown and upload buttons so they are positioned correctly and do not wiggle. Remove abstracted style from CSS. Add missed class for the upload form thumbnail. Add the missed styles for upload form thumnail. Alphabetize styles for column-back-button. Fix fontSize typo for media-spoiler-video-play-icon.
      663f090c
    • Joël Quenneville's avatar
      Test embedded_view related code in a helper (#2282) · 1cf9e14a
      Joël Quenneville authored
      The two methods `StreamEntriesHelper#stream_link_target` and
      `StreamEntriesHelper#acct` are based on checking whether we are running
      in an embedded view.
      
      This adds some test helper code to make the testing easier. We extracted
      some "magic strings" to constants to lower the coupling in the specs.
      1cf9e14a
    • Joël Quenneville's avatar
      Add test coverage to CSS class generation (#2285) · 0c2fe22b
      Joël Quenneville authored
      The code that generates CSS is based on a lot of boolean conditions.
      The possible combinations of these grows exponentially as we add more
      conditions.
      
      Since most of the code is conditional on a single boolean, we tested the
      following:
      
      1. All `false`
      2. All `true`
      3. Each individual flag set to `true`
      
      The methods tested are:
      
      * `StreamEntriesHelper#style_classes`
      * `StreamEntriesHelper#microformats_classes`
      * `StreamEntriesHelper#microformats_h_class`
      0c2fe22b
    • Koala Yeung's avatar
      Adding arabic string localization (rebased) (#1895) · 6f0b3b06
      Koala Yeung authored
      * Create ar.jsx
      
      * Preparing file for translation.
      
      * Create ar.yml
      
      * Preparing file for translation.
      
      * Create simple_form.ar.yml
      
      * Preparing file for translation.
      
      * Create devise.ar.yml
      
      * Preparing file for translation.
      
      * Create doorkeeper.ar.yml
      
      * Preparing file for translation.
      
      * Update index.jsx
      
      Preparing file for translation.
      
      * Update mastodon.jsx
      
      * Preparing file to translation.
      * Correction thanks to @Taekiro
        https://github.com/tootsuite/mastodon/pull/1798#pullrequestreview-32924922
      
      * Update settings_helper.rb
      
      Preparing file to translation.
      
      * Update application.rb
      
      * Preparing file to translation.
      
      * Update simple_form.ar.yml
      
      * Update doorkeeper.ar.yml
      
      * Update devise.ar.yml
      
      * Update ar.yml
      
      * Fix i18n-tasks unused issue (ar)
      
      Remove unused translation strings
      
      * Update application.rb
      
      * Update ar.jsx
      
      * Fix various issues with Arabic translation
      
      * Fix duplication caused in merge
      * Fix syntax error in devise.ar.yml
      * Fix import error Duplicated incorrect import in mastodon.jsx
      * Fix duplication error in locales/index.jsx
      
      * Update ar.yml
      
      * Update ar.jsx
      
      * Update ar.yml
      
      * Update ar.jsx
      
      * Fix ar translation
      6f0b3b06
Loading