]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoUpgrade jsdom to version 11.0.0 (#3994)
Yamagishi Kazutoshi [Thu, 29 Jun 2017 11:03:03 +0000 (20:03 +0900)]
Upgrade jsdom to version 11.0.0 (#3994)

8 years agoCover Admin::AccountsController more (#3327)
Akihiko Odaki (@fn_aki@pawoo.net) [Wed, 28 Jun 2017 23:43:10 +0000 (08:43 +0900)]
Cover Admin::AccountsController more (#3327)

8 years agoUse multiple pairs for zadd in PrecomputeFeedService (#3990)
Akihiko Odaki (@fn_aki@pawoo.net) [Wed, 28 Jun 2017 23:25:31 +0000 (08:25 +0900)]
Use multiple pairs for zadd in PrecomputeFeedService (#3990)

8 years agoReduce number of commands in FeedManager#trim (#3989)
Akihiko Odaki (@fn_aki@pawoo.net) [Wed, 28 Jun 2017 23:17:26 +0000 (08:17 +0900)]
Reduce number of commands in FeedManager#trim (#3989)

8 years agoBump version to 1.4.7
Eugen Rochko [Wed, 28 Jun 2017 15:44:17 +0000 (17:44 +0200)]
Bump version to 1.4.7

8 years agoDo not fail to create access token if superapp was never created (#3986)
Eugen Rochko [Wed, 28 Jun 2017 15:43:48 +0000 (17:43 +0200)]
Do not fail to create access token if superapp was never created (#3986)

8 years agoAdd Japanese translations (#3985)
Yamagishi Kazutoshi [Wed, 28 Jun 2017 14:45:21 +0000 (23:45 +0900)]
Add Japanese translations (#3985)

ref #3929, #3935, #3949, #3981

8 years agoOverwrite old statuses with reblogs in PrecomputeFeedService (#3984)
Akihiko Odaki (@fn_aki@pawoo.net) [Wed, 28 Jun 2017 12:50:23 +0000 (21:50 +0900)]
Overwrite old statuses with reblogs in PrecomputeFeedService (#3984)

8 years agoi18n: added email to activerecord.pl.yml (#3981)
m4sk1n [Wed, 28 Jun 2017 12:07:53 +0000 (14:07 +0200)]
i18n: added email to activerecord.pl.yml (#3981)

8 years agoi18n: Minor fix in devise.pl.yml (#3978)
m4sk1n [Tue, 27 Jun 2017 21:14:02 +0000 (23:14 +0200)]
i18n: Minor fix in devise.pl.yml (#3978)

8 years agoi18n: Use instance name in email notifications instead of Mastodon (pl) (#3976)
m4sk1n [Tue, 27 Jun 2017 21:10:43 +0000 (23:10 +0200)]
i18n: Use instance name in email notifications instead of Mastodon (pl) (#3976)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoi18n: E-mail notifications to admins about new reports (pl) (#3975)
m4sk1n [Tue, 27 Jun 2017 20:21:35 +0000 (22:21 +0200)]
i18n: E-mail notifications to admins about new reports (pl) (#3975)

8 years agoi18n: Turn report screen into a modal (pl) (#3974)
m4sk1n [Tue, 27 Jun 2017 20:14:31 +0000 (22:14 +0200)]
i18n: Turn report screen into a modal (pl) (#3974)

8 years agofix(components/status): Up & down jump due to content being added to the DOM (#3972)
Sorin Davidoi [Tue, 27 Jun 2017 16:43:53 +0000 (18:43 +0200)]
fix(components/status): Up & down jump due to content being added to the DOM (#3972)

8 years agoTurn report screen into a modal (#3965)
Eugen Rochko [Tue, 27 Jun 2017 16:07:21 +0000 (18:07 +0200)]
Turn report screen into a modal (#3965)

8 years agoUse instance name in email notifications instead of "Mastodon" (#3763)
Midgard [Tue, 27 Jun 2017 12:22:36 +0000 (14:22 +0200)]
Use instance name in email notifications instead of "Mastodon" (#3763)

* Use instance name in "password changed" mail

instead of "Mastodon".

Fixes tootsuite#2620.

* Use instance name in password reset mail

instead of "Mastodon".

8 years ago #1456 Added rake task to add a user. (#1482)
Debanshu Kundu [Tue, 27 Jun 2017 12:18:53 +0000 (17:48 +0530)]
 #1456 Added rake task to add a user. (#1482)

8 years agoResponsive images in media gallery (#3963)
Sorin Davidoi [Tue, 27 Jun 2017 11:46:37 +0000 (13:46 +0200)]
Responsive images in media gallery (#3963)

* feat(components/media_gallery): Responsive images

* fix(components/media_gallery): Link to image URL

8 years agoUpdate dependencies for Node.js (#3967)
Yamagishi Kazutoshi [Tue, 27 Jun 2017 11:46:11 +0000 (20:46 +0900)]
Update dependencies for Node.js (#3967)

* Update @storybook/addon-actions to v3.1.6

* Update @storybook/react to v3.1.6

* Update babel-loader to v7.1.0

* Update babel-plugin-transform-react-remove-prop-types to v0.4.6

* Update enzyme to v2.9.1

* Update fsevents to v1.1.2

* Update intersection-observer to v0.3.2

* Update npmlog to v4.1.2

* Update pg to v6.4.0

* Update postcss-loader to v2.0.6

* Update rails-ujs to v5.1.2

* Update react to v15.6.1

* Update react-addons-shallow-compare to v15.6.0

* Update react-dom to v15.6.0

* Update react-notification to v6.7.1

* Update react-test-renderer to v15.6.1

* Update react-textarea-autosize to v5.0.7

* Update redux to v3.7.1

* Update resolve-url-loader to v2.1.0

* Update sass-loader to v6.0.6

* Update sinon to v2.3.5

* Update stringz to v0.2.2

* Update uuid to v3.1.0

* Update websocket.js to v0.1.12

* Update yargs to v8.0.2

* yarn upgrade

8 years agoMaintain aspect ratio for preview image (#3966)
Yamagishi Kazutoshi [Tue, 27 Jun 2017 11:43:53 +0000 (20:43 +0900)]
Maintain aspect ratio for preview image (#3966)

8 years agoUpdate Rails to v5.1.2 (#3968)
Yamagishi Kazutoshi [Tue, 27 Jun 2017 11:41:03 +0000 (20:41 +0900)]
Update Rails to v5.1.2 (#3968)

8 years agoFix #1624 - Send e-mail notifications to admins about new reports (#3949)
Eugen Rochko [Mon, 26 Jun 2017 22:04:00 +0000 (00:04 +0200)]
Fix #1624 - Send e-mail notifications to admins about new reports (#3949)

8 years agoRaise an error if salmon request response is unsatisfactory (#3960)
ThibG [Mon, 26 Jun 2017 17:39:58 +0000 (19:39 +0200)]
Raise an error if salmon request response is unsatisfactory (#3960)

8 years agoi18n: Updated Polish translation (#3956)
m4sk1n [Mon, 26 Jun 2017 15:18:45 +0000 (17:18 +0200)]
i18n: Updated Polish translation (#3956)

* i18n: Updated Polish translation

* Update pl.yml

8 years agoi18n: Warning to look into the spam folder (pl) (#3955)
m4sk1n [Mon, 26 Jun 2017 15:10:54 +0000 (17:10 +0200)]
i18n: Warning to look into the spam folder (pl) (#3955)

8 years agoAdd .gitattributes file to avoid unwanted CRLF (#3954)
Daniel Hunsaker [Mon, 26 Jun 2017 11:15:24 +0000 (05:15 -0600)]
Add .gitattributes file to avoid unwanted CRLF (#3954)

When Windows checks out files, it defaults to changing line endings to CRLF. If these files are then copied to a Linux system to be run, and the endings aren't changed at some point in that process, things break. This file forces git to use LF for all text files on all systems (except the request testing specfiles) to prevent issues everywhere.

8 years agoTranslate pin/unpin and fix some inconsistencies in gender neutral strings (#3952)
Alda Marteau-Hardi [Mon, 26 Jun 2017 11:04:36 +0000 (13:04 +0200)]
Translate pin/unpin and fix some inconsistencies in gender neutral strings (#3952)

8 years agoStop using Babel with streaming server (#3950)
Yamagishi Kazutoshi [Mon, 26 Jun 2017 02:49:39 +0000 (11:49 +0900)]
Stop using Babel with streaming server (#3950)

8 years agoRe-fix errorMiddleware (#3922)
Takuya Yoshida [Sun, 25 Jun 2017 23:46:15 +0000 (08:46 +0900)]
Re-fix errorMiddleware (#3922)

8 years agoIgnore DB_NAME for development env on streaming as well as rails side (#3948)
unarist [Sun, 25 Jun 2017 23:45:50 +0000 (08:45 +0900)]
Ignore DB_NAME for development env on streaming as well as rails side (#3948)

8 years agoFix #3910 - Require OTP authentication to disable 2FA (#3935)
Eugen Rochko [Sun, 25 Jun 2017 21:51:46 +0000 (23:51 +0200)]
Fix #3910 - Require OTP authentication to disable 2FA (#3935)

* Fix #3910 - Require OTP authentication to disable 2FA. Also, remove ability
to generate new OTP backup codes *after* initial backup codes were handed
out during activation

* Restore recovery code re-generation

* Improve display of some 2FA elements

8 years agoBind web UI access tokens to sessions (#3940)
Eugen Rochko [Sun, 25 Jun 2017 21:51:32 +0000 (23:51 +0200)]
Bind web UI access tokens to sessions (#3940)

* Add overview of active sessions

* Better display of browser/platform name

* Improve how browser information is stored and displayed for sessions overview

* Fix test

* Fix #2347 - Bind web UI access token to session

When you logout, session also destroys the access token, so it's no longer
valid. If access token is destroyed some other way, the session is also
destroyed, requiring a re-login.

Fix #1681 - Add scheduler to remove revoked access tokens and grants

* Fix test

8 years agofix unnecessary variable (#3947)
amazedkoumei [Sun, 25 Jun 2017 21:29:22 +0000 (06:29 +0900)]
fix unnecessary  variable (#3947)

8 years agoRename "Credentials" page to "Security" for clarity (#3941)
Eugen Rochko [Sun, 25 Jun 2017 20:13:02 +0000 (22:13 +0200)]
Rename "Credentials" page to "Security" for clarity (#3941)

* Rename "Credentials" page to "Security" for clarity

* Change "security" icon from cog to lock

8 years agofix(features/compose): Handle external changes to the textarea (#3632)
Sorin Davidoi [Sun, 25 Jun 2017 19:43:27 +0000 (21:43 +0200)]
fix(features/compose): Handle external changes to the textarea (#3632)

8 years agoCover Auth::RegistrationsController more (#3353)
Akihiko Odaki (@fn_aki@pawoo.net) [Sun, 25 Jun 2017 19:42:55 +0000 (04:42 +0900)]
Cover Auth::RegistrationsController more (#3353)

8 years agoCover Admin::DomainBlocksController more (#3329)
Akihiko Odaki (@fn_aki@pawoo.net) [Sun, 25 Jun 2017 19:42:36 +0000 (04:42 +0900)]
Cover Admin::DomainBlocksController more (#3329)

Also domain_block fabricator now sets unique domains

8 years agomore free pgconfig by .env (#3909)
amazedkoumei [Sun, 25 Jun 2017 16:13:31 +0000 (01:13 +0900)]
more free pgconfig by .env (#3909)

* more free pgconfig for streaming by .env

* fix wrong default values

* database.yml read ENV as same as streaming server

8 years agoAdd overview of active sessions (#3929)
Eugen Rochko [Sun, 25 Jun 2017 14:54:30 +0000 (16:54 +0200)]
Add overview of active sessions (#3929)

* Add overview of active sessions

* Better display of browser/platform name

* Improve how browser information is stored and displayed for sessions overview

* Fix test

8 years agoFix "undefined" in className (#3939)
PFM [Sun, 25 Jun 2017 14:02:56 +0000 (23:02 +0900)]
Fix "undefined" in className (#3939)

8 years agoDon't set ASSET_HOST on build:development (#3936)
unarist [Sun, 25 Jun 2017 10:52:42 +0000 (19:52 +0900)]
Don't set ASSET_HOST on build:development (#3936)

Setting ASSET_HOST to `http://0.0.0.0:8080` makes urls in manifest.json to
be invalid, e.g. `http://0.0.0.0:8080/packs/application.js`.

Anyway, we don't need set this on build:development because assets would
be delivered from same origin in development (and w/o dev-server).

8 years agoFix react-intl/locale-data import issue on production build (#3937)
unarist [Sun, 25 Jun 2017 10:49:53 +0000 (19:49 +0900)]
Fix react-intl/locale-data import issue on production build (#3937)

Webpack seems to fail to import `react-intl/locale-data/*.js` if those
files has been proceed by babel, and this also breaks applying our translation.

Note that this won't be a problem on English locale, because react-intl
includes it as default and works fine without manually added locale-data.
Also this issue seems to only occurs on production build, but I'm not sure
about reason.

8 years agoFix elephant in onboarding modal being very small sized on small devices (#3932)
unarist [Sat, 24 Jun 2017 21:18:32 +0000 (06:18 +0900)]
Fix elephant in onboarding modal being very small sized on small devices (#3932)

8 years agoClean column collapsible (#3931)
unarist [Sat, 24 Jun 2017 21:18:11 +0000 (06:18 +0900)]
Clean column collapsible (#3931)

* Remove unused column_collapsable.js
* Remove old styles
* Extract `> div`  style to independent class

8 years agofeat(components/onboarding_modal): Swipe between pages (#3934)
Sorin Davidoi [Sat, 24 Jun 2017 21:17:39 +0000 (23:17 +0200)]
feat(components/onboarding_modal): Swipe between pages (#3934)

8 years agoFix webpack config for Windows (#3926)
unarist [Sat, 24 Jun 2017 12:03:52 +0000 (21:03 +0900)]
Fix webpack config for Windows (#3926)

8 years agoFix #3924 (regression from #3906) (#3925)
Yamagishi Kazutoshi [Sat, 24 Jun 2017 10:24:02 +0000 (19:24 +0900)]
Fix #3924 (regression from #3906) (#3925)

8 years agoUse debounce for dispatch scrollTopNotification and expandNotifications (#3700)
unarist [Sat, 24 Jun 2017 00:43:26 +0000 (09:43 +0900)]
Use debounce for dispatch scrollTopNotification and expandNotifications (#3700)

8 years agoFix a typo and give CW'd statuses the right cursor (#3918)
Daniel Hunsaker [Fri, 23 Jun 2017 21:13:27 +0000 (15:13 -0600)]
Fix a typo and give CW'd statuses the right cursor (#3918)

8 years agoFix webpack-dev-server until it's fixed upstream (#3916)
Eugen Rochko [Fri, 23 Jun 2017 17:40:51 +0000 (19:40 +0200)]
Fix webpack-dev-server until it's fixed upstream (#3916)

8 years agoUse Class and Property Decorators (#3730)
Yamagishi Kazutoshi [Fri, 23 Jun 2017 17:36:54 +0000 (02:36 +0900)]
Use Class and Property Decorators (#3730)

ref https://tc39.github.io/proposal-decorators/

8 years agoFix errorMiddleware to prevent "TypeError: res.writeHead is not a function" (#3913)
Takuya Yoshida [Fri, 23 Jun 2017 17:22:02 +0000 (02:22 +0900)]
Fix errorMiddleware to prevent "TypeError: res.writeHead is not a function" (#3913)

* Fix errorMiddleware

* Add "eslint-disable-line no-unused-vars"

8 years agoRevocable sessions (#3616)
Sorin Davidoi [Fri, 23 Jun 2017 16:50:53 +0000 (18:50 +0200)]
Revocable sessions (#3616)

* feat: Revocable sessions

* fix: Tests using sign_in

* feat: Configuration entry for the maximum number of session activations

8 years agoApply babel to react-intl to remove prop-types (#3914)
Nolan Lawson [Fri, 23 Jun 2017 16:21:33 +0000 (09:21 -0700)]
Apply babel to react-intl to remove prop-types (#3914)

8 years agoMerge branch 'sorin-davidoi-swipe-gestures'
Eugen Rochko [Fri, 23 Jun 2017 15:52:56 +0000 (17:52 +0200)]
Merge branch 'sorin-davidoi-swipe-gestures'

8 years agoMerge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin...
Eugen Rochko [Fri, 23 Jun 2017 15:52:39 +0000 (17:52 +0200)]
Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin-davidoi-swipe-gestures

8 years agoAdd index statuses on account_id and id (#3895)
Akihiko Odaki (@fn_aki@pawoo.net) [Fri, 23 Jun 2017 15:46:00 +0000 (00:46 +0900)]
Add index statuses on account_id and id (#3895)

8 years agoUpgrade to Webpack 3 with module concatenation (#3912)
Nolan Lawson [Fri, 23 Jun 2017 15:44:55 +0000 (08:44 -0700)]
Upgrade to Webpack 3 with module concatenation (#3912)

8 years agoBump version to 1.4.6
Eugen Rochko [Fri, 23 Jun 2017 15:02:14 +0000 (17:02 +0200)]
Bump version to 1.4.6

8 years agoAdd important test for full-width hashtags (#3911)
Eugen Rochko [Fri, 23 Jun 2017 15:01:53 +0000 (17:01 +0200)]
Add important test for full-width hashtags (#3911)

8 years agoRemove unused variables (#3906)
Yamagishi Kazutoshi [Fri, 23 Jun 2017 14:05:04 +0000 (23:05 +0900)]
Remove unused variables (#3906)

8 years agoAdd prefix to setting toggle ID (#3907)
Yamagishi Kazutoshi [Fri, 23 Jun 2017 11:55:05 +0000 (20:55 +0900)]
Add prefix to setting toggle ID (#3907)

8 years agofix: Apply :hover, :focus and :active only when multiple columns
Sorin Davidoi [Sat, 10 Jun 2017 18:47:07 +0000 (20:47 +0200)]
fix: Apply :hover, :focus and :active only when multiple columns

8 years agofeat: Swipeable media
Sorin Davidoi [Thu, 8 Jun 2017 15:41:43 +0000 (17:41 +0200)]
feat: Swipeable media

8 years agofeat: Swipeable columns
Sorin Davidoi [Thu, 8 Jun 2017 15:41:32 +0000 (17:41 +0200)]
feat: Swipeable columns

8 years agochore(yarn): Install react-swipeable
Sorin Davidoi [Thu, 8 Jun 2017 15:36:01 +0000 (17:36 +0200)]
chore(yarn): Install react-swipeable

8 years agoUpdate Russian translation (#3902)
Ratmir Karabut [Thu, 22 Jun 2017 21:28:58 +0000 (00:28 +0300)]
Update Russian translation (#3902)

* 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)

* Update Russian translation

* Update Russian translation

* Update Russian translation (pin)

* Update Russian translation (account deletion)

* Fix extra line

8 years agoUse the stable RVM installer (#3901)
nightpool [Thu, 22 Jun 2017 21:28:52 +0000 (17:28 -0400)]
Use the stable RVM installer (#3901)

as mentioned by ElvenSpellmaker here: https://github.com/rvm/rvm/issues/4068

Adds a workaround for the issue mentioned by @abcang here: https://github.com/tootsuite/mastodon/pull/3897#issuecomment-310436668 and makes sure that we're using the stable installer to install the stable version.

8 years agofixed vagrantfile (#3897)
Charlotte Fields [Thu, 22 Jun 2017 16:35:27 +0000 (02:35 +1000)]
fixed vagrantfile (#3897)

8 years agoSome minor change and spec for Account (#3813)
Akihiko Odaki (@fn_aki@pawoo.net) [Thu, 22 Jun 2017 16:34:27 +0000 (01:34 +0900)]
Some minor change and spec for Account (#3813)

* Introduce domains method to Account relation

Account had followers_domains method, which was excessively specific.
Let relation of Account have domains method instead.

* Move follow_mapping in Account to AccountInteractions

* Introduce shared examples for AccountAvatar inclusion

* Cover Account more

8 years agoUpdate of doorkeeper.oc.yml (#3896)
Quent-in [Thu, 22 Jun 2017 11:39:13 +0000 (13:39 +0200)]
Update of doorkeeper.oc.yml (#3896)

Just some adjustements

8 years agoFix travis builds
Eugen Rochko [Thu, 22 Jun 2017 11:24:00 +0000 (13:24 +0200)]
Fix travis builds

https://github.com/travis-ci/travis-ci/issues/7941#issuecomment-310320597

8 years agoFix regression from #3842 (#3892)
Eugen Rochko [Thu, 22 Jun 2017 00:38:50 +0000 (02:38 +0200)]
Fix regression from #3842 (#3892)

* Fix regression from #3842

Simplify the query by omitting all direct statuses. Private statuses
are allowed because they are from accounts we are following (so
by definition)

Resolves #3887 (alternative)

* Adjust test

8 years agoDon't attach IntersectionObserver for wrapped statuses (#3883)
unarist [Wed, 21 Jun 2017 04:47:36 +0000 (13:47 +0900)]
Don't attach IntersectionObserver for wrapped statuses (#3883)

(This patch has been merged as bugfix and reverted, but still valuable as
improvement)

Previously, we've attached IntersectionObserver twice for boosted statuses:
wrapper Status and wrapped Status. but wrapped Status don't need to manage
intersection and visibility by itself, because it's a part of wrapper Status.

8 years agoRevert #3851 (#3878)
Eugen Rochko [Tue, 20 Jun 2017 23:37:15 +0000 (01:37 +0200)]
Revert #3851 (#3878)

8 years agoRevert "Don't attach IntersectionObserver for wrapped statuses" (#3877)
Eugen Rochko [Tue, 20 Jun 2017 23:33:14 +0000 (01:33 +0200)]
Revert "Don't attach IntersectionObserver for wrapped statuses" (#3877)

* Revert "Bump version to 1.4.4"

This reverts commit 1585b0c6cce6cebda3fdc8ba944aa2247e76d1be.

* Revert "Fix conversations (fixes #3869) (#3870)"

This reverts commit 15b43f555dcb06742c677d84c25d05774ef1bde2.

* Revert "Fix streaming server. Redis connection subscribe for each channel. (#3828)"

This reverts commit d8ec83280637e53ded67d4938a198cbeb9e8db05.

* Revert "Filter direct statuses in Status.as_home_timeline (#3842)"

This reverts commit bab5a18232a163b0c3c6a245f7f95d50d7022b36.

* Revert "Fix RemoteFollow behavior (#3868)"

This reverts commit a20cf3b64e93d764f1dfe88ecdb39f3fd4eefe03.

* Revert "Update fabricator for MediaAttachment to attach a file according to type (#3862)"

This reverts commit 356df7ae6b6edfc600fbc532f32fbc46314e00a0.

* Revert "Upgrade React Router (#3677)"

This reverts commit 8f03fdce7fa16fcaa829a40f395cefc85eb957d5.

* Revert "Do not call setState from unmounted component (#3853)"

This reverts commit 1fc6cb499742c1a872ad717a689c58a80aeb714d.

* Revert "Replace TextIconButton for SensitiveButton to IconButton (#3759)"

This reverts commit eb832e88f44d661a504a091defc051e052eb1252.

* Revert "Fix RTL detection on Ruby side (#3867)"

This reverts commit b16b69350eb4ded2e1011931433b51dac5e34b53.

* Revert "i18n: Fixed typo in Polish translation (#3864)"

This reverts commit da6fa029f66d50f38f2b6c85687994793f7766aa.

* Revert "Don't attach IntersectionObserver for wrapped statuses (#3863)"

This reverts commit 94ad0706f514e25c58c0a8f3201f96c1d1ccbbd8.

8 years agoBump version to 1.4.4
Eugen Rochko [Tue, 20 Jun 2017 19:32:37 +0000 (21:32 +0200)]
Bump version to 1.4.4

8 years agoFix conversations (fixes #3869) (#3870)
ThibG [Tue, 20 Jun 2017 18:44:32 +0000 (20:44 +0200)]
Fix conversations (fixes #3869) (#3870)

* Actually create conversations given explicit URIs

* Try to get the parent toot in before validation, to avoid creating a new conversation

8 years agoFix streaming server. Redis connection subscribe for each channel. (#3828)
猫吸血鬼ディフリス / 猫ロキP [Tue, 20 Jun 2017 18:41:41 +0000 (03:41 +0900)]
Fix streaming server. Redis connection subscribe for each channel. (#3828)

8 years agoFilter direct statuses in Status.as_home_timeline (#3842)
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 20 Jun 2017 18:41:23 +0000 (03:41 +0900)]
Filter direct statuses in Status.as_home_timeline (#3842)

The classes using Status.as_home_timeline, namely Feed and
PrecomputeFeedService are expected to filter direct statuses as
FanOutWriteService does, but their filtering were incomplete or missing.

This commit solves the problem by filtering direct statuses in
as_home_timeline as the other similar methods such as as_public_timeline
does.

8 years agoFix RemoteFollow behavior (#3868)
unarist [Tue, 20 Jun 2017 18:40:56 +0000 (03:40 +0900)]
Fix RemoteFollow behavior (#3868)

* Invalid acct is an error. not "2 errors".
* Empty input should be different error from invalid acct

8 years agoUpdate fabricator for MediaAttachment to attach a file according to type (#3862)
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 20 Jun 2017 18:40:45 +0000 (03:40 +0900)]
Update fabricator for MediaAttachment to attach a file according to type (#3862)

This fixes a random spec failures since commit
d55f207274648369cba30ff001aa3e354fa30dca.

8 years agoUpgrade React Router (#3677)
Sorin Davidoi [Tue, 20 Jun 2017 18:40:03 +0000 (20:40 +0200)]
Upgrade React Router (#3677)

* chore(yarn): Remove react-router

* chore(yarn): Remove react-router-scroll

* chore(yarn): Remove history

* chore(yarn): Add react-router-dom

* chore: Remove usages of react-router-scroll

* refactor: Upgrade to react-router-web

* refactor: Use fork of react-router-scroll

This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2.

* fix: Issues mentions in the PR feedback

8 years agoDo not call setState from unmounted component (#3853)
alpaca-tc [Tue, 20 Jun 2017 18:37:09 +0000 (03:37 +0900)]
Do not call setState from unmounted component (#3853)

Stop an executing task if the component already unmounted.

8 years agoReplace TextIconButton for SensitiveButton to IconButton (#3759)
Yamagishi Kazutoshi [Tue, 20 Jun 2017 17:43:09 +0000 (02:43 +0900)]
Replace TextIconButton for SensitiveButton to IconButton (#3759)

* Replace TextIconButton for SensitiveButton to IconButton

* line-height

8 years agoFix RTL detection on Ruby side (#3867)
unarist [Tue, 20 Jun 2017 16:45:09 +0000 (01:45 +0900)]
Fix RTL detection on Ruby side (#3867)

This fixes below bugs:

* pipe characters being counted as RTL character
* only first word being checked

8 years agoi18n: Fixed typo in Polish translation (#3864)
m4sk1n [Tue, 20 Jun 2017 16:34:27 +0000 (18:34 +0200)]
i18n: Fixed typo in Polish translation (#3864)

8 years agoDon't attach IntersectionObserver for wrapped statuses (#3863)
unarist [Tue, 20 Jun 2017 02:12:51 +0000 (11:12 +0900)]
Don't attach IntersectionObserver for wrapped statuses (#3863)

This fixes a bug that sometimes boosted statuses being hidden on scrolling.

Previously, we've attached IntersectionObserver twice for boosted statuses:
wrapper Status and wrapped Status. This will call intersection handler twice,
so this may results race condition...probably.

8 years agoClicking on the CW text should expand the status (#3855)
unarist [Mon, 19 Jun 2017 23:34:10 +0000 (08:34 +0900)]
Clicking on the CW text should expand the status (#3855)

8 years agoSet cursor:pointer only when necessary (#3857)
unarist [Mon, 19 Jun 2017 16:27:07 +0000 (01:27 +0900)]
Set cursor:pointer only when necessary (#3857)

8 years agoAdd Japanese translation "Action taken by" (#3850)
のら [Mon, 19 Jun 2017 13:12:41 +0000 (22:12 +0900)]
Add Japanese translation "Action taken by" (#3850)

8 years agosetting-for-account-deletable (#3852)
masarakki [Mon, 19 Jun 2017 13:12:31 +0000 (22:12 +0900)]
setting-for-account-deletable (#3852)

8 years agoRe-add disableHostCheck (regression #3729) (#3854)
Yamagishi Kazutoshi [Mon, 19 Jun 2017 12:01:31 +0000 (21:01 +0900)]
Re-add disableHostCheck (regression #3729) (#3854)

ref #2790

8 years agoLink to /about from public page on a single user instance (#3814)
Daigo 3 Dango [Mon, 19 Jun 2017 09:32:28 +0000 (23:32 -1000)]
Link to /about from public page on a single user instance (#3814)

There was no link for visitors to follow to see the about page.

8 years agoCover Block more (#3837)
Akihiko Odaki (@fn_aki@pawoo.net) [Mon, 19 Jun 2017 09:31:37 +0000 (18:31 +0900)]
Cover Block more (#3837)

8 years agoCover DomainBlock more (#3838)
Akihiko Odaki (@fn_aki@pawoo.net) [Mon, 19 Jun 2017 09:31:27 +0000 (18:31 +0900)]
Cover DomainBlock more (#3838)

8 years agoFix character/grapheme count stuff (#3839)
Gô Shoemake [Mon, 19 Jun 2017 09:31:14 +0000 (02:31 -0700)]
Fix character/grapheme count stuff (#3839)

* Bring Toot button in line with counter

Both should use stringz I guess

* Use grapheme_length for character count

8 years agoCover Export more (#3840)
Akihiko Odaki (@fn_aki@pawoo.net) [Mon, 19 Jun 2017 09:30:27 +0000 (18:30 +0900)]
Cover Export more (#3840)

8 years agoUnobserve status on unmount (#3851)
alpaca-tc [Mon, 19 Jun 2017 09:29:57 +0000 (18:29 +0900)]
Unobserve status on unmount (#3851)

8 years agoAdded new Catalan strings (#3843)
spla [Mon, 19 Jun 2017 08:29:18 +0000 (10:29 +0200)]
Added new Catalan strings (#3843)

* Add Catalan language

* Add Catalan language

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update settings_helper.rb

* Update mastodon.js

* Update index.js

* Update application.rb

* Update ca.yml

* removed extra spaces at line 225

* Catalan translation update

added activerecord.ca.yml

* Update activerecord.ca.yml

Done

* Updated activerecord.ca.yml

* Catalan language updated

* Catalan language updated

* Catalan language updated

* Catalan language updated

* Catalan language updated

* Update ca.json

Removed :

<<<<<<< HEAD
  "getting_started.support": "{faq} • {userguide} • {apps}",
=======
>>>>>>> upstream/master