Commit Graph

59 Commits

Author SHA1 Message Date
evazion
896f144eb6 views: refactor quick search forms. 2019-09-10 21:10:09 -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
5b27726635 views: fixup regressions in new dmail, new feedback forms.
Fixup regression in 59b277ead. Simpleform expected `to_name`,
`user_name` methods to exist on these models.
2019-08-18 13:33:05 -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
47e26419d3 nav menu: add html ids to secondary nav menu links (#3844). 2018-08-27 20:57:59 -05:00
Albert Yi
6fa0ae2cf1 Migrate assets to use Webpacker 2018-07-27 15:24:05 -07:00
r888888888
e47e1f4e4c conditionally hide spam/ham links 2017-09-14 13:44:14 -07:00
r888888888
b944b642b8 akismet integration 2017-09-14 13:37:36 -07:00
evazion
7cb7c2fbab Remove ruby DText implementation (#3206). 2017-07-19 16:48:42 -05:00
evazion
5605f0fe0b Fix #3185: Dmail Show View incorrectly using class instead of ID. 2017-06-25 10:39:49 -05:00
evazion
0652b907a9 dmails: inline search form on /dmails page. 2017-04-29 11:50:26 -05:00
evazion
d1216f260e dmails: add search[title_matches] param. 2017-04-29 11:50:25 -05:00
evazion
27d6025425 dmails: convert search form to simple form. 2017-04-29 11:50:25 -05:00
r888888888
8a57d38f38 remove statement about responding in automated messages 2017-02-24 10:36:45 -08:00
evazion
b1af644f67 dmails: send automated dmails from Danbooru.config.system_user.
Sends automated dmails from `Danbooru.config.system_user`, rather than
whichever user is performing the action happens to be (usually User.admins.first).

Also adds a notice in the view that the dmail was automated.
2017-02-23 22:51:17 -06:00
evazion
865211b0b5 dmails: remove unused edit template and update route. 2017-02-23 22:51:17 -06:00
evazion
2d8a7ed93b /dmails: add help:dmail link to subnavbar. 2017-02-23 22:51:17 -06:00
evazion
d852f98e4f /dmails: remove unused search[owner_id] param.
/dmails is restricted to viewing dmails for CurrentUser only (due to
Dmail.visible in the index action). Remove owner_id from subnavbar links
in /dmails, and don't support it in /dmails?search[owner_id], since it
doesn't actually do anything.

Also removes related dead methods and fixes tests that didn't test owner_id properly.
2017-02-23 22:51:17 -06:00
evazion
bdf3366bcf Link IP addresses to IP searches. 2017-01-12 09:15:14 +00:00
Albert Yi
bfa1ac63a4 fixes #2677: secure way of sharing dmails 2016-12-05 16:28:05 -08:00
Type-kun
a7d553038f Add "disable-with" to most edit forms (should fix #2264) 2016-08-30 22:54:38 +05:00
r888888888
4cd6dfe884 enable ragel parser in more places 2016-07-25 13:42:04 -07:00
r888888888
b31c63b261 fixes #2477: Better way to notify when messages get filtered 2015-08-13 17:16:24 -07:00
r888888888
67e46f6e5c fixes #2418 (includes hiding deleted dmails and allowing filtering on user name) 2015-07-07 17:32:38 -07:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
r888888888
3ba7daebd1 include dmail ip addrs in search 2014-02-21 14:15:37 -08:00
Toks
f570b9b70d Add quick search for #1868 2013-07-21 17:24:59 -04:00
Toks
1024d24298 fixes #1842 2013-07-07 18:17:15 -04:00
Toks
f2c4312f9f fixes #1497 2013-05-17 15:07:51 -04:00
Toks
3d98d4b4ec fixes #1491 2013-05-07 22:18:11 -04:00
Toks
8b33cac661 replace old user links with new format 2013-04-04 23:16:28 -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
Toks
7a774e4399 fixes #532 2013-03-23 10:27:25 -04:00
小太
1a03a86592 Kill trailing whitespace in erb files 2013-03-19 23:11:58 +11:00
albert
f5240d06fe fixes #945 2013-03-18 17:12:44 -07:00
albert
781bfcef3c add links to user profile for dmails 2013-03-17 20:38:58 -04:00
albert
65b45e46c2 add mark all dmail as read option 2013-02-20 22:52:42 -05:00
albert
6ab2bc3a70 include more details for dmails 2013-02-19 13:04:33 -05:00
albert
b109d44daf fix search forms 2013-02-18 15:50:57 -05:00
albert
8749c43b3e refactored search 2013-01-10 17:45:52 -05:00
albert
f1c5c57687 better labels for dmail folders 2012-01-15 13:30:14 -05:00
albert
ec22f95136 fixes #257 2012-01-14 14:58:33 -05:00
albert
a3821d0397 fixes #250 2012-01-13 18:28:01 -05:00
albert
cb0f8d5377 dmail paginator fix 2011-12-07 17:04:54 -05:00
albert
c478eb33b6 * Additional effects
* Fixed flash pngs
* Fixed dmail search links
2011-11-03 17:42:40 -04:00
albert
34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00
albert
0eb665af0d refactored dtext field helper 2011-10-21 17:45:49 -04:00
albert
e8808987d5 unified js for dtext previews 2011-10-20 18:50:16 -04:00
albert
f630365c3b style fixes 2011-10-17 00:39:22 -04:00