Commit Graph

5055 Commits

Author SHA1 Message Date
evazion
4c61e547b9 posts: add data-is-favorited attribute to thumbnails. 2017-05-23 11:53:04 -05:00
evazion
c5de983f61 Post#favorited_by?: fix to return a boolean. 2017-05-23 11:53:03 -05:00
Albert Yi
eef1e686d8 Merge pull request #3067 from evazion/fix-3065
Fix #3065: <div> id incorrect for certain controllers
2017-05-22 12:15:47 -07:00
evazion
9cf2c60c09 /wiki_page_versions: add #p-global-listing, #p-page-listing ids.
Split the wiki page versions template into two partials,
_global_listing.html.erb and _page_listing.html.erb, to avoid the nested
conditionals that arise from combining these two pages into one template.

Add html IDs to distinguish between these two partials.
2017-05-22 14:05:30 -05:00
Albert Yi
3be06364fa Merge pull request #3077 from evazion/fix-dmail-title-search
Fix case sensitivity bug in dmail title search.
2017-05-22 11:59:22 -07:00
Albert Yi
582666cc7f Merge pull request #3076 from evazion/feat-body-attrs
Fix #3073: Add attribute "data-is-moderator" to the <body> element.
2017-05-22 11:58:11 -07:00
Albert Yi
e4e021f26e Merge pull request #3075 from evazion/fix-forum-feed
Fix #3069: Reverse forum post order for forum topic Atom feed
2017-05-22 11:57:46 -07:00
Albert Yi
61fabffc1c Merge pull request #3071 from evazion/fix-order-index
Fix #3000: order: metatags aren't indexed.
2017-05-22 11:39:00 -07:00
evazion
5ff4f12329 /moderator/ip_addrs: add #p-ip-listing, #p-user-listing ids. 2017-05-22 13:25:36 -05:00
evazion
52e289e990 /static/terms_of_service: fix page wrapper ids. 2017-05-22 13:19:18 -05:00
evazion
8bf03e596d /user_reverts/new: fix page wrapper id. 2017-05-22 13:09:52 -05:00
evazion
060375dce7 /bans/new: fix page wrapper ids. 2017-05-22 13:09:36 -05:00
evazion
d5b9b7162c /user_upgrades/new: fix page wrapper id.
* Move related css to user_upgrades.scss.
* Delete users/upgrade_information.html.erb as it is unused.
2017-05-22 13:07:31 -05:00
evazion
c31d11b095 bans: fix case sensitivity bug in ban reason search. 2017-05-21 20:13:43 -05:00
evazion
3f760069b3 dmails: fix case sensitivity bug in dmail title search. 2017-05-21 13:52:56 -05:00
evazion
9b613157ae Add data attributes for CurrentUser's privileges to <body> tag (fix #3073). 2017-05-21 12:31:28 -05:00
evazion
f1f6e5ccc9 anonymous_user.rb: generate is_<role>? methods from User::Roles. 2017-05-21 12:27:39 -05:00
evazion
76b50c31bf /forum_topics/$id.atom: fix ordering (fix #3069). 2017-05-21 10:31:21 -05:00
evazion
223e600eb0 /explore/posts/{popular,searches,missed_searches}: fix page wrapper ids. 2017-05-21 10:26:03 -05:00
evazion
86b1298662 /reports/upload_tags: change page wrapper id to #c-upload-tags-report. 2017-05-20 12:09:37 -05:00
evazion
9bf85ee2b3 Factor out <ins>/<del> css from #c-post-versions to .diff-list. 2017-05-20 12:07:47 -05:00
evazion
6475b98c46 /posts/$id/events: change page wrapper id to #c-post-events. 2017-05-20 08:09:54 -05:00
evazion
fad4d48b1c search: fix order:note, order:comment_bumped to use indexes. 2017-05-19 18:19:05 -05:00
evazion
d74eda2b96 search: readd posts.id secondary sort to order: metatags. 2017-05-19 18:19:04 -05:00
evazion
2259506bc2 flags: disallow flagging pending posts. 2017-05-19 14:37:38 -05:00
evazion
0e26d0e77e /pool_versions: change page wrapper id to #c-pool-versions. 2017-05-19 13:55:30 -05:00
evazion
d46aa89159 /wiki_page_versions: change page wrapper id to #c-wiki-page-versions.
Changes the wrapper id to #c-wiki-page-versions and moves the
corresponding css from wiki_pages.scss to wiki_page_versions.scss.
2017-05-19 13:40:24 -05:00
Albert Yi
a4220854a3 Merge pull request #3063 from evazion/fix-post-delete
Fix flagging cooldown preventing manual deletions.
2017-05-18 13:44:27 -07:00
evazion
3570ace017 flags: ignore flagging rate-limits when deleting posts. 2017-05-17 23:48:37 -05:00
evazion
565945ab7b flags: move flagging inside Post#delete! 2017-05-17 23:48:37 -05:00
evazion
9f1096e67f post replacement: rescale notes. 2017-05-17 00:14:41 -05:00
evazion
302bc52bf8 post replacement: take guidelines from help:replacement_notice. 2017-05-17 00:14:41 -05:00
evazion
402caf6168 post replacement: don't send @mention dmails to replacer. 2017-05-17 00:14:41 -05:00
evazion
a3db5ba346 post replacement: move presenter methods to post_replacement.rb. 2017-05-17 00:14:41 -05:00
r888888888
68a91feadc add ban_expired? method to anonymous user 2017-05-15 16:34:18 -07:00
Albert Yi
2f1faf3c38 Merge pull request #3060 from evazion/fix-3048
Fix #3048: Artist Lookup Failing Due to Changing Usernames
2017-05-15 16:33:53 -07:00
Albert Yi
0131847e55 Merge pull request #3059 from evazion/fix-artist-api
Don't return `domains` in /artists.json.
2017-05-15 16:31:22 -07:00
Albert Yi
6ddf0821d8 Merge pull request #3055 from evazion/feat-post-replacement-controller
Add post replacements controller.
2017-05-15 16:19:34 -07:00
Albert Yi
7d2e1f871b Merge pull request #3056 from evazion/fix-3054
Fix #3054: Artist link broken on Post Upload page
2017-05-15 16:17:26 -07:00
Albert Yi
0ca211d878 Merge pull request #3053 from evazion/feat-replace-images
Avoid pruning post replacement delayed jobs.
2017-05-15 16:14:04 -07:00
Albert Yi
d658d41c53 Merge pull request #3050 from evazion/fix-user-name-changes
Fix username changes forcing new name to lowercase.
2017-05-15 16:13:16 -07:00
Albert Yi
79484586cd Merge branch 'master' into fix-forum-topic-visits 2017-05-15 16:10:21 -07:00
Albert Yi
0fd760fdf2 Merge pull request #3049 from evazion/fix-3046
Fix #3046: Server Only Grabbing/Using First Character of Pixiv Tags/Tools
2017-05-15 16:01:32 -07:00
Albert Yi
cf1d8e595c Merge pull request #3045 from evazion/feat-commentary-toggle
Add commentary toggle button on uploads page.
2017-05-15 16:00:30 -07:00
evazion
eac827973b Normalize pixiv artist urls to pixiv member page (fix #3048). 2017-05-15 14:12:08 -05:00
evazion
6ee3b2635a Fix returning incorrect pixiv profile url (fixes #3054). 2017-05-14 22:00:06 -05:00
evazion
648cc9ecb7 Move post replacement create action to post replacements controller. 2017-05-14 21:31:01 -05:00
evazion
cb09b6661d Add /post_replacements.json, /posts/1234/replacements.json. 2017-05-14 18:49:57 -05:00
evazion
a6737dfc14 daily_maintenance.rb: don't prune file deletion delayed jobs. 2017-05-14 12:49:11 -05:00
evazion
2c29a7ac19 /artists: only include domains in /artists/1234.json, not /artists.json. 2017-05-14 10:38:26 -05:00