]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agocapistrano: allow overriding repo_url and branch (#1889)
Alex Dunn [Sun, 16 Apr 2017 02:01:27 +0000 (19:01 -0700)]
capistrano: allow overriding repo_url and branch (#1889)

8 years agoView spec fix (#1888)
Matt Jankowski [Sun, 16 Apr 2017 01:40:33 +0000 (21:40 -0400)]
View spec fix (#1888)

* Add option to disable verify partial doubles

* Add show_landing_strip? helper method

* Use show_landing_strip? helper in accounts and stream entries views

* Fix naming in view specs

8 years agoFix #1852 - Ensure feeds have valid <title> tags (#1875)
Eugen [Sun, 16 Apr 2017 00:40:36 +0000 (02:40 +0200)]
Fix #1852 - Ensure feeds have valid <title> tags (#1875)

8 years agoShow error message if video cannot be loaded (#1879)
Isabelle Knott [Sat, 15 Apr 2017 23:12:47 +0000 (19:12 -0400)]
Show error message if video cannot be loaded (#1879)

8 years agoRemoved Heroku in-process spawning. (#1873)
Ash Furrow [Sat, 15 Apr 2017 21:02:13 +0000 (17:02 -0400)]
Removed Heroku in-process spawning. (#1873)

8 years agoIndicate when a toot is part of a chain with a "reply all" icon (#1869)
Eugen [Sat, 15 Apr 2017 20:48:41 +0000 (22:48 +0200)]
Indicate when a toot is part of a chain with a "reply all" icon (#1869)

8 years agoFix cross-origin integrity (#1871)
Eugen [Sat, 15 Apr 2017 20:48:30 +0000 (22:48 +0200)]
Fix cross-origin integrity (#1871)

See <https://glitch.social/users/bea/updates/434>

8 years agoEnglish localization for mention notification was missing (#1867)
Eugen [Sat, 15 Apr 2017 20:48:17 +0000 (22:48 +0200)]
English localization for mention notification was missing (#1867)

8 years agoCheck for a custom css file to help customization of instances (#1368)
Naouak [Sat, 15 Apr 2017 20:47:48 +0000 (22:47 +0200)]
Check for a custom css file to help customization of instances (#1368)

* User can create a custom.scss to customize their instance without modifying gitted files.

* Add documentation for customization.

* Forgot the helper file

* Fix Style to pass codeclimate

* Requests from maintainer.

8 years agoMake the rake mastodon:users:clear task properly clear out unconfirmed users (#1777)
Eugen [Sat, 15 Apr 2017 19:55:28 +0000 (21:55 +0200)]
Make the rake mastodon:users:clear task properly clear out unconfirmed users (#1777)

Before it cleared out user records only (e-mail, password) without
freeing up the associated username (account record). Furthermore, since
these records have no dependent records (due to no user activity)
they can be deleted quickly with delete_all instead of destroy

8 years agoActiveRecord::NotFound is not defined (#1864)
alpaca-tc [Sat, 15 Apr 2017 19:17:59 +0000 (04:17 +0900)]
ActiveRecord::NotFound is not defined (#1864)

8 years agoFix typo in simple_form.eo.yml (#1848)
oliverkeeble [Sat, 15 Apr 2017 14:46:48 +0000 (15:46 +0100)]
Fix typo in simple_form.eo.yml (#1848)

8 years agoGive SINGLE_USER a chance to register (#1820)
Marcin Cieślak [Sat, 15 Apr 2017 14:46:27 +0000 (16:46 +0200)]
Give SINGLE_USER a chance to register (#1820)

An attempt to open a brand new Mastodon instance configured
as SINGLE_USER_MODE=true will cause an exception.

Enable temporary registration if we have no users in the database

Fixes #1817

8 years agoAdd password reset for users from admin accounts area (#1841)
Matt Jankowski [Sat, 15 Apr 2017 14:44:59 +0000 (10:44 -0400)]
Add password reset for users from admin accounts area (#1841)

8 years agoRemove isRequired from optional prop (#1843)
Henry Smith [Sat, 15 Apr 2017 14:44:28 +0000 (16:44 +0200)]
Remove isRequired from optional prop (#1843)

8 years agoFix function call name typo (#1851)
Henry Smith [Sat, 15 Apr 2017 14:41:22 +0000 (16:41 +0200)]
Fix function call name typo (#1851)

8 years agoAbout page contact email (#1839)
Matt Jankowski [Sat, 15 Apr 2017 11:33:25 +0000 (07:33 -0400)]
About page contact email (#1839)

* Correct site_contact_email typo

* Separate about more page into partials, add specs

8 years agoAdd rails-i18n gem (#1837)
Hiromi Kai [Sat, 15 Apr 2017 11:32:53 +0000 (20:32 +0900)]
Add rails-i18n gem (#1837)

8 years agoSilence Devise deprecation warning about TestHelpers (#1840)
Matt Jankowski [Sat, 15 Apr 2017 11:30:57 +0000 (07:30 -0400)]
Silence Devise deprecation warning about TestHelpers (#1840)

Devise changed their approach -
https://github.com/plataformatec/devise/commit/3f3ec236bb50a2ae8b0eede90d8f7ecd201d7dbb

This change silences a deprecation warning about `TestHelpers`

8 years agoviews/about: use Setting.site_title instead of hardcoding (#1508)
Alex Dunn [Sat, 15 Apr 2017 11:28:09 +0000 (04:28 -0700)]
views/about: use Setting.site_title instead of hardcoding (#1508)

8 years agoAdd eslint-plugin-jsx-a11y (#1651)
Zac Anger [Sat, 15 Apr 2017 11:27:27 +0000 (05:27 -0600)]
Add eslint-plugin-jsx-a11y (#1651)

* Add eslint-plugin-jsx-a11y.

* Fix npm script.

* Adjust npm scripts so test also runs lint.

* Fix existing lint errors.

* Don't break on a11y issues.

* Add role and tabIndex.

* Add vim and Mac files to .gitignore and .dockerignore.

* Handle htmlFor (partially), a that's actually a button.

* Fix missing tabIndex.

* Add cursor:pointer to load-more

* Revert change to load_more.

* Fixes based on review.

* Update yarn.lock.

* Don't try to install fsevents on Linux (hides warning noise).

8 years agoAdd recovery code support for two-factor auth (#1773)
Patrick Figel [Sat, 15 Apr 2017 11:26:03 +0000 (13:26 +0200)]
Add recovery code support for two-factor auth (#1773)

* Add recovery code support for two-factor auth

When users enable two-factor auth, the app now generates ten
single-use recovery codes. Users are encouraged to print the codes
and store them in a safe place.

The two-factor prompt during login now accepts both OTP codes and
recovery codes.

The two-factor settings UI allows users to regenerated lost
recovery codes. Users who have set up two-factor auth prior to
this feature being added can use it to generate recovery codes
for the first time.

Fixes #563 and fixes #987

* Set OTP_SECRET in test enviroment

* add missing .html to view file names

8 years agoAdd some missing Spanish translations (#1818)
luigi [Sat, 15 Apr 2017 11:25:00 +0000 (13:25 +0200)]
Add some missing Spanish translations (#1818)

* Add missing spanish translations on user settings

simple_form.es.yml

* Fix typo: Aute/ción. should be Autenticación

8 years agoUpdate ja.jsx (#1822)
Amakasu Ryoma [Sat, 15 Apr 2017 11:24:33 +0000 (20:24 +0900)]
Update ja.jsx (#1822)

* Add getting_started.apps
* Add search_results.total
* Fix notifications.settings

8 years agoFix Japanese translation of ja.yml (#1835)
Setuu [Sat, 15 Apr 2017 11:18:08 +0000 (20:18 +0900)]
Fix Japanese translation of ja.yml (#1835)

8 years agoAdd a classname to the loading bar (#1826)
Alda Marteau-Hardi [Sat, 15 Apr 2017 11:17:54 +0000 (13:17 +0200)]
Add a classname to the loading bar (#1826)

8 years agofixed privacy mistake of japanese translation of privacy.change (#1832)
Keiji, Yoshimi [Sat, 15 Apr 2017 11:17:20 +0000 (20:17 +0900)]
fixed privacy mistake of japanese translation of privacy.change (#1832)

8 years agoAdd tasks for open/close registration (#1823)
Andrew [Sat, 15 Apr 2017 11:17:07 +0000 (04:17 -0700)]
Add tasks for open/close registration (#1823)

* Add tasks for open/close registration

* Code climate style fix

* Use true instead of string 'true'

8 years agoActiveRecord::Relation does not respond to `#id` (#1834)
alpaca-tc [Sat, 15 Apr 2017 11:16:24 +0000 (20:16 +0900)]
ActiveRecord::Relation does not respond to `#id` (#1834)

8 years agoAccount search service refactor (#1791)
Matt Jankowski [Sat, 15 Apr 2017 01:17:07 +0000 (21:17 -0400)]
Account search service refactor (#1791)

* Begin coverage for account search service

* Coverage for hashtag query

* Coverage for calling local vs remote find based on domain presence

* Spec to check that exact matches are not duped

* Coverage of resolve option

* Coverage for account being provided

* Start to refactor account search service

* Isolate query username and domain methods

* Isolate exact_match method

* Extract methods for local and remote results

* Simplify local vs remote and account isoliation

* Extract methods for local and remote results

* Simplify de-dupe of exact match

* Simplify logic to check for non exact remotes

* Cache some methods

* Remove nil from exact_match from results array

* Return exact matches first

* Use find_remote even with no domain

Account.find_local is just an alias for Account.find_remote(user, nil) - so we
can not bother with the conditional here, and call find_remote directly.

8 years agoRefresh webfinger (#1323)
ThibG [Sat, 15 Apr 2017 01:16:05 +0000 (03:16 +0200)]
Refresh webfinger (#1323)

* Refresh local info for remote accounts when webfinger returns new values

It only refreshes account info if one of the URLs or the public-key changes,
in which cases it refreshes the full info, re-downloading the feeds from that
user.

Some special handling should probably be done when the public key changes,
but I have been unable to find any use for it in Mastodon yet.

* Re-fetch remote users we aren't subscribed to.

This might induce performance issues, we might want to only do that for users
we explicitly attempted to subscribe but failed to.

* Refactor changes

* Do not refresh existing remote account details more than once a day

* Avoid re-fetching webfinger info in tests unless otherwise specified

8 years agoRename admin/accounts_helper to admin/filter_helper (#1816)
Matt Jankowski [Sat, 15 Apr 2017 01:09:55 +0000 (21:09 -0400)]
Rename admin/accounts_helper to admin/filter_helper (#1816)

- Add some spec coverage for both methods
- Add explicit constant call-outs for where the params are from

8 years agojslint: fix jslint warnings (#1704)
Koala Yeung [Sat, 15 Apr 2017 00:57:26 +0000 (08:57 +0800)]
jslint: fix jslint warnings (#1704)

* jslint: remove trailing space

* jslint: fix no-nested-ternary issue

Follow the jslint [no-nested-ternary](http://eslint.org/docs/rules/no-nested-ternary)
rule. Rewritten ternary with if-then.

8 years agoUpdate devise.fr.yml (#1728)
goofy-bz [Sat, 15 Apr 2017 00:55:43 +0000 (02:55 +0200)]
Update devise.fr.yml (#1728)

Very light grammar fix to improve gender-neutral

8 years agoAdd translations for zh-TW (Taiwan) (#1794)
Shouko Yu [Sat, 15 Apr 2017 00:49:43 +0000 (08:49 +0800)]
Add translations for zh-TW (Taiwan) (#1794)

8 years agoUpdate Traditional Chinese, HK (zh-HK) translation (#1759)
Koala Yeung [Sat, 15 Apr 2017 00:48:30 +0000 (08:48 +0800)]
Update Traditional Chinese, HK (zh-HK) translation (#1759)

* Fix missing string in javascript locale (zh-HK)

* Change javascript locale (zh-HK)

* Fix some other strings that were still English.
* Improve `search.status_by`.
* Fix `notification.follow`. ("開始開始你")
* Changes according to user feedback.
  * "Back": "較前顯示" -> "返回"
  * "Home": "家" -> "主頁"

* Update ruby locale (zh-HK)

* Fix missing translation
* Normalize yml
* Update translation strings

8 years agoUpdate nl.yml (#1764)
Fjoerfoks [Sat, 15 Apr 2017 00:45:46 +0000 (02:45 +0200)]
Update nl.yml (#1764)

Some rewording, typos and switching to infinitve

8 years agoUpdate nl.jxs (#1766)
Fjoerfoks [Sat, 15 Apr 2017 00:44:33 +0000 (02:44 +0200)]
Update nl.jxs (#1766)

Some rewording and switching to infinitive localization.

8 years agoUpdate devise.fr.yml (#1792)
Olivier Humbert [Sat, 15 Apr 2017 00:44:10 +0000 (02:44 +0200)]
Update devise.fr.yml (#1792)

* Update devise.fr.yml

Consistencies across the French translation

* Update doorkeeper.fr.yml

8 years agoUpdate Russian translation (#1733)
Ratmir Karabut [Sat, 15 Apr 2017 00:43:51 +0000 (03:43 +0300)]
Update Russian translation (#1733)

* 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

8 years agoUse site title on tags#show page (#1802)
Matt Jankowski [Sat, 15 Apr 2017 00:37:20 +0000 (20:37 -0400)]
Use site title on tags#show page (#1802)

8 years agoadd basic microformats tests (#1803)
Ben Roberts [Sat, 15 Apr 2017 00:37:00 +0000 (20:37 -0400)]
add basic microformats tests (#1803)

as suggested, moving to view tests rather than a controller test
replaces https://github.com/tootsuite/mastodon/pull/1786 which i will
close momentary

8 years agoMore Norwegian translations (#1805)
Thor Harald Johansen [Sat, 15 Apr 2017 00:33:37 +0000 (02:33 +0200)]
More Norwegian translations (#1805)

* Working translation for Norwegian.

* Fixes to Norwegian translation.

* Further adjustments to Norwegian translation.

* Further adjustments to Norwegian translation.

* Yet more improvements to the Norwegian translation.

* More Norwegian translations. Better terminology.

8 years agoSend initial state in a <script type="application/json"> tag (#1806)
Joachim Viide [Sat, 15 Apr 2017 00:32:42 +0000 (03:32 +0300)]
Send initial state in a <script type="application/json"> tag (#1806)

8 years agoMispelling & minor fixes (#1814)
Darío Hereñú [Sat, 15 Apr 2017 00:31:16 +0000 (21:31 -0300)]
Mispelling & minor fixes (#1814)

8 years agoRemove unused will_paginate.page_gap key from i18n (#1815)
Matt Jankowski [Sat, 15 Apr 2017 00:30:55 +0000 (20:30 -0400)]
Remove unused will_paginate.page_gap key from i18n (#1815)

This value was changed recently, and every locale which had it set was using the
same value as the default. This value is still the default in the new location.

8 years ago[css] reduce spacing between text elements on about pages (#1510)
Alex Dunn [Sat, 15 Apr 2017 00:29:32 +0000 (17:29 -0700)]
[css] reduce spacing between text elements on about pages (#1510)

8 years agoPolish translation (needs more love though) (#807)
rysiekpl [Sat, 15 Apr 2017 00:22:46 +0000 (02:22 +0200)]
Polish translation (needs more love though) (#807)

* Polish translation (needs more love though)

* Polish translation bugfix

* bugfix for new colon-containing texts

* another bugfix. yaml is evil

* minor fix

* fixing issues pointed out by reviewers

* Uwierzytelnianie dwustopniowe -> dwuetapowe, as suggested by a reviewer

* Etyczny dizajn zbyt sarkastyczny, to będą założenia

8 years agoAdd REDIS_DB env variable to configure Redis database (#1366)
Les Orchard [Sat, 15 Apr 2017 00:21:13 +0000 (20:21 -0400)]
Add REDIS_DB env variable to configure Redis database (#1366)

8 years agoAllow running mastodon on a different domain as the one used for identifying users...
ThibG [Sat, 15 Apr 2017 00:15:46 +0000 (02:15 +0200)]
Allow running mastodon on a different domain as the one used for identifying users (#1267)

* Allow running mastodon on a different domain as the one used for identifying users

* Alter documentation of WEB_DOMAIN to make clear it shouldn't be used unless the admin knows what they are doing

* Compare to web_domain instead of local_domain when dealing with feeds/API

* Correctly identify mentions to local accounts

Mentions URLs point to the person's web profile, i.e., the user page served on WEB_DOMAIN.

8 years agoUse image too in docker-compose (#1109)
Pierre Ozoux [Sat, 15 Apr 2017 00:07:59 +0000 (01:07 +0100)]
Use image too in docker-compose (#1109)

* Use image too in docker-compose

It is possible with version 2 of compose to use both `build` and `image`

* Update docker-compose.yml

8 years agoCustom Paperclip path. (#778)
Valentin Lorentz [Sat, 15 Apr 2017 00:07:21 +0000 (02:07 +0200)]
Custom Paperclip path. (#778)

* Custom Paperclip path.

* Document PAPERCLIP_ROOT.

* Add PAPERCLIP_ROOT_URL (and rename PAPERCLIP_ROOT to PAPERCLIP_ROOT_PATH).

8 years agoupdate Node to 6.x LTS (#1228)
Alex Dunn [Sat, 15 Apr 2017 00:05:41 +0000 (17:05 -0700)]
update Node to 6.x LTS (#1228)

The 4.x branch [entered maintenance](https://github.com/nodejs/LTS#lts-schedule1) on 1 April.

8 years agoAdd list of muted user to UI and Getting Started (#1799)
Patrick Figel [Fri, 14 Apr 2017 23:23:49 +0000 (01:23 +0200)]
Add list of muted user to UI and Getting Started (#1799)

Add the same UI that already exists for blocked users for muted
ones and add it to the "Getting Started" menu.

8 years agoIntroduce capybara and first feature spec (#1801)
Chad Pytel [Fri, 14 Apr 2017 23:21:02 +0000 (19:21 -0400)]
Introduce capybara and first feature spec (#1801)

This commit introduces Capybara and the first feature spec.

I focused on coverage for log in for the first feature spec because that would
have prevented 624a9a7136159d460228a0c2f5df18a9ead3b7f2 causing #1236.

8 years agoImprove i18n chooser (#1804)
Matt Jankowski [Fri, 14 Apr 2017 23:12:39 +0000 (19:12 -0400)]
Improve i18n chooser (#1804)

* Add locale spec with failing locale plus region check

* Use a more accurate locale when supplied by browser headers

Previously we were using a matching option which would use the first locale
available which matched the locale portion, even if a region was specified.

This changes to first try to find an exact match, and then fall back to the
region, and then fall back to the  default.

* Clean up default_locale method

8 years agoRemove current directory from PATH (#1779)
Kazuhiro NISHIYAMA [Fri, 14 Apr 2017 17:10:38 +0000 (02:10 +0900)]
Remove current directory from PATH (#1779)

8 years agoAdd missing Japanese translations (#1785)
Kazuhiro NISHIYAMA [Fri, 14 Apr 2017 17:10:12 +0000 (02:10 +0900)]
Add missing Japanese translations (#1785)

8 years agoFix Japanese translation for remote_follow (#1771)
Takayuki KUSANO [Fri, 14 Apr 2017 17:09:52 +0000 (02:09 +0900)]
Fix Japanese translation for remote_follow (#1771)

Current remote_follow.acct translation inappropriate. Users may input their own acccount. So fix the wording.

8 years agoAdd title attribute to URLs in statuses (#1755)
Luc Didry [Fri, 14 Apr 2017 11:22:56 +0000 (13:22 +0200)]
Add title attribute to URLs in statuses (#1755)

Since URLs in statuses are truncated, it would be pleasant to see the
full URL when hovering the URL (like on twitter, yes).

8 years agoFix invalid byte sequence issue in nl.jsx (#1751)
Matt Jankowski [Fri, 14 Apr 2017 11:00:03 +0000 (07:00 -0400)]
Fix invalid byte sequence issue in nl.jsx (#1751)

8 years agoChange usage of gsub to delete, as per Code Climate/Rubocop recommendation (#1753)
Effy Elden [Fri, 14 Apr 2017 10:50:00 +0000 (20:50 +1000)]
Change usage of gsub to delete, as per Code Climate/Rubocop recommendation (#1753)

8 years agoRemove .keep in models (#1748)
西小倉宏信 [Fri, 14 Apr 2017 10:43:29 +0000 (19:43 +0900)]
Remove .keep in models (#1748)

8 years agoInclude pkg-config as a gem dependency. (#1717)
Bryce Chidester [Fri, 14 Apr 2017 09:15:03 +0000 (02:15 -0700)]
Include pkg-config as a gem dependency. (#1717)

The pkg-config gem was necessary in order for nokogiri to find the system
libraries when building on OpenBSD.

Closes #1637

Signed-off-by: Bryce Chidester <bryce@cobryce.com>
8 years agoUse landmark regions on columns (#1732)
JP DeVries [Fri, 14 Apr 2017 09:12:59 +0000 (11:12 +0200)]
Use landmark regions on columns (#1732)

Closes mastodon#1720

8 years agoAdmin reports controller improvements (#1714)
Matt Jankowski [Fri, 14 Apr 2017 09:10:28 +0000 (05:10 -0400)]
Admin reports controller improvements (#1714)

* Simplify admin/reports controller filtering for index

* Rename parameter to resolved

* Fix issue where reports view could not access filter_link_to

* Add coverage for admin/reports controller

* DRY up resolution of related reports for target account

* Clean up admin/reports routes

* Add Report#statuses method

* DRY up current account action taken params

* Rubocop styles

8 years agoImplementing Subresource Integrity (#1729)
maxypy [Fri, 14 Apr 2017 09:09:20 +0000 (11:09 +0200)]
Implementing Subresource Integrity (#1729)

* Add sprockets-rails to Gemfile

* Add sprockets-rails to Gemfile.lock

* Update show.html.haml

* Update index.html.haml

* Update admin.html.haml

* Update auth.html.haml

* Update embedded.html.haml

* Update public.html.haml

8 years agoFix getting started commands out of order (#1737)
Ian Kelling [Fri, 14 Apr 2017 09:04:19 +0000 (01:04 -0800)]
Fix getting started commands out of order (#1737)

In current order, docker-compose build results in
ERROR: Couldn't find env file: /a/hopt/mastodon/.env.production

8 years agoModify ActionMailer configuration to default to ENV['LOCAL_DOMAIN'] if ENV['SMTP_DOMA...
Effy Elden [Fri, 14 Apr 2017 09:02:25 +0000 (19:02 +1000)]
Modify ActionMailer configuration to default to ENV['LOCAL_DOMAIN'] if ENV['SMTP_DOMAIN'] is not set. The previous fallback, config.x.local_domain, is undefined when the code is called. (#1745)

8 years agoMerge branch 'matteoaquila-master'
Eugen Rochko [Thu, 13 Apr 2017 20:26:54 +0000 (22:26 +0200)]
Merge branch 'matteoaquila-master'

8 years agoFix italian translation
Eugen Rochko [Thu, 13 Apr 2017 20:26:32 +0000 (22:26 +0200)]
Fix italian translation

8 years agoMerge branch 'master' of git://github.com/matteoaquila/mastodon into matteoaquila...
Eugen Rochko [Thu, 13 Apr 2017 20:25:07 +0000 (22:25 +0200)]
Merge branch 'master' of git://github.com/matteoaquila/mastodon into matteoaquila-master

8 years agoFix drag & drop overlay not appearing on firefox (#1721)
Eugen [Thu, 13 Apr 2017 20:21:34 +0000 (22:21 +0200)]
Fix drag & drop overlay not appearing on firefox (#1721)

8 years agoMake browserify respect changes in node_modules for asset compilation (#1722)
Eugen [Thu, 13 Apr 2017 20:21:20 +0000 (22:21 +0200)]
Make browserify respect changes in node_modules for asset compilation (#1722)

8 years agoUpdate devise.it.yml
Matteo Aquila [Thu, 13 Apr 2017 20:09:47 +0000 (22:09 +0200)]
Update devise.it.yml

8 years agoUpdate devise.it.yml
Matteo Aquila [Thu, 13 Apr 2017 20:06:19 +0000 (22:06 +0200)]
Update devise.it.yml

8 years agoMake boost modal off by default (#1719)
Eugen [Thu, 13 Apr 2017 19:53:59 +0000 (21:53 +0200)]
Make boost modal off by default (#1719)

8 years agoAdd filename extension to paperclip (#1718)
Yusuke Abe [Thu, 13 Apr 2017 19:52:56 +0000 (04:52 +0900)]
Add filename extension to paperclip (#1718)

8 years agoUse english in reported by translation (#1713)
Matt Jankowski [Thu, 13 Apr 2017 19:49:46 +0000 (15:49 -0400)]
Use english in reported by translation (#1713)

8 years agoFr missing strings (#1708)
spf [Thu, 13 Apr 2017 19:49:34 +0000 (21:49 +0200)]
Fr missing strings (#1708)

* Fix missing translation for username already taken

* fr - note too long translation

8 years agoTranslate admin (#1702)
Thomas Citharel [Thu, 13 Apr 2017 19:49:07 +0000 (21:49 +0200)]
Translate admin (#1702)

* Translate the domain_block panel

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Translate PubSubHubbub section

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* translate account section and correct typos

* move reports translation & translate sidebar

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* normalize l18n

8 years agosmtp delivery type fix (#1556)
James Moore [Thu, 13 Apr 2017 17:51:49 +0000 (10:51 -0700)]
smtp delivery type fix (#1556)

* delivery fix

# Conflicts:
# config/environments/production.rb

* added stub in .env file

* reordered and added a comment

8 years agoterms: remove redundant words (#1578)
Alyssa Ross [Thu, 13 Apr 2017 17:50:19 +0000 (18:50 +0100)]
terms: remove redundant words (#1578)

"at least X" and "X or older" have identical meanings.
Using both together feels a little jarring.

8 years agoquick typo fix in en.jsx: Rejec -> Reject (#1701)
R Tucker [Thu, 13 Apr 2017 17:37:04 +0000 (13:37 -0400)]
quick typo fix in en.jsx: Rejec -> Reject (#1701)

8 years agoFix #1220, fix #1671 - Hook up comment box to the Redux comment value (#1699)
Eugen [Thu, 13 Apr 2017 17:36:41 +0000 (19:36 +0200)]
Fix #1220, fix #1671 - Hook up comment box to the Redux comment value (#1699)

Fix username styling regression introduced in #1063
Fix report screen background regression introduced in #1415

8 years agoFix #1609, fix #1628 - Revert #1397 (#1700)
Eugen [Thu, 13 Apr 2017 17:23:36 +0000 (19:23 +0200)]
Fix #1609, fix #1628 - Revert #1397 (#1700)

When transmitting data in a HTML-encoded element like <content type="html" />,
relying on newlines being preserved is not wise, since HTML by itself
does not care for newlines - it cares for <p> and <br>

Additional fix: reset NSFW toggle after sending toot

8 years agoApply `i18n-tasks normalize` to locales (#1696)
Eugen [Thu, 13 Apr 2017 17:18:32 +0000 (19:18 +0200)]
Apply `i18n-tasks normalize` to locales (#1696)

8 years agotranslation: Fix comment out issue in en.jsx (#1698)
INAGAKI Hiroshi [Thu, 13 Apr 2017 15:11:18 +0000 (00:11 +0900)]
translation: Fix comment out issue in en.jsx (#1698)

8 years agoFix minor jslint issue (#1697)
Koala Yeung [Thu, 13 Apr 2017 15:10:48 +0000 (23:10 +0800)]
Fix minor jslint issue (#1697)

* Undefined propType in react component `ColumnSettings`.
  Add proper PropTypes definition.

8 years agoMerge branch 'blackle-videolightbox'
Eugen Rochko [Thu, 13 Apr 2017 15:01:52 +0000 (17:01 +0200)]
Merge branch 'blackle-videolightbox'

8 years agoAdd overlay style to buttons, continue video after expanding it
Eugen Rochko [Thu, 13 Apr 2017 15:01:09 +0000 (17:01 +0200)]
Add overlay style to buttons, continue video after expanding it

8 years agoUpdate settings_helper.rb
Matteo Aquila [Thu, 13 Apr 2017 14:16:39 +0000 (16:16 +0200)]
Update settings_helper.rb

8 years agoMerge branch 'videolightbox' of git://github.com/blackle/mastodon into blackle-videol...
Eugen Rochko [Thu, 13 Apr 2017 14:14:11 +0000 (16:14 +0200)]
Merge branch 'videolightbox' of git://github.com/blackle/mastodon into blackle-videolightbox

8 years agoIgnore postgres/redis folder from docker-compose (#1645)
Lukas Burk [Thu, 13 Apr 2017 14:04:20 +0000 (16:04 +0200)]
Ignore postgres/redis folder from docker-compose (#1645)

8 years agoConvert emoji shortnames when sending status (#1666)
Rachel H [Thu, 13 Apr 2017 14:03:45 +0000 (07:03 -0700)]
Convert emoji shortnames when sending status (#1666)

8 years agoAdd Dutch translation (nl) (#1682)
Koala Yeung [Thu, 13 Apr 2017 14:02:23 +0000 (22:02 +0800)]
Add Dutch translation (nl) (#1682)

* Dutch language files for Ruby code

 * Created RoR translation ymls:
   * config/locales/devise.nl.yml
   * config/locales/doorkeeper.nl.yml
   * config/locales/nl.yml
   * config/locales/simple_form.nl.yml

 * Modified RoR config and helper
   * app/helpers/settings_helper.rb
   * config/application.rb

* Dutch language javascript locale

 * Created javascript locale files:
   * app/assets/javascripts/components/locales/index.jsx
   * app/assets/javascripts/components/locales/nl.jsx

 * Reference the newly created locale files:
   * app/assets/javascripts/components/containers/mastodon.jsx

* Fix syntax error in locale file (nl)

* Fix missing translate in js locale (nl)

* Convert all ruby Dutch locale (nl) file to utf8

Fix yml conversion issues.

* Fix duplicated key in devise.nl.yml

* Fix indentation error in doorkeeper.nl.yml

8 years agoFix issue where 'sensitive content click to show' item takes up whole screen on publi...
Isabelle Knott [Thu, 13 Apr 2017 14:00:56 +0000 (10:00 -0400)]
Fix issue where 'sensitive content click to show' item takes up whole screen on public view (#1692)

8 years agoOrganize coverage dirs (#1695)
Matt Jankowski [Thu, 13 Apr 2017 14:00:31 +0000 (10:00 -0400)]
Organize coverage dirs (#1695)

* Add `Presenters` group to SimpleCov configuration

* Move validators to app/validators, add to simplecov config

8 years agoMerge branch 'master' into master
Eugen [Thu, 13 Apr 2017 14:00:20 +0000 (16:00 +0200)]
Merge branch 'master' into master

8 years agoDo not show media attachment as og:image if it was marked as NSFW (#1693)
Isabelle Knott [Thu, 13 Apr 2017 13:59:43 +0000 (09:59 -0400)]
Do not show media attachment as og:image if it was marked as NSFW (#1693)