- Apr 10, 2017
-
-
Ratmir Karabut authored
* Add Russian translation (ru) * Fix a missing comma * Fix the wording for better consistency
-
Jantso Porali authored
-
Gavin Mogan authored
-
- Apr 09, 2017
-
-
Eugen authored
Sign-in redirects you back to last visited URL, but in case of API requests, this sometimes redirected users to an API URL that, of course, greeted them with an {"error":"The access token is invalid"}
-
Eugen authored
-
Eugen authored
-
Hugo Gameiro authored
added the missing fields and improved the translation
-
ThibG authored
The goal of this change is to enhance Mastodon's handling of remote domains for which the APIs reside on a different host (see issue #1032). Indeed, when a remote user unknown to Mastodon is mentionned, only its profile URL (e.g. https://social.example.org/users/User) is known, and Mastodon has to build a @username@domain handle for it. To do so, Mastodon fetches the user's atom feed (e.g., https://social.example.org/users/User.atom) and uses its content to get the username part of the handle, and the URL's host part to build the domain (e.g., @User@social.example.org). This handle is then used for a Webfinger request. In the case where example.org serves the Webfinger info for @User@example.org and all feeds and APIs are hosted at social.example.org, Mastodon will still build @User@social.example.org and fail at resolving the account's details through Webfinger. This patch changes this behaviour by using the author's email address from the atom feed to build the handle. In Mastodon-generated atom feeds, the email address is always the handle it expects for federation.
-
David Authier authored
* Use HTTP Accept-Language to detect locale * Fix gem order to comply with codeclimate * Sort gem to comply with rubocop * I18n.default_locale fallback when there is no accept-language header
-
David Celis authored
* Allow users to update their Account in the API It would be nice for API clients to be able to allow users to update their accounts without having to wrap Mastodon in a web view. This patch adds an API endpoint to let users submit a PATCH for their account. Signed-off-by:
David Celis <me@davidcel.is> * Add /api/v1/accounts/update_credentials to the API docs Signed-off-by:
David Celis <me@davidcel.is>
-
Matt Jankowski authored
* Remove unused helper files * Add coverage for application helper * Add coverage for StreamEntriesHelper #display_name
-
StefOfficiel authored
* Update fr.jsx * Remove duplicate translation
-
Olivier Humbert authored
* Update confirmation_instructions.fr.html.erb consistency across the French translation * Update consistency across the French translation * Update fr.yml a bunch of consistency across the French translation + a few typos * Update doorkeeper.fr.yml consistency across the French translation (punctuation)
-
Jonathan Klee authored
-
Matt Jankowski authored
* Add InstancePresenter to expose site details * Clean up about controller, use instance presenter
-
Brian Mock authored
-
Matt Jankowski authored
* Clean up SQL output in Tag and Account search methods * Add basic coverage for Tag.search_for * Add coverage for Account.search_for * Add coverage for Account.advanced_search_for
-
Rachel H authored
-
- Apr 08, 2017
-
-
Eugen authored
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public Fix #1156 - respect query params when generating pagination links in API * Apply pagination fix to more APIs
-
Eugen authored
* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up
-
Pavel Djundik authored
-
Pavel Djundik authored
-
Eugen authored
* Fix #1141, fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags * Improve code quality, remove line unrelated to fix
-
Thomas Citharel authored
Add french translation for emails sent Signed-off-by:
Thomas Citharel <tcit@tcit.fr> Add non-breaking spaces Signed-off-by:
Thomas Citharel <tcit@tcit.fr> changes and fixes to the nbsps Signed-off-by:
Thomas Citharel <tcit@tcit.fr> French update a few fixes Signed-off-by:
Thomas Citharel <tcit@tcit.fr> fixes Signed-off-by:
Thomas Citharel <tcit@tcit.fr>
-
Markus Amalthea Magnuson authored
-
Nicolai von Neudeck authored
Fixed various spelling and grammar mistakes. Used more gender-neutral language.
-
Alda Marteau-Hardi authored
-
Matt Jankowski authored
* Add helper method to return Setting.site_title * Use site_title helper in application layout * Use site_title value for og:site_name
-
Chris Heninger authored
-
Yann GUERN authored
The async action is send before persist, account.id not yet generated Pull queue receive 'nil' so no profile update.
-
Eugen Rochko authored
-
- Apr 07, 2017
-
-
Eugen Rochko authored
-
Chad Pytel authored
These are currently user facing errors, but are not localized. This adds the ability for these messages to be localized.
-
Joël Quenneville authored
Checking reblog vs original status was happening in multiple places across the app. For views, this logic was encapsulated in a helper method named `proper_status` but in the other layers of the app, the logic was duplicated. Because the logic is used at all layers of the app, we extracted it into a `Status#proper` method on the model and changed all uses of the logic to use this method. There is now a single source of truth for this condition. We added test coverage to untested methods that got refactored.
-
Eugen Rochko authored
-
Jantso Porali authored
-
Eugen Rochko authored
Setting of locale in controller extracted to Localized concern, the doorkeeper authorized applications controller moved under custom namespace with inclusion of Localized, which resolves the "it sometimes appears in a different random language" bug
-
Eugen Rochko authored
-
Eugen authored
-
Eugen authored
* Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder StreamEntry is now limited to only statuses, which allows some optimization. Removed extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer and PubSubHubbub::DistributionWorker PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker instead. All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri * All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
-