1
0
mirror of https://framagit.org/tykayn/mastodon.git synced 2023-08-25 08:33:12 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
Eugen Rochko
6e25574ce5
Fix media attachments enumeration ()
* Fix media attachment enumeration

* Switch media_attachments id to snowflake ids

Co-authored-by: Thibaut Girka <thib@sitedethib.com>
2020-07-07 15:26:51 +02:00
Yamagishi Kazutoshi
d10447c3a8 Use raw status code on have_http_status () 2018-04-21 21:35:07 +02:00
Jack Jennings
3a2003ba86 Extract authorization policy for viewing statuses () 2017-05-29 18:22:22 +02:00
Matt Jankowski
9566893cc9 More controller specs ()
* Add render_views in more places

* Delegate methods from account to user with allow nil true, so that admin accounts show view renders when missing a user

* Use actual account instances in authorize follow controller spec
2017-04-28 15:12:37 +02:00
Matt Jankowski
cc1361c149 Media controller specs ()
* Add spec for media controller

* Add MediaAttachment.attached scope

* Simplify methods in media controller
2017-04-17 20:02:00 +02:00