Commit Graph

48 Commits

Author SHA1 Message Date
evazion
79e7b9308e pundit: convert misc privilege checks in views to pundit. 2020-03-20 18:03:50 -05:00
evazion
9242bf522b pundit: convert moderation reports to pundit. 2020-03-20 18:03:01 -05:00
evazion
96b565f61d users: temp fix exception when is_banned is inconsistent.
Fix an exception when is_banned is true but the user doesn't have a ban
record.
2020-02-04 03:51:59 -06:00
evazion
6468df6d44 dmails: allow marking dmails as unread.
* Add ability to mark dmails as unread.
* Fix users.unread_dmail_count to not count deleted dmails.
* Fix show action so that API calls don't mark dmails as read.
* Don't show the unread dmail notice on the /dmails page itself.
* Stop using users.has_mail flag.
2020-02-01 15:49:33 -06:00
evazion
d8eba59cfa dmails: add unread folder, show only received messages by default.
* Add unread and deleted dmail folders.
* Remove dmail_folder cookie (wasn't used).
* Default to the received folder so that we don't show sent messages by default.
2020-01-31 16:24:53 -06:00
BrokenEagle
217f5e6c81 Added redirect parameter to quick search function
- Also fixed quick search parameter on wiki pages
2020-01-25 20:48:01 +00:00
BrokenEagle
4cef0e45c2 Create the ability to send reports to moderators
- Limited to Builders+
-- Moderator+ can also use as they may be too busy ATM
- Only on users, comments, and forum posts
- Multiple reports can be generated per instance
- Primarily posts to a moderator-only topic for viewability
- Secondarily has a table for searchability
-- Viewable only by moderators
2020-01-18 06:40:20 +00:00
evazion
48e0569832 login: add /login & /logout routes, rename 'sign in' to 'login'.
* Replace /session/new with /login and /session/sign_out with /logout.
* Rename 'sign in' to 'login'.

This changes are to make urls cleaner and terminology more consistent.
2019-12-14 15:27:13 -06:00
evazion
a5ef86bbe8 views: add html ids for main menu and subnav menu.
Also refactor secondary links to put the <menu> element in the default
layout instead of in each _secondary_links partial.
2019-09-17 00:28:41 -05:00
evazion
896f144eb6 views: refactor quick search forms. 2019-09-10 21:10:09 -05:00
evazion
f673552743 users: add /settings page.
Add /settings page and link to it instead of /users/:id/edit.
2019-09-01 15:00:27 -05:00
evazion
ff92b32f02 users: add /profile page (fix #4151).
* Add /profile, /profile.json endpoints.
* Make "My Account" link to /profile.
* Add 'User ID' field to profile page.
2019-09-01 15:00:23 -05:00
evazion
47e26419d3 nav menu: add html ids to secondary nav menu links (#3844). 2018-08-27 20:57:59 -05:00
r888888888
97da8f8647 deprecate tag subscriptions with warnings 2017-04-14 16:00:20 -07:00
r888888888
90bd9ceefd fix user secondary links 2014-12-10 11:11:14 -08:00
r888888888
cb1be62577 allow gift upgrades for accounts 2014-12-10 10:21:10 -08:00
r888888888
cbf48ad948 add stripe integration for safebooru 2014-11-06 17:03:17 -08:00
Toks
39a6cca62a fixes #1080 2013-07-07 19:29:24 -04:00
r888888888
d1f2f1c09a remove delete link from user secondary links 2013-05-21 16:18:19 -07:00
r888888888
7db85d8301 Merge branch 'master' into close-accounts 2013-05-16 14:16:47 -07:00
Toks
3d98d4b4ec fixes #1491 2013-05-07 22:18:11 -04:00
r888888888
0535237704 fixes #1512 2013-05-07 18:19:30 -07:00
r888888888
a25242f68d in progress 2013-04-30 23:25:26 -07:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
r888888888
e2a38ebc17 fixes #1284 2013-04-21 11:36:43 -07:00
Toks
16926791fa fix quick search missing on admin user page 2013-03-31 08:21:45 -04:00
Toks
3bfb05d795 add more quick searches
comments, notes, and users
2013-03-30 15:25:09 -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
bbee928f7e fixes #912 2013-03-17 21:24:37 -04:00
albert
924a19388f fixes #917 2013-03-17 21:11:29 -04:00
albert
e7da9b2a37 sign out no longer requires http delete, can open up in new window 2013-02-23 11:01:33 -05:00
albert
85a832cb5d layout tweaks 2013-02-22 15:21:53 -05:00
albert
8749c43b3e refactored search 2013-01-10 17:45:52 -05:00
albert
ec97b6aaf9 style tweaks 2012-04-20 18:01:09 -04:00
albert
393b071fa1 fixes #311 2012-02-20 15:33:42 -05:00
albert
30fb0b660c added promote link to user page 2011-12-20 11:57:33 -05:00
albert
caf39d1962 improved copy for account registration/upgrade 2011-12-01 18:27:11 -05:00
albert
c478eb33b6 * Additional effects
* Fixed flash pngs
* Fixed dmail search links
2011-11-03 17:42:40 -04:00
albert
05e50ea591 user nav links 2011-10-16 02:04:34 -04:00
albert
1e49a00150 fixes to dmail ui 2011-10-16 01:58:16 -04:00
albert
75df5dc1b3 fixes #133: Account edit settings while browsing other profiles 2011-10-15 23:10:48 -04:00
albert
4d07a3a94a fixes #104 2011-10-06 19:20:26 -04:00
albert
600fe67444 renamed some flavor text 2011-09-28 18:02:41 -04:00
albert
4d1d45d70e fixes #48: Adding email via profile 2011-09-15 18:02:00 -04:00
albert
4b998184a4 fixed error messages upon user creation 2011-09-11 17:24:44 -04:00
albert
b18f6340e7 renamed sessions to session 2010-12-04 00:51:20 -05:00
albert
c6304c6e08 views 2010-11-19 16:24:17 -05:00