Ævar Arnfjörð Bjarmason
|
8d6d7b51e8
|
When a user hasn't made any blocks or been blocked don't display a
skeleton table. Just a <p> saying there's nothing here.
|
2009-10-01 19:04:38 +00:00 |
|
Ævar Arnfjörð Bjarmason
|
268a2cd474
|
* use h() on username to avoid XSS
* Link to username in <h1>
* Set <title> on /blocks and /blocks_by
|
2009-10-01 18:49:38 +00:00 |
|
Matt Amos
|
77851bac7b
|
Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
|
2009-09-30 17:39:42 +00:00 |
|
Matt Amos
|
95c3d640a4
|
Tried to DRY the user_blocks controller. Moved the configuration of the blocking periods into application.yml.
|
2009-09-30 15:44:29 +00:00 |
|
Matt Amos
|
ca06b3c7b1
|
New migration to add better auditing to user_roles and better column names there and on user_blocks. Added a helper for displaying block status messages.
|
2009-09-29 16:44:03 +00:00 |
|
Matt Amos
|
ab1444f338
|
Truncate long reason texts to not overwhelm the browser window.
|
2009-09-28 17:30:10 +00:00 |
|
Matt Amos
|
daa2496024
|
First version of blocking feature. Allows both time-based (for map protection) and notice-based (for education) blocks on users. Also introduces user roles and a simple UI for displaying and administering these.
|
2009-09-28 16:01:00 +00:00 |
|