]> cat aescling's git repositories - mastodon.git/log
mastodon.git
7 years agoRTL: fix column-back-button__icon margins/content (#9112)
Masoud Abkenar [Fri, 26 Oct 2018 20:49:39 +0000 (22:49 +0200)]
RTL: fix column-back-button__icon margins/content (#9112)

* RTL: fix column-back-button__icon margins/content

* Update rtl.scss

* Update rtl.scss

7 years agoFix styling in /auth/edit (#9117)
ThibG [Fri, 26 Oct 2018 20:49:17 +0000 (22:49 +0200)]
Fix styling in /auth/edit (#9117)

7 years agoIgnore invalid hashtags on remote statuses instead of rejecting them (#9118)
ThibG [Fri, 26 Oct 2018 20:48:35 +0000 (22:48 +0200)]
Ignore invalid hashtags on remote statuses instead of rejecting them (#9118)

Fixes #9115

7 years agoFix missing `mention` argument when processing incoming Create activities (#9114)
ThibG [Fri, 26 Oct 2018 10:59:59 +0000 (12:59 +0200)]
Fix missing `mention` argument when processing incoming Create activities (#9114)

* Fix missing `mention` argument when processing incoming Create activities

* Fix typo (param → params)

7 years agoSkip link-back check if body is nil (#9107)
abcang [Fri, 26 Oct 2018 01:31:23 +0000 (10:31 +0900)]
Skip link-back check if body is nil (#9107)

7 years agoRemove character counter from edit profile (#9100)
Eugen Rochko [Thu, 25 Oct 2018 23:55:24 +0000 (01:55 +0200)]
Remove character counter from edit profile (#9100)

* Remove display name and bio counter hint, simply limit input

* Remove now redundant translations

* Fix code style issue

7 years agoFix direct messages column not loading more items on scroll (#9102)
Eugen Rochko [Thu, 25 Oct 2018 23:55:08 +0000 (01:55 +0200)]
Fix direct messages column not loading more items on scroll (#9102)

Fix #9097

7 years agoFix conversations not being marked read on click (#9103)
Eugen Rochko [Thu, 25 Oct 2018 23:54:58 +0000 (01:54 +0200)]
Fix conversations not being marked read on click (#9103)

Fix #9096

7 years agoDo not fetch preview card for mentioned users (#6934)
ThibG [Thu, 25 Oct 2018 16:13:19 +0000 (18:13 +0200)]
Do not fetch preview card for mentioned users (#6934)

7 years agoAllow inbox owner to view implicitly targeted ActivityPub payload (#9093)
Eugen Rochko [Thu, 25 Oct 2018 16:12:22 +0000 (18:12 +0200)]
Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)

Fix #9091

7 years agocli: set exit_on_failure for all CLI classes (#9094)
Sascha [Thu, 25 Oct 2018 14:05:33 +0000 (16:05 +0200)]
cli: set exit_on_failure for all CLI classes (#9094)

7 years agoi18n: Update Polish translation (#9070)
Marcin Mikołajczak [Thu, 25 Oct 2018 10:45:18 +0000 (12:45 +0200)]
i18n: Update Polish translation (#9070)

* i18n: Update Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* kruci

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* Update config/locales/pl.yml

Co-Authored-By: m4sk1n <me@m4sk.in>
7 years agoBump parallel_tests from 2.24.0 to 2.25.0 (#9090)
dependabot[bot] [Thu, 25 Oct 2018 06:29:25 +0000 (08:29 +0200)]
Bump parallel_tests from 2.24.0 to 2.25.0 (#9090)

Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.24.0...v2.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump aws-sdk-s3 from 1.21.0 to 1.23.0 (#9089)
dependabot[bot] [Thu, 25 Oct 2018 06:29:12 +0000 (08:29 +0200)]
Bump aws-sdk-s3 from 1.21.0 to 1.23.0 (#9089)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump version to 2.6.0rc2 (#9087)
Eugen Rochko [Thu, 25 Oct 2018 02:42:25 +0000 (04:42 +0200)]
Bump version to 2.6.0rc2 (#9087)

* Bump version to 2.6.0rc2

* Update CHANGELOG.md

7 years agoAllow cross-origin requests to /.well-known/* URLs. (#9083)
Ben Lubar [Thu, 25 Oct 2018 01:13:35 +0000 (20:13 -0500)]
Allow cross-origin requests to /.well-known/* URLs. (#9083)

Right now, this includes three endpoints: host-meta, webfinger, and change-password.

host-meta and webfinger are publicly available and do not use any authentication. Nothing bad can be done by accessing them in a user's browser.

change-password being CORS-enabled will only reveal the URL it redirects to (which is /auth/edit) but not anything about the actual /auth/edit page, because it does not have CORS enabled.

The documentation for hosting an instance on a different domain should also be updated to point out that Access-Control-Allow-Origin: * should be set at a minimum for the /.well-known/host-meta redirect to allow browser-based non-proxied instance discovery.

7 years agoMigrate all old direct messages to new conversations schema (#9085)
Eugen Rochko [Wed, 24 Oct 2018 23:44:02 +0000 (01:44 +0200)]
Migrate all old direct messages to new conversations schema (#9085)

7 years agoAdd consistent interpolations check to CircleCI (#9072)
Eugen Rochko [Wed, 24 Oct 2018 23:17:01 +0000 (01:17 +0200)]
Add consistent interpolations check to CircleCI (#9072)

* Add consistent interpolations check to CircleCI

* Fix locale strings using wrong variables

7 years agoSet @body_classes to admin layout (#9081)
Yamagishi Kazutoshi [Wed, 24 Oct 2018 22:10:01 +0000 (07:10 +0900)]
Set @body_classes to admin layout (#9081)

7 years agoFix missing plural keys (#9084)
Eugen Rochko [Wed, 24 Oct 2018 22:09:45 +0000 (00:09 +0200)]
Fix missing plural keys (#9084)

* Update i18n-tasks to feature-missing-plural-keys

* Fix pluralizations with missing keys in Arabic

Fix #8554

* Add i18n-tasks missing-plural-keys to CircleCI

7 years agoFix RTL layout of status display names (#9075)
Eugen Rochko [Wed, 24 Oct 2018 16:18:08 +0000 (18:18 +0200)]
Fix RTL layout of status display names (#9075)

Fix #2350

7 years agoShow upload options on click as well as hover (#9074)
Eugen Rochko [Wed, 24 Oct 2018 16:17:15 +0000 (18:17 +0200)]
Show upload options on click as well as hover (#9074)

Fix #8918

7 years agoBump capybara from 3.9.0 to 3.10.0 (#9077)
dependabot[bot] [Wed, 24 Oct 2018 14:22:18 +0000 (23:22 +0900)]
Bump capybara from 3.9.0 to 3.10.0 (#9077)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.9.0...3.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump rspec-rails from 3.8.0 to 3.8.1 (#9078)
dependabot[bot] [Wed, 24 Oct 2018 05:51:04 +0000 (07:51 +0200)]
Bump rspec-rails from 3.8.0 to 3.8.1 (#9078)

Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/rspec/rspec-rails/releases)
- [Changelog](https://github.com/rspec/rspec-rails/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump i18n-tasks from 0.9.26 to 0.9.27 (#9079)
dependabot[bot] [Wed, 24 Oct 2018 05:50:34 +0000 (07:50 +0200)]
Bump i18n-tasks from 0.9.26 to 0.9.27 (#9079)

Bumps [i18n-tasks](https://github.com/glebm/i18n-tasks) from 0.9.26 to 0.9.27.
- [Release notes](https://github.com/glebm/i18n-tasks/releases)
- [Changelog](https://github.com/glebm/i18n-tasks/blob/master/CHANGES.md)
- [Commits](https://github.com/glebm/i18n-tasks/compare/v0.9.26...v0.9.27)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoFix JS error when posting from page without router context (#9073)
Eugen Rochko [Tue, 23 Oct 2018 23:31:31 +0000 (01:31 +0200)]
Fix JS error when posting from page without router context (#9073)

Fix #9057

7 years agoBump i18n-tasks from 0.9.25 to 0.9.26 (#9071)
dependabot[bot] [Tue, 23 Oct 2018 21:11:37 +0000 (23:11 +0200)]
Bump i18n-tasks from 0.9.25 to 0.9.26 (#9071)

Bumps [i18n-tasks](https://github.com/glebm/i18n-tasks) from 0.9.25 to 0.9.26.
- [Release notes](https://github.com/glebm/i18n-tasks/releases)
- [Changelog](https://github.com/glebm/i18n-tasks/blob/master/CHANGES.md)
- [Commits](https://github.com/glebm/i18n-tasks/compare/v0.9.25...v0.9.26)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump parallel_tests from 2.23.0 to 2.24.0 (#9064)
dependabot[bot] [Tue, 23 Oct 2018 06:17:26 +0000 (08:17 +0200)]
Bump parallel_tests from 2.23.0 to 2.24.0 (#9064)

Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.23.0...v2.24.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoUpdate Dockerfile (#9026)
ashleyhull-versent [Tue, 23 Oct 2018 03:21:28 +0000 (14:21 +1100)]
Update Dockerfile (#9026)

7 years agoFix public timelines not instantly updating on compose (#9050)
Eugen Rochko [Mon, 22 Oct 2018 22:43:18 +0000 (00:43 +0200)]
Fix public timelines not instantly updating on compose (#9050)

Fix #9034

7 years agoShow suggested follows on search screen in mobile layout (#9010)
Eugen Rochko [Mon, 22 Oct 2018 22:08:39 +0000 (00:08 +0200)]
Show suggested follows on search screen in mobile layout (#9010)

Reminder: Suggestions were added in #7918 and are based on who you
interact with who you do not follow. E.g. if you boost someone a lot
from seeing other people's boosts of that person, it makes sense you
might be interested in following the original source; or if you reply
to someone a lot, maybe you'd want to follow them

Each suggestion can be dismissed

7 years agoPersist volumes by default in docker-compose (#9055)
Eugen Rochko [Mon, 22 Oct 2018 22:08:25 +0000 (00:08 +0200)]
Persist volumes by default in docker-compose (#9055)

Too many databases were lost to this

7 years agoRevert "RTL: remove blank character inside bdi (#9038)" (#9056)
Eugen Rochko [Mon, 22 Oct 2018 21:23:00 +0000 (23:23 +0200)]
Revert "RTL: remove blank character inside bdi (#9038)" (#9056)

This reverts commit c7e9f9ff1ed1def7f14f6ca4ac2836005eeefa47.

7 years agoDowngrade fog-openstack to 0.3.7 and fog-core to 2.1.0 (#9049)
Eugen Rochko [Mon, 22 Oct 2018 14:58:36 +0000 (16:58 +0200)]
Downgrade fog-openstack to 0.3.7 and fog-core to 2.1.0 (#9049)

Fix #8889

7 years agoFix cull tripping on nil in last_webfingered_at (#9051)
Eugen Rochko [Mon, 22 Oct 2018 14:58:08 +0000 (16:58 +0200)]
Fix cull tripping on nil in last_webfingered_at (#9051)

Fix #8741

7 years agoRTL: remove blank character inside bdi (#9038)
Masoud Abkenar [Sun, 21 Oct 2018 23:04:32 +0000 (01:04 +0200)]
RTL: remove blank character inside bdi (#9038)

* RTL: remove blank character inside bdi

* Update app/javascript/mastodon/components/display_name.js

Co-Authored-By: mabkenar <ampbox@gmail.com>
7 years agoFix tootctl cull on dead servers (#9041)
Jeong Arm [Sun, 21 Oct 2018 20:52:27 +0000 (05:52 +0900)]
Fix tootctl cull on dead servers (#9041)

* Delete first 9 accounts on dead servers

* Clean up code by moving dead server culling to the end

7 years agoFix og:url on toots' public view (#9047)
ThibG [Sun, 21 Oct 2018 20:52:10 +0000 (22:52 +0200)]
Fix og:url on toots' public view (#9047)

Fixes #9045

7 years agoRTL: fix cardbar margins and alignment (#9044)
Masoud Abkenar [Sun, 21 Oct 2018 16:37:57 +0000 (18:37 +0200)]
RTL: fix cardbar margins and alignment (#9044)

7 years agoRTL: fix admin account avatar margin in about page (#9039)
Masoud Abkenar [Sun, 21 Oct 2018 14:45:08 +0000 (16:45 +0200)]
RTL: fix admin account avatar margin in about page (#9039)

* RTL: fix admin account avatar margin in about page

* fix code style

7 years agoHandle if username is not found on tootctl feeds build (#9040)
Jeong Arm [Sun, 21 Oct 2018 14:42:22 +0000 (23:42 +0900)]
Handle if username is not found on tootctl feeds build (#9040)

7 years agoFix crash when using UNIX socket (#9036)
Gomasy [Sun, 21 Oct 2018 14:41:33 +0000 (23:41 +0900)]
Fix crash when using UNIX socket (#9036)

7 years agoRTL: fix column settings toggle label (#9037)
Masoud Abkenar [Sun, 21 Oct 2018 11:31:40 +0000 (13:31 +0200)]
RTL: fix column settings toggle label (#9037)

7 years agoFix domain label position and color (#9033)
kedama [Sun, 21 Oct 2018 05:35:25 +0000 (14:35 +0900)]
Fix domain label position and color (#9033)

* Fix position of the domain label

* Fix position of the domain label for RTL

- Fix color mismatch of linear gradient which assigned to "::after" pseudo class

7 years agoBump version to 2.6.0rc1 (#9025)
Eugen Rochko [Sat, 20 Oct 2018 22:49:36 +0000 (00:49 +0200)]
Bump version to 2.6.0rc1 (#9025)

* Bump version to 2.6.0rc1

* Update AUTHORS.md

* Update CHANGELOG.md

7 years agofix: Execute PAM authentication tests on CircleCI (#9029)
takayamaki [Sat, 20 Oct 2018 15:28:04 +0000 (00:28 +0900)]
fix: Execute PAM authentication tests on CircleCI (#9029)

and use 'if' option of context block

7 years agoAdd option to block reports from domain (#8830)
Eugen Rochko [Sat, 20 Oct 2018 06:02:44 +0000 (08:02 +0200)]
Add option to block reports from domain (#8830)

7 years agoDo not test PAM authentication by default (#9027)
Eugen Rochko [Sat, 20 Oct 2018 05:32:26 +0000 (07:32 +0200)]
Do not test PAM authentication by default (#9027)

* Do not test PAM authentication by default

* Disable PAM tests if PAM is not enabled

7 years agoAdd "disable" button to report screen (#9024)
Eugen Rochko [Sat, 20 Oct 2018 00:39:39 +0000 (02:39 +0200)]
Add "disable" button to report screen (#9024)

* Add "disable" button to report screen

* i18n-tasks remove-unused

7 years agoCheck if port/socket is available before forking in Streaming API (#9023)
Eugen Rochko [Sat, 20 Oct 2018 00:25:25 +0000 (02:25 +0200)]
Check if port/socket is available before forking in Streaming API (#9023)

Previously, the server would attempt taking port/socket in worker
process, and if it was taken, fail, which made the master process
create a new worker. This led to really high CPU usage if the
streaming API was started when the port or socket were not
available.

Now, before clustering (forking) into worker processes, a test
server is created and then removed to check if it can be done.

7 years agoRedesign direct messages column (#9022)
Eugen Rochko [Sat, 20 Oct 2018 00:23:58 +0000 (02:23 +0200)]
Redesign direct messages column (#9022)

7 years agoRTL: fix preferences layout (#9021)
Masoud Abkenar [Fri, 19 Oct 2018 23:05:17 +0000 (01:05 +0200)]
RTL: fix preferences layout (#9021)

7 years agoFix admin account avatar margin (#9020)
bsky [Fri, 19 Oct 2018 18:35:42 +0000 (03:35 +0900)]
Fix admin account avatar margin (#9020)

7 years agoBump strong_migrations from 0.3.0 to 0.3.1 (#9015)
dependabot[bot] [Fri, 19 Oct 2018 16:51:40 +0000 (18:51 +0200)]
Bump strong_migrations from 0.3.0 to 0.3.1 (#9015)

Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/ankane/strong_migrations/releases)
- [Changelog](https://github.com/ankane/strong_migrations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/strong_migrations/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoImprove README (#9012)
Eugen Rochko [Fri, 19 Oct 2018 16:49:35 +0000 (18:49 +0200)]
Improve README (#9012)

* Improve README

* Update README.md

* Update README.md

* Update README.md

* Update README.md

7 years agoUpdate CONTRIBUTING.md (#9014)
Eugen Rochko [Fri, 19 Oct 2018 14:41:25 +0000 (16:41 +0200)]
Update CONTRIBUTING.md (#9014)

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

7 years agoBump tzinfo-data from 1.2018.5 to 1.2018.6 (#9016)
dependabot[bot] [Fri, 19 Oct 2018 11:20:07 +0000 (20:20 +0900)]
Bump tzinfo-data from 1.2018.5 to 1.2018.6 (#9016)

Bumps [tzinfo-data](https://github.com/tzinfo/tzinfo-data) from 1.2018.5 to 1.2018.6.
- [Release notes](https://github.com/tzinfo/tzinfo-data/releases)
- [Commits](https://github.com/tzinfo/tzinfo-data/compare/v1.2018.5...v1.2018.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoRTL: fix user stats in about page (#9018)
Masoud Abkenar [Fri, 19 Oct 2018 11:16:13 +0000 (13:16 +0200)]
RTL: fix user stats in about page (#9018)

7 years agoAdd unread indicator to conversations (#9009)
Eugen Rochko [Thu, 18 Oct 2018 23:47:29 +0000 (01:47 +0200)]
Add unread indicator to conversations (#9009)

7 years agofix: initial state of PrivacyDropdown is should not be null (#9008)
takayamaki [Thu, 18 Oct 2018 22:00:19 +0000 (07:00 +0900)]
fix: initial state of PrivacyDropdown is should not be null (#9008)

7 years agoUse Ruby ==2.5.2== 2.5.3 (#9003)
Daigo 3 Dango [Thu, 18 Oct 2018 20:32:47 +0000 (10:32 -1000)]
Use Ruby ==2.5.2== 2.5.3 (#9003)

* Use Ruby 2.5.2

* Specify 2.5.2p104 as RUBY VERSION

Heorku refers to RUBY VERSION in Gemfile.lock

* Use ruby-2.5.3

7 years agoRTL: fix domain append at signup form (#9007)
Masoud Abkenar [Thu, 18 Oct 2018 19:19:31 +0000 (21:19 +0200)]
RTL: fix domain append at signup form (#9007)

7 years agoFix fav/boosts hotkeys not working on detailed statuses (#9006)
ThibG [Thu, 18 Oct 2018 17:52:00 +0000 (19:52 +0200)]
Fix fav/boosts hotkeys not working on detailed statuses (#9006)

7 years agoRTL: fix admin account margins in about page (#9005)
Masoud Abkenar [Thu, 18 Oct 2018 12:35:49 +0000 (14:35 +0200)]
RTL: fix admin account margins in about page (#9005)

7 years agoDo not show "limited" visibility in default visibility preference (#8999)
Eugen Rochko [Wed, 17 Oct 2018 20:04:40 +0000 (22:04 +0200)]
Do not show "limited" visibility in default visibility preference (#8999)

* Do not show "limited" visibility in default visibility preference

Fix regression from #8950

* Fix code style issue

7 years agoImprove support for aspects/circles (#8950)
Eugen Rochko [Wed, 17 Oct 2018 15:13:04 +0000 (17:13 +0200)]
Improve support for aspects/circles (#8950)

* Add silent column to mentions

* Save silent mentions in ActivityPub Create handler and optimize it

Move networking calls out of the database transaction

* Add "limited" visibility level masked as "private" in the API

Unlike DMs, limited statuses are pushed into home feeds. The access
control rules between direct and limited statuses is almost the same,
except for counter and conversation logic

* Ensure silent column is non-null, add spec

* Ensure filters don't check silent mentions for blocks/mutes

As those are "this person is also allowed to see" rather than "this
person is involved", therefore does not warrant filtering

* Clean up code

* Use Status#active_mentions to limit returned mentions

* Fix code style issues

* Use Status#active_mentions in Notification

And remove stream_entry eager-loading from Notification

7 years agoBump oj from 3.6.11 to 3.6.12 (#8996)
dependabot[bot] [Wed, 17 Oct 2018 14:56:26 +0000 (16:56 +0200)]
Bump oj from 3.6.11 to 3.6.12 (#8996)

Bumps [oj](https://github.com/ohler55/oj) from 3.6.11 to 3.6.12.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.6.11...v3.6.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoHandle global hotkeys even when no element has focus (#8998)
ThibG [Wed, 17 Oct 2018 14:56:16 +0000 (16:56 +0200)]
Handle global hotkeys even when no element has focus (#8998)

This fixes hotkeys not working when pressing the column
“back” button, for instance.

7 years agoAdd destroy_custom_emoji translation (#8997)
Gomasy [Wed, 17 Oct 2018 14:54:59 +0000 (23:54 +0900)]
Add destroy_custom_emoji translation (#8997)

Includes Japanese and English

7 years agoFix some bad localization strings (#8994)
Quint Guvernator [Tue, 16 Oct 2018 21:42:55 +0000 (17:42 -0400)]
Fix some bad localization strings (#8994)

* fix finnish locale variable issue

* fix broken welsh localized string

7 years agoalways allow DMs from staff (#8993)
Quint Guvernator [Tue, 16 Oct 2018 17:55:05 +0000 (13:55 -0400)]
always allow DMs from staff (#8993)

7 years agoone user i18n (#8992)
Julian [Tue, 16 Oct 2018 12:09:03 +0000 (14:09 +0200)]
one user i18n (#8992)

In german one female user is "Benutzerin" not "Benutzerinnen"

7 years agoImprove form for selecting media display preference (#8965)
Eugen Rochko [Tue, 16 Oct 2018 12:07:54 +0000 (14:07 +0200)]
Improve form for selecting media display preference (#8965)

Regression from #8569

7 years agoBump strong_migrations from 0.2.3 to 0.3.0 (#8991)
dependabot[bot] [Tue, 16 Oct 2018 05:50:09 +0000 (07:50 +0200)]
Bump strong_migrations from 0.2.3 to 0.3.0 (#8991)

Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.2.3 to 0.3.0.
- [Release notes](https://github.com/ankane/strong_migrations/releases)
- [Changelog](https://github.com/ankane/strong_migrations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/strong_migrations/compare/v0.2.3...v0.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoFix feature request issue template
Eugen Rochko [Tue, 16 Oct 2018 01:02:01 +0000 (03:02 +0200)]
Fix feature request issue template

7 years agoUpdate issue templates (#8989)
Eugen Rochko [Tue, 16 Oct 2018 01:01:07 +0000 (03:01 +0200)]
Update issue templates (#8989)

* Update issue templates

* Update bug_report.md

* Update feature_request.md

* Update support.md

* Update feature_request.md

7 years agoFixes 8987 broken alignment at "Remote interaction dialog" (#8988)
Masoud Abkenar [Mon, 15 Oct 2018 14:09:08 +0000 (16:09 +0200)]
Fixes 8987 broken alignment at "Remote interaction dialog" (#8988)

7 years agoundo part of PR 8202 to fix RTL (#8979)
Masoud Abkenar [Mon, 15 Oct 2018 02:39:20 +0000 (04:39 +0200)]
undo part of PR 8202 to fix RTL (#8979)

7 years agofix invites in italian language (#8982)
jooops [Mon, 15 Oct 2018 02:38:41 +0000 (04:38 +0200)]
fix invites in italian language (#8982)

* fix invites in italian language

* fix invites in italian language

7 years agoFix description about custom mascot. (#8974)
mayaeh [Sat, 13 Oct 2018 15:00:15 +0000 (00:00 +0900)]
Fix description about custom mascot. (#8974)

7 years agoImprove style of notice/alert messages (#8973)
Eugen Rochko [Fri, 12 Oct 2018 23:51:30 +0000 (01:51 +0200)]
Improve style of notice/alert messages (#8973)

7 years agoWeblate translations (2018-10-12) (#8972)
Eugen Rochko [Fri, 12 Oct 2018 23:51:14 +0000 (01:51 +0200)]
Weblate translations (2018-10-12) (#8972)

* Translated using Weblate (Welsh)

Currently translated at 64.4% (448 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cy/

* Translated using Weblate (Arabic)

Currently translated at 98.0% (682 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/

* Translated using Weblate (French)

Currently translated at 99.9% (695 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/

* Translated using Weblate (Arabic)

Currently translated at 94.3% (82 of 87 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/

* Translated using Weblate (Welsh)

Currently translated at 88.7% (297 of 335 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cy/

* Translated using Weblate (French)

Currently translated at 100.0% (335 of 335 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/

* Translated using Weblate (French)

Currently translated at 100,0% (87 of 87 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fr/

* Translated using Weblate (Czech)

Currently translated at 100.0% (335 of 335 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/

* Translated using Weblate (Czech)

Currently translated at 100.0% (87 of 87 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/

* Translated using Weblate (Czech)

Currently translated at 99.9% (695 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/

* Translated using Weblate (Persian)

Currently translated at 100.0% (335 of 335 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fa/

* Translated using Weblate (Arabic)

Currently translated at 94.6% (88 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/

* Translated using Weblate (Arabic)

Currently translated at 100.0% (335 of 335 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/

* Translated using Weblate (Czech)

Currently translated at 100.0% (93 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/

* Translated using Weblate (Galician)

Currently translated at 100,0% (93 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/gl/

* Translated using Weblate (Galician)

Currently translated at 100,0% (696 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/

* Translated using Weblate (Greek)

Currently translated at 100.0% (93 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/el/

* Translated using Weblate (Greek)

Currently translated at 98.8% (331 of 335 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/

* Translated using Weblate (Greek)

Currently translated at 99.7% (694 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/

* Translated using Weblate (Persian)

Currently translated at 100.0% (93 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fa/

* Translated using Weblate (Czech)

Currently translated at 99.9% (695 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/

* Translated using Weblate (French)

Currently translated at 100,0% (93 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fr/

* Translated using Weblate (French)

Currently translated at 99.9% (695 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/

* Translated using Weblate (Japanese)

Currently translated at 99.4% (692 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/

* Translated using Weblate (Corsican)

Currently translated at 100.0% (93 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/co/

* Translated using Weblate (Corsican)

Currently translated at 99.9% (695 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/

* Translated using Weblate (German)

Currently translated at 99.6% (693 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/

* Translated using Weblate (German)

Currently translated at 100,0% (93 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/de/

* Translated using Weblate (Japanese)

Currently translated at 99.4% (692 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/

* Translated using Weblate (Japanese)

Currently translated at 99.9% (695 of 696 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (335 of 335 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/

* Translated using Weblate (Japanese)

Currently translated at 94.6% (88 of 93 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ja/

* i18n-tasks normalize

* yarn manage:translations

7 years agoBump pundit from 1.1.0 to 2.0.0 (#8873)
dependabot[bot] [Fri, 12 Oct 2018 20:48:16 +0000 (22:48 +0200)]
Bump pundit from 1.1.0 to 2.0.0 (#8873)

Bumps [pundit](https://github.com/varvet/pundit) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/compare/v1.1.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoAdd manifest_src to CSP, add blob to connect_src (#8967)
ThibG [Fri, 12 Oct 2018 17:07:30 +0000 (19:07 +0200)]
Add manifest_src to CSP, add blob to connect_src (#8967)

7 years agoDisplay customized mascot in web UI and fix admin form for it (#8964)
Eugen Rochko [Fri, 12 Oct 2018 02:04:08 +0000 (04:04 +0200)]
Display customized mascot in web UI and fix admin form for it (#8964)

Follow-up to #8766

7 years agoFix missing protocol in dns-prefetch, improve code style (#8963)
Eugen Rochko [Fri, 12 Oct 2018 00:19:10 +0000 (02:19 +0200)]
Fix missing protocol in dns-prefetch, improve code style (#8963)

Regression from #8942

7 years agoFix microformats on statuses according to updated spec (#8958)
Eugen Rochko [Fri, 12 Oct 2018 00:04:07 +0000 (02:04 +0200)]
Fix microformats on statuses according to updated spec (#8958)

7 years agoFix CSP headers blocking media and development environment (#8962)
Eugen Rochko [Thu, 11 Oct 2018 23:43:09 +0000 (01:43 +0200)]
Fix CSP headers blocking media and development environment (#8962)

Regression from #8957

7 years agoFix type of conversation ID in conversations API (#8961)
Eugen Rochko [Thu, 11 Oct 2018 23:36:51 +0000 (01:36 +0200)]
Fix type of conversation ID in conversations API (#8961)

7 years agoBump version to 2.5.2 (#8960)
Eugen Rochko [Thu, 11 Oct 2018 22:24:09 +0000 (00:24 +0200)]
Bump version to 2.5.2 (#8960)

7 years agoImprove signature verification safeguards (#8959)
Eugen Rochko [Thu, 11 Oct 2018 22:15:55 +0000 (00:15 +0200)]
Improve signature verification safeguards (#8959)

* Downcase signed_headers string before building the signed string

The HTTP Signatures draft does not mandate the “headers” field to be downcased,
but mandates the header field names to be downcased in the signed string, which
means that prior to this patch, Mastodon could fail to process signatures from
some compliant clients. It also means that it would not actually check the
Digest of non-compliant clients that wouldn't use a lowercased Digest field
name.

Thankfully, I don't know of any such client.

* Revert "Remove dead code (#8919)"

This reverts commit a00ce8c92c06f42109aad5cfe65d46862cf037bb.

* Restore time window checking, change it to 12 hours

By checking the Date header, we can prevent replaying old vulnerable
signatures. The focus is to prevent replaying old vulnerable requests
from software that has been fixed in the meantime, so a somewhat long
window should be fine and accounts for timezone misconfiguration.

* Escape users' URLs when formatting them

Fixes possible HTML injection

* Escape all string interpolations in Formatter class

Slightly improve performance by reducing class allocations
from repeated Formatter#encode calls

* Fix code style issues

7 years agoSet Content-Security-Policy rules through RoR's config (#8957)
ThibG [Thu, 11 Oct 2018 18:35:46 +0000 (20:35 +0200)]
Set Content-Security-Policy rules through RoR's config (#8957)

* Set CSP rules in RoR's configuration

* Override CSP setting in the embed controller to allow frames

7 years agoBump doorkeeper from 5.0.0 to 5.0.1 (#8954)
dependabot[bot] [Thu, 11 Oct 2018 17:26:39 +0000 (19:26 +0200)]
Bump doorkeeper from 5.0.0 to 5.0.1 (#8954)

Bumps [doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/doorkeeper-gem/doorkeeper/releases)
- [Changelog](https://github.com/doorkeeper-gem/doorkeeper/blob/master/NEWS.md)
- [Commits](https://github.com/doorkeeper-gem/doorkeeper/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoAdd check for missing tag param in streaming API (#8955)
Eugen Rochko [Thu, 11 Oct 2018 17:24:43 +0000 (19:24 +0200)]
Add check for missing tag param in streaming API (#8955)

* Add check for missing tag param in streaming API

Fixes error:

```
TypeError: Cannot read property 'toLowerCase' of undefined
at app.get (.../streaming/index.js:493:50)
```

* Fix code style issues

7 years agoBump version to 2.5.1 (#8953)
Eugen Rochko [Thu, 11 Oct 2018 00:29:32 +0000 (02:29 +0200)]
Bump version to 2.5.1 (#8953)

7 years agoFix typo in ActivityPub Create handler (#8952)
Eugen Rochko [Thu, 11 Oct 2018 00:10:15 +0000 (02:10 +0200)]
Fix typo in ActivityPub Create handler (#8952)

Regression from #8951

7 years agoDo not push DMs into the home feed (#8940)
Eugen Rochko [Wed, 10 Oct 2018 23:31:03 +0000 (01:31 +0200)]
Do not push DMs into the home feed (#8940)

* Do not push DMs into the home feed

* Show DMs column after sending a DM, if DMs column is not already shown

7 years agoMove network calls out of transaction in ActivityPub handler (#8951)
Eugen Rochko [Wed, 10 Oct 2018 22:50:18 +0000 (00:50 +0200)]
Move network calls out of transaction in ActivityPub handler (#8951)

Mention and emoji code may perform network calls, but does not need
to do that inside the database transaction. This may improve availability
of database connections when using pgBouncer in transaction mode.

7 years agoBump better_errors from 2.4.0 to 2.5.0 (#8946)
dependabot[bot] [Wed, 10 Oct 2018 17:36:41 +0000 (19:36 +0200)]
Bump better_errors from 2.4.0 to 2.5.0 (#8946)

Bumps [better_errors](https://github.com/BetterErrors/better_errors) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/BetterErrors/better_errors/releases)
- [Changelog](https://github.com/BetterErrors/better_errors/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BetterErrors/better_errors/compare/v2.4.0...v2.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump bullet from 5.7.5 to 5.7.6 (#8947)
dependabot[bot] [Wed, 10 Oct 2018 13:09:53 +0000 (22:09 +0900)]
Bump bullet from 5.7.5 to 5.7.6 (#8947)

Bumps [bullet](https://github.com/flyerhzm/bullet) from 5.7.5 to 5.7.6.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/5.7.5...5.7.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>