ThibG
868568d1c1
Make host_meta/webfinger replies cacheable ( fixes #6100 ) ( #6101 )
* Make host_meta/webfinger replies cacheable (fixes #6100 )
Drop common code for handling users and sessions as webfinger queries
are very basic, public APIs.
Also explicitly mark results as cacheable with “expires_in”.
* Add “Vary: Accept” header for caching since content-negociation is used
6 years ago
Akihiko Odaki
65f30f65a2
Move the mastodon on Getting Started column to drawer column ( #6109 )
Getting Started column obtained many links, and it became much taller.
Because of its height, Getting Started column required long scrolling on
devices with small screen, such as 4 inch phones and 10 inch laptops.
This change moves the mastodon which took large space on the column to
drawer column. The drawer column has only the compose form and has more
space.
6 years ago
Akihiko Odaki
e0ef7f9d79
Fix XML oEmbed support discovery ( #6104 )
6 years ago
Chris
1e5d1fa5c8
Add mute, block, conversation mute actions to detailed status dropdown menu ( #6099 )
* removed references to hideOnMobile in column_link and getting_started
* add mute, block, conversationMute actions to detailed status dropdown (fixes #1226 )
* remove unused withDismiss in detailed status
6 years ago
MitarashiDango
a3b369337f
Additional prop name change. ( #6098 )
6 years ago
Neetshin
7e6214b869
Add validation for onMuteNotifications ( #6092 )
* Add aria-autocomplete='list' in Textaria
ref: https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete
* Make detect empty string brefore assign upload description
* Change code elements in keyboard-shortcuts component to kbd
* Add validation for onMuteNotifications
6 years ago
Nolan Lawson
a8eb0bf44f
Reduce motion for boost animation ( #5871 )
* Reduce motion for boost animation
Fixes #5833
* Fix ternary expression
6 years ago
Akihiko Odaki
35fdf561be
Refactor web_push_subscription ( #6047 )
* Remove onSave method in mapped properties for column_settings
* Make web_push_subscription.register an action
6 years ago
Chris
081956742c
removed references to hideOnMobile in column_link and getting_started ( #6082 )
* removed references to hideOnMobile in column_link and getting_started
* move keyboard shortcuts back below blocked users
6 years ago
cpsdqs
8528fd89d2
Move dropdown transform origin to top edge ( #6091 )
6 years ago
ThibG
cea98e0c12
Reduce the number of synchronous resolves when posting toots ( #6075 )
7 years ago
ThibG
6eb60260b1
Display deleted users' role as “Suspended” ( #6080 )
Deleted users are technically suspended, but the code displaying their status
in the admin interface was broken and displayed a javascript object holding
translations of the possible user roles instead.
7 years ago
Akihiko Odaki
81d29e4126
Rename settingKey in setting_toggle to settingPath ( #6046 )
7 years ago
Neetshin
c11a52d888
Replace <code> to <kbd> in KeyboardShortcuts component ( #6049 )
* Add aria-autocomplete='list' in Textaria
ref: https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete
* Make detect empty string brefore assign upload description
* Change code elements in keyboard-shortcuts component to kbd
7 years ago
Jeong Arm
e52293482e
Update Korean translation ( #6050 )
* Update Korean translation
* Translate Korean for javascript
* Add missing translations on simple_form
7 years ago
Peter
f38e6a14f2
Add Slovak translation ( #6052 )
* Add Slovak translation
* Slovak translation: i18n-normalize
7 years ago
Eugen Rochko
3d3b403359
Do not hide statuses from silenced accounts from other silenced accounts ( #6030 )
7 years ago
Naoki Kosaka
25b0d7538e
Fix oEmbed image_modal src. ( #6027 )
7 years ago
Eugen Rochko
a3b2ea599d
Fix #6022 - Prevent nested migrated accounts, or migrations to self ( #6026 )
7 years ago
SerCom_KC
573414f728
Improve Chinese (Simplified) Translations ( #6024 )
* i18n: (zh-CN) Change `工作人员` (staff) to `管理人员`
Suggested by @Gargron at https://github.com/tootsuite/mastodon/pull/6005#discussion_r156678109
* i18n: (zh-CN) Change `协管` to `监察员`
* i18n: (zh-CN) Fix all "Are you" questions
* i18n: (zh-CN) Various improvements
* i18n: (zh-CN) Final clean-up
* i18n: (zh-CN) Change translation for 500
* i18n: (zh-CN) Remove spaces between time distances
* i18n: (zh-CN) Improve translations
7 years ago
Jeroen
aa273a2718
Last minute Dutch string updates ( #6025 )
* Last minute Dutch strinfupdate
* Last minute Dutch strings update
* Fixing Weblate output errors
* Fixing Weblate output errors
* Fixing more Weblate rubish
Weblate is also changing some " to ' - I think that is not a problem
* Fixing more weblate stuff
* Fixing
* Update nl.yml
7 years ago
Lynx Kotoura
0d3ffa691e
Fix focused background color of notifications of direct toots ( #6021 )
7 years ago
Lynx Kotoura
5ad45552b3
Fix overflowing emojis on some devices ( #6016 )
* Fix overflowing emojis on some devices
* Quit visible and add padding
7 years ago
Olivier Humbert
dc313f27bb
1 fix + 1 translation ( #6019 )
7 years ago
Eugen Rochko
3487460f00
Fix regression from #6014 ( #6018 )
7 years ago
Quenty31
72314d26ae
l10n OC and FR updates ( #6017 )
* Adjust empty list timeline message (#5997 )
* Adjust empty list timeline message (#5997 )
* Add filters to admin UI for custom emojis (#6003 ) + #6004
* Update fr.yml
7 years ago
Eugen Rochko
cc75d47926
Fix layout for RTL ( #6014 )
7 years ago
Lynx Kotoura
8bf4cc72b6
Excahnge the order of spoiler-input and unlocked warning ( #6015 )
* Excahnge the order of spoiler-input and unlocked warning
* Fix trailing whitespace
7 years ago
Lynx Kotoura
0aeec0390b
Redesign tootbox ( #5919 )
* Redesign tootbox
* Move counter into compose-form__buttons-wrapper
Change font and remove shadow
Refactor sass codes of compose-form
7 years ago
Eugen Rochko
fef6625496
Weblate translations ( #6011 )
* Translated using Weblate (Dutch)
Currently translated at 100.0% (522 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (French)
Currently translated at 99.8% (521 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ca/
* Translated using Weblate (Catalan)
Currently translated at 99.4% (519 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/
* Translated using Weblate (Japanese)
Currently translated at 99.4% (519 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Portuguese)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Galician)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/gl/
* Translated using Weblate (Japanese)
Currently translated at 99.6% (520 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (56 of 56 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ja/
* Translated using Weblate (Arabic)
Currently translated at 40.0% (209 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Polish)
Currently translated at 99.8% (521 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pl/
* Added translation using Weblate (Galician)
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.0% (517 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt_BR/
* Translated using Weblate (Galician)
Currently translated at 100.0% (56 of 56 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/gl/
* Added translation using Weblate (Galician)
* Translated using Weblate (Galician)
Currently translated at 100.0% (56 of 56 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/gl/
* Translated using Weblate (Galician)
Currently translated at 22.6% (17 of 75 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/gl/
* Translated using Weblate (Portuguese)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt/
* Translated using Weblate (Portuguese)
Currently translated at 66.0% (37 of 56 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/pt/
* Translated using Weblate (Japanese)
Currently translated at 99.6% (520 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (43 of 43 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/ja/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.6% (520 of 522 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt_BR/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (257 of 257 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Arabic)
Currently translated at 48.8% (21 of 43 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/ar/
* Translated using Weblate (Arabic)
Currently translated at 98.2% (55 of 56 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/
* Translated using Weblate (Portuguese)
Currently translated at 73.2% (41 of 56 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/pt/
* Translated using Weblate (Portuguese)
Currently translated at 100.0% (43 of 43 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/pt/
* i18n-tasks normalize && yarn manage:translations
* Restore wrongfully deleted files
7 years ago
SerCom_KC
775c3056b6
Update Chinese (Simplified) translations ( #6005 )
* i18n: (zh-CN) Remove spaces in time distances
* i18n: (zh-CN) Update translations for #5997
* i18n: (zh-CN) Add translation for #6004
also change translation of `staff` from `管理员` to `工作人员`
* i18n: (zh-CN) Add translations for #6003
* i18n: (zh-CN) Normalization
7 years ago
Eugen Rochko
ad75ec8b5b
Add filters to admin UI for custom emojis ( #6003 )
7 years ago
Yamagishi Kazutoshi
07b4427865
Set direction style to reply indicator ( #6006 )
7 years ago
Eugen Rochko
a8deb6648b
Fix redundant HTTP request in FetchLinkCardService ( #6002 )
7 years ago
Eugen Rochko
20a6584d2d
Clean up admin UI for accounts ( #6004 )
* Add staff filter to admin UI for accounts, remove obsolete columns
* Only display OStatus section in admin UI for accounts when OStatus data
7 years ago
Eugen Rochko
155e211dd0
Fix GIF avatars not autoplaying when GIF autoplay is enabled ( #6000 )
7 years ago
Eugen Rochko
5706fe18c2
Fix #5952 - NameError (regression from #5762 ) ( #5999 )
* Fix #5952 - NameError (regression from #5762 )
* Fix
7 years ago
Eugen Rochko
71965cbef2
Adjust empty list timeline message ( #5997 )
7 years ago
Eugen Rochko
0128b86d30
Use streaming API for standalone timelines on /about and /tag pages ( #5998 )
7 years ago
Neetshin
0c8b1eb577
Make detect empty string before assign image description ( #5994 )
* Add aria-autocomplete='list' in Textaria
ref: https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete
* Make detect empty string brefore assign upload description
7 years ago
Akihiko Odaki
f9f6918148
Store preview image for embedded photo in preview cards ( #5986 )
The preview image would be useful to embed in timeline.
7 years ago
Renato "Lond" Cerqueira
19257d91bf
Return false if object does not respond to url ( #5988 )
Avoid error when the service returns a mostly valid oembed, but has no
url in it, causing a MethodError: undefined method `url'
for #<OEmbed::Response::Photo:0x000056505def9620>
7 years ago
Renato "Lond" Cerqueira
fe180f18ff
Change conditional to avoid nil into string error in sidekiq ( #5987 )
* Change conditional to avoid nil into string error in sidekiq
When obtaining information about users with mastodon in a different
subdomain, sidekiq was giving out a 'no implicit conversion of nil into String'
* Use presence instead of blank? with ternary.
Following suggestion on PR
7 years ago
Akihiko Odaki
14c4a33cd9
Change account_id non-nullable in lists ( #5979 )
7 years ago
Eugen Rochko
30d2ea03b0
Improve public status page title ( #5985 )
7 years ago
Eugen Rochko
1356ed72cd
Fix #5953 - Add GET /api/v1/accounts/:id/lists ( #5983 )
7 years ago
Eugen Rochko
481fac7c84
Exclude moved accounts from search results ( #5984 )
7 years ago
Eugen Rochko
feed07227b
Apply a 25x rate limit by IP even to authenticated requests ( #5948 )
7 years ago
Andrea Scarpino
6a82939adb
Fix account and tag searches with leading/trailing spaces ( #5965 )
* Strip leading & trailing spaces from account query
* Strip leading & trailing spaces from tag search
7 years ago
Lynx Kotoura
98aa96b8d6
Refix extraspace for emojis ( #5964 )
Fix misalignment between emoji sizes
7 years ago