joshua stein
620389ab95
add /u/?moderators=1 to list all moderators and admins
2015-02-23 16:56:06 -06:00
joshua stein
fd00205625
for admins, show some private info about users in user profiles
2015-02-17 11:47:27 -06:00
joshua stein
1eb9413f8a
user tree: show newest 10 users
2015-01-27 12:14:26 -06:00
joshua stein
5efe3ce6c3
make time_ago_in_words_label actually do what was intended
2015-01-06 14:08:15 -06:00
joshua stein
9f5e04bbba
use _path for most things instead of _url
...
Instead of hard-coding the scheme and host everywhere, use _path
methods to show relative URLs.
Except that our previous setting of
Rails.application.routes.default_url_options in
config.after_initialize made this moot because Rails inserts that
host into all _path helpers for some reason. So revert that
setting.
But then anything that wants an absolute URL doesn't know the
hostname and the root_url helper throws an exception. So make a
Rails.application.root_url shortcut to pass the per-app settings in
Rails.application to root_url.
Now we can just use _path helpers most places but still use _url
ones where we need them, such as in RSS views and e-mail templates.
2015-01-02 17:02:55 -06:00
joshua stein
31d4e97858
implement hats
...
https://lobste.rs/s/bkeYe9/about_lobsters/comments/ZD2tL3#c_ZD2tL3
2014-11-14 14:12:29 -06:00
joshua stein
1af0edd268
add a flat version of the user tree, ordered by karma
2014-05-06 21:29:45 -05:00
joshua stein
3241f34f75
don't interact with inactive users
2014-01-14 11:39:56 -06:00
joshua stein
e12d91cd43
allow users to delete their own accounts
...
not much can actually be deleted, but it can be put into a deleted
state
2014-01-13 10:12:17 -06:00
joshua stein
22b77573a5
prevent new users from downvoting
...
don't show downvote arrows for logged-out and new users
color comments from new users in green like in the user tree,
and banned users in gray
2014-01-12 23:17:09 -06:00
joshua stein
287be48187
add stuff to deal with banning users
2014-01-12 15:09:32 -06:00
joshua stein
1c3597004f
Merge pull request #81 from srgpqt/master
...
simplify user tree controller action and template
2014-01-07 09:57:09 -08:00
joshua stein
e6db99c956
disable autocomplete for text fields that shouldn't use it
...
new password on settings form and user invitation form (would be
another e-mail address, not the stored user's)
closes #85
2014-01-07 11:42:21 -06:00
Serge Paquet
b8652d80cc
simplify user tree controller action and template
2014-01-04 03:14:41 -05:00
joshua stein
0aa330d106
user tree: show new users in green
2013-12-02 10:45:21 -06:00
joshua stein
dbc2e40684
move tag css class building to Tag model
...
add a tag_is_media class to tags with that type, use that for
matching in application.css instead
2013-08-05 01:02:48 -05:00
joshua stein
2858fea247
tweak display of user profile data a bit
2013-07-01 16:01:05 -05:00
joshua stein
eeda7668b6
on user pages, show their most commonly used tag
2013-07-01 15:53:43 -05:00
joshua stein
1c0a8dfd03
move after-signup invite page into signup controller
2013-02-25 11:13:44 -06:00
joshua stein
de1dc1d430
after a new user signs up, nag them to invite someone
2013-02-22 14:52:22 -06:00
joshua stein
87cb2cb45b
add time_ago_in_words_label helper that shows the real time as a label title
2013-02-22 11:22:39 -06:00
joshua stein
d0459974cd
so long whitespace
2013-02-13 18:50:51 -06:00
joshua stein
9cc54edb5b
move avatar url generation into User model
2012-12-16 20:02:02 -06:00
joshua stein
0eac1c375a
show user count on user tree page
2012-10-26 17:08:19 -05:00
joshua stein
dae138cddd
show in a user profile who the user was invited by
2012-09-16 15:16:32 -05:00
joshua stein
857f2964d7
issue#18: show admin/moderator status on user tree
2012-09-16 15:14:05 -05:00
joshua stein
7b1ec6fc3d
some mobile css fixes
2012-09-16 15:05:48 -05:00
joshua stein
e8d34910a6
put faces to names
2012-09-08 19:32:21 -05:00
Robert J Samson
b15710d107
Show average karma in parentheses
2012-09-07 13:56:26 -04:00
Robert J Samson
6554983fd7
Add average karma to user profiles
2012-09-07 13:25:59 -04:00
joshua stein
6ae36ea492
route /newest/:user to show all stories by that user
2012-09-03 17:29:10 -05:00
joshua stein
e9e162167d
route /threads/:user to show recent threads for that user
2012-09-03 17:11:53 -05:00
joshua stein
e6c74e8251
add moderation logging
...
- add users.is_moderator and look at that for most things, not
is_admin
- make default user in readme be a moderator
- log moderator actions in story edits, comment
deletions/undeletions (and later, user disabling).
- remove ability for moderators to edit comments, there's really no
reason to.
2012-09-02 12:18:52 -05:00
joshua stein
a407bad2d6
better tree style
2012-08-24 11:41:36 -05:00
joshua stein
543f5c12bc
user tree
2012-08-24 11:41:35 -05:00
joshua stein
ab6316a1cf
add link on user profile to send them a message (kind of ugly)
2012-08-24 11:41:35 -05:00
joshua stein
e47a054e75
focus certain text boxes on load where appropriate; minor tweaks
2012-08-24 11:41:34 -05:00
joshua stein
2e87af1259
showing_user, not current user
2012-08-24 10:57:42 -05:00
joshua stein
c38fb2ed95
fixes
2012-08-24 10:57:42 -05:00
joshua stein
ada1571a53
invitation system, user settings
2012-08-24 10:57:11 -05:00
joshua stein
22ae6bc1b2
show about text properly
2012-08-24 10:57:11 -05:00
joshua stein
a35784c3ea
raw linkified text
2012-08-24 10:57:11 -05:00
joshua stein
578c96d653
more work
2012-06-30 14:14:35 -05:00
joshua stein
95b4906e6e
working voting/scoring, threaded comments
2012-06-30 11:18:36 -05:00
joshua stein
093747b796
initial work on conversion from php tree
2012-06-16 20:15:46 -05:00