Albert Yi
eea5fbaab3
Merge pull request #3112 from evazion/fix-edit-mode
...
Fix height of tag edit box in edit mode.
2017-06-05 12:03:37 -07:00
Albert Yi
494ad99aac
Merge pull request #3111 from evazion/fix-3099
...
Fix #3099 : NilClass error for approval API request
2017-06-05 12:03:18 -07:00
evazion
9b31e16627
mode menu: fix height of tag edit box in edit mode.
...
Bug: in edit mode, each time you click a thumbnail the height of the tag
edit box increases by 4px.
This is due to `scrollHeight` including vertical padding. Fix it to a)
ignore this padding, and b) ensure the min height is at least 80px.
2017-06-04 14:02:46 -05:00
evazion
fdf8e7d5d7
Fix mode menu 'approve' option.
...
* Fix routing error in respond_with (didn't use /moderator namespace).
* Fix /moderator/posts/approvals.json response to return full
PostApproval object, not just a success/failure message.
* Simplify the javascript a bit (use $.post instead of $.ajax).
2017-06-04 12:14:35 -05:00
evazion
3880fbe13e
/posts/$id: fix shift+O to approve shortcut.
...
`Danbooru.Post.approve` is used for approving posts via the mode menu.
It doesn't hide all the notices or the approve/disapprove/flag buttons.
Click the link instead to hide those things.
Click the #quick-mod-approve link instead of #approve because #approve
prompts for confirmation.
2017-06-04 10:07:26 -05:00
BrokenEagle
6f593de46d
Resize images for mobile layout
2017-06-03 12:52:27 -07:00
r888888888
3a49b3c54b
include normalized artist url in artist json
2017-05-30 12:01:18 -07:00
evazion
3ecee91861
Fix #3061 : Add "General" button for related tags on new/edit posts.
2017-05-26 12:49:59 -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
52e289e990
/static/terms_of_service: fix page wrapper ids.
2017-05-22 13:19:18 -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
9b613157ae
Add data attributes for CurrentUser's privileges to <body> tag ( fix #3073 ).
2017-05-21 12:31:28 -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
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
evazion
c68e68f3c2
/uploads/new: add show/hide commentary toggle button.
2017-05-13 00:18:52 -05:00
Albert Yi
dc02dcf0e0
Merge pull request #3015 from evazion/feat-replace-images
...
Fix #2949 : Sample image replacement ability
2017-05-12 17:11:29 -07:00
r888888888
5ad7f1af91
cache artist domains, show artist domains in wiki excerpt on post listing
2017-05-12 14:50:37 -07:00
evazion
7a656f790d
/uploads/new: autopopulate commentary from /source.json.
2017-05-10 18:01:52 -05:00
Albert Yi
64311c83e4
Merge pull request #3028 from evazion/fix-flag-borders
...
Change flag borders from red to blue for non-approvers.
2017-05-08 13:05:54 -07:00
evazion
c1fa656bd2
posts: change flag borders from red to blue for non-approvers.
2017-05-04 17:40:17 -05:00
evazion
7ade3b6831
Fix #2352 : return raw usernames in API instead of pretty names.
2017-05-03 22:16:38 -05:00
evazion
85f6590b1a
responsive layout: fix <input> sizes and styling.
2017-05-02 22:30:56 -05:00
evazion
352a3e065f
responsive layout: fix dropdown nav menu overlapping main content.
...
The culprit is `float: right;` but none of this other stuff is needed.
2017-05-02 22:30:56 -05:00
evazion
4e841c4ea5
post replacement: add "Replace Image" dialog to post sidebar.
2017-05-02 20:41:19 -05:00
r888888888
62c9beafc2
fixes #2993 : Artist URL breakdown
2017-05-01 15:48:04 -07:00
Albert Yi
522ee8b303
Merge pull request #3004 from evazion/fix-responsive-taglist
...
Fix tag list for responsive layout.
2017-05-01 14:51:53 -07:00
r888888888
48e9856f37
fixes #3007 : Eliminate Janitor role
2017-05-01 14:38:30 -07:00
evazion
e8b9361226
notes: display error message when note saving fails.
2017-04-28 21:37:14 -05:00
evazion
3eef8a62cc
Remove unused css.
2017-04-28 15:08:07 -05:00
evazion
7aae76d80a
responsive layout: move sidebars beneath main content.
...
Incidentally fixes bug with notes being mispositioned on top of the
sidebar because the sidebar was declared as float: left.
2017-04-28 15:05:46 -05:00
Albert Yi
9f19e2b78f
Merge pull request #3001 from evazion/feat-unfav-hotkey
...
/posts: add shift+F to unfavorite hotkey.
2017-04-26 13:55:56 -07:00
Albert Yi
41b245d19d
Merge pull request #2998 from evazion/fix-quote-stripping
...
Fix [quote] stripping for comments, forum post replies.
2017-04-26 12:43:30 -07:00
r888888888
b7f207180c
eliminate responsive tag list
2017-04-26 12:26:51 -07:00
evazion
59a179fa15
/posts: add shift+F to unfavorite hotkey.
2017-04-25 01:50:14 -05:00
evazion
869f1610fc
comments: use server-side quote-stripping instead of reimplementing in js.
2017-04-24 21:15:47 -05:00
evazion
4631262374
Fix broken tag autocomplete on multiple pages.
...
Mark all tag <input>s with a `data-autocomplete` attribute, instead of
hardcoding a list of html IDs to autocomplete in javascript.
This way should be less error prone. It fixes autocomplete in several places:
* Autocomplete for the search box on /posts didn't work in the
responsive layout. This was because /posts has two search boxes that
both have the id `tags`: one in the normal sidebar, and one in the
responsive tag list. $("#tags") only initialized autocomplete on the
first one.
* Autocomplete didn't work on the aliases or implications pages. This
was due to selecting the wrong html ids.
2017-04-22 15:24:03 -05:00
Albert Yi
ecf00260c3
Merge pull request #2982 from evazion/fix-ss-dropdown
...
Fix saved search dropdown on post show page.
2017-04-22 01:04:47 -07:00
evazion
f1552539f7
notes: allow <ruby> tags for marking up furigana.
2017-04-21 14:31:05 -05:00
evazion
5303d1052f
/posts: fix saved search dropdown for post show page.
2017-04-20 19:05:54 -05:00
r888888888
9718c6e107
fixes to mobile responsive view
2017-04-20 14:29:11 -07:00
evazion
715dcc491b
/bans: size columns to avoid unnecessary wrapping.
...
Sizes columns such that they automatically shrink to fit. This fixes
problems with usernames and dates wrapping in the middle.
2017-04-19 17:56:25 -05:00
evazion
40fe0f595f
/bans: color code expired/unexpired bans.
2017-04-19 17:56:24 -05:00
r888888888
97da8f8647
deprecate tag subscriptions with warnings
2017-04-14 16:00:20 -07:00
r888888888
5d7d6eecf8
partial fix for #2751
2017-04-14 13:14:36 -07:00
evazion
b9693827c3
/wiki_pages: sort autocomplete by post count.
...
* Add search[order]=post_count param to /wiki_pages.
* Make autocomplete do a prefix match ordered by post count, so that it
works the same way that tag autocomplete does elsewhere.
2017-04-07 18:25:31 -05:00
evazion
6b462c865e
/artists: sort autocomplete by post count.
...
* Add search[order]=post_count param to /artists.
* Make autocomplete do a prefix match ordered by post count, so that it
works the same way that tag autocomplete does elsewhere.
2017-04-07 18:25:31 -05:00
evazion
1a63fd6ac7
/artists: filter deleted artists from autocomplete.
2017-04-07 18:25:30 -05:00
evazion
7f2859eb00
/pools: don't filter inactive pools from autocomplete.
...
The inactive flag marks series pools that are finished (no more posts
will be added), not pools that are deleted. Finished series should still
be autocompleted.
2017-04-07 18:25:30 -05:00
r888888888
ae4b73c650
fix jquery dropdown css
2017-04-05 15:32:54 -07:00