]> cat aescling's git repositories - mastodon.git/log
mastodon.git
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

8 years agoFixes streaming callbacks of HashtagTimeline (#3849)
alpaca-tc [Mon, 19 Jun 2017 08:28:35 +0000 (17:28 +0900)]
Fixes streaming callbacks of HashtagTimeline (#3849)

8 years agoRename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Eugen Rochko [Sun, 18 Jun 2017 23:51:04 +0000 (01:51 +0200)]
Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)

Rename Activitypub to ActivityPub

8 years agoDebounce autosuggestions (#3836)
Eugen Rochko [Sun, 18 Jun 2017 23:50:56 +0000 (01:50 +0200)]
Debounce autosuggestions (#3836)

* Debounce autosuggestions

* Remove duplicate import

8 years agoCover Favourite more (#3841)
Akihiko Odaki (@fn_aki@pawoo.net) [Sun, 18 Jun 2017 23:38:50 +0000 (08:38 +0900)]
Cover Favourite more (#3841)

8 years agoSpec AccountDomainBlock (#3816)
Akihiko Odaki (@fn_aki@pawoo.net) [Sun, 18 Jun 2017 00:59:49 +0000 (09:59 +0900)]
Spec AccountDomainBlock (#3816)

8 years agoFix jittery scrolling for Chromium browsers (#3776) (#3832)
Nolan Lawson [Sun, 18 Jun 2017 00:59:29 +0000 (17:59 -0700)]
Fix jittery scrolling for Chromium browsers (#3776) (#3832)

8 years agohandle resize in a debounce() (#3834)
Nolan Lawson [Sun, 18 Jun 2017 00:57:41 +0000 (17:57 -0700)]
handle resize in a debounce() (#3834)

8 years agoUpgrade Webpacker to version 2.0 (#3729)
Yamagishi Kazutoshi [Sun, 18 Jun 2017 00:57:09 +0000 (09:57 +0900)]
Upgrade Webpacker to version 2.0 (#3729)

8 years agoWhitelist allowed classes for federated statuses (#3810)
nightpool [Sat, 17 Jun 2017 18:26:05 +0000 (14:26 -0400)]
Whitelist allowed classes for federated statuses (#3810)

* Whitelist allowed classes for federated statuses

Allowed classes are currently:

 - Any microformats class (h/p/u/dt/e-*)
 - the classes mention, hashtag, ellipses and invisible.

this last one is somewhat suspect, but Mastodon currently uses it to render hidden link text.

resolved #3790

* Fix code style

8 years agol10n update for account deletion (#3820)
Quent-in [Sat, 17 Jun 2017 18:21:25 +0000 (20:21 +0200)]
l10n update for account deletion  (#3820)

* l10n update for acount deletion

* l10n little change

* l10n little changes

Less passive voice, more natural.

* Update oc.yml

Correction, " added

8 years agoSpec UserMailer (#3757)
Akihiko Odaki (@fn_aki@pawoo.net) [Fri, 16 Jun 2017 23:15:00 +0000 (08:15 +0900)]
Spec UserMailer (#3757)

8 years agoUse cross-env for npm run on Windows (#3789)
unarist [Fri, 16 Jun 2017 23:14:42 +0000 (08:14 +0900)]
Use cross-env for npm run on Windows (#3789)

8 years agoFix ogp url (#3802)
abcang [Fri, 16 Jun 2017 20:38:26 +0000 (05:38 +0900)]
Fix ogp url (#3802)

8 years agoUpgrade react-immutable-pure-component to version 1.0.0 (#3786)
Yamagishi Kazutoshi [Thu, 15 Jun 2017 23:46:12 +0000 (08:46 +0900)]
Upgrade react-immutable-pure-component to version 1.0.0 (#3786)

8 years agoAdd alt attribute to ImageLoader (#3765)
Yamagishi Kazutoshi [Thu, 15 Jun 2017 12:10:41 +0000 (21:10 +0900)]
Add alt attribute to ImageLoader (#3765)

8 years agoFix #3633 by not spawning RemoteProfileUpdateWorker from FetchRemoteAccountService...
ThibG [Thu, 15 Jun 2017 09:04:23 +0000 (11:04 +0200)]
Fix #3633 by not spawning RemoteProfileUpdateWorker from FetchRemoteAccountService (#3642)

8 years agoBump version to 1.4.3
Eugen Rochko [Thu, 15 Jun 2017 01:03:42 +0000 (03:03 +0200)]
Bump version to 1.4.3

8 years agoupdated Polish translation (#3751)
m4sk1n [Thu, 15 Jun 2017 00:00:23 +0000 (02:00 +0200)]
updated Polish translation (#3751)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoFix regression from #3490 - filter out hidden statuses from ancestors/descendants...
Eugen Rochko [Thu, 15 Jun 2017 00:00:08 +0000 (02:00 +0200)]
Fix regression from #3490 - filter out hidden statuses from ancestors/descendants even if the viewer is anonymous (#3752)

8 years agoFix regression from #3748 - properly set defaultColumns (#3750)
Eugen Rochko [Wed, 14 Jun 2017 21:07:06 +0000 (23:07 +0200)]
Fix regression from #3748 - properly set defaultColumns (#3750)

8 years agoAdd Japanese translation for Account deletion (#3747)
unarist [Wed, 14 Jun 2017 20:00:08 +0000 (05:00 +0900)]
Add Japanese translation for Account deletion (#3747)

8 years agoFix merge default columns (#3748)
unarist [Wed, 14 Jun 2017 19:59:52 +0000 (04:59 +0900)]
Fix merge default columns (#3748)

mergeDeep also merges columns, but it should be replaced simply.

So in the new function, first apply mergeDeep except columns, and set default columns if columns unset.

8 years agoFix account delete form not accepting password, update suspended (#3745)
Eugen Rochko [Wed, 14 Jun 2017 18:30:12 +0000 (20:30 +0200)]
Fix account delete form not accepting password, update suspended (#3745)

account before removing content for quicker feedback to end-users

8 years agoi18n: updated Polish translation (#3744)
m4sk1n [Wed, 14 Jun 2017 18:08:00 +0000 (20:08 +0200)]
i18n: updated Polish translation (#3744)

8 years agoSave settings when they are changed (#3743)
Eugen Rochko [Wed, 14 Jun 2017 16:59:02 +0000 (18:59 +0200)]
Save settings when they are changed (#3743)

8 years agoBatched remove status service (#3735)
Eugen Rochko [Wed, 14 Jun 2017 16:01:35 +0000 (18:01 +0200)]
Batched remove status service (#3735)

* Make Pubsubhubbub::DistributionWorker handle both single stream entry
arguments, as well as arrays of stream entries

* Add BatchedRemoveStatusService, make SuspendAccountService use it

* Improve method names

* Add test

* Add more tests

* Use PuSH payloads of 100 to have a clear mapping of
1000 input statuses -> 10 PuSH payloads

It was nice while it lasted

8 years agoAccount deletion (#3728)
Eugen Rochko [Wed, 14 Jun 2017 16:01:27 +0000 (18:01 +0200)]
Account deletion (#3728)

* Add form for account deletion

* If avatar or header are gone from source, remove them

* Add option to have SuspendAccountService remove user record, add tests

* Exclude suspended accounts from search

8 years agoUpdate React to version v15.6 (#3736)
Yamagishi Kazutoshi [Wed, 14 Jun 2017 14:16:00 +0000 (23:16 +0900)]
Update React to version v15.6 (#3736)

8 years agoEnable useBuiltIns option of transform-object-rest-spread (#3737)
Yamagishi Kazutoshi [Wed, 14 Jun 2017 11:42:00 +0000 (20:42 +0900)]
Enable useBuiltIns option of transform-object-rest-spread (#3737)

8 years agoFix #2619 - When redis feed is empty, fall back to database (#3721)
Eugen Rochko [Wed, 14 Jun 2017 11:37:03 +0000 (13:37 +0200)]
Fix #2619 - When redis feed is empty, fall back to database (#3721)

* Fix #2619 - When redis feed is empty, fall back to database

* Use redis value to return feed from database only while RegenerationWorker
hasn't finished running

* Fix specs

* Replace usage of reject!

8 years agofix(status): Content jump due to height changes (#3734)
Sorin Davidoi [Tue, 13 Jun 2017 18:46:21 +0000 (20:46 +0200)]
fix(status): Content jump due to height changes (#3734)

8 years agoExclude packs/custom.js from webpack compilation to prevent breakage (#3719)
Eugen Rochko [Tue, 13 Jun 2017 01:55:36 +0000 (03:55 +0200)]
Exclude packs/custom.js from webpack compilation to prevent breakage (#3719)

due to the change in #3373

8 years agoSimplify getting started links localization. Link "powered by Mastodon" to joinmastod...
Eugen Rochko [Tue, 13 Jun 2017 01:55:28 +0000 (03:55 +0200)]
Simplify getting started links localization. Link "powered by Mastodon" to joinmastodon.org (#3725)

8 years agoFix #3675 - Adjust quality settings of converted GIFs to reduce filesize (#3723)
Eugen Rochko [Mon, 12 Jun 2017 22:51:48 +0000 (00:51 +0200)]
Fix #3675 - Adjust quality settings of converted GIFs to reduce filesize (#3723)

8 years agoFix unclickable onboardin modal regression (#3724)
Eugen Rochko [Mon, 12 Jun 2017 22:39:31 +0000 (00:39 +0200)]
Fix unclickable onboardin modal regression (#3724)

8 years agoi18n: minor fix in Polish translation (#3726)
m4sk1n [Mon, 12 Jun 2017 21:55:32 +0000 (23:55 +0200)]
i18n: minor fix in Polish translation (#3726)

* i18n: minor fix in Polish translation

* i18n

8 years agoUnread indicator was invisible behind column header, adjusted (#3720)
Eugen Rochko [Mon, 12 Jun 2017 18:02:17 +0000 (20:02 +0200)]
Unread indicator was invisible behind column header, adjusted (#3720)

* Unread indicator was invisible behind column header, adjusted

* Unread indicator now a CSS pseudo-element

* Adjust flex

8 years agoUpdate Russian translation (pin) (#3712)
Ratmir Karabut [Mon, 12 Jun 2017 10:53:20 +0000 (13:53 +0300)]
Update Russian translation (pin) (#3712)

* Update Russian translation (pin)

8 years agoRegenerate defaultMessages.json (#3709)
Yamagishi Kazutoshi [Mon, 12 Jun 2017 10:41:19 +0000 (19:41 +0900)]
Regenerate defaultMessages.json (#3709)

follow up #3564

8 years agoRe-add clear notifications button (#3708)
Yamagishi Kazutoshi [Mon, 12 Jun 2017 10:26:23 +0000 (19:26 +0900)]
Re-add clear notifications button (#3708)

* Re-add clear notifications button

* remove connect() in column_settings

* one line

* remove unused props

8 years agoFix locale related specs (#3707)
unarist [Mon, 12 Jun 2017 08:58:03 +0000 (17:58 +0900)]
Fix locale related specs (#3707)

* Use I18n.locale instead of ":en"
* Reset I18n.locale value after locale changing tests

8 years agoUpdate dependencies for Node.js (#3705)
Yamagishi Kazutoshi [Mon, 12 Jun 2017 08:54:02 +0000 (17:54 +0900)]
Update dependencies for Node.js (#3705)

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

* Update @storybook/react to v3.1.2

* Update babel-core to v6.25.0

* Update babel-preset-env to v1.5.2

* Update chai to version v4.0.2

* Update extract-text-webpack-plugin to v2.1.2

* Update file-loader to v0.11.2

* Update intersection-observer to v0.3.0

* Update pg to v6.2.4

* Update sinon to v2.3.4

* Update style-loader to v0.18.2

* Update websocket.js to v0.1.10

* Update react-redux-loading-bar to v2.9.2

* yarn upgrade

8 years agoFix regression from #3672 - Do not use pipeline around zscore (#3704)
Eugen Rochko [Mon, 12 Jun 2017 01:11:12 +0000 (03:11 +0200)]
Fix regression from #3672 - Do not use pipeline around zscore (#3704)

8 years agoFix an error when TagManager.local_url? is called with a bad URI (#3701)
ThibG [Sun, 11 Jun 2017 20:53:12 +0000 (22:53 +0200)]
Fix an error when TagManager.local_url? is called with a bad URI (#3701)

TagManager.local_url? was sometimes called with an URI with a nil host,
leading to a crash in TagManager.local_url?. This fixes moves the
already-existing uri.host.blank? check in front to avoid this case.

8 years agoFix #3582 - Update OStatus2 gem (#3699)
Eugen Rochko [Sun, 11 Jun 2017 15:47:29 +0000 (17:47 +0200)]
Fix #3582 - Update OStatus2 gem (#3699)

8 years agoFix removal of status sending the original status to mentioned users instead of delet...
Eugen Rochko [Sun, 11 Jun 2017 15:13:43 +0000 (17:13 +0200)]
Fix removal of status sending the original status to mentioned users instead of delete Salmon (#3672)

* Fix removal of status sending the original status to mentioned users instead
of delete Salmon, add test

* Create remove_status_service_spec.rb

8 years agoFix #3665 - Refactor timelines reducer (#3686)
Eugen Rochko [Sun, 11 Jun 2017 15:07:35 +0000 (17:07 +0200)]
Fix #3665 - Refactor timelines reducer (#3686)

* Move ancestors/descendants out of timelines reducer

* Refactor timelines reducer

All types of timelines now have a flat structure and use the same
reducer functions and actions

* Reintroduce some missing behaviours

* Fix wrong import in reports

* Fix includes typo

* Fix issue related to "next" pagination in timelines and notifications

* Fix bug with timeline's initial state, expandNotifications

8 years agoFix Account model deprecation warnings (#3689)
René Klačan [Sun, 11 Jun 2017 15:01:32 +0000 (17:01 +0200)]
Fix Account model deprecation warnings (#3689)

```
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:60)
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:60)
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:60)
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:61)
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:62)
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from block in <class:Account> at /Users/rene/Workspace/personal/ruby/mastodon/app/models/account.rb:63)
```

Here's PR describing changes to Dirty API https://github.com/rails/rails/pull/25337

8 years agoLocalize date in digest and cover NotificationMailer more (#3694)
Akihiko Odaki (@fn_aki@pawoo.net) [Sun, 11 Jun 2017 10:04:35 +0000 (19:04 +0900)]
Localize date in digest and cover NotificationMailer more (#3694)

* Localize date in digest

* Cover NotificationMailer more

8 years agoUpdate Russian translation (#3692)
Ratmir Karabut [Sun, 11 Jun 2017 08:43:01 +0000 (11:43 +0300)]
Update Russian translation (#3692)

8 years agoRemove comments for eslint-disable (#3691)
Yamagishi Kazutoshi [Sun, 11 Jun 2017 08:42:42 +0000 (17:42 +0900)]
Remove comments for eslint-disable (#3691)

8 years agoRefactor UpdateRemoteProfileService (#3690)
Yamagishi Kazutoshi [Sun, 11 Jun 2017 08:41:59 +0000 (17:41 +0900)]
Refactor UpdateRemoteProfileService (#3690)

8 years agoMake sure email is case insensitive on all places (#3688)
René Klačan [Sun, 11 Jun 2017 00:29:08 +0000 (02:29 +0200)]
Make sure email is case insensitive on all places (#3688)

When case insensitivity is enabled via devise's `config.case_insensitive_keys` then `.find_for_authentication` method needs to be used instead of `.find_by` because second mentioned returns `nil` when valid email with different cases is passed.

More info https://github.com/plataformatec/devise/wiki/How-To:-Use-case-insensitive-emails

8 years agoGem versions, including security-related mail gem update (#3687)
Matt Jankowski [Sat, 10 Jun 2017 18:26:50 +0000 (14:26 -0400)]
Gem versions, including security-related mail gem update (#3687)

* Update mail to version 2.6.6

* Update aws-sdk to version 2.9.37

* Update capybara to version 2.14.2

* Update oj to version 3.1.0

* Update sidekiq to version 5.0.2

* Update puma to version 3.9.1

* Update sanitize to version 4.5.0

* Update capistrano-rails to version 1.3.0

8 years agoUpdate NL for 1.4.2 (#3685)
Jeroen [Sat, 10 Jun 2017 15:26:01 +0000 (17:26 +0200)]
Update NL for 1.4.2 (#3685)

8 years agoImprove RTL detection (#3682)
Eugen Rochko [Sat, 10 Jun 2017 13:06:50 +0000 (15:06 +0200)]
Improve RTL detection (#3682)

- Use plaintext
- Strip out URLs
- Strip out mentions
- Strip out hashtags
- Strip out whitespace from "overall" count
- Consistent between JS and Ruby

8 years agoImprove default language decision and spec (#3351)
Akihiko Odaki (@fn_aki@pawoo.net) [Sat, 10 Jun 2017 07:44:02 +0000 (16:44 +0900)]
Improve default language decision and spec (#3351)

* Improve default language decision

This change allows to takes account of accepted language determined by
the user agent even if the custom default locale of the instance is
configured.

* Cover Localized more

* Fix code style

8 years agoMove create/destroy actions for api/v1/statuses to namespace (#3678)
Matt Jankowski [Sat, 10 Jun 2017 07:39:26 +0000 (03:39 -0400)]
Move create/destroy actions for api/v1/statuses to namespace (#3678)

Each of mute, favourite, reblog has been updated to:

- Have a separate controller with just a create and destroy action
- Preserve historical route names to not break the API
- Mild refactoring to break up long methods

8 years agoi18n: Minor fixes in Polish translation (#3674)
m4sk1n [Fri, 9 Jun 2017 21:08:09 +0000 (23:08 +0200)]
i18n: Minor fixes in Polish translation (#3674)

* i18n

* i18n

* i18n

* i18n

* i18n

8 years agoMove reblogged_by and favourited_by actions out of api/v1/statuses and into unique...
Matt Jankowski [Fri, 9 Jun 2017 18:12:40 +0000 (14:12 -0400)]
Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646)

* Add specs for api statuses routes

* Update favourited_by and reblogged_by api routes

* Move methods into new controllers

* Use load_accounts methods to simplify index actions

* Clean up load_accounts methods

* Clean up link header generation

* Check for link headers in specs

* Remove unused actions from api/v1/statuses controller

* Remove specs for moved actions

8 years agoFix issue with some Node.js versions not having Array.prototype.includes (#3667)
Eugen Rochko [Fri, 9 Jun 2017 17:46:33 +0000 (19:46 +0200)]
Fix issue with some Node.js versions not having Array.prototype.includes (#3667)

by using Array.prototype.indexOf instead

8 years agoFix #3658 - Update RTL styles (#3669)
Eugen Rochko [Fri, 9 Jun 2017 17:46:25 +0000 (19:46 +0200)]
Fix #3658 - Update RTL styles (#3669)

8 years agoCorrect validators so that existing error messages would look correct (#3668)
Eugen Rochko [Fri, 9 Jun 2017 17:46:01 +0000 (19:46 +0200)]
Correct validators so that existing error messages would look correct (#3668)

8 years agoi18n: updated Polish translation (#3670)
m4sk1n [Fri, 9 Jun 2017 17:15:55 +0000 (19:15 +0200)]
i18n: updated Polish translation (#3670)

8 years agoLanguage detection defaults to nil (#3666)
Matt Jankowski [Fri, 9 Jun 2017 16:09:37 +0000 (12:09 -0400)]
Language detection defaults to nil (#3666)

* Default to nil for statuses.language

* Language detection defaults to nil instead of instance UI default

8 years agoadjust the size of 'column-header__back-button' (retry) (#3662)
Clworld [Fri, 9 Jun 2017 14:22:28 +0000 (23:22 +0900)]
adjust the size of 'column-header__back-button' (retry) (#3662)

8 years agoRefactor views/admin/reports/show.html.haml (#3656)
Yamagishi Kazutoshi [Fri, 9 Jun 2017 13:08:06 +0000 (22:08 +0900)]
Refactor views/admin/reports/show.html.haml (#3656)

8 years agoAdd includes to Report#statuses (#3655)
Yamagishi Kazutoshi [Fri, 9 Jun 2017 13:07:02 +0000 (22:07 +0900)]
Add includes to Report#statuses (#3655)

8 years agoCheck ready state of document in public pages (#3652)
Yamagishi Kazutoshi [Fri, 9 Jun 2017 13:06:38 +0000 (22:06 +0900)]
Check ready state of document in public pages (#3652)

* Check ready state of document in public pages

* add check interactive

8 years agoadjust the size of column-header__back-button (#3654)
ふぁぼ原 [Fri, 9 Jun 2017 13:05:26 +0000 (22:05 +0900)]
adjust the size of column-header__back-button (#3654)

8 years agoAdd Japanese translation for #3640 (#3650)
unarist [Fri, 9 Jun 2017 01:14:15 +0000 (10:14 +0900)]
Add Japanese translation for #3640 (#3650)

8 years agoFix regression from #3592 - validation condition nesting (#3644)
Eugen Rochko [Thu, 8 Jun 2017 17:10:48 +0000 (19:10 +0200)]
Fix regression from #3592 - validation condition nesting (#3644)

8 years agoBump version to 1.4.2
Eugen Rochko [Thu, 8 Jun 2017 13:30:43 +0000 (15:30 +0200)]
Bump version to 1.4.2

8 years agoFix db:seed - only run some validations when the field was changed (#3592)
Eugen Rochko [Thu, 8 Jun 2017 13:22:01 +0000 (15:22 +0200)]
Fix db:seed - only run some validations when the field was changed (#3592)

* Fix db:seed - only run some validations when the field was changed

* Add tests

8 years agoFix #3378 - If favourite/reblog already exists, return it instead of failing (#3641)
Eugen Rochko [Thu, 8 Jun 2017 13:07:39 +0000 (15:07 +0200)]
Fix #3378 - If favourite/reblog already exists, return it instead of failing (#3641)

8 years agoAdd explit admin actions to (re)subscribe/unsubscribe remote accounts (#3640)
Eugen Rochko [Thu, 8 Jun 2017 12:58:22 +0000 (14:58 +0200)]
Add explit admin actions to (re)subscribe/unsubscribe remote accounts (#3640)

* Add explit admin actions to (re)subscribe/unsubscribe remote accounts
and re-download avatar/header

* Improve how admin NSFW toggle looks

8 years agoSupport multiple trusted proxy ip addresses (#3639)
nullkal [Thu, 8 Jun 2017 12:33:28 +0000 (21:33 +0900)]
Support multiple trusted proxy ip addresses (#3639)

* Support multiple trusted proxy ip addresses

* correct coding style

8 years agoFixes #3605 by returning account from database in case of race condition (#3606)
ThibG [Thu, 8 Jun 2017 11:40:11 +0000 (13:40 +0200)]
Fixes #3605 by returning account from database in case of race condition (#3606)

8 years agoImprove RuboCop rules (compatibility to Code Climate) (#3636)
Yamagishi Kazutoshi [Thu, 8 Jun 2017 11:24:28 +0000 (20:24 +0900)]
Improve RuboCop rules (compatibility to Code Climate) (#3636)

https://github.com/codeclimate/codeclimate-rubocop/blob/08f8de84ebfb39caa96391e23816877278f6441c/Gemfile.lock#L38
Code Climate is using RuboCop v0.46.0.

Change several rules to maintain compatibility.

8 years agoAdd Japanese translations (#3635)
Yamagishi Kazutoshi [Thu, 8 Jun 2017 11:23:56 +0000 (20:23 +0900)]
Add Japanese translations (#3635)

8 years agoi18n: Update Polish translation (#3637)
m4sk1n [Thu, 8 Jun 2017 11:23:40 +0000 (13:23 +0200)]
i18n: Update Polish translation (#3637)

8 years agofix: Warn if JavaScript is disabled (#3634)
Sorin Davidoi [Wed, 7 Jun 2017 22:52:56 +0000 (00:52 +0200)]
fix: Warn if JavaScript is disabled (#3634)

8 years agoAdd rake task to prepare database for foreign keys introduced by #3562 (#3614)
Eugen Rochko [Wed, 7 Jun 2017 18:16:53 +0000 (20:16 +0200)]
Add rake task to prepare database for foreign keys introduced by #3562 (#3614)

* Add rake task to prepare database for foreign keys introduced by #3562

* Fix typo

* Do not delete OAuth values where NULL values may be permitted

* Fix typo

8 years agoClean up for api/base controller (#3629)
Matt Jankowski [Wed, 7 Jun 2017 18:09:25 +0000 (14:09 -0400)]
Clean up for api/base controller (#3629)

* Move ApiController to Api/BaseController

* API controllers inherit from Api::BaseController

* Add coverage for various error cases in api/base controller

8 years agoRest of 2FA translated + small fix (#3630)
jeroenpraat [Wed, 7 Jun 2017 18:08:34 +0000 (20:08 +0200)]
Rest of 2FA  translated + small fix (#3630)

8 years agofix(components/autosuggest_textarea): Race condition regarding onBlur (#3631)
Sorin Davidoi [Wed, 7 Jun 2017 18:05:53 +0000 (20:05 +0200)]
fix(components/autosuggest_textarea): Race condition regarding onBlur (#3631)

8 years agoUse "match_array" only for order independent assertions (#3626)
unarist [Wed, 7 Jun 2017 16:59:28 +0000 (01:59 +0900)]
Use "match_array" only for order independent assertions (#3626)

8 years agoFix broken screenshot
Eugen Rochko [Wed, 7 Jun 2017 15:53:47 +0000 (17:53 +0200)]
Fix broken screenshot

8 years agoCoverage improvement and concern extraction for rate limit headers in API controller...
Matt Jankowski [Wed, 7 Jun 2017 15:23:26 +0000 (11:23 -0400)]
Coverage improvement and concern extraction for rate limit headers in API controller (#3625)

* Coverage for rate limit headers

* Move rate limit headers methods to concern

* Move throttle check to condition on before_action

* Move match_data variable into method

* Move utc timestamp to separate method

* Move header setting into smaller methods

* specs cleanup

8 years agoFix Code Climate failed (regression from #3622) (#3624)
Yamagishi Kazutoshi [Wed, 7 Jun 2017 13:57:59 +0000 (22:57 +0900)]
Fix Code Climate failed (regression from #3622) (#3624)

8 years agoAllow "class" attribute on the "a" tag in sanitization (#3623)
unarist [Wed, 7 Jun 2017 13:57:30 +0000 (22:57 +0900)]
Allow "class" attribute on the "a" tag in sanitization (#3623)

This preserves `<a ... class="u-url mention">` from other Mastodon instances.