evazion
ab6d9bd0e8
post votes: fix exception when voting on posts using API.
...
Fix an `undefined method post_vote_url` exception when doing
`POST https://danbooru.donmai.us/posts/1/votes.json `.
Also add the following API endpoints:
* https://danbooru.donmai.us/post_votes/:id.json
* https://danbooru.donmai.us/comment_votes/:id.json
* https://danbooru.donmai.us/forum_post_votes/:id.json
where `:id` is the vote ID, not the post ID.
2021-11-14 20:11:38 -06:00
BrokenEagle
a903bd95f9
Add tests for all models with includes searches
2020-07-27 19:29:22 +00:00
evazion
0276792b35
BURs: add test for users voting on their own BURs ( #4527 )
2020-06-23 02:43:12 -05:00
evazion
cc2b4abd09
pundit: convert forum post votes to pundit.
2020-03-20 18:03:01 -05:00
evazion
754e3a2ee2
tests: fix forum post votes & wiki page updater tests.
...
* Move forum post vote tests from test/controllers to test/functional.
* Fix forum post vote tests to work with new routes.
* Fix obsolete wiki page tests dealing with updater_id.
2019-10-28 02:13:10 -05:00
evazion
0e159960a2
forum post votes: add index page.
2019-10-28 01:06:23 -05:00