Commit Graph

21 Commits

Author SHA1 Message Date
evazion
e29e9eda49 posts: remove ban confirmation page.
Use a dialog instead of a separate page to confirm bans.
2020-02-27 00:19:03 -06:00
evazion
faf852d18e approvals: remove post undelete endpoint.
Remove `POST /moderator/post/undelete` endpoint. Replace it with
`POST /post_approvals` instead.

Fixes it so that undeleting a post has the same behavior as approving a
post. Namely, it reloads the page instead of just flashing a "Post was
undeleted" message.
2020-02-20 15:49:31 -06:00
evazion
c89c7ccc63 mode menu: remove post ban, rating lock, note lock options. 2020-02-20 03:42:07 -06:00
evazion
72e56d8856 PostPresenter.preview: standardize on show_deleted: true.
Standardize on using `show_deleted: true` instead of `tags: "status:any"`
when rendering thumbnails and we want to show deleted thumbnails.

Also fixes it so that deleted thumbnails are shown when reordering pools
and favorite groups.
2020-02-18 19:22:57 -06:00
evazion
8d07ad7390 js: clean up notice/error messaging. 2019-08-14 01:46:44 -05:00
Albert Yi
6fa0ae2cf1 Migrate assets to use Webpacker 2018-07-27 15:24:05 -07:00
evazion
648cc9ecb7 Move post replacement create action to post replacements controller. 2017-05-14 21:31:01 -05:00
evazion
4e841c4ea5 post replacement: add "Replace Image" dialog to post sidebar. 2017-05-02 20:41:19 -05:00
Albert Yi
2af622e7a7 add ban to post mode menu 2016-12-09 11:56:25 -08:00
Toks
af22c2b7fa Display expunge errors #2556 2015-12-05 16:18:49 -05:00
Toks
7c90fca006 Allow moving favorites for already deleted post 2015-07-07 11:08:32 -04:00
Toks
4e5a1d43d3 fix #2306 2014-11-12 18:46:12 -05:00
Toks
f4596830c4 Partial fix for #1520 2014-01-08 15:54:27 -05:00
Toks
27c80ba621 #1326: Add checkbox to move favorites 2013-12-17 12:14:32 -05:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
r888888888
2dfa616f33 fixes #1350, better db:seed script 2013-04-16 20:23:02 -07:00
albert
c540c4f891 Fixes #1121, rename Post#annihilate to Post#expunge 2013-04-08 13:44:43 -04:00
小太
1a03a86592 Kill trailing whitespace in erb files 2013-03-19 23:11:58 +11:00
albert
4a61498f0e delete action from post/show requires confirmation+flag reason now 2013-02-23 16:53:03 -05:00
albert
57c922ec30 added post#annihilate, removed stale post_moderation views 2011-10-15 23:07:50 -04:00
albert
4828cef27d refactored post mod queue 2011-07-22 13:35:40 -04:00