Commit Graph

47 Commits

Author SHA1 Message Date
evazion
990f173b3d notes: move sanitization from d_text.rb to note_sanitizer.rb. 2017-06-15 22:58:13 -05:00
Albert Yi
57148b0690 Merge pull request #2989 from evazion/fix-notes-listing
Default /notes to listing notes, not posts.
2017-04-24 13:46:51 -07:00
evazion
989917cb07 /notes, /note_versions: use numbered paginator. 2017-04-23 14:59:36 -05:00
evazion
e6d1842545 /notes: default to listing notes, not posts. Remove group_by=post.
The posts listing is replaced by a link to order:note.
2017-04-23 14:59:36 -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
evazion
0ed0fb095b /notes/search: convert to simple form. 2017-04-22 13:04:04 -05:00
evazion
b2a6cf070c Use raw note body instead of sanitized body for note edit box. 2016-11-19 21:33:26 -06:00
r888888888
6b96032a4e fixes #2486: Blacklist indication/display across the site 2015-08-18 15:47:31 -07:00
Toks
772003a55a fixes #2217 2014-07-06 12:03:48 -04:00
Toks
ab0b935715 Clean up note views
* Make note deleted notice stand out more
* Use same note deleted notice on both note views
* Don't render notes as dtext
2013-07-18 12:51:10 -04:00
Toks
7b5669ab60 Add warning to note search mirroring comment search 2013-07-14 19:20:02 -04:00
Toks
227ad46634 consistency with comment search page 2013-06-22 14:05:30 -04:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
Toks
8b33cac661 replace old user links with new format 2013-04-04 23:16:28 -04:00
Toks
3ba149c8bc quick search link consistency 2013-03-31 08:32:23 -04:00
Toks
190d1b1488 fix ids in quick searches again 2013-03-30 15:54:56 -04:00
Toks
3bfb05d795 add more quick searches
comments, notes, and users
2013-03-30 15:25:09 -04:00
Toks
4f42ab8bdb adds support for user level-dependent classes
all links to users should have their class attribute set to that user's
level_class
2013-03-30 12:04:58 -04:00
小太
1a03a86592 Kill trailing whitespace in erb files 2013-03-19 23:11:58 +11:00
albert
0595019958 change relative times to absolute on listings 2013-03-13 16:25:08 -04:00
albert
c5731298fb clarify post deletion/flag logic 2013-02-19 22:03:01 -05:00
albert
b109d44daf fix search forms 2013-02-18 15:50:57 -05:00
albert
327af0e93d fixes to note fonts 2013-02-17 23:51:53 -05:00
albert
301bbbfde5 fix for post rss feeds, fix for notes 2013-02-17 00:45:08 -05:00
albert
9e6a25f844 add ubiquitous time tags 2013-01-22 15:28:12 -05:00
albert
7bca79e71a fixesg 2013-01-14 11:23:43 -05:00
albert
8749c43b3e refactored search 2013-01-10 17:45:52 -05:00
albert
608f390eef fixes #320 2012-02-20 14:48:37 -05:00
albert
f6367aab49 layout fixes 2011-11-03 17:14:41 -04:00
albert
5f2f24814d style/js fixes 2011-11-03 16:35:16 -04:00
albert
34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00
albert
87e56db576 fixed post revert 2011-10-22 02:06:58 -04:00
albert
78920aaf46 fixed sanitization for notes, added descaling when saving notes on scaled images 2011-09-13 19:50:38 -04:00
albert
a19dd6a69f added sanitize, fixes #26: Clicking the wiki link withing comments gives a "page does not exist" error 2011-09-13 15:19:07 -04:00
albert
7483ad2e28 comment threshold link now hitting the correct action 2011-09-11 15:15:16 -04:00
albert
ff4e3e3ad1 Fixes #37: Search function for artists requires all fields to be completed (fixed for all searches) 2011-09-11 14:51:09 -04:00
albert
b55893d96d fixed tn notes 2011-09-10 15:29:55 -04:00
albert
c8afd34d15 added ip addr search 2011-07-29 18:04:50 -04:00
albert
bd3af50e10 changes 2011-07-02 21:04:29 -04:00
albert
5cf122c2e0 changes 2011-06-29 12:47:40 -04:00
albert
5a668457d2 work on notes js 2011-05-16 09:27:39 -04:00
albert
158810d9f0 fixed comment test 2011-05-16 09:27:06 -04:00
albert
cbd877d020 fixed comment vote functional test 2011-04-01 19:01:17 -04:00
albert
42627be1d3 moved out search pages 2011-03-15 19:19:49 -04:00
albert
9e7efbd295 stubbed in view code from old danbooru; only janitors can lock a wiki page 2011-02-28 14:18:39 -05:00
albert
a6dfd4f0f5 work on note views 2011-01-19 14:28:22 -05:00
albert
23656e3fa9 * Continued work on improving post view templates
* Added statistics-based estimator for related tag calculator
* Fleshed out IpBan class based on changes to Danbooru 1.xx
2010-04-29 17:32:15 -04:00