evazion
e7cdae33b2
modreports: remove dead code.
2021-01-16 01:34:38 -06:00
evazion
94aff2c777
moderation reports: pass CurrentUser to visible explicitly.
...
This is for consistency with how `visible` works in other models.
2020-03-21 23:06:42 -05:00
evazion
af044c45db
mod reports: enable reporting for members, add dmail reporting.
...
* Add ability to report dmails.
* Enable reports for comments, forum posts, and dmails.
* Allow Members to send reports.
* Don't allow users to report the same thing twice.
2020-01-27 17:12:39 -06:00
evazion
c36c0b9e7a
views: refactor atom feed links.
...
* Fix comment & forum feeds to include search params.
* Remove global post feeds (only include post feeds on post index).
2020-01-26 19:16:38 -06:00
evazion
6a984de3d5
views: refactor page titles.
...
Refactor `page_title` helper to automatically include site name.
2020-01-25 01:52:18 -06:00
BrokenEagle
5f746c1a34
Made recommended changes to moderator reports (see #4267 )
2020-01-21 01:38:08 +00:00
BrokenEagle
29e8b89c93
Use better method for querying moderation reports on posts and topics
...
- Also moved the control logic out of the views and into the models
2020-01-19 20:16:22 +00:00
BrokenEagle
16100ecfe6
Use better method of querying the moderation reports for an instance
...
The use of any? and count was forcing new SQL requests for each statement.
Instead, present? and length were used which act on the reports once loaded.
Although unneeded, the comment and forum views were changed as well for consistency.
2020-01-19 00:09:51 +00:00
BrokenEagle
a3e889bdf5
Added highlighting and notices for moderators
...
- Posts and topics have an added moderation_reports function
-- This is so all moderation reports can be loaded in a single query
- Those moderation reports are passed into the render functions separately
-- This is so the individual comments/posts don't have to be queried
2020-01-18 21:10:50 +00:00
evazion
4a7322b197
users: rework privacy mode into private favorites ( fix #4257 ).
...
* Rename 'privacy mode' to 'private favorites'.
* Make the private favorites setting only hide favorites, not favgroups
and not the user's uploads on their profile page.
* Make the favgroup is_public flag default to true instead of false and
fix existing favgroups to be public if the user didn't have privacy mode
enabled before.
* List _all_ public favgroups on the /favorite_groups index, not just
favgroups belonging to the current user.
* Add a /users/<id>/favorite_groups endpoint.
2020-01-17 22:24:29 -06: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
5c9b5cd21e
blacklists: add missing blacklist controls on several pages ( fix #3121 ).
2017-06-07 23:30:35 -05:00
evazion
e68946e95d
/comments.atom: add atom feed for comments.
2017-05-13 10:37:58 -05:00
r888888888
97cc8b5931
ignore privacy mode settings for admins
2017-03-09 13:52:46 -08:00
r888888888
caf4a28b02
enable user privacy mode for displaying favorites
2016-02-22 12:18:19 -08:00
Toks
42e1d4a1e1
color name on user profile
2013-06-30 18:38:50 -04:00
albert
ad28a2cced
alt layout for user profile
2013-02-22 15:16:54 -05:00
albert
127c0874fc
prettify tagsub names
2013-02-22 14:22:56 -05:00
albert
23c0cb5529
add post previews to user profile, improved ui for tag subscriptions
2013-02-21 18:18:08 -05:00
albert
cc6aa6f288
add ban reason to profile
2013-02-19 22:32:01 -05:00
albert
57e57ca384
add comments to user profile
2013-02-19 22:25:01 -05:00
albert
34ae712be0
fixed titles
2011-10-23 16:55:57 -04:00
albert
e011c36ffe
fixed tag category coloring, fixed tag category expiration when updating, work on migration
2011-10-10 17:08:29 -04:00
Robin Liao
dfa78f1b68
Fixed the user name in user#show
2011-09-09 02:00:47 -07:00
albert
33fa8d30ee
* Merge randuin's changes
...
* Revert user/show changes
* Move paginator js into separate file
2011-09-06 11:01:40 -04:00
Robin Liao
a84b5f5e68
better usage of the asset pipeline for page specific css and a more concise user#show
2011-09-03 01:56:10 -07:00
albert
24bf21540a
refactoring views
2011-08-16 18:47:01 -04:00
albert
d32a839aa1
view fixes, updated uesr profile
2011-08-15 17:10:35 -04:00
albert
d6e4283cc7
refactoring
2011-06-12 16:41:23 -04:00
albert
b18f6340e7
renamed sessions to session
2010-12-04 00:51:20 -05:00
albert
f051e04550
sync
2010-10-08 18:42:26 -04:00
albert
9eb578927c
added limit methods to user, more work on post views
2010-03-12 15:18:30 -05:00
albert
9f29ffc8c3
work on post views
2010-03-12 12:32:31 -05:00
albert
15c134b270
work on controllers/views started
2010-03-11 19:42:04 -05:00