David Yip
c08c971dd3
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
f410afe59e
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
02ae609d9a
Merge tootsuite/master at ab48f2b239
7 years ago
ThibG
74de5566d4
Filter searched toots to be consistent with blocking behaviors ( #5383 )
7 years ago
Ondřej Hruška
2706eef783
Raise search results count to 10 for test
...
reference: https://mastodon.xyz/users/lx/updates/278054
7 years ago
Eugen Rochko
9fff81f676
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
20e15ecfb3
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ( #4090 )
7 years ago
Matt Jankowski
76f986d07b
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
3d2927caa2
Refactor api/v1/search controller ( #3468 )
8 years ago
Eugen Rochko
3893f75a51
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
8 years ago