- Apr 10, 2017
-
-
Matt Jankowski authored
* Replace will_paginate with kaminari * Use #page instead of #paginate in controllers * Replace will_paginate.page_gap with pagination.truncate in i18n * Customize kaminari views to match prior styles * Set kaminari options to match prior behavior * Replace will_paginate with paginate in views
-
Eugen authored
* When avatar/header are GIF, generate static versions. Account API returns "avatar"/"avatar_static", "header"/"header_static" Static version is the same as original for other cases Web UI de-animates avatars in toots, lists of users Fix #441, fix #596, prerequisite for #1064 * Fix JS test * Add rake task to generate static avatars/headers from GIF ones, add test
-
Eugen authored
* Add exclude_types param to /api/v1/notifications * Exclude notification types in web UI through exclude_types in the API
-
Matt Jankowski authored
* Consolidate webfinger string creation under Account#to_webfinger_s * Introduce Account#local_username_and_domain for consolidation
-
Matt Jankowski authored
* 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
-
- Apr 09, 2017
-
-
Eugen authored
-
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
-
Matt Jankowski authored
* Add InstancePresenter to expose site details * Clean up about controller, use instance presenter
-
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
-
Matt Jankowski authored
A request to `/test` would show the custom 404 page, but a request to `/test.test` would return a 404 with an empty body. This change ignores the format on incoming catch all route requests, so that the html 404 page is returned on these requests.
-
- Apr 08, 2017
-
-
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
-
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
-
- Apr 07, 2017
-
-
Joël Quenneville authored
Implement the two pending specs on `Status`: `reblogs_count` and `favourites_count`.
-
Chad Pytel authored
These are currently user facing errors, but are not localized. This adds the ability for these messages to be localized.
-
Chad Pytel authored
This implements all pending specs, and adds additional coverage for the following functionality: * Normal status creation * Creating a reply status * Creating a sensitive status * Creating a status with spoiler text * A status with no spoiler text gets an empty string for spoiler text * Creating a status with custom visibility * Creating a status for an application * Processing mentions * Processing Hashtags * Pinging PuSH hubs * Crawling links * Attaching media
-
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.
-
Chad Pytel authored
There are currently not specs for the two media validations that are performed by `PostStatusService`. This adds specs for the validations that ensure that you cannot attach more than four files, and that a status cannot have both image and video attachments.
-
- Apr 05, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- Apr 04, 2017
-
-
Samy KACIMI authored
-
Samy KACIMI authored
-
Kurtis Rainbolt-Greene authored
-
Pete Keen authored
This adds the ability to filter user signup with a whitelist instead of or in addition to a blacklist. Fixes #817
-
- Apr 03, 2017
-
-
Eugen Rochko authored
-
- Mar 30, 2017
-
-
Eugen Rochko authored
-
- Mar 28, 2017
-
-
Eugen Rochko authored
-
- Mar 22, 2017
-
-
Eugen Rochko authored
-
- Mar 05, 2017
-
-
Eugen Rochko authored
Fix anchor tags in some wikipedia URLs being matches as a hashtag
-
- Mar 03, 2017
-
-
Eugen Rochko authored
-
- Mar 02, 2017
-
-
Kit Redgrave authored
-
- Feb 22, 2017
-
-
Eugen Rochko authored
-
- Feb 14, 2017
-
-
Eugen Rochko authored
-
- Feb 12, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
StreamEntry model. Simply render Salmon slaps as they are needed
-
- Feb 11, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
Eugen Rochko authored
if account lock info was up to date, otherwise re-do the FollowService with now updated information
-
Eugen Rochko authored
-
- Feb 06, 2017
-
-
Evan Minto authored
-