Commit Graph

2584 Commits (be0a01145b5f303c5c506858146ccf6c6d5cee72)
 

Author SHA1 Message Date
Yamagishi Kazutoshi be0a01145b Sync a locale files for JavaScript (#2513)
There are multiple messages missing in en.jsx.
It is very troublesome when translating other languages.
8 years ago
Tomohiro Suwa 1f805a6377 Don't need to include ActiveModel::Validations (#2521) 8 years ago
Evan Minto e595ccb294 Add ActivityPub Actor id to WebFinger JSON. (#2522) 8 years ago
Lindsey Bieda 43a29a9d0f Add aria-label to icon driven dropdown menus (#2516) 8 years ago
Kaylee 0dd71af5fa Copy over "Boost" hover text fix to detailed view. (#2508)
from #1754, should close out #1394
8 years ago
Matt Jankowski 0618f09939 Add spec coverage and refactor authorize_follows controller (#2505) 8 years ago
Koala Yeung a23eaf720e Update Russian translation (rebased) (#2503)
* Fix syntax error

* Remove two_factor_auth.warning (appears obsolete)

* Add missing strings in ru.yml

A lot of new strings translated, especially for the newly added admin section

* Update Russian translation

* Fix merge conflicts

Redid Works by @rkarabut
8 years ago
Koala Yeung 9d3fc1281d travis: Add yarn and nodejs caching (#2504)
Also cache node_module and yarn cache in Travis test process.
Improves speed for Travis tests.
8 years ago
Matt Jankowski 8857cabca4 Domain block service cleanup (#2490)
* Add coverage for domain block service with silence

* Get rid of warning about find_each and order

* Move domain_block to attr_reader

* Move optional clear_media into silence_accounts method

* Use blocked_domain method to reduce passed vars

* Extract blocked_domain_accounts method to find accounts on the domain

* Extract media_from_blocked_domain method to find relevant attachments

* Separate destruction of account images and account attachments
8 years ago
Matt Jankowski affd75936e Add spec for Status.as_home_timeline (#2451) 8 years ago
Matt Jankowski 3e78b7cc3a Updated renamed i18n keys in `de` translation (#2500) 8 years ago
Matthieu Paret 647a148d4d fix indentation in translation file (#2498) 8 years ago
yhirano bb777c24ff add task to report code statistics (#2489) 8 years ago
Benedikt Geißler 0576daf5f9 Update German translation (#2485) 8 years ago
Quent-in c442cade78 Update of simple_forum OC (#2486)
Now perfectly similar to the English one.
8 years ago
Yamagishi Kazutoshi 6004b143a8 Update Japanese translation (#2487)
follow up #1309 & #2279
8 years ago
Lindsey Bieda 25cbb8454c Red favicon for dev (#2470)
* Set a dev specific favicon

* Consistent spacing

* Add trailing slash for consistency

* Update to remove interpolation
8 years ago
Tomohiro Suwa 416c9675fc Don't toot request with only blank characters (#2154)
* Don't toot request with only blank characters

* Enable toot button if no text
8 years ago
Yamagishi Kazutoshi 6a1e287053 Fix undefined variable in OnboardingModal (#2482) 8 years ago
Koala Yeung 5bda32e460 Update ar.jsx (#2469)
Adding more missing strings.
8 years ago
anon 6137268e79 Update Japanese translation for activitypub and authorized followers (#2471)
* Update Japanese translation for activitypub and authorized followers

* Fixed Japanese translation by review
8 years ago
Wonderfall 234e931db2 fix onboarding modal (#2477) 8 years ago
Eugen Rochko fdcb55a0a6 Fix various regressions (#2466) 8 years ago
Eugen Rochko d97a0525aa Fix #2261 - noopener typo (#2463) 8 years ago
Francis Chong 193dddb433 Add media dimensions (#2448)
* Fixes #1985

- add migration AddMediaAttachmentMeta, which add meta field to media_attachments
- before saving attachment, set file meta if needed
- add meta in api

* add spec

* align the “size” format for image and video

* fix code climate

* fixes media_attachment_spec.rb
8 years ago
Keiji, Yoshimi 8fe36654ef attach_media should be in transaction of creation status (#2426) 8 years ago
Yamagishi Kazutoshi 8ee1af9530 Move a locale files for ActiveRecord (#2461)
ref #2162 and fix #2460
8 years ago
Michael Deeb e4c294432f Added the repository field and a script for after npm version (#2459) 8 years ago
JP DeVries 3ebaeccec9 Toolbar icons accessible names (#1424)
Closes tootsuite/mastodon#1349

This is my first PR and I’m only checking in the source JSX file.
Please let me know if it should be checked in after being built also.
8 years ago
Guillaume Lo Re 7177e37b99 Stricter whitelist rules (#2213)
* Stricter whitelist rules

* Linting

* Added spec for blacklisting

* Test subdomain blacklist on domain whitelist

* No need to split

* Change spec name
8 years ago
Amelia fbc5099402 Make the getting started ui more intuitive (#1309) 8 years ago
Quent-in 45b379abac Missing occitan locale file (#2446)
Based on the device.en file
8 years ago
Mingye Wang 6ae975996e Refine CW placeholder in Chinese jsx files (#2447) 8 years ago
Mingye Wang 5d26c70a9c Complete proofreading and addition for zh-CN YML translations (#2445)
* proofread & update zh-CN setting form locale

* Pull in new devise zh-CN translations from their wiki

https://github.com/plataformatec/devise/wiki/I18n,
more precisely https://gist.github.com/Artoria2e5/6d2a06ca9e92a417afc627b5000f4690

* pull in zh-CN translation for doorkeeper

... from https://github.com/doorkeeper-gem/doorkeeper-i18n/pull/31/
8 years ago
esetomo 322cbf83c8 fix typo on daily tasks logging (#2450) 8 years ago
Mingye Wang fc99d11703 Convert to "container-based" travis build (#2449)
* Convert to "container-based" travis build

Since all ppa sources used are currently whitelisted by Travis, why don't we convert to a "sudo-less" structure that promises a shorter build start time?

* Explicitly disable sudo in Travis
8 years ago
Ash Furrow 48652cb41e Fixes string length issue for multibyte characters. (#2443) 8 years ago
Ash Furrow d4f7f11c3c Adds logging for daily tasks (#2438)
* Adds logging for daily tasks.

* Fixes Code Climate issues in #2438.
8 years ago
Stephen Burgess 1ce951d0be Adjust status action bar icons (#2424)
Set status action bar to have display flex and center align items so dropdown icon appears center aligned with other icons. Make styles alpha organized.

Add hover state to boost icon - lighten color on hover.
8 years ago
Hiroe Jun 52c119052a Refactor seed.rb (#2430) 8 years ago
alpaca-tc 9317ec8eb1 Localize with i18n for Devise::FailureApp (#2309)
This PR fixes I18n.locale for rake middlewares. Mastodon uses Devise that depends on Warden.
Warden::Manager can be found in rake middleware. It is outside of the controller.

In the case of authentication failed, warden calls throw(:warden). At the time Warden::Manager
delegates request to failure_app to generate response and flash[:alert] after catching it.
Unfortunately, I18n.locale is already reset then because I18n.with_locale is enabled only
inside the controller. If we used I18n.locale=, Devise::FailureApp could get the current locale.
8 years ago
STJrInuyasha 1b9447853b Login link for single user instances (#2393)
* Login link for single user instances

* Flip the if statement around
Fixes AuthorizationController tests
8 years ago
Evan Minto 122d59ac41 Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410)
* Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes.

* Fix code style and test failures for OutboxController.

* Attempt to fix CI errors.
8 years ago
Eugen Rochko 8b5179d006 Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents (#2419)
duplicates. Web UI regenerates UUID for that header every time the compose
form is changed or successfully submitted

Also, fix Farsi i18n overwriting the English one
8 years ago
Yamagishi Kazutoshi 3ea5b948a4 Decodes URL containing IDN (#2436) 8 years ago
Matt Jankowski 164bad171f Fix Persian translation (#2428) (#2432)
Settings page contained labels in Persian, when I was using English.
8 years ago
Ash Furrow acc691851d Username above toot box UI changes (#2418)
* Makes username above toot box into a link.

* Prepends username above toot box with an @.
8 years ago
178inaba d2159deaf2 Optimize account search (#2421) 8 years ago
Eugen 17c591ffba Punycode URI normalization (#2370)
* Fix #2119 - Whenever about to send a HTTP request, normalize the URI

* Add test for IDN request in FetchLinkCardService

* Perform IDN normalization on domains before they are stored in the DB
8 years ago
Masoud Abkenar bb04a9be52 Persian translation (#2405)
* Persian translation

* adding :fa to make the site use the rtl stylesheet

based on [this comment](https://github.com/tootsuite/mastodon/pull/2405#issuecomment-296721105)

* fix missing quotes

* add 'fa' locale
8 years ago