evazion
bb7c993f4a
app controller: clean up helpers.
...
* Move `show_moderation_notice?` out.
* Don't need to declare `helper :pagination` manually.
2019-08-24 22:55:36 -05:00
evazion
f151285038
views: standardize page titles.
2019-08-24 22:55:35 -05:00
evazion
bb82011bb2
helpers: drop fast_link_to.
2019-08-22 23:33:58 -05:00
evazion
a586916cb3
/wiki_page_versions: various usability improvements.
...
Changes to the /wiki_page_versions global listing:
* Add "diff" links that show you what changed in the given edit.
* Add "?" links that take you to the current version of the wiki.
* Add "»" links next to wiki page titles that take you to the wiki's full edit history.
* Add "»" links next to usernames that take you to the user's full edit history.
* Add a "Status" column that shows whether the wiki page was created,
deleted, undeleted, or renamed.
* Link to /wiki_page_versions in sidebar, not /wiki_pages?order=time.
2019-08-18 17:08:35 -05:00
evazion
576b4feb3b
views: convert mod dashboard + admin user edit page to simple form.
...
Fixes bug with the user level select dropdown on the mod dashboard page
missing the builder level.
2019-08-18 11:24:42 -05:00
evazion
82fbb19e0f
users: drop unused code.
2019-08-18 11:24:42 -05:00
evazion
43e8a8a01b
search: reduce queries in wiki excerpts ( #4120 ).
...
Using `any?` here translated each lookup into two queries, one to check
if the aliases/implications existed and one to actually load them. Using
`present?` avoids the existence check.
2019-08-12 13:38:45 -05:00
evazion
18a216c67a
Fix #4130 : Remove tag alias corrections.
2019-08-10 22:46:49 -05:00
BrokenEagle
94340ccaf3
Remove references to Keeper/TopTagger
2019-04-01 13:17:18 -07:00
Albert Yi
78322b38f4
fixes #4064 : Artist new page giving false rejection messages
2019-02-25 11:03:45 -08:00
Albert Yi
a5943d2c3a
Merge pull request #4044 from r888888888/tag-change-notices
...
Tag change notices
2019-01-24 14:23:35 -08:00
evazion
a118ec95a7
dynamic requests: fix editing forum posts containing requests ( #3824 ).
...
Bug: When editing a forum post (other than the OP) that contained a
dynamic request, the edit form didn't contain the [bur:1234] syntax.
Instead it contained the full body of the request.
This happened because `forum_post.body` was inadvertantly mutated while
rendering the request.
Fixes https://github.com/r888888888/danbooru/issues/3824#issuecomment-454884235 .
2019-01-24 14:49:38 -06:00
evazion
1292717c52
dynamic requests: handle deleted/processing/queued statuses ( #3824 )
...
Fix bug where [ta:1234] didn't render if the request's status was
'deleted', 'queued', or 'processing'.
2019-01-24 13:52:16 -06:00
Albert Yi
1550538dc1
Tag change notices
...
This adds a small notice at the bottom of post searches if a single tag search is the target of any tag change request.
2019-01-22 17:22:07 -08:00
Albert Yi
cd323c64a5
don't embed BUR script in expand tags if it's short enough
2019-01-11 16:20:23 -08:00
Albert Yi
8b0af19f7f
fixes #3824 : render tag requests dynamically in the forum post
...
refactoring
2019-01-08 12:57:37 -08:00
evazion
7478c7a913
Fix #4034 : Several keyboard shortcuts are missing an ID.
2019-01-03 17:19:16 -06:00
evazion
9de5857032
Fix #4015 : Exception: undefined method `level_class' for nil:NilClass.
2018-12-12 17:57:29 -06:00
evazion
61f6de5ff3
artist versions: rearrange layout to better fit small screens.
...
* Move group name beneath the artist name.
* Replace 'Active' column with '(deleted)' notice next to artist name.
* Combine updater, updated at, and ip address fields in single column.
* Combine templates for standard listing and revert listing (only
difference is presense of 'Revert to' column).
2018-12-10 00:30:05 -06:00
evazion
e25e8d564a
artist versions: refactor diffs.
2018-12-07 12:45:51 -06:00
evazion
308a5021b4
wiki pages: convert other_names to array ( #3987 ).
2018-11-13 19:18:11 -06:00
Albert Yi
e360058aca
refactor
2018-11-02 13:40:01 -07:00
Albert Yi
542641e3e2
refactor pool nav html
2018-11-01 17:42:49 -07:00
Albert Yi
28414800f8
artist urls in reltags should open in new window by default
2018-10-26 11:52:06 -07:00
evazion
77a576d5ed
related tags: strip http:// from artist urls.
2018-10-25 23:38:24 -05:00
evazion
a5438aaf37
Fix dtext preview button to use event delegation.
...
Fixes the dtext preview button and dtext expandable to work with
dynamically loaded dtext forms.
2018-09-26 20:01:49 -05:00
evazion
6c457c86ac
nav menu: fix 'Forum' link not getting '.current' class.
...
Fixes the '.current' class not being set on the 'Forum' link when
viewing the /forum_topics page. As a result, the link wasn't bolded and
didn't have the background set.
2018-09-04 18:15:21 -05:00
evazion
47e26419d3
nav menu: add html ids to secondary nav menu links ( #3844 ).
2018-08-27 20:57:59 -05:00
evazion
4e1d76da81
html: add controller & action attributes to <body> tag ( #3844 ).
2018-08-26 16:02:06 -05:00
evazion
b98bc26397
nav menu: add html ids to main menu nav links ( #3844 ).
2018-08-26 13:12:41 -05:00
evazion
3dafca9aec
Fix #3842 : Mods can demote other mods or admins.
2018-08-25 13:52:50 -05:00
evazion
8833374294
Fix calling reportbooru when it isn't fully configured ( #3834 ).
2018-08-24 11:23:19 -05:00
evazion
bbaadda1e3
Convert keyboard shortcuts to use data-shortcut.
2018-08-12 12:09:58 -05:00
Albert Yi
b56681a609
refactor solution for #3804
2018-08-07 13:31:45 -07:00
Albert Yi
a610111658
switch post previews to use flexbox, add better styling for cropped thumbnails
2018-07-18 11:38:00 -07:00
r888888888
4f0f622d7b
fix typo
2018-05-26 13:15:09 -07:00
r888888888
c054784302
eliminate unused vars in search counters
2018-05-26 11:59:40 -07:00
Albert Yi
fd149fb98b
fix bug with dmails
2018-05-15 16:16:38 -07:00
Albert Yi
acf327712a
remove unused ccs sig helper
2018-05-15 14:37:37 -07:00
Albert Yi
a0aa2f3f4a
fixes #3276
2018-05-15 14:30:28 -07:00
Albert Yi
72f319ccf3
rename lambda references to use shorthand syntax
2018-05-10 11:18:02 -07:00
Albert Yi
1c76e7b5b1
format postkeepermanager jobs in job listing
2018-05-10 09:40:36 -07:00
Albert Yi
99012ff342
fix tests
2018-05-09 11:59:51 -07:00
evazion
a22bf20230
post tooltips: add header bar with more post info.
...
Add a header bar containing the following information:
* Uploader + top tagger + upload date
* Score, favorite count, comment count
* Rating
* Source (Pixiv, Twitter, etc)
* Image dimensions
Also list series pools with tags.
2018-05-07 13:18:22 -05:00
Albert Yi
f2b525a6d2
Implement forum topic voting and tag change pruning ( #3580 )
2018-04-26 15:31:06 -07:00
evazion
e772de40a7
posts: add /posts/{id}.html?variant=tooltip template.
2018-04-25 22:12:26 -05:00
evazion
17aabaca29
modqueue: move quality warning tags into config file.
2018-04-17 17:15:06 -05:00
Albert Yi
448ec81e97
Merge pull request #3541 from evazion/fix-3539
...
Fix #3539 : Open redirect vulnerabilities
2018-03-08 16:02:02 -08:00
r888888888
3657cacd17
* post keeper is calculated synchronously
...
* add fallback mechanism in case archive service is not up
* pass along most recently added tags to any keeper calculation
2018-03-08 16:00:44 -08:00
evazion
a058a77c07
ApplicationHelper#search_field: accept html attributes on <input> field.
...
Rewrite `search_field` to allow setting `data-*` attributes on the <input> field.
2018-02-18 18:34:18 -06:00