evazion
95e11e0ffc
Fix #4318 : Flags and appeals should reload page.
2020-03-03 23:01:34 -06:00
evazion
72e56d8856
PostPresenter.preview: standardize on show_deleted: true.
...
Standardize on using `show_deleted: true` instead of `tags: "status:any"`
when rendering thumbnails and we want to show deleted thumbnails.
Also fixes it so that deleted thumbnails are shown when reordering pools
and favorite groups.
2020-02-18 19:22:57 -06:00
evazion
588280c8cc
views: add embed_wiki helper.
...
Also remove options to configure names of wiki notice pages. These names
generally don't need to be changed and we already hardcode links to wiki
pages in other places anyway.
2020-01-27 17:14:38 -06:00
BrokenEagle
63203d24cc
Standardize use of column width parameter
2020-01-13 21:21:14 +00:00
evazion
c86c61c9a4
Fix #4162 : Remove browser autocomplete from most inputs.
2020-01-10 16:08:34 -06:00
evazion
f1528e0fae
table builder: add 'striped' css class by default.
2020-01-06 02:12:04 -06:00
BrokenEagle
043944e1dd
Convert index tables to using table builder
2020-01-04 22:02:43 +00:00
evazion
27c797f5c6
Fix #4230 : Inconsistency between DText preview and DText renders of inline DText.
2019-12-28 13:28:45 -06:00
evazion
a2ea2a65a1
db: drop IP addresses from certain tables.
...
Don't track IP addresses for post appeals, post flags, tag aliases, tag
implications, or user feedbacks. These things are already tightly
limited. We don't need IPs from them to detect sockpuppets.
2019-11-17 02:45:28 -06:00
evazion
77d2260576
css: clean up <ul> css.
...
* Remove `list-style-type: none` rules (this is the default).
* Add `list-bulleted` and `list-inline` utility classes.
* Wrap terms of service and user deletion pages in dtext `.prose` class
so we don't have to redefine basic list styles on these pages.
2019-09-23 19:10:40 -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
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
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
f151285038
views: standardize page titles.
2019-08-24 22:55:35 -05:00
evazion
8d07ad7390
js: clean up notice/error messaging.
2019-08-14 01:46:44 -05:00
evazion
fa19047220
autocomplete: add username autocompletion sitewide.
2019-08-11 15:38:39 -05:00
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