Commit Graph

6283 Commits

Author SHA1 Message Date
dependabot[bot] 3b89abc343 Bump rubocop from 0.59.2 to 0.60.0 ()
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.59.2 to 0.60.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.59.2...v0.60.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 12:55:16 +01:00
dependabot[bot] 5de592bcce Bump doorkeeper from 5.0.1 to 5.0.2 ()
Bumps [doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) from 5.0.1 to 5.0.2.
- [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.1...v5.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 12:54:56 +01:00
Eugen Rochko 9c38c5daa3
Fix dimensions of preview cards, fix crash in web UI, fix warning () 2018-10-29 04:42:07 +01:00
Eugen Rochko 26fe37c414
Update i18n-tasks and change CircleCI command ()
* Update i18n-tasks and CircleCI command

* Fix 

* Update i18n-tasks

* Fix ast
2018-10-28 07:15:20 +01:00
Eugen Rochko 11b3ee4f4c
Reset status cache when status_stat or media_attachment updates ()
* Reset status cache when status_stat or media_attachment updates

Fix 

Media attachments are generally immutable, but admins can update
the sensitive flag, and this would ensure the change is visible
instantly. Same for updates to status stats. That is a regression
from , because even the correct updated_at fetched from a join
doesn't seem to invalidate the cache.

* Remove join from Status#cache_ids since it has no effect
2018-10-28 06:42:34 +01:00
Eugen Rochko 93a1ab9030
Add progress indicators to MigrateAccountConversations ()
* Add progress indicators to MigrateAccountConversations

* Avoid running expensive query for explain

* Use exec_query instead of execute
2018-10-28 06:40:45 +01:00
kedama 678f5ed296 Set z-index of dropdown to 9999. () 2018-10-28 06:39:59 +01:00
Eugen Rochko 795f0107d2
Include preview cards in status entity in REST API ()
* Include preview cards in status entity in REST API

* Display preview card in-stream

* Improve in-stream display of preview cards
2018-10-28 06:35:03 +01:00
Eugen Rochko 6f78500d4f
Do not remove "dead" domains in tootctl accounts cull ()
Leave `tootctl accounts cull` to simply check removed accounts from
live domains, and skip temporarily unavailable domains, while listing
them in the final output for further action.

Add `tootctl domains purge DOMAIN` to be able to purge a domain from
that list manually
2018-10-27 22:56:16 +02:00
ThibG a90b569350 When searching for an emoji with multiple separators, consider the full input ()
e.g., typing “blob_cat_p” used to search for “blob” and “cat”, but not
“blob_cat_p”, which means “blob_cat_patpat” is very unlikely to show up,
although it is likely what the user wanted to type in the first place.
2018-10-27 22:32:54 +02:00
Eugen Rochko eef8d9a5f7
Add locality check to ActivityPub::FetchRemoteAccountService ()
* Add locality check to ActivityPub::FetchRemoteAccountService

Fix 

Because there are a few places where it is called, it is difficult
to confirm if they all previously checked it for locality. It's better
to make sure within the service.

* Remove faux-remote duplicates of local accounts
2018-10-26 23:08:34 +02:00
Masoud Abkenar 6e1a4f85ad RTL: fix column-back-button__icon margins/content ()
* RTL: fix column-back-button__icon margins/content

* Update rtl.scss

* Update rtl.scss
2018-10-26 22:49:39 +02:00
ThibG 215e649391 Fix styling in /auth/edit () 2018-10-26 22:49:17 +02:00
ThibG e53cc673e7 Ignore invalid hashtags on remote statuses instead of rejecting them ()
Fixes 
2018-10-26 22:48:35 +02:00
ThibG 82e7988afc Fix missing `mention` argument when processing incoming Create activities ()
* Fix missing `mention` argument when processing incoming Create activities

* Fix typo (param → params)
2018-10-26 12:59:59 +02:00
abcang 1e2695198a Skip link-back check if body is nil () 2018-10-26 03:31:23 +02:00
Eugen Rochko 161aeadbb4
Remove character counter from edit profile ()
* Remove display name and bio counter hint, simply limit input

* Remove now redundant translations

* Fix code style issue
2018-10-26 01:55:24 +02:00
Eugen Rochko 768b0f132d
Fix direct messages column not loading more items on scroll ()
Fix 
2018-10-26 01:55:08 +02:00
Eugen Rochko a2e3401e48
Fix conversations not being marked read on click ()
Fix 
2018-10-26 01:54:58 +02:00
ThibG 7fee968e9f Do not fetch preview card for mentioned users () 2018-10-25 18:13:19 +02:00
Eugen Rochko d4cf963749
Allow inbox owner to view implicitly targeted ActivityPub payload ()
Fix 
2018-10-25 18:12:22 +02:00
Sascha b9d7021c1b cli: set exit_on_failure for all CLI classes () 2018-10-25 16:05:33 +02:00
Marcin Mikołajczak 8445f77a5b i18n: Update Polish translation ()
* 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>
2018-10-25 19:45:18 +09:00
dependabot[bot] 98b4cdf198 Bump parallel_tests from 2.24.0 to 2.25.0 ()
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>
2018-10-25 08:29:25 +02:00
dependabot[bot] 4e6cffe00c Bump aws-sdk-s3 from 1.21.0 to 1.23.0 ()
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>
2018-10-25 08:29:12 +02:00
Eugen Rochko 2f0797bdbd
Bump version to 2.6.0rc2 ()
* Bump version to 2.6.0rc2

* Update CHANGELOG.md
2018-10-25 04:42:25 +02:00
Ben Lubar 13e049d772 Allow cross-origin requests to /.well-known/* URLs. ()
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.
2018-10-25 03:13:35 +02:00
Eugen Rochko 4ea718ef18
Migrate all old direct messages to new conversations schema () 2018-10-25 01:44:02 +02:00
Eugen Rochko 9b5348240e
Add consistent interpolations check to CircleCI ()
* Add consistent interpolations check to CircleCI

* Fix locale strings using wrong variables
2018-10-25 01:17:01 +02:00
Yamagishi Kazutoshi e8ffecbd36 Set @body_classes to admin layout () 2018-10-25 00:10:01 +02:00
Eugen Rochko df3a7e724d
Fix missing plural keys ()
* Update i18n-tasks to feature-missing-plural-keys

* Fix pluralizations with missing keys in Arabic

Fix 

* Add i18n-tasks missing-plural-keys to CircleCI
2018-10-25 00:09:45 +02:00
Eugen Rochko d723f2a0a8
Fix RTL layout of status display names ()
Fix 
2018-10-24 18:18:08 +02:00
Eugen Rochko 288e435fe5
Show upload options on click as well as hover ()
Fix 
2018-10-24 18:17:15 +02:00
dependabot[bot] 9f3283086f Bump capybara from 3.9.0 to 3.10.0 ()
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>
2018-10-24 23:22:18 +09:00
dependabot[bot] c64234c31f Bump rspec-rails from 3.8.0 to 3.8.1 ()
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>
2018-10-24 07:51:04 +02:00
dependabot[bot] c61af83de0 Bump i18n-tasks from 0.9.26 to 0.9.27 ()
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>
2018-10-24 07:50:34 +02:00
Eugen Rochko 01c169e796
Fix JS error when posting from page without router context ()
Fix 
2018-10-24 01:31:31 +02:00
dependabot[bot] e3a1955276 Bump i18n-tasks from 0.9.25 to 0.9.26 ()
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>
2018-10-23 23:11:37 +02:00
dependabot[bot] 65867b6e61 Bump parallel_tests from 2.23.0 to 2.24.0 ()
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>
2018-10-23 08:17:26 +02:00
ashleyhull-versent 51677ff070 Update Dockerfile () 2018-10-23 05:21:28 +02:00
Eugen Rochko 39abec4d25
Fix public timelines not instantly updating on compose ()
Fix 
2018-10-23 00:43:18 +02:00
Eugen Rochko ad510db3a1
Show suggested follows on search screen in mobile layout ()
Reminder: Suggestions were added in  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
2018-10-23 00:08:39 +02:00
Eugen Rochko 969a10a5d1
Persist volumes by default in docker-compose ()
Too many databases were lost to this
2018-10-23 00:08:25 +02:00
Eugen Rochko 81017eaea7
Revert "RTL: remove blank character inside bdi ()" ()
This reverts commit c7e9f9ff1e.
2018-10-22 23:23:00 +02:00
Eugen Rochko 4f0bdbaaaf
Downgrade fog-openstack to 0.3.7 and fog-core to 2.1.0 ()
Fix 
2018-10-22 16:58:36 +02:00
Eugen Rochko f5b8bd4392
Fix cull tripping on nil in last_webfingered_at ()
Fix 
2018-10-22 16:58:08 +02:00
Masoud Abkenar c7e9f9ff1e RTL: remove blank character inside bdi ()
* RTL: remove blank character inside bdi

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

Co-Authored-By: mabkenar <ampbox@gmail.com>
2018-10-22 01:04:32 +02:00
Jeong Arm 2e18ad74dc Fix tootctl cull on dead servers ()
* Delete first 9 accounts on dead servers

* Clean up code by moving dead server culling to the end
2018-10-21 22:52:27 +02:00
ThibG 84cf78da8a Fix og:url on toots' public view ()
Fixes 
2018-10-21 22:52:10 +02:00
Masoud Abkenar c73864c137 RTL: fix cardbar margins and alignment () 2018-10-21 18:37:57 +02:00