Shuhei Kitagawa
fcac2f1b60
Add tests for admin/roles_controller ( #7421 )
7 years ago
Shuhei Kitagawa
db644968ce
Add tests for admin/invites_controller ( #7412 )
7 years ago
Yamagishi Kazutoshi
e59fb1b969
Correct rotate of image using EXIF ( #7422 )
7 years ago
Yamagishi Kazutoshi
6092325a48
Rescue Mastodon::LengthValidationError in FetchLinkCardService ( #7424 )
7 years ago
Yamagishi Kazutoshi
4fea89fe4a
Multiple Issue templates ( #7402 )
...
* Multiple Issue templates
* Update bug_report.md
7 years ago
Yamagishi Kazutoshi
c1427f90f6
Show media modal on public timeline ( #7413 )
7 years ago
Surinna Curtis
a2b84b644b
Take the first recognized actor_type. ( #7410 )
7 years ago
ThibG
8ccc863ae8
Do not crash in getStatusIds when there is a gap in the timeline ( fixes #7400 ) ( #7415 )
...
Fixes a crash occurring when the “gap” disconnection indicator is to be
displayed in a filtered timeline.
7 years ago
ThibG
10be4c496c
Fix hashtags not being federated on mentions ( fixes #6900 ) ( #7406 )
7 years ago
Eugen Rochko
244a270a80
If an OStatus message contains nsfw hashtag, mark it as sensitive ( #7398 )
...
* If an OStatus message contains nsfw hashtag, mark it as sensitive
Undo parts of #7048
* Put nsfw hashtag on OStatus messages if they have any media
* Fix code style issues
7 years ago
Eugen Rochko
7ff3c849d1
Bot nameplates ( #7391 )
...
* Store actor type in database
* Add bot nameplate to web UI, add setting to preferences, API, AP
Fix #7365
* Fix code style issues
7 years ago
Eugen Rochko
b890e5830c
Support explicitly supplying language code for status via REST API ( #7389 )
7 years ago
Eugen Rochko
8b63d39427
Use plaintext value for field value tooltips in web UI ( #7388 )
...
Fix #7383
7 years ago
abcang
b9c17c6580
Fix distribute_add_activity and distribute_remove_activity ( #7393 )
7 years ago
Hugo Gameiro
27cfb13b83
Improve OpenStack v3 compatibility ( #7392 )
...
* Update paperclip.rb
* Update .env.production.sample
* Update paperclip.rb
7 years ago
Eugen Rochko
93553c17c8
Add Corsican localization ( #7390 )
...
* Added Corsican localization
* Declaring Corsican localization
* Fixed activerecord locale
* Added a missing translation and switched to French-style apostrophes
* Fixed a (predictable) mistake made while bulk-replacing apostrophes
* More fixing
* i18n-tasks normalize
7 years ago
ThibG
796fe4c361
Fixes/rollback scroll changes ( #7387 )
...
* Revert "Do not re-position scroll when loading more (inserting items from below) (#7344 )"
This reverts commit 554653a423
.
* Revert "Prevent timeline from moving when cursor is hovering over it (fixes #7278 ) (#7327 )"
This reverts commit 9188537f5f
.
7 years ago
ThibG
520f3a28fc
Various improvements to the report UI ( #7342 )
...
* Also display replies in report modal
* Allow report modal to be up to 80% of viewport height
* Use narrow no-break space where needed in the French translation
7 years ago
Yamagishi Kazutoshi
a14525d3df
Weblate translations (2018-05-06) ( #7381 )
...
* Translated using Weblate (Dutch)
Currently translated at 100.0% (627 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (627 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/
* Translated using Weblate (Greek)
Currently translated at 28.2% (177 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Occitan)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/oc/
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 98.2% (615 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/zh_Hant_HK/
* Translated using Weblate (Occitan)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* Translated using Weblate (Occitan)
Currently translated at 97.9% (613 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (Galician)
Currently translated at 100.0% (626 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Galician)
Currently translated at 100.0% (627 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Greek)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 28.5% (179 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 28.5% (179 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 29.0% (182 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 29.0% (182 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 29.2% (183 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 29.3% (184 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 29.5% (185 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 29.7% (186 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 29.7% (186 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Slovak)
Currently translated at 95.3% (597 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Slovak)
Currently translated at 95.2% (597 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 97.6% (612 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/zh_Hant_HK/
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 99.3% (623 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/zh_Hant_HK/
* Translated using Weblate (Polish)
Currently translated at 99.8% (626 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pl/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (75 of 75 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/sk/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Arabic)
Currently translated at 83.7% (525 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Spanish)
Currently translated at 99.8% (626 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Italian)
Currently translated at 54.7% (343 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/it/
* Translated using Weblate (Italian)
Currently translated at 78.9% (495 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/it/
* Translated using Weblate (Esperanto)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/eo/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (626 of 627 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* i18n-tasks normalize && i18n-tasks remove-unused && yarn manage:translations
7 years ago
Eugen Rochko
0dcb01855c
Bump version to 2.4.0rc1 ( #7283 )
7 years ago
Eugen Rochko
4055ce490c
Enable custom emojis in profiles (notes, field values, display names) ( #7374 )
...
Follow-up to #6124
7 years ago
Shuhei Kitagawa
8c8a850f8a
Add resend confirmation for admin ( #7378 )
...
* Add confirmations_controller#resend
* Add tests for confirmations_controller#resend
* Add translations
7 years ago
Yamagishi Kazutoshi
9d64bcdac7
Port travis_retry for CI ( #7379 )
...
* Port travis_retry for CI
* Add license
7 years ago
Eugen Rochko
a1398887ae
Add hint about 7 day cooldown for archive takeout ( #7375 )
7 years ago
Eugen Rochko
14393f29ef
Add contact e-mail hint to 2FA login form ( #7376 )
7 years ago
Eugen Rochko
2ee5d518f1
Fallback to old on-the-fly URI for follows/blocks if no stored URI ( #7371 )
...
Fix #7367
7 years ago
Eugen Rochko
0dcca6b6e8
Improve admin UI for accounts ( #7360 )
...
* Improve design of account statuses admin UI (consistent with reports)
* Make account moderation notes look consistent with report notes
* i18n-tasks remove-unused
* Fix code style issues
* Fix tests
7 years ago
Eugen Rochko
b7f241faed
Do not count search route as compose being mounted in web UI ( #7372 )
...
Fix #7144
7 years ago
Eugen Rochko
0de45574e0
4 profile fields max, store only 255 characters per name/value ( #7348 )
...
Fix #7303
7 years ago
Reto Kromer
d806eb8e59
uniform email rather than e-mail ( #7373 )
7 years ago
Eugen Rochko
ef1a273322
Fix handling of malformed ActivityPub payloads when URIs are nil ( #7370 )
...
* Fix handling of malformed ActivityPub payloads when URIs are nil
* Gracefully handle JSON-LD canonicalization failures
7 years ago
Shuhei Kitagawa
de918cee5a
Add tests for admin/custom_emojis_controller ( #7350 )
7 years ago
Eugen Rochko
9a84024b1e
Improve rendering of bio fields ( #7353 )
...
Fix #7335
7 years ago
Akihiko Odaki
575c5753e4
Fix gap insertion for timeline disconnection ( #7363 )
7 years ago
Eugen Rochko
8913ccb434
Store home feeds for 7 days instead of 14 ( #7354 )
...
* Store home feeds for 7 days instead of 14
Reduces workload for status fan-out to active followers
* Fix test for user model
7 years ago
ThibG
f0af3ac6b3
Dropdowns accessibility ( #7318 )
...
* Mark currently selected privacy setting in privacy dropdown
* Prevent Enter keypresses from triggering dropdown display toggle twice
* Give focus to first/selected item of dropdown menus
* Implement keyboard navigation in privacy dropdown
* Implement keyboard navigation in generic dropdown menus
7 years ago
Eugen Rochko
154076e8e7
Store URIs of follows, follow requests and blocks for ActivityPub ( #7160 )
...
Same URI passed between follow request and follow, since they are
the same thing in ActivityPub. Local URIs are generated during
creation using UUIDs and are passed to serializers.
7 years ago
ThibG
8a6cba44aa
Do not render first page of following and followers collections unless explicitly asked to ( #7357 )
7 years ago
Eugen Rochko
93b8db8f08
Better pagination for ActivityPub outbox ( #7356 )
7 years ago
Marcin Mikołajczak
e38c51da92
Improve “how to translate” ( #7358 )
7 years ago
Yamagishi Kazutoshi
00df2b623f
Add translate guide to CONTRIBUTING.md ( #7355 )
7 years ago
Eugen Rochko
d9eda62221
Show remote reports in admin UI as coming from domain rather than user ( #7347 )
...
Fix #6994
7 years ago
Eugen Rochko
860701a9a8
Marginally improve convert/ffmpeg calls performance with posix-spawn ( #7346 )
7 years ago
Shuhei Kitagawa
4a422a7eaa
Fix 2fa description in Japanese ( #7349 )
7 years ago
ThibG
f2ecedaab5
Fixes/do not override timestamps ( #7336 )
...
* Revert "Fixes/do not override timestamps (#7331 )"
This reverts commit 9c1e1005f4
.
* Document Snowflake ID corner-case a bit more
Snowflake IDs are used for two purposes: making object identifiers harder to
guess and ensuring they are in chronological order. For this reason, they
are based on the `created_at` attribute of the object.
Unfortunately, inserting items with older snowflakes IDs will break the
assumption of consumers of the paging APIs that new items will always have
a greater identifier than the last seen one.
* Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
7 years ago
ThibG
554653a423
Do not re-position scroll when loading more (inserting items from below) ( #7344 )
7 years ago
Akihiko Odaki
854d974499
Add a missing question mark in rack_attack.rb ( #7338 )
7 years ago
Akihiko Odaki
5cddff0795
Throttle media post ( #7337 )
...
The previous rate limit allowed to post media so fast that it is possible
to fill up the disk space even before an administrator notices. The new
rate limit is configured so that it takes 24 hours to eat 10 gigabytes:
10 * 1024 / 8 / (24 * 60 / 30) = 27 (which rounded to 30)
The period is set long so that it does not prevent from attaching several
media to one post, which would happen in a short period. For example,
if the period is 5 minutes, the rate limit would be:
10 * 1024 / 8 / (24 * 60 / 5) = 4
This long period allows to lift the limit up.
7 years ago
Yamagishi Kazutoshi
5bd8cda844
Add el and te ( #7332 )
...
* Add el and te
* Add missing locale files
7 years ago
Yamagishi Kazutoshi
fa90629c9f
Delete dump.rdb ( #7334 )
7 years ago