Skip to content
Snippets Groups Projects
  1. May 02, 2017
    • yhirano's avatar
      annotate models (#2697) · 298796cc
      yhirano authored
      * add annotate to Gemfile
      
      * rails g annotate:install
      
      * configure annotate_models
      
      * add schema info to models
      
      * fix rubocop to add frozen_string_literal
      298796cc
  2. May 01, 2017
    • Matt Jankowski's avatar
      Coverage for remote follows (#2694) · a4859446
      Matt Jankowski authored
      * Add coverage for create with empty acct value
      
      * Add coverage for create with webfinger failure
      
      * Add coverage for create with webfinger providing bad values
      
      * Add coverage for create when webfinger is good
      
      * Add coverage for session[:remote_follow] having data
      
      * Simplify how remote follow pulls acct from session
      
      * Remote follow behaves more like model
      
      * Move the discovery portions of remote follow out of controller
      
      * Check for suspended accounts
      a4859446
    • Matt Jankowski's avatar
      Error responses cleanup (#2692) · 7bffd160
      Matt Jankowski authored
      * Use respond_with_error for forbidden errors
      
      * Wrap up common error code into single method
      7bffd160
    • Giuseppe Pignataro's avatar
      Italian translation (#2654) · 2bd46f44
      Giuseppe Pignataro authored
      * Added Italian Translation of the following files:
      Changes to be committed:
      	new file:   app/views/user_mailer/confirmation_instructions.it.html.erb
      	new file:   app/views/user_mailer/confirmation_instructions.it.text.erb
      	new file:   app/views/user_mailer/password_change.it.html.erb
      	new file:   app/views/user_mailer/password_change.it.text.erb
      	new file:   app/views/user_mailer/reset_password_instructions.it.html.erb
      	new file:   app/views/user_mailer/reset_password_instructions.it.text.erb
      
      * Added italian translation
      Changes to be committed:
      new file:   config/locales/activerecord.it.yml
      2bd46f44
    • Stephen Burgess's avatar
    • Stephen Burgess's avatar
      fix(dropdowns): Allow for dropdowns to fill full column (#2684) · 33b9e8d4
      Stephen Burgess authored
      * fix(dropdowns): Allow for dropdowns to fill full column
      
      When the text inside a dropdown is longer than it is for English, the text is truncated which can result in a less-than-usable experience for languages such as German with longer words. This commit addresses the following:
      
      * Allow the dropdown to expand to the entire width of the column based on the length of the text in the dropdown
      * Align active dropdown arrow in relation to the trigger rather than the dropdown
      * Show the right hand side of the dropdown which was previously hidden (could not see border radius)
      * Ensure the three places dropdowns of status, account, and emoji appear well in Chrome, Firefox, Safari
      
      * fix(emoji-dropdown): Restore emoji dropdown caret
      33b9e8d4
    • Matt Jankowski's avatar
      Filter on allowed user language preferences (#2361) · f025cc67
      Matt Jankowski authored
      * Naive approached to timeline filtering
      
      * Convert allowed_languages into a db column
      
      * Allow users to choose languages to see statuses in
      
      * Style list items as two columns
      
      * Add a hint to explain language filtering preference
      f025cc67
    • yhirano's avatar
      Fix Rubocop offences (#2630) · 3988f2da
      yhirano authored
      * disable Bundler/OrderedGems
      
      * fix rubocop Lint/UselessAssignment
      
      * fix rubocop Style/BlockDelimiters
      
      * fix rubocop Style/AlignHash
      
      * fix rubocop Style/AlignParameters, Style/EachWithObject
      
      * fix rubocop Style/SpaceInLambdaLiteral
      3988f2da
    • Yamagishi Kazutoshi's avatar
      Detect extension for preview card (#2679) · 1899cf5f
      Yamagishi Kazutoshi authored
      * Detect extension for preview card
      
      * next
      1899cf5f
  3. Apr 30, 2017
    • Matt Jankowski's avatar
      Reports spec for media attachments, clean up method (#2660) · 5259319c
      Matt Jankowski authored
      * Add coverage for Report#media_attachments
      
      * Direct query on media attachment
      5259319c
    • Alvina Putri's avatar
      Updating Indonesian locale (#2644) · 282427cd
      Alvina Putri authored
      * update id.jsx file
      
      * update id.yml for new strings and improvements
      
      * add activerecord.id.yml
      
      * improve translation that out of context
      
      * fix another ooc string
      
      * fix main key
      282427cd
    • Noëlle Anthony's avatar
      Additional key checks for browser compatibility (#2539) · c67d3c99
      Noëlle Anthony authored
      Not all browsers recognize e.key === 'Escape'; some use 'Esc' and some only respond to the keyCode.
      c67d3c99
    • Hugo Gameiro's avatar
      Center web app on larger windows sizes (#2021) · 2e47fe3e
      Hugo Gameiro authored
      * center web app for larger screen sizes
      
      * move center app to components.scss
      
      * center app on larger window sizes
      
      * center .columns-area
      2e47fe3e
    • AA4ch1's avatar
      Fix character_counter.jsx (#2653) · e12bb39c
      AA4ch1 authored
      This commit fixes #2576
      e12bb39c
    • Sylvhem's avatar
      Minor fixes in the French translation (#2607) · 0a46201a
      Sylvhem authored
      * Changement de « muets » en « silencés »
      
      Utiliser le mot « muet » donne la fausse impression que ces comptes ne diffusent juste rien. Utiliser le mot « silencé » met l’accent sur le fait que ceci résulte d’une action de l’utilisateur·rice.
      
      By using tho word "muet" (mute), we give the false impression that this accounts don't publish anything. Using the "silencé" (muted) put emphasis on the fact that this is the result of one of the user's action.
      
      * Remplacement de « ' » par « ’ »
      
      En français, l’apostrophe utilisée est une apostrophe courbe « ’ » (U+2019) et non pas une apostrophe droite « ' » (U+0027). La plupart des chaînes utilisaient une apostrophe droite. Ce commit harmonise le type d’apostrophe utilisé en remplaçant toutes les apostrophes droites par des apostrophes courbes.
      
      In French, the apostrophe used is the curly one (U+2019) and not the vertical one (U+0027). Almost all the strings used a vertical apostrophe. This commit harmonize the kind of apostrophe used in the French localization by replacing all the vertical apostrophes by curly apostrophes.
      
      * Remplacement de « ... » par « … »
      
      Certaines chaînes utilisaient trois points d’affilié afin de représenter les points de suspension au lieu d’utiliser le caractère dédié « … » (U+2026). Ce commit harmonise la façon de représenter des points en remplaçant toutes les séries de trois points par le caractère dédié.
      
      Some chains used a series of three dots to show the ellipsis instead of using the dedicated character "…" (U+2026). This commit harmonize how the ellipsis is shown in the French localization by replacing all the series of three dots by the dedicated character.
      
      * Ajout d’un point final
      
      Il manque un point à la fin de la dernière phrase de la chaîne « compose_form.privacy_disclaimer ». Ce commit le rajoute.
      
      The last sentence of the "compose_form.privacy_disclaimer" string is missing a final dot. This commit will add it.
      
      * Retrait d’un « s » final à « Mastodon »
      
      Suite à la remarque de @wxcafe, retrait du « s » final à « Mastodon ».
      
      Following @wxcafe comment, this commit remove the final "s" in the word "Mastodon".
      0a46201a
    • ButterflyOfFire's avatar
      Update ar.jsx (#2647) · 3f248dca
      ButterflyOfFire authored
      * Update ar.jsx
      
      Updating some (ar) translation.
      
      * Update ar.yml
      
      Pushing some missing translation strings on ar.yml
      3f248dca
    • Audun Larsen's avatar
      Minor changes to Norwegian locale (#2652) · baa43e40
      Audun Larsen authored
      baa43e40
    • Akihiko Odaki's avatar
      a6788662
  4. Apr 29, 2017
  5. Apr 28, 2017
    • Patrick Figel's avatar
      Set correct attachment type for rejected media (#2599) · 8ac7fca5
      Patrick Figel authored
      In #2110, a new attachment type "unknown" was introduced for
      attachments that were rejected due to a domain being blocked using
      reject_media. However, the "type" field was never set to "unknown"
      because a default value of "0" (image) is set for that column,
      causing the `type.blank?` expression to always equal false.
      
      This version uses type_changed? instead, causing the type to be set
      to "unknown" unless a type has been explicitly set. This introduces
      a small change in behaviour causing the type to be set to unknown
      before paperclip calls `before_post_process`. Presumably this
      behaviour is more appropriate than the current one because the
      attachment type has not been determined by that point.
      
      Included are new tests for `ProcessFeedService` and
      `UpdateRemoteProfileService` which now check that remote media is
      downloaded for non-blocked domains and is rejected for others.
      8ac7fca5
    • Yamagishi Kazutoshi's avatar
      Fix API for Mastodon version (#2590) · 298d28af
      Yamagishi Kazutoshi authored
      Fix #2589
      298d28af
    • Mingye Wang's avatar
      Minor updates to zh-CN JS translation (#2557) · 439b2dce
      Mingye Wang authored
      * Minor updates to zh-CN JS translation
      
      * removed "!" from "toot" per #2549 (it's a privacy indicator)
      * ellipsis work (from ... to some U+2026 horizontal ellipsis unicode stuff)
      
      * Spillcheck for zh-CN js translations (squash this)
      
      部 [份→分]
      439b2dce
    • Matt Jankowski's avatar
    • Yamagishi Kazutoshi's avatar
    • Matt Jankowski's avatar
      More controller specs (#2561) · 9566893c
      Matt Jankowski authored
      * Add render_views in more places
      
      * Delegate methods from account to user with allow nil true, so that admin accounts show view renders when missing a user
      
      * Use actual account instances in authorize follow controller spec
      9566893c
    • Wonderfall's avatar
      0e258986
    • Ratmir Karabut's avatar
      Update Russian translation (pluralizations) (#2565) · 4acc386d
      Ratmir Karabut authored
      * Add Russian translation (ru)
      
      * Fix a missing comma
      
      * Fix the wording for better consistency
      
      * Update Russian translation
      
      * Arrange Russian setting alphabetically
      
      * Fix syntax error
      
      * Update Russian translation
      
      * Fix formatting error
      
      * Update Russian translation
      
      * Update Russian translation
      
      * Update ru.jsx
      
      * Fix syntax error
      
      * Remove two_factor_auth.warning (appears obsolete)
      
      * Add missing strings in ru.yml
      
      A lot of new strings translated, especially for the newly added admin section
      
      * Fix translation consistency
      
      * Update Russian translation
      
      * Update Russian translation (pluralizations)
      4acc386d
    • Matt Jankowski's avatar
      429480bb
    • Matt Jankowski's avatar
      More status specs (#2564) · effb08ed
      Matt Jankowski authored
      * Add rough outline of coverage needed for public timeline
      
      * Specs for visibility, replies, boosts
      
      * Specs for silenced account
      
      * Specs for local_only option
      
      * Specs for blocks and mutes
      
      * Add tentative spec around including other silenced account statuses
      
      * Add with_public_visibility scope
      
      * Add simple coverage for tag_timeline
      
      * Tag timeline includes replies
      
      * Replace tag.statuses with a tagged_with scope in tag timeline method
      
      * Use with_public_visibility in tag timeline
      
      * Extract common scope between public and tag timelines to method
      
      * Extract local domain check to local_only scope
      
      * Extract local_only check to starting scope method
      
      * Move list of excluded from timeline account ids to account model
      
      * Simplify excluded accounts list on account model
      
      * Only join accounts when needed
      
      * Rename method for account specific filtering
      
      * Extract method for account exclusions
      
      * Fix bug where silenced accounts were not including statuses from other silenced accounts
      
      * DRY up filter application from account or no account
      
      * timeline_scope can be private
      
      * Add spec showing that account can find its excluded accounts ids
      
      * Add spec which fails if local_only does not have a left outer join
      
      * rubocop
      effb08ed
    • Ratmir Karabut's avatar
      Update Russian translation (#2570) · d1b4ebe0
      Ratmir Karabut authored
      New column subheadings
      d1b4ebe0
  6. Apr 27, 2017
Loading