Commit Graph

7485 Commits (6baf5099a628b17a90c392030979e57b32a80fc4)

Author SHA1 Message Date
mayaeh a08bfea202 Fix undefined method error. () 2019-05-28 05:42:04 +02:00
Alix Rossi c84a0df608 Update simple_form.co.yml () 2019-05-28 10:21:30 +09:00
ThibG 31b8203887 Fix web push notifications for polls ()
Fixes 
2019-05-28 00:26:08 +02:00
Eugen Rochko 7d2b4e9277 Refactor footers in web UI into a single component () 2019-05-27 21:58:41 +02:00
ThibG 875faa1da6 Improve rate limiting ()
* Rate limit based on remote address IP, not on potential reverse proxy

* Limit rate of unauthenticated API requests further

* Rate-limit paging requests to one every 3 seconds
2019-05-27 21:57:49 +02:00
abcang 4c9d8f8ef9 Display notifications count on a new single column () 2019-05-27 21:56:29 +02:00
Eugen Rochko c5234ac2aa Use `<use />` to render transparent SVG logo instead of inserting it () 2019-05-27 03:33:39 +02:00
Takeshi Umeda 03054b27e1 Fix poll visibility on public pages ()
* Fix poll visibility on public pages

* Revert "Fix poll visibility on public pages"

This reverts commit 54a9608add6f855bc6337fe3c65eaee7ba13db49.

* Revert "Change poll options to alphabetic letters when status text is hidden"

This reverts commit c53d67326201b2061990b1874a3547c3647f50d2.
2019-05-26 23:13:29 +02:00
Sandro Jäckel 7a8958b067 Docker: Remove dist-upgrade () 2019-05-26 22:26:45 +02:00
Neil Moore 139730e3db Create new click handler for status__expand area in status ()
This click handler only activates on left-click, resolving .
This matches behavior in status_content.js, as added in 
2019-05-26 13:48:45 +02:00
Eugen Rochko 9e238804ea Fix null error in status component when determining showMedia state ()
* Fix null error in status component when determining showMedia state

Also update the showMedia value if the status passed to the
component changes

* Refactor media visibility computation into a defaultMediaVisibility function

* Fix default media visibility with reblogs
2019-05-26 13:48:16 +02:00
Marek Ľach 16ae227935 Update simple_form.sk.yml () 2019-05-26 19:26:39 +09:00
Hanage999 66081c489f Fix wrong redirect from getting started to home in advanced Web UI ()
* update Ruby to 2.5.3

* Link to Getting Started will not redirect to Home in multi-column UI (https://github.com/tootsuite/mastodon/pull/10835)
2019-05-26 12:22:33 +02:00
Eugen Rochko 6d4af23a69 Improvements to the single column layout ()
* Improvements to the single column layout

- Add follows and followers link to the right panel
- Increase margins around separators in right panel
- Add follow requests link with counter when account is locked to right panel

* Redirect from getting started to home when navigation panel is visible
2019-05-26 02:55:37 +02:00
ThibG 7ee189fa60 Add a keyboard shortcut to hide/show media ()
* Move control of media visibility to parent component

* Add keyboard shortcut to toggle media visibility
2019-05-25 23:20:51 +02:00
Sandro Jäckel 6ec47d8326 Docker: Keep /var/lib/apt/ to keep apt working () 2019-05-25 23:20:28 +02:00
Alfie John 3696497a20 Expand abbreviation to minimise confusion () 2019-05-25 23:20:18 +02:00
Mélanie Chauvel (ariasuni) 276c9e6e9e Avoid cutting bottom of letters of last paragraph of statuses () 2019-05-25 23:19:39 +02:00
Aditoo17 40f6439e03 I18n: Update Czech translation () 2019-05-26 05:34:40 +09:00
Eugen Rochko a1bceb2cb6 Add responsive panels to the single-column layout ()
* Add responsive panels to the single-column layout

* Fixes

* Fix not being able to save the preference

* Fix code style issues

* Set max-height on the compose textarea and add a link to relationship manager
2019-05-25 21:27:00 +02:00
Eugen Rochko 48abfb938f Forward port version bumps to 2.8.3 and 2.8.4 ()
* Bump version to 2.8.3

* Bump version to 2.8.4
2019-05-24 15:57:31 +02:00
ThibG 7b1d582232 Improve streaming server security ()
* Check OAuth token scopes in the streaming API

* Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token

Inspired by https://github.com/kubevirt/kubevirt/issues/1242
2019-05-24 15:21:42 +02:00
Eugen Rochko 106cfa7553 Various improvements to single column layout ()
- Add potential side panels to single column layout
- Hide FAB on large screens
2019-05-23 20:01:10 +02:00
ThibG 028fb2060b Fix possible race condition when processing statuses () 2019-05-23 20:00:39 +02:00
ThibG f5637b174f Move signature verification stoplight to the requests themselves ()
* Move signature verification stoplight to the requests themselves

This avoids blocking messages from known keys for 5 minutes when only one fails…

* Put the stoplight on the actual client IP, not a potential reverse proxy
2019-05-23 15:22:39 +02:00
Yamagishi Kazutoshi 3371452f77 Add sponsor button to GitHub web UI ()
- https://help.github.com/en/articles/displaying-a-sponsor-button-in-your-repository
2019-05-23 15:00:54 +02:00
ThibG 4eaa4a649e Retry ActivityPub inbox delivery on HTTP 401 and 408 errors ()
HTTP 401 responses returned by Mastodon's inbox controller may
be temporary if, for instance, the requesting user's actor/key json
could not be retrieved in a timely fashion. This changes allow retries
instead of dropping the message entirely.

Also added HTTP 408 as that error is by nature temporary.
2019-05-23 15:00:30 +02:00
Eugen Rochko f9ca3d62b6 Add `forceSingleColumn` prop to `<UI />` ()
* Move TabsBar rendering logic from CSS to the ColumnsArea component

* Add forceSingleColumn mode

* Add unread notifications counter to tabs bar

* Add toggle to control `forceSingleColumn`

* Increase paddings in mobile layout responsively at large sizes
2019-05-23 01:35:22 +02:00
abcang 81768812f9 Migrate from uws to cws () 2019-05-22 18:19:16 +02:00
nzws 1fbe5c2fec Fix stacking order of emoji picker () 2019-05-22 18:00:34 +02:00
dependabot[bot] 88029fd2ab Bump aws-sdk-s3 from 1.39.0 to 1.40.0 ()
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.39.0 to 1.40.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/compare/v1.39.0...v1.40.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-22 22:31:05 +09:00
dependabot[bot] 8ad21993a8 Bump rubocop from 0.69.0 to 0.70.0 ()
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.69.0 to 0.70.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.69.0...v0.70.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-22 22:09:10 +09:00
dxwc 0a1ba7c14b i18n: Complete frontend Bengali translation ()
* i18n: Complete frontend Bengali translation

* run yarn manage:translations
2019-05-22 10:00:58 +09:00
trwnh 140a741979 Update remote bio test from 160 to 500 () 2019-05-21 13:29:06 +02:00
Paul Woolcock 626844dfb1 Add `account_id` param to `GET /api/v1/notifications` ()
* Add `from_account` to notifications API

this adds the ability to filter notifications by the account they
originated from

* passing a non-existent user should cause none to be returned

* Fix codeclimate warnings

* fix more codeclimate warnings

* make requested changes:

* use account id instead of user@domain
* name the param `account_id` instead of `from_account`

* Don't use `return` in a lambda
2019-05-21 13:28:49 +02:00
dependabot[bot] 329286f4f9 Bump httplog from 1.2.2 to 1.3.0 ()
Bumps [httplog](https://github.com/trusche/httplog) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/trusche/httplog/releases)
- [Changelog](https://github.com/trusche/httplog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trusche/httplog/commits/v1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-21 15:41:15 +09:00
Marek Ľach 42bdd0766d Update sk.yml ()
* Update sk.yml

* Update sk.yml

* Update sk.yml

* Update sk.yml

* Update sk.yml

* Update sk.yml

* normalize
2019-05-20 15:42:19 +09:00
dependabot[bot] cb37c92e7b Bump lograge from 0.11.0 to 0.11.1 ()
Bumps [lograge](https://github.com/roidrage/lograge) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/roidrage/lograge/releases)
- [Changelog](https://github.com/roidrage/lograge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/roidrage/lograge/compare/v0.11.0...v0.11.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 15:19:56 +09:00
dependabot[bot] 584ab2879e Bump capybara from 3.20.0 to 3.20.2 ()
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.20.0 to 3.20.2.
- [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.20.0...3.20.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 15:18:28 +09:00
trwnh d8e5268939 Change bio limit from 160 to 500 ()
* Change note_length validator from 160 to 500

* Change input maxlength from 160 to 500

* update bio test from 160 to 500

* Multiply a string 30 times instead of 10
2019-05-19 22:51:44 +02:00
ThibG 4ad004d2ef Fix “invited by” not showing up for invited accounts in admin interface () 2019-05-19 21:40:36 +02:00
Marek Ľach 7a88a5b44a sk.yml grammar update ()
* sk.yml grammar update

* bundle exec i18n-tasks normalize
2019-05-20 02:27:32 +09:00
Hinaloe 4de9bd3870 fix `isSubmitting` prop case () 2019-05-19 18:41:41 +02:00
Marek Ľach 875d18d636 Small corrections for sk translation () 2019-05-19 22:42:10 +09:00
ThibG b96cc31682 Add post-deployment migration script to delete public-boosts-of-private-toots () 2019-05-19 13:49:31 +02:00
Shlee decaffc020 Upgrade redis in docker-compose.yml from 4 to 5 () 2019-05-19 11:29:26 +02:00
Aditoo17 7660ac5008 I18n: Update Czech translation () 2019-05-19 14:39:16 +09:00
Ben Lubar 8ec309ee64 add og:image:alt for media attachments in embeds () 2019-05-18 20:57:45 +02:00
Eugen Rochko 3a4761c665 Change poll options to alphabetic letters when status text is hidden ()
Fix 
2019-05-18 14:41:16 +02:00
Yusuke Nakamura bf0766358b Remove 'Weblate' from CONTRIBUTING.md ()
The mastodon project no longer used weblate to translate UI
sentences. (ref )
2019-05-18 14:40:55 +02:00