Commit Graph
41 Commits
Author SHA1 Message Date
evazion f886f2fdb3 posts/show: load flag/appeal/replacement dialogs via ajax (#3922). 2018-09-26 20:01:14 -05:00
evazion 3ae913a707 html: convert html comments to erb comments.
Avoid emitting useless comments in the html.
2018-08-17 18:55:21 -05:00
Albert Yi 6fa0ae2cf1 Migrate assets to use Webpacker 2018-07-27 15:24:05 -07:00
evazion 7cb7c2fbab Remove ruby DText implementation (#3206). 2017-07-19 16:48:42 -05:00
evazion 9a0bc6802b /post_appeals: add blank option to Resolved dropdown. 2017-04-24 22:45:02 -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 e639be60e5 Merge pull request #2977 from evazion/feat-flag-reason-search
Add full text search for flag/appeal reasons
2017-04-17 13:10:28 -07:00
evazion 54b4a2e0c5 /post_{flags,appeals}: default to fulltext search for reason field. 2017-04-16 21:15:23 -05:00
evazion 87b295b632 Fix exception on /post_flags/new, /post_appeals/new. 2017-04-15 23:15:17 -05:00
evazion c90614272a /posts/:id - add dtext preview to flag/appeal dialogs. 2017-04-13 15:17:55 -05:00
evazion 8d45bb6d52 /post_{flags,appeals}: allow searching by tags. 2017-04-07 19:37:26 -05:00
evazion f5e22ea235 /post_{flags,appeals}: convert search forms to simple form. 2017-04-07 19:37:26 -05:00
evazion 652e251040 /post_{flags,appeals}: add uploader, approver, flag/appeal count columns.
Also include '»' links next to uploader/approver names for drilling down
the search by a given user.
2017-04-07 19:37:26 -05:00
Albert Yi 87bcc07fae enable ragel parser for remaining dtext endpoints 2017-01-10 15:12:37 -08:00
evazion f0591f3f5b Fix #2792: pull appeal text from wiki page. 2016-12-22 21:53:10 -06:00
r888888888 4cd6dfe884 enable ragel parser in more places 2016-07-25 13:42:04 -07:00
r888888888 3008a70b10 fixes #2540: Add is_resolved to post appeal results 2015-10-27 11:23:26 -07:00
Toks 38f51306a8 fix #2314 and appeals 2014-11-30 16:10:17 -05:00
Toks 1fffc2977f fixes #2121 2014-10-31 20:24:38 -04:00
Toks 2d39ed5ebc Clean up flag/appeal/pool partials html
The new flag and appeal partials both had a duplicate #a-index dom id.
2013-08-14 13:19:44 -04:00
Toks c6cf19b390 Add resolved search for appeals
fixes #1258
2013-08-04 11:57:27 -04:00
Toks 56fa98a358 Add flag and appeal searches
#1915
2013-08-04 11:34:20 -04:00
Toks ee63f112bb partial fix for #262 2013-05-20 22:23:37 -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 b025256480 add user classes on more pages 2013-03-31 10:31:28 -04:00
albert 2b22a3877f fixes #1071 2013-03-25 22:48:58 -04:00
小太 1a03a86592 Kill trailing whitespace in erb files 2013-03-19 23:11:58 +11:00
albert 80f63cc587 fixes #751 2013-03-05 22:10:14 -05:00
albert 055ed2aba1 html optimization 2013-01-14 12:50:07 -05:00
albert f000278869 add partials 2013-01-07 16:50:07 -05:00
albert 2a88c312c8 fix old routes 2013-01-07 16:50:00 -05:00
albert 4e99ca2613 changes to flags/appeals 2011-12-15 10:57:25 -05:00
albert d09e80d2f4 style/js fixes 2011-11-03 16:30:06 -04:00
albert 34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00
albert d2f2203c33 fixes #134: Appeal option missing 2011-10-15 23:17:55 -04:00
albert b81e23bb32 fixed styling for mod dash 2011-10-15 02:27:19 -04:00
albert 24bf21540a refactoring views 2011-08-16 18:47:01 -04:00
albert e7748e1fc9 post appeal functional test 2011-03-30 15:37:26 -04:00
albert 5856b105f5 stuff 2011-03-29 13:56:30 -04:00
albert f9c961cdc6 * Removed unapprovals, added post flags and post appeals (still need to update tests)
* Restyled text
2011-03-28 18:48:02 -04:00