about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2017-04-10Fix #1097 When onClick is falsy, do not make status content clickable (#1434)Stephen Burgess
2017-04-10Allow typing a toot while an image uploads (#1429)Jessica Stokes
This patch stops disabling the toot text field when an image is uploading. Instead, you can type to your heart's content and when the image uploads it'll append the image URL, and restore the position of your cursor to wherever it was in the toot text just prior. Effectively, the image URL is appended to the toot, and typing is not interrupted at all! ✨
2017-04-10Fix issue with missing emojify class in views (#1455)Matt Jankowski
* Add missing emojify class to landing strip * Add missing emojify class to simple_status partial
2017-04-10Admin base controller (#1465)Matt Jankowski
* Add Admin::BaseController to wrap admin area Extracts the setting of the `admin` layout and verifying that users are admins to a common base class for the admin/ controllers. * Add basic coverage for admin/reports and admin/settings controllers
2017-04-10Adjust background of emoji panel (#1461)Corey Dutson
Addresses #1451 which notes the emoji picker is too light. I agree, so I submit this adjustment. Changes: Changed the background to a darkened version of another system color
2017-04-10Improve scrolling behaviour (#1415)Jessica Stokes
* Replace column margin with padding This improves horizontal scrolling behaviour significantly; scrolled flex elements are... a little weird. * Move clear column button styling to css
2017-04-10Fix icon and emoji sizes (#1403)Ram Lmn
Fixes icons and emoji size issues described in #1233.
2017-04-10Add Russian translation (ru) (#1023)Ratmir Karabut
* Add Russian translation (ru) * Fix a missing comma * Fix the wording for better consistency
2017-04-10Fix for Import issue from URL (#1416)Jantso Porali
2017-04-10Add search to emoji picker (#1395)Gavin Mogan
2017-04-09Do not store last visited URL from API controllers (#1330)Eugen
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"}
2017-04-09Fix #1339 - better Atom titles (#1343)Eugen
2017-04-09Fix /api/v1/accounts/update_credentials tests (#1357)Eugen
2017-04-09update portuguese translation (#1280)Hugo Gameiro
added the missing fields and improved the translation
2017-04-09Get handle from atom feed's author/email field instead of guessing from URL ↵ThibG
(#1344) 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.
2017-04-09Use HTTP Accept-Language to detect locale (#1166)David Authier
* 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
2017-04-09Allow users to update their Account in the API (#1179)David Celis
* 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>
2017-04-09Helper cleanup (#1348)Matt Jankowski
* Remove unused helper files * Add coverage for application helper * Add coverage for StreamEntriesHelper #display_name
2017-04-09Update fr.jsx (#1329)StefOfficiel
* Update fr.jsx * Remove duplicate translation
2017-04-09French translation update (#1271)Olivier Humbert
* 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)
2017-04-09add empty notifications french translation (#1111)Jonathan Klee
2017-04-09Clean up about page (#1282)Matt Jankowski
* Add InstancePresenter to expose site details * Clean up about controller, use instance presenter
2017-04-09Fixes #1311 margin shouldn't stay fixed (#1312)Brian Mock
2017-04-09Search cleanup (#1333)Matt Jankowski
* 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
2017-04-09Fix nonworking clear notices button (#1316)Rachel H
2017-04-08Make public timelines API not require user context/app credentials (#1291)Eugen
* 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
2017-04-08Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278)Eugen
* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up
2017-04-08Improve responsiveness of registration form and closed banner (#1265)Pavel Djundik
2017-04-08Improve about page responsiveness (#1252)Pavel Djundik
2017-04-08Fix #1141, fix #1126 - Avatar/profile info fetching (#1215)Eugen
* Fix #1141, fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags * Improve code quality, remove line unrelated to fix
2017-04-08Update french translation (#1148)Thomas Citharel
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>
2017-04-08Add titles to more icons, and change clear notifications icon. (#1101)Markus Amalthea Magnuson
2017-04-08Updated German translation (#1248)Nicolai von Neudeck
Fixed various spelling and grammar mistakes. Used more gender-neutral language.
2017-04-08Add some missing strings to prevent some React warning in the console (#1230)Alda Marteau-Hardi
2017-04-08Use Setting.site_title value for `og:site_name` occurrences (#1194)Matt Jankowski
* Add helper method to return Setting.site_title * Use site_title helper in application layout * Use site_title value for og:site_name
2017-04-08Merge pull request #1224 from chrisheninger/patch-1Eugen
Add SVG version of logo to repo
2017-04-08Merge pull request #1218 from R0ckweb/patch-2Eugen
Fix #1141 on remote follow
2017-04-08Merge pull request #1216 from tootsuite/fix-default-locale-regressionEugen
Fix #1165 - Default locale no longer breaks form submissions
2017-04-08Merge pull request #1213 from tootsuite/fix-accounts-initial-caseEugen
Fix #801 - Respect webfinger's canonical response of username/domain
2017-04-07Merge branch 'master' into fix-default-locale-regressionKurtis Rainbolt-Greene
2017-04-07Merge branch 'master' into patch-2Kurtis Rainbolt-Greene
2017-04-07Add SVG version of logo to repoChris Heninger
2017-04-07Merge branch 'master' into masterShel R
2017-04-07Merge branch 'master' into patch-4Shel R
2017-04-08#1141 on remote followYann GUERN
The async action is send before persist, account.id not yet generated Pull queue receive 'nil' so no profile update.
2017-04-08Fix #1165 - before_action was called before protect_from_forgeryEugen Rochko
2017-04-08Fix #801 - Respect webfinger's canonical response of username/domainEugen Rochko
2017-04-07Merge pull request #1183 from thoughtbot/cp-post-status-service-specsEugen
Add specs for PostStatusService
2017-04-07Use I18n for media attachment validation errorsChad Pytel
These are currently user facing errors, but are not localized. This adds the ability for these messages to be localized.
2017-04-07DRY up reblog vs original status checkJoël Quenneville
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.