- Jun 10, 2017
-
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
* Improve default language decision This change allows to takes account of accepted language determined by the user agent even if the custom default locale of the instance is configured. * Cover Localized more * Fix code style
-
Matt Jankowski authored
Each of mute, favourite, reblog has been updated to: - Have a separate controller with just a create and destroy action - Preserve historical route names to not break the API - Mild refactoring to break up long methods
-
- Jun 09, 2017
-
-
m4sk1n authored
* i18n * i18n * i18n * i18n * i18n
-
Matt Jankowski authored
Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646) * Add specs for api statuses routes * Update favourited_by and reblogged_by api routes * Move methods into new controllers * Use load_accounts methods to simplify index actions * Clean up load_accounts methods * Clean up link header generation * Check for link headers in specs * Remove unused actions from api/v1/statuses controller * Remove specs for moved actions
-
Eugen Rochko authored
-
Eugen Rochko authored
-
Matt Jankowski authored
* Default to nil for statuses.language * Language detection defaults to nil instead of instance UI default
-
Clworld authored
-
Yamagishi Kazutoshi authored
-
Yamagishi Kazutoshi authored
-
Yamagishi Kazutoshi authored
* Check ready state of document in public pages * add check interactive
-
ふぁぼ原 authored
-
- Jun 08, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
* Fix db:seed - only run some validations when the field was changed * Add tests
-
Eugen Rochko authored
-
Eugen Rochko authored
* Add explit admin actions to (re)subscribe/unsubscribe remote accounts and re-download avatar/header * Improve how admin NSFW toggle looks
-
ThibG authored
-
Yamagishi Kazutoshi authored
https://github.com/codeclimate/codeclimate-rubocop/blob/08f8de84ebfb39caa96391e23816877278f6441c/Gemfile.lock#L38 Code Climate is using RuboCop v0.46.0. Change several rules to maintain compatibility.
-
- Jun 07, 2017
-
-
Sorin Davidoi authored
-
Matt Jankowski authored
* Move ApiController to Api/BaseController * API controllers inherit from Api::BaseController * Add coverage for various error cases in api/base controller
-
Sorin Davidoi authored
-
Matt Jankowski authored
* Coverage for rate limit headers * Move rate limit headers methods to concern * Move throttle check to condition on before_action * Move match_data variable into method * Move utc timestamp to separate method * Move header setting into smaller methods * specs cleanup
-
Yamagishi Kazutoshi authored
-
unarist authored
This preserves `<a ... class="u-url mention">` from other Mastodon instances.
-
ThibG authored
Steps to reproduce the original issue: 1. Have two remote accounts, A that you don't follow, and B that you follow. 2. Have A post a toot and reply to it. 3. Boost A's reply from remote account B. This used to cause the local instance to get A's reply but fail to link it to the original post.
-
Yamagishi Kazutoshi authored
-
STJrInuyasha authored
-
- Jun 06, 2017
-
-
Eugen Rochko authored
before the full-size image is loaded
-
Eugen Rochko authored
* Fix #3063 - Add dynamic app manifest * Added short_name * Add background_color
-
ふぁぼ原 authored
* Add regex filter on the community timeline and the public timeline * correcting * Adjust the height of header buttons * Remove trailing spaces * Remove trailing spaces * Solve some code duplication * reset the state of the locale files in app/javascript/mastodon/locales * adjust to upstream * adjust to upstream * change keys of locale settings
-
unarist authored
-
unarist authored
* Sort results by the name * Switch search method to simple `LIKE` matching instead of tsvector/tsquery Previously we used scores from ts_rank_cd() to sort results, but it didn't work because the function returns same score for all results. It's not for calculate similarity of single words. Sometimes this bug even push out exact matching tag from results. Additionally, PostgreSQL supports prefix searching with standard btree index. Using it offers simpler code, but also less index size and some speed.
-
Yamagishi Kazutoshi authored
* Add react/no-string-refs ESLint rule * Add react/jsx-boolean-value ESLint rule * Add react/jsx-closing-bracket-location ESLint rule * Add react/jsx-indent ESLint rule * Add react/jsx-curly-spacing ESLint rule * Add react/jsx-equals-spacing ESLint rule * Add react/jsx-first-prop-new-line ESLint rule * Add react/jsx-no-duplicate-props ESLint rule * Add react/jsx-tag-spacing ESLint rule
-
Yamagishi Kazutoshi authored
-
May Kittens Devour Your Soul authored
-
Yamagishi Kazutoshi authored
* Add quotes ESLint rule * Add jsx-quotes ESlint rule * Sort ESLint rules
-
Yamagishi Kazutoshi authored
-
- Jun 05, 2017
-
-
ThibG authored
* Try fixing ThreadResolveWorker calls From my understanding of ActiveRecord, a transaction is commited as soon as the exit of the outmost ActiveRecord.transaction block. However, inner transaction blocks will exit without the transaction being commited. In this case, ThreadResolveWorker were fired *within* a transaction block, so moving the call out of it should do the trick. However, this is somewhat fragile, as this whole codepath could be called within yet another transaction. * Set status thread within the transaction block if it is immediately available from database
-
Naoki Kosaka authored
-
Naoki Kosaka authored
-