David Yip
1b8fcd4df5
Merge remote-tracking branch 'origin/master' into merge-upstream
...
Conflicts:
README.md
app/controllers/follower_accounts_controller.rb
app/controllers/following_accounts_controller.rb
app/serializers/rest/instance_serializer.rb
app/views/stream_entries/_simple_status.html.haml
config/locales/simple_form.ja.yml
7 years ago
Eugen Rochko
fce8464077
Ensure that boolean params in the API are parsed for truthiness ( #6575 )
...
Use Rails smart boolean cast to account for values such as "f",
"0", "false", etc. Previously, if a param was present in the request,
it would count as true.
7 years ago
Surinna Curtis
35fbdc36f9
Merge tootsuite/master at 3023725936
7 years ago
ThibG
58bca7b1e4
Filter searched toots to be consistent with blocking behaviors ( #5383 )
7 years ago
Ondřej Hruška
99f24ab0c7
Raise search results count to 10 for test
...
reference: https://mastodon.xyz/users/lx/updates/278054
7 years ago
Eugen Rochko
f93de3a516
Fix #3462 - Require authentication for search API ( #4155 )
...
This makes it consistent with /api/v1/accounts/search and
previous behaviour has been an oversight.
7 years ago
Eugen Rochko
8b2cad5637
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ( #4090 )
7 years ago
Matt Jankowski
73540ffe6b
Clean up for api/base controller ( #3629 )
...
* Move ApiController to Api/BaseController
* API controllers inherit from Api::BaseController
* Add coverage for various error cases in api/base controller
8 years ago
Matt Jankowski
7f55430652
Refactor api/v1/search controller ( #3468 )
8 years ago
Eugen Rochko
05cf086766
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
8 years ago