kikito
82af488ce3
Splits ability.rb and specs into several smaller files
...
I'm doing this in preparation for the "Manager" ability, which will
require even more refactors of the abilities (for example,
manager can not modify their own account)
2015-09-28 13:51:42 +02:00
kikito
343025872b
changes comment moderation to be similar to proposals moderation
2015-09-22 14:20:37 +02:00
kikito
757205a93e
Unifies bulk & debates moderation forms in a single one
2015-09-21 15:41:01 +02:00
kikito
50148f0aaf
Adds new abilities for proposals
2015-09-13 22:07:44 +02:00
kikito
22e8d615aa
fixes abilities: level 3 users can vote proposals, not just level 2
2015-09-12 14:13:40 +02:00
kikito
68790ac8e5
adds abilities for proposals
2015-09-12 12:48:47 +02:00
rgarcia
3f7338a6ae
adds proposal new and create
2015-09-12 11:38:22 +02:00
kikito
6902d2851b
Takes already-flagged-content out of Ability's concerns
2015-09-01 10:33:11 +02:00
Jose Manuel
ef1f89ab84
Merge branch 'refactored_moderator' into master
2015-08-29 02:15:26 +01:00
Jose Manuel
e21336aeff
Refactored admin´s moderator controller
2015-08-29 01:39:46 +01:00
kikito
1770dfd3f6
adds ability to confirm the hiding of comments, debates or users
2015-08-27 13:20:12 +02:00
kikito
cd982768f2
Renames the "archive" action to "ignore_flag" (+)
...
* archived_at -> ignored_flag_at
* archived? -> ignored_flag?
* archive -> ignore_flag
* pending -> pending_flag_review
* archived (scope) -> with_ignored_flag
* I18n changes
2015-08-27 11:43:58 +02:00
kikito
909dfb4ce3
Several renamings
...
InappropiateFlag -> Flag
x.flag_as_inappropiate -> x.flag
x.undo_flag_as_inappropiate -> x.unflag
X.flagged_as_inappropiate -> x.flagged
flag-as-inappropiate-actions views & css -> flag-actions views & css
2015-08-27 10:48:49 +02:00
kikito
6110284356
removes all references to "review" (replaced by "archive")
2015-08-26 13:48:57 +02:00
Juanjo Bazán
3085f265d8
adds abilities for commenting as moderator/admin
2015-08-24 13:17:58 +02:00
kikito
5e32fd2fa4
Adds new abilities for moderators
...
extends hiding (i.e. you can not hide your own content or yourself) and
adds marking as reviewed
2015-08-21 20:39:40 +02:00
kikito
0fe7740a41
Refactors ability making flagging more efficient
2015-08-21 20:36:04 +02:00
kikito
ee881230ba
merges master and fixes conflicts
2015-08-20 18:50:10 +02:00
kikito
246145e4cb
adds abilities for regular users
2015-08-20 18:45:32 +02:00
Juanjo Bazán
259aa29de7
adds new abilities
2015-08-20 13:16:37 +02:00
kikito
c3bee45eda
fixes error in abilities
2015-08-17 17:59:23 +02:00
kikito
9e1581656a
merges master and fixes conflicts
2015-08-17 17:38:34 +02:00
rgarcia
f31ed2940d
adds moderation to comments and debates [ #136 ]
2015-08-17 13:39:31 +02:00
kikito
b4b69d89e7
Updates abilities for the new organisations
...
Note that unverified organisations can now create debates and comments
- that is a change over the initial request
2015-08-13 20:03:38 +02:00
kikito
450b0098c6
Adds abilities for verifying/rejecting organizations
2015-08-12 17:48:25 +02:00
kikito
9ee1e5dbc5
Adds Abilities for Organizations
2015-08-11 19:34:18 +02:00
kikito
84d848df7e
Adapts the CommentsController to the new permissions system
2015-08-10 15:40:23 +02:00
kikito
ce27a6f2ea
Adapts AccountController to new permissions system
2015-08-10 15:10:47 +02:00
kikito
30e738a2fe
Add cancan authorization in all main urls
2015-08-10 14:59:42 +02:00
kikito
8b53ae6f08
Adds Abilities for Debates
2015-08-10 12:38:22 +02:00