]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoChange to switch signature version for Amazon S3 (#2124)
Yamagishi Kazutoshi [Wed, 19 Apr 2017 12:18:50 +0000 (21:18 +0900)]
Change to switch signature version for Amazon S3 (#2124)

8 years agoRestful refactor of accounts/ routes (#2133)
Matt Jankowski [Wed, 19 Apr 2017 11:52:37 +0000 (07:52 -0400)]
Restful refactor of accounts/ routes (#2133)

* Add routing specs for accounts followers and following actions

* Use more restful route naming for public account follow pages

Moves two actions:
- accounts#followers to accounts/follower_accounts#index
- accounts#following to accounts/following_accounts#index

Adds routing spec to ensure prior URLs are preserved.

8 years agoUpdate ja.yml (follow for #2118) (#2137)
Kota Ouchi [Wed, 19 Apr 2017 11:44:07 +0000 (20:44 +0900)]
Update ja.yml (follow for #2118) (#2137)

* Update ja.yml (follow for #2118)

* typo fix

8 years agoupdate simple_form.ja.yml (follow for #1991) (#2113)
Isao Sugimoto [Wed, 19 Apr 2017 01:55:19 +0000 (10:55 +0900)]
update simple_form.ja.yml (follow for #1991) (#2113)

8 years agoupdate ja.yml (follow for #2106) (#2109)
Isao Sugimoto [Tue, 18 Apr 2017 22:52:30 +0000 (07:52 +0900)]
update ja.yml (follow for #2106) (#2109)

8 years agoUpdate fr.yml (#2107)
Michel [Tue, 18 Apr 2017 22:52:19 +0000 (00:52 +0200)]
Update fr.yml (#2107)

Just updated some values.
Best regards,
cyweo

8 years agoFix wording on admin instances view, fix typos in language detector spec (#2106)
Eugen [Tue, 18 Apr 2017 21:39:51 +0000 (23:39 +0200)]
Fix wording on admin instances view, fix typos in language detector spec (#2106)

8 years agoRemove unused fonts (#2103)
Eugen [Tue, 18 Apr 2017 21:34:50 +0000 (23:34 +0200)]
Remove unused fonts (#2103)

8 years agoFix #1642, fix #1912 - Dictate content-type file extension (#2078)
Eugen [Tue, 18 Apr 2017 21:15:44 +0000 (23:15 +0200)]
Fix #1642, fix #1912 - Dictate content-type file extension (#2078)

* Fix #1642, fix #1912 - Previous change (#1718) did not modify how original file was saved on upload

* Fix for when file is missing

8 years agoAdd more tests for AtomSerializer (#2096)
Eugen [Tue, 18 Apr 2017 20:30:17 +0000 (22:30 +0200)]
Add more tests for AtomSerializer (#2096)

8 years agomissing translate ja.yml (#2100)
Isao Sugimoto [Tue, 18 Apr 2017 20:29:39 +0000 (05:29 +0900)]
missing translate ja.yml (#2100)

8 years agoAdd rate limits for logins and sign-ups by IP (5 in 5 minutes) (#2079)
Eugen [Tue, 18 Apr 2017 20:29:14 +0000 (22:29 +0200)]
Add rate limits for logins and sign-ups by IP (5 in 5 minutes) (#2079)

* Add rate limits for logins and sign-ups by IP (5 in 5 minutes)
Should be enough for normal attempts

* Add rate limit for forgotten password form as well

8 years agoLanguage detection refactor (#2099)
Matt Jankowski [Tue, 18 Apr 2017 20:20:12 +0000 (16:20 -0400)]
Language detection refactor (#2099)

* Extract detect_language to separate class

* Use default locale, not just en

* Add spec to confirm that whatlanguage cant identify empty string

* Allow account locale to override default in language detector

* PostStatusService supplies an account to detect language

8 years agoRemove API authentication for public statuses (after review) (#1919)
happycoloredbanana [Tue, 18 Apr 2017 19:58:57 +0000 (22:58 +0300)]
Remove API authentication for public statuses (after review) (#1919)

8 years agoPolish zh-cn js translation (#2090)
Mingye Wang [Tue, 18 Apr 2017 19:29:31 +0000 (15:29 -0400)]
Polish zh-cn js translation (#2090)

* Polish zh-cn js translation

* fixes for problems pointed out by gumblex in #2044
* more effectively differentiate between following/follower

* Fix missing period (zh-cn js)

Maybe squash this commit?

* Fix duplicate word (zh-cn js)

8 years agoInstances list in admin (#2095)
Matt Jankowski [Tue, 18 Apr 2017 19:09:07 +0000 (15:09 -0400)]
Instances list in admin (#2095)

* Add admin/instances index action

* Add link to instances admin page

* View lists instances

* Instances, grouped by domain, ordered by count

* Use Account.remote scope

* Extract method: Account.by_domain_accounts

8 years agoAdmin reports with accounts (#2092)
Matt Jankowski [Tue, 18 Apr 2017 17:36:18 +0000 (13:36 -0400)]
Admin reports with accounts (#2092)

* Add a ReportFilter class

* Add reports and targeted_reports relationships to Account

* Use ReportFilter from admin/reports controller

* Link to admin/reports filtered views from admin account show view

* Add indexes to reports.account_id and reports.target_account_id

8 years agoDisable toot button when above 500 characters (#2088)
Tomohiro Suwa [Tue, 18 Apr 2017 17:35:55 +0000 (02:35 +0900)]
Disable toot button when above 500 characters (#2088)

* Disable toot button when above 500 characters

* Consider multibyte characters

* Consider spoiler_text

8 years agofix admin input display (#1633)
spf [Tue, 18 Apr 2017 15:25:44 +0000 (17:25 +0200)]
fix admin input display (#1633)

8 years agoMoving aria-label to div.column (#1769)
JP DeVries [Tue, 18 Apr 2017 15:21:25 +0000 (17:21 +0200)]
Moving aria-label to div.column (#1769)

* Use landmark regions on columns

Closes mastodon#1720

* Moving aria-label to div.column

8 years agoSimplify renders in views (#2084)
Matt Jankowski [Tue, 18 Apr 2017 15:15:30 +0000 (11:15 -0400)]
Simplify renders in views (#2084)

* Simplify render in mailer views

* Simplify render in about/more view

* Simplify render in accounts follow views

* Simplify render in recovery code views

* Simplify render in stream entry embed

* Simplify render in stream entries status partial

* Simplify render in authorize follow new view

8 years agoUpdate storybook file autoload (#2057)
usagi-f [Tue, 18 Apr 2017 14:04:35 +0000 (23:04 +0900)]
Update storybook file autoload (#2057)

8 years agoAdd "Mastodon" to user agent (#2073)
ik-fib [Tue, 18 Apr 2017 14:04:13 +0000 (23:04 +0900)]
Add "Mastodon" to user agent (#2073)

Remove non-const version string

Freeze option is unnecessary

8 years agoTranslate onboarding dialog to japanese (#2062)
Keiji, Yoshimi [Tue, 18 Apr 2017 14:03:27 +0000 (23:03 +0900)]
Translate onboarding dialog to japanese (#2062)

* translate onboarding modal to japanese

* fixed translation by feedback

8 years agoFix streaming server worker count (#2082)
kuro5hin [Tue, 18 Apr 2017 13:58:22 +0000 (09:58 -0400)]
Fix streaming server worker count (#2082)

* Make sure we start at least one streaming worker, even if there's only one CPU and we're in production mode.

* Oops, let's make sure we're counting cpus right too.

8 years agoAvoid dynamic methods due to processing speed (#2080)
839 [Tue, 18 Apr 2017 13:57:46 +0000 (22:57 +0900)]
Avoid dynamic methods due to processing speed (#2080)

8 years agoFix header icons in navigation bar (#2081)
Andrey Blinov [Tue, 18 Apr 2017 13:57:16 +0000 (16:57 +0300)]
Fix header icons in navigation bar (#2081)

8 years agoFrench translation update (#2063)
Olivier Humbert [Tue, 18 Apr 2017 13:21:47 +0000 (15:21 +0200)]
French translation update (#2063)

fixes

8 years agoAdd Occitan (oc) translation (#2077)
Koala Yeung [Tue, 18 Apr 2017 13:21:16 +0000 (21:21 +0800)]
Add Occitan (oc) translation (#2077)

* Added oc.yml

* Added `config/locales/oc.yml`.
  Translated in General Occitan (Quent-in).

* Added oc.jsx (Occitan translation)

* Written in General Occitan (lengadocian)
* Added `app/assets/javascripts/components/locales/oc.js`

* Added doorkeeper.oc.yml

* Added `config/locales/doorkeeper.oc.yml` (Quent-in)

* Added simple_form.oc.yml

* Added `config/locales/simple_form.oc.yml` (Quent-in).

* Merge en.yml changes into oc.yml

Added new strings for translations

* Fix typo in oc.yml

* Update javascript locale support (oc)

* Update ruby locale list (oc)

* Fix oc.yml

* Remove obsoleted translations
* Moved old translation of `reports` to `admin.reports`

8 years agoUpdate Russian translation (#1967)
Ratmir Karabut [Tue, 18 Apr 2017 13:20:37 +0000 (16:20 +0300)]
Update Russian translation (#1967)

* 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

8 years agoAdd hasMore field to account timeline (#2066)
geta6 [Tue, 18 Apr 2017 11:10:49 +0000 (20:10 +0900)]
Add hasMore field to account timeline (#2066)

8 years agoMerge branch 'patf-pause-gif'
Eugen Rochko [Mon, 17 Apr 2017 23:58:14 +0000 (01:58 +0200)]
Merge branch 'patf-pause-gif'

8 years agoAdjust visuals of non-autoplaying GIFV
Eugen Rochko [Mon, 17 Apr 2017 23:57:50 +0000 (01:57 +0200)]
Adjust visuals of non-autoplaying GIFV

8 years agoMerge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif
Eugen Rochko [Mon, 17 Apr 2017 23:25:50 +0000 (01:25 +0200)]
Merge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif

8 years agoRemove unused methods (#1730)
Matt Jankowski [Mon, 17 Apr 2017 23:21:55 +0000 (19:21 -0400)]
Remove unused methods (#1730)

* Remove unused method #set_counters_maps from api controller

* Remove unused method #set_account_counters_maps from api controller

* Remove unused method Account#followers_domains

* Remove unused User.prolific scope

* Add mastodon:users:admins task to list all admin emails

* Use interpolated query style in Account.triadic_closures

* Coverage for Account.triadic_closures

8 years agoMerge branch 'pixiv-fix/cache_blocking'
Eugen Rochko [Mon, 17 Apr 2017 23:20:29 +0000 (01:20 +0200)]
Merge branch 'pixiv-fix/cache_blocking'

8 years agoRename cache key to exclude_account_ids_for:id, adjust formatting
Eugen Rochko [Mon, 17 Apr 2017 23:14:02 +0000 (01:14 +0200)]
Rename cache key to exclude_account_ids_for:id, adjust formatting

8 years agoMerge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix...
Eugen Rochko [Mon, 17 Apr 2017 23:09:57 +0000 (01:09 +0200)]
Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix/cache_blocking

8 years agoAdd forgotten AtomSerializer spec (#2047)
Eugen [Mon, 17 Apr 2017 23:07:46 +0000 (01:07 +0200)]
Add forgotten AtomSerializer spec (#2047)

8 years agoIgnore /vendor/bundle (#1880)
Marcin Cieślak [Mon, 17 Apr 2017 23:02:50 +0000 (01:02 +0200)]
Ignore /vendor/bundle (#1880)

8 years agoAdd FR locales to the onboarding modal (#1976)
Damien Erambert [Mon, 17 Apr 2017 23:02:02 +0000 (16:02 -0700)]
Add FR locales to the onboarding modal (#1976)

* Add FR locale for the onboarding modal component

* Slightly increase the max-width and max-height of the onboarding modal

This is done so it doesn't break with locales whose strings would be
too long

* Update FR locales for onboarding upon PR comments

8 years agoAdd simplified Chinese js translation (#2044)
Mingye Wang [Mon, 17 Apr 2017 23:01:32 +0000 (19:01 -0400)]
Add simplified Chinese js translation (#2044)

This single-file commit, heavily based on the zh-hk version as of
ec9999c, fixes the missing js locale. Intentional, significant
departures from current zh-cn yml localizations have been marked with
rationales given.

8 years agoInstance helper to replace site title helper (#2038)
Matt Jankowski [Mon, 17 Apr 2017 22:16:32 +0000 (18:16 -0400)]
Instance helper to replace site title helper (#2038)

* Move site title helper to instance helper (name change only)

* Remove newline in <title> tag

* Add site_hostname helper method to wrap up local_domain value

* Use site_hostname helper in places that need local_domain value

8 years agoUpdated, improved and fixed Dutch language strings (#2030)
jeroenpraat [Mon, 17 Apr 2017 22:16:03 +0000 (00:16 +0200)]
Updated, improved and fixed Dutch language strings (#2030)

* Fixed some words

* Improved and more consistent

* Fixes and a bit less 'je'

* Improved and more consistent

* Another round of improvements and consistency

* More improvements and less 'je'

* Update

* Updated with admin strings

* More improvements and additions - not complete yet, but most is there

* This is what we call in Dutch 'the English disease' :-)

* fix comma

* admin.reportsi

* not needed

* hopefully now fixed

8 years agoUse .presence instead of ternary on site description for og: content (#2033)
Matt Jankowski [Mon, 17 Apr 2017 21:19:45 +0000 (17:19 -0400)]
Use .presence instead of ternary on site description for og: content (#2033)

8 years agooptimized logo (#2020)
Sam Hewitt [Mon, 17 Apr 2017 19:49:51 +0000 (15:49 -0400)]
optimized logo (#2020)

- adjusted elements to fit the pixel grid for better scaling
- optimized the PNG asset and the SVG asset

8 years agoREADME tidy up (#2026)
Matt Jankowski [Mon, 17 Apr 2017 19:28:31 +0000 (15:28 -0400)]
README tidy up (#2026)

* Remove docker guide and put it in docs repo

* Move tasks to docs repo

* Move requirements to contributing doc

* Move advice about tagged releases to docs repo

* Move local domain and host config to docs repo

* Link to related tech

8 years agoFix import pt_br locale in mastodon.jsx (#2011)
Andrey Blinov [Mon, 17 Apr 2017 19:01:42 +0000 (22:01 +0300)]
Fix import pt_br locale in mastodon.jsx (#2011)

8 years agoReturn early from submit if no text. (#1962)
Zac Anger [Mon, 17 Apr 2017 18:30:38 +0000 (12:30 -0600)]
Return early from submit if no text. (#1962)

8 years agoFrench i18n-tasks missing fr (#2018)
spf [Mon, 17 Apr 2017 18:27:11 +0000 (20:27 +0200)]
French i18n-tasks missing fr (#2018)

8 years agoRemove i18n_spec file (#2014)
Matt Jankowski [Mon, 17 Apr 2017 18:02:29 +0000 (14:02 -0400)]
Remove i18n_spec file (#2014)

These were being skipped with `xit`, but we also just added the `unused` task to
the CI server, and it will be caught there. That seems good enough for this,
instead of requiring a full keys check on every local spec suite run.

8 years agoMedia controller specs (#2022)
Matt Jankowski [Mon, 17 Apr 2017 18:02:00 +0000 (14:02 -0400)]
Media controller specs (#2022)

* Add spec for media controller

* Add MediaAttachment.attached scope

* Simplify methods in media controller

8 years agoFix #1972, fix #1870 - Fix special characters in XML, add tests (#1988)
Eugen [Mon, 17 Apr 2017 17:58:54 +0000 (19:58 +0200)]
Fix #1972, fix #1870 - Fix special characters in XML, add tests (#1988)

Also improve efficiency of the mastodon:maintenance:add_static_avatars task

8 years agoFix #1897 - Return reblogged: false on unreblog (was wrongly named variable) (#1989)
Eugen [Mon, 17 Apr 2017 17:58:38 +0000 (19:58 +0200)]
Fix #1897 - Return reblogged: false on unreblog (was wrongly named variable) (#1989)

8 years agoImprove handling of HTTP_ACCEPT for webfinger (#2008)
Matt Jankowski [Mon, 17 Apr 2017 17:58:03 +0000 (13:58 -0400)]
Improve handling of HTTP_ACCEPT for webfinger (#2008)

This change includes:

- Improve the spec coverage for incoming request to the webfinger action
- For requests without an accept header (ie, what a browser might look like),
  return a JSON response.
- For requests with an explicit format of xml or json, return that format.
- For requests using an accept header, return that format.

Also adds failing spec showing webfinger does not return xml, which covers the
issue described in: https://github.com/tootsuite/mastodon/issues/1983

8 years agoFix nil query_username (#2013)
Tomohiro Suwa [Mon, 17 Apr 2017 17:57:02 +0000 (02:57 +0900)]
Fix nil query_username (#2013)

8 years agoRequired foreign keys (#2003)
alpaca-tc [Mon, 17 Apr 2017 13:54:33 +0000 (22:54 +0900)]
Required foreign keys (#2003)

* Add `required: true` option to foreign column

* Fixes NoMethodError

```
> Favourite.new.valid?
NoMethodError: undefined method `reblog?' for nil:NilClass
```

8 years agoUpdate Japanese translation (#1993)
IWAI, Masaharu [Mon, 17 Apr 2017 13:15:24 +0000 (22:15 +0900)]
Update Japanese translation (#1993)

Sync text for toot form

8 years agoUpdate fr.jsx "clear" (Nettoyer peut-être ambigu) (#1987)
Christophe Gesché [Mon, 17 Apr 2017 13:15:14 +0000 (15:15 +0200)]
Update fr.jsx "clear" (Nettoyer peut-être ambigu) (#1987)

Un utiliser mal expérimenté pourrait comprendre "retirer les erreurs".
Ici il s'agit d'une suppression pure et simple, pas une épuration/nettoyage.

clear would be translated "remove" instead of "cleaning" Cleaning can be unterstood "keep but clean"

8 years agoMake contents of boost confirmation dialog scroll (#1710)
tom [Mon, 17 Apr 2017 10:27:19 +0000 (06:27 -0400)]
Make contents of boost confirmation dialog scroll (#1710)

This is necessary for boosting long posts on small screens - see this post for video: https://slime.global/@masklayer/102308

8 years agoOpen sidekiq and pghero admin pages in new browser tabs (#1596)
Brad Urani [Mon, 17 Apr 2017 10:26:45 +0000 (03:26 -0700)]
Open sidekiq and pghero admin pages in new browser tabs (#1596)

* Open sidekiq and pghero admin pages in new tabs

* Add missing comma

8 years agoAdd gif auto-play/pause preference
Patrick Figel [Mon, 17 Apr 2017 10:14:03 +0000 (12:14 +0200)]
Add gif auto-play/pause preference

This introduces a new per-user preference called
"Auto-play animated GIFs", which is enabled by default. When a
user disables this setting, gifs in toots become click-to-play.

Previews of animated gifs were changed to display the video play
button so that users can distinguish them from regular images.

This setting also affects account avatars in the detailed account
view, which was changed to use the same hover-to-play mechanism
that is used for animated avatars in timelines.

Fixes #1652

8 years agoAdd documentation of SMTP_DOMAIN (#1738)
Ian Kelling [Mon, 17 Apr 2017 08:42:29 +0000 (01:42 -0700)]
Add documentation of SMTP_DOMAIN (#1738)

Without setting it, exim will reject the mail with a message like:
rejected EHLO from [10.20.0.1]: syntactically invalid argument(s): {}

8 years agoAllow using an SMTP server without authentication (#1597)
Miguel Jacq [Mon, 17 Apr 2017 08:41:19 +0000 (18:41 +1000)]
Allow using an SMTP server without authentication (#1597)

* Allow using an SMTP server without authentication (e.g Postfix relay on the same host) by setting SMTP_LOGIN and SMTP_AUTH_METHOD to 'none'

* Add note in .env.production.sample about SMTP settings for servers where no auth is required

* Assume that SMTP_LOGIN and SMTP_PASSWORD will be blank if we set SMTP_AUTH_METHOD to none

8 years agoNFS for shared folder requires a private_network (#1263)
happycoloredbanana [Mon, 17 Apr 2017 08:40:14 +0000 (11:40 +0300)]
NFS for shared folder requires a private_network (#1263)

8 years agoAdd mask-icon.svg (#1572) (#1585)
Dale Price [Mon, 17 Apr 2017 08:39:54 +0000 (03:39 -0500)]
Add mask-icon.svg (#1572) (#1585)

* Add mask-icon (#1572)

* use updated svg logo for mask-icon

8 years agoAdded missing `rake secret` command (#1894)
Expenses [Mon, 17 Apr 2017 08:38:59 +0000 (20:38 +1200)]
Added missing `rake secret` command (#1894)

8 years agoAdd Brazilian Portuguese and fix European Portuguese (#1966)
Hugo Gameiro [Mon, 17 Apr 2017 08:38:27 +0000 (09:38 +0100)]
Add Brazilian Portuguese and fix European Portuguese (#1966)

* update portuguese translation

added the missing fields and improved the translation

* pt translations fix

* improve last translation commit

* fix damn quotes

* add pt_br to index.jsx

* add pt-BR to import index.jsx

* add pt-BR to mastodon.jsx

* add pt-BR to settings_helper.rb

* add pt-BR to application.rb

* order alphabetically pt.jsx

* create pt-BR.jsx

* Create devise.pt-BR.yml

* language improvements to devise.pt.yml

* created doorkeeper.pt-BR.yml

* fixes to doorkeeper.pt.yml

* create pt-BR.yml

* improvements to pt.yml

* Create simple_form.pt-BR.yml

* Improvements to simple_form.pt.yml

* improvements to pt.yml

8 years agoCreate hr.jsx (#1945)
May Kittens Devour Your Soul [Mon, 17 Apr 2017 08:38:13 +0000 (10:38 +0200)]
Create hr.jsx (#1945)

* Create hr.jsx

Start of Croatian translation

* Update settings_helper.rb

* Update application.rb

* Update application.rb

* Update index.jsx

8 years agoOptimize user setting page for mobile browser (#1924)
Yuki Nakagawa [Mon, 17 Apr 2017 08:37:00 +0000 (17:37 +0900)]
Optimize user setting page for mobile browser (#1924)

* Remove overflow because it blocks scrolling on mobile safari.

* Add “-webkit-overflow-scrolling: touch;” to enable smooth scroll on mobile safari and other webkit browsers.

* Use radio buttons in user setting page.

Because select tags with long text are not fit in the width of mobile devices.

* Add flex property to fit labels to devise width.

* Change font size of select.

It causes auto zooming on mobile safari.

8 years agoRubocop instructions (#1973)
Matt Jankowski [Mon, 17 Apr 2017 08:35:42 +0000 (04:35 -0400)]
Rubocop instructions (#1973)

* Rubocop link for Sublime Text

* Fix rubocop links

* Link to gh issues page from contributing doc

8 years agoAdd human locales for zh-tw (#1984)
Yamagishi Kazutoshi [Mon, 17 Apr 2017 08:35:06 +0000 (17:35 +0900)]
Add human locales for zh-tw (#1984)

8 years agoAdd function color remaining text (#1980)
usagi-f [Mon, 17 Apr 2017 08:34:33 +0000 (17:34 +0900)]
Add function color remaining text (#1980)

8 years agoImproved Japanese translation in ja.yml (#1981)
Toshiyuki Takahashi [Mon, 17 Apr 2017 08:32:41 +0000 (17:32 +0900)]
Improved Japanese translation in ja.yml (#1981)

8 years agoFix tiny typo, and added link to terms and conditions in confirmation email for Japan...
anon [Mon, 17 Apr 2017 08:32:09 +0000 (17:32 +0900)]
Fix tiny typo, and added link to terms and conditions in confirmation email for Japanese. (#1975) (#1975)

8 years agoFix tiny typo (#1956)
Ingo Blechschmidt [Mon, 17 Apr 2017 08:29:49 +0000 (10:29 +0200)]
Fix tiny typo (#1956)

8 years agoAssign user locale on signup (#1982)
saturday06 [Mon, 17 Apr 2017 08:29:08 +0000 (17:29 +0900)]
Assign user locale on signup (#1982)

8 years agoImprove streaming server with cluster (#1970)
geta6 [Mon, 17 Apr 2017 02:32:30 +0000 (11:32 +0900)]
Improve streaming server with cluster (#1970)

8 years agoreduce unneed query when post without attachements. (#1907)
Keiji, Yoshimi [Mon, 17 Apr 2017 02:23:13 +0000 (11:23 +0900)]
reduce unneed query when post without attachements. (#1907)

* reduce unneed query when post without attachements.

This commit reduce following query:

```
 MediaAttachment Load (0.9ms)  SELECT "media_attachments".* FROM "media_attachments" WHERE "media_attachments"."status
_id" IS NULL AND 1=0 ORDER BY id asc
```

* fixed for more simple changes.

8 years agoFix minor typo in Japanese translation "保村" -> "保存" (#1968)
Yamagishi Kazutoshi [Mon, 17 Apr 2017 02:22:14 +0000 (11:22 +0900)]
Fix minor typo in Japanese translation "保村" -> "保存" (#1968)

8 years agoImproved Japanese translation in devise.ja.yml (#1969)
Toshiyuki Takahashi [Mon, 17 Apr 2017 02:22:09 +0000 (11:22 +0900)]
Improved Japanese translation in devise.ja.yml (#1969)

8 years agoDo not display "reset password" in admin UI for remote accounts (#1960)
Eugen [Sun, 16 Apr 2017 21:15:58 +0000 (23:15 +0200)]
Do not display "reset password" in admin UI for remote accounts (#1960)

8 years agoFix #1957 - WhatLanguage can return null. Fallback to 'en' (#1959)
Eugen [Sun, 16 Apr 2017 21:12:19 +0000 (23:12 +0200)]
Fix #1957 - WhatLanguage can return null. Fallback to 'en' (#1959)

8 years agoFix bug mentioned in #1565 (#1954)
Eugen [Sun, 16 Apr 2017 19:02:54 +0000 (21:02 +0200)]
Fix bug mentioned in #1565 (#1954)

8 years agoRemove unused registrations: key from PT yml locale (#1952)
Matt Jankowski [Sun, 16 Apr 2017 18:53:16 +0000 (14:53 -0400)]
Remove unused registrations: key from PT yml locale (#1952)

8 years agoFix #1870 - Strip control characters out of strings in AtomSerializer (#1876)
Eugen [Sun, 16 Apr 2017 18:32:27 +0000 (20:32 +0200)]
Fix #1870 - Strip control characters out of strings in AtomSerializer (#1876)

* Fix #1870 - Strip control characters out of strings in AtomSerializer

* Adjust according to comment by @alpaca-tc

8 years agoAdd language detection (#1772)
Eugen [Sun, 16 Apr 2017 18:32:17 +0000 (20:32 +0200)]
Add language detection (#1772)

* Add language detection via WhatLanguage and (de)serialization of it through Atom

* Fix default language in ProcessFeedService

* Re-add newline before 'react-rails' Gem to fix groupings

Fixes Code Climate issue

8 years agoOnboarding modal (#1883)
Eugen [Sun, 16 Apr 2017 18:32:00 +0000 (20:32 +0200)]
Onboarding modal (#1883)

* Basic onboarding modal that's shown to users once

* Lay out pages 2 through 5, add images, style modals (#1509)

* Lay out pages 2 through 5

Added images and laid out pages 2 through 5 in the jsx file. SCSS will
come, still working on just seeing if this works at all.

* Fix jsx errors, add images to modal pages, style modal pages

* Add animations to onboarding pager changes, improve wording and styling

* Finishing touches on the onboarding

* Add missing propTypes

* Update wording

8 years agoUpdate node.js and imagemagick (#1951)
Wonderfall [Sun, 16 Apr 2017 18:28:25 +0000 (20:28 +0200)]
Update node.js and imagemagick (#1951)

* update Dockerfile: latest nodejs LTS

* also update imagemagick

8 years agoI18n health warnings (#1949)
Matt Jankowski [Sun, 16 Apr 2017 17:37:01 +0000 (13:37 -0400)]
I18n health warnings (#1949)

* Rename admin.domain_block to admin.domain_blocks in prep for i18n improvement

* Use implicit controller/action path for i18n in admin/domain_blocks

* Add DomainBlock#accounts has_many

* Avoid i18n health warning for `en` locale by using symbol scope with :count

* Remove unused i18n key: plaintext_secret_html

* Remove unused i18n key two_factor_auth.warning

* Remove final will_paginate i18n keys

* Remove unused key two_factor_auth.recovery_codes

* Remove unused key: admin.reports.comment.none

* Remove unused reports. i18n namespace (moved to admin.reports)

* Ignore keys from locales which override activemodel and activerecord errors

* Revert "Remove unused key: admin.reports.comment.none"

This reverts commit 350ef2685fadc069e619bb6d1066190de195d942.

* Update i18n key reference to match moved location

* Add missing `en` keys to i18n

* Tell i18n-tasks to ignore missing attributes that dont need overwriting

* Add i18n-tasks unused to travis

8 years agoFix #1670 - Update OStatus2 gem (#1936)
Eugen [Sun, 16 Apr 2017 17:32:47 +0000 (19:32 +0200)]
Fix #1670 - Update OStatus2 gem (#1936)

8 years agoDisable CodeClimate duplication checks (#1943)
Eugen [Sun, 16 Apr 2017 16:26:46 +0000 (18:26 +0200)]
Disable CodeClimate duplication checks (#1943)

8 years agoFix translation of 'reblogged' in eo.yml (#1942)
oliverkeeble [Sun, 16 Apr 2017 16:11:07 +0000 (17:11 +0100)]
Fix translation of 'reblogged' in eo.yml (#1942)

8 years agoAdd missing keys to PT locale (#1941)
Eduardo Elias [Sun, 16 Apr 2017 16:04:19 +0000 (17:04 +0100)]
Add missing keys to PT locale (#1941)

8 years agoCheck @recipient.user at the first (#1939)
alpaca-tc [Sun, 16 Apr 2017 16:04:05 +0000 (01:04 +0900)]
Check @recipient.user at the first (#1939)

8 years agoFix #1813 - Alleviate extra requests when processing mentions (#1938)
Eugen [Sun, 16 Apr 2017 16:01:48 +0000 (18:01 +0200)]
Fix #1813 - Alleviate extra requests when processing mentions (#1938)

The <link rel="mentioned" /> tag refers to accounts by href. So we were
matching the DB by the url attribute, and falling back to HTTP look-up.
However, GS and Mastodon use profile URLs as URIs, too, and the match
for that was missing. This could potentially alleviate some extra network
requests

8 years agoMerge branch 'master' into fix/cache_blocking
Effy Elden [Sun, 16 Apr 2017 15:41:33 +0000 (01:41 +1000)]
Merge branch 'master' into fix/cache_blocking

8 years agoAdds note for instance admins. (#1925)
Ash Furrow [Sun, 16 Apr 2017 14:59:53 +0000 (10:59 -0400)]
Adds note for instance admins. (#1925)

* Adds note for instance admins.

* Addresses feedback from #1925.

8 years agoAdd README note about tagged releases (#1927)
Eugen [Sun, 16 Apr 2017 14:42:46 +0000 (16:42 +0200)]
Add README note about tagged releases (#1927)

8 years agoClean up check that account needs a webfinger update (#1932)
Matt Jankowski [Sun, 16 Apr 2017 14:38:29 +0000 (10:38 -0400)]
Clean up check that account needs a webfinger update (#1932)