evazion
a164951b54
saved searches: add more order options ( #4171 ).
2019-09-22 23:38:48 -05:00
evazion
a5949a4b28
saved searches: always show 'Saved searches' link in navbar.
...
* Always display 'Saved searches' link in subnav bar, even if the user
hasn't created any saved searches yet.
* Eliminate use of `has_saved_searches` bitpref on users.
2019-09-22 23:14:55 -05:00
evazion
4e4c4d627e
saved searches: remove option to disable saved searches.
...
Remove `SavedSearch.enabled?` checks. There's no need to make saved
searches optional, since Redis is now required to run Danbooru.
2019-09-22 23:04:22 -05:00
evazion
bf3e9e1c76
uploads: show thumbnails in dropzone widget.
2019-09-22 22:59:33 -05:00
evazion
94d2bc72f2
uploads: move dropzone code to uploads.js.
2019-09-22 22:59:33 -05:00
evazion
5a7b3d812e
uploads: fix dropzone widget to allow replacing files.
2019-09-22 22:59:33 -05:00
evazion
e1cdcbd4ce
uploads: add max filesize to upload page.
...
Fixes #4172 .
2019-09-22 22:59:15 -05:00
evazion
e98db8a5b8
css: refactor notice box css.
...
* Remove .ui-corner-all, .ui-state-highlight, .ui-state-error classes
from notice boxes.
* Use .notice, .notice-info, .notice-error classes instead.
* Replace <p> elements in notices with <div>'s so that we don't have to
work around the `margin-bottom: 1em` from <p> elements.
* Replace <h1> elements in notices with <h2>.
* Standardize info notices to use the same shade of light yellow in the
light theme.
2019-09-22 15:09:45 -05:00
evazion
8f6fd95e2d
posts: change "»" links next to sources in sidebar.
...
* On the posts show page, make the "»" link next to the source visible
to all users, not just builders.
* Make "»" link to the raw unnormalized source, instead of a `source:` search.
* Remove the special case for displaying old pixiv sources as `pixiv/moniker`.
2019-09-22 02:58:09 -05:00
evazion
9720e4cfa9
css: fix positioning of search button in tag search box.
...
Fixes the search button wrapping to the next line in Firefox. Also fixes
the search box to be full width with no gap between the search box and
the search button.
2019-09-19 14:20:47 -05:00
evazion
bf51d68f15
users: add dark mode account setting ( fix #4158 ).
2019-09-19 13:20:06 -05:00
evazion
ca4cba7635
views: remove tag size indicator bars from /tags.
...
Remove tag size indicator bars. These bars don't play nicely with dark
mode and aren't all that useful to begin with.
2019-09-19 12:57:56 -05:00
evazion
dacd5b0fc6
views: simplify timestamp styling on wiki page versions.
2019-09-19 02:40:51 -05:00
evazion
312adb772d
views: refactor post flag and appeal reasons.
...
* Prefer partials over helpers.
* Add css classes to flag/appeal reason lists.
* Wrap dtext in span.prose container.
2019-09-18 03:20:26 -05:00
evazion
7461372e07
css: standardize body text colors.
...
* Standardize on one shade of grey for all grey text.
* Use very dark grey instead of black for body text.
2019-09-17 00:28:41 -05:00
evazion
9c96557be8
css: standardize post notice css.
...
* Standardize post notice background colors.
* Replace .ui-state-highlight and .ui-corner-all classes with .post-notice.
* Rename post notice classes (e.g. .notice-parent -> .post-notice-parent).
* Remove hover effect from sequential search navbar.
2019-09-17 00:28:41 -05:00
evazion
c2bfd2ebe6
css: make forum post borders mobile-only.
...
* Remove box shadows around forum posts.
* Make borders around forum posts mobile only.
2019-09-17 00:28:41 -05:00
evazion
852c1cbb7c
css: clean up file upload widget css.
...
* Standardize the upload widget background colors (light green for success,
light red for error).
* Move the progress bar to the bottom of the upload widget.
* Change the progress bar color to blue.
* Hide the "drag and drop a file here" message after a file has
already been uploaded.
2019-09-17 00:28:41 -05:00
evazion
31ebfa0a82
css: standardize styling of fineprint text.
...
Fineprint text was variously styled with `.info`, `.tn`, `.hint`, or
`.cost-footnote` css classes. Standardize on `.fineprint` instead. Use
`.hint` only for form hints and `.tn` only for <tn> tags in translation
notes.
Incidentally changes the font size of form hints to 0.8em (was 0.7em)
and the color of fineprint to #888 (was #AAA or #666 ).
2019-09-17 00:28:41 -05:00
evazion
73a4d675c0
css: ensure dtext is always wrapped in .prose container.
...
Ensure dtext is always wrapped in a `<div class="prose">` or
`<span class="prose">` (for inline dtext) container so that dtext css is
properly applied.
2019-09-17 00:28:41 -05:00
evazion
a5ef86bbe8
views: add html ids for main menu and subnav menu.
...
Also refactor secondary links to put the <menu> element in the default
layout instead of in each _secondary_links partial.
2019-09-17 00:28:41 -05:00
evazion
793c07341d
Fix #4163 : Remove reversion links outside of the proper context.
2019-09-12 22:37:32 -05:00
evazion
637e961f0a
Fix #4167 : Add more IDs to side menu elements.
2019-09-11 03:19:49 -05:00
evazion
a5043245b6
views: migrate related tags, mass edits to simple form.
2019-09-10 21:51:14 -05:00
evazion
896f144eb6
views: refactor quick search forms.
2019-09-10 21:10:09 -05:00
evazion
372fd7df1b
/pool_versions: fix exception in pool diffs.
...
https://danbooru.donmai.us/forum_topics/9127?page=280#forum_post_159633
2019-09-10 15:13:06 -05:00
evazion
e815f46d2a
/meta_searches/tags: fix tag_alias_correction_path reference.
...
Tag alias corrections were removed in #4130 . Fixes exception on /meta_searches/tags.
2019-09-10 14:59:27 -05:00
evazion
a1b48f5e3f
views: migrate search forms to use simple form.
...
Migrate various forms to be built using simple form instead of raw html.
Also adds autocomplete="off" to these forms (#4162 ).
2019-09-10 14:33:18 -05:00
evazion
1743f3797f
views: factor out search_form_for helper.
...
Refactor search forms to use `search_form_for` so that we can set common
options on all search forms, such as autocomplete="off" (#4162 ).
2019-09-10 14:31:19 -05:00
evazion
49d38d6256
views: fix positioning of form hints.
...
Position <span class="hint"> elements to the right of normal <input>
elements and underneath <textarea> elements. Fixes form hints being
badly positioned on some pages.
2019-09-10 14:30:49 -05:00
evazion
347aa4b835
Add error pages for tag limit and pagination errors.
2019-09-09 17:43:30 -05:00
evazion
62b89e1f9a
user upgrades: make upgrade page visible to logged out users.
2019-09-09 17:42:46 -05:00
evazion
6595a9f87e
users: raise max posts per page to 200.
2019-09-08 23:34:49 -05:00
evazion
8198c610cc
/pool_versions: add '»' drilldown links.
...
Add '»' drilldown links for pool names, users, and post ids.
2019-09-08 23:28:02 -05:00
evazion
964a073ec3
Fix #4159 : Add pool history to post show pages.
2019-09-08 23:28:02 -05:00
evazion
b202985eaa
posts/show: make post history pages visible to all.
2019-09-08 23:28:02 -05:00
evazion
5729d92c8e
posts/show: make 'download', 'find similar' links visible to all.
2019-09-08 23:28:02 -05:00
evazion
57a61ca586
posts/show: avoid extra queries when rendering pool list.
2019-09-07 22:30:04 -05:00
evazion
886ee16911
pools: allow searching pools by post tags.
...
Find all pools containing at least one post tagged 'translated':
https://danbooru.donmai.us/pools?search[post_tags_match]=translated
2019-09-06 17:54:07 -05:00
evazion
fc3b822bdf
artists: reduce queries in artist summaries.
...
Avoid a few queries when searching for single artist tags.
2019-09-05 00:00:15 -05:00
evazion
59d92b448e
/artists: remove /artists/new from navbar for anon users.
...
Fixes the logs being flooded with 403 errors because of bots and logged
out users trying to access the new artist page.
2019-09-04 16:42:24 -05:00
evazion
d5a2ed65f8
saved searches: add 'created' and 'posts' columns to index page.
2019-09-02 22:27:25 -05:00
evazion
05d8a05106
saved searches: add 'last refreshed' column to index page.
2019-09-02 22:10:16 -05:00
evazion
4abffc7faa
saved searches: paginate index page + add search form.
2019-09-02 22:10:03 -05:00
evazion
ffc693ef37
profiles: temp disable saved searches on profile pages.
2019-09-02 13:43:05 -05:00
evazion
95b8420ba2
Drop unused common_searches code.
2019-09-01 15:54:00 -05:00
evazion
dacb21b085
Drop unused users/_login_header template.
2019-09-01 15:54:00 -05:00
evazion
5b468444e7
Tweak signin / signup pages.
...
* Link to the signup page on the signin page.
* Clarify that emails are optional on the signup page.
2019-09-01 15:54:00 -05:00
evazion
fe4d90c5e0
settings page: add help text, rearrange settings.
...
* Remove 'Change password' and 'Delete account' tabs.
* Put 'Change password' under the Basic section.
* Put 'Deactivate account' under the Advanced section.
* Add help text to various settings.
2019-09-01 15:53:59 -05:00
evazion
f673552743
users: add /settings page.
...
Add /settings page and link to it instead of /users/:id/edit.
2019-09-01 15:00:27 -05:00