Alberto Garcia Cabeza
9cd2297b67
Updates tests for social sign up
2015-08-26 20:36:52 +02:00
Raimond Garcia
4bd5ff0116
Merge pull request #253 from AyuntamientoMadrid/counter-cache-comments
...
Counter cache column for Debate's comments
2015-08-26 20:05:57 +02:00
Juanjo Bazán
dacbe27fda
uses cache counter for debate's comments
2015-08-26 17:26:17 +02:00
kikito
048f7c9b73
Adds bullet to dev & test, but makes it visible only on-demmand
...
The logs are always stored in log/bullet.log
If you run the specs with `BULLET=true bin/rspec`:
* Any feature test which makes bullet angry will fail
If you run rails with `BULLET=true bin/rails s`:
* It will print the bullet logs in both the rails log and the bullet log
* It will show a footer on each page with the N+1 queries etc.
2015-08-26 17:24:08 +02:00
kikito
25c3c4d1f1
merges master and fix conflicts
2015-08-26 14:48:16 +02:00
kikito
6110284356
removes all references to "review" (replaced by "archive")
2015-08-26 13:48:57 +02:00
kikito
015fe704e4
Fixes flagging specs by making them id-based instead of text-based
2015-08-26 13:14:42 +02:00
kikito
5eeb89584b
Fixes a couple specs which fail with the new words (ArchiveD vs Archive)
2015-08-26 13:14:07 +02:00
kikito
c183cf2cc6
merges master and fix conflicts
2015-08-25 19:31:25 +02:00
Juanjo Bazán
cfe583fbe6
adds cache to votes on Comments
2015-08-25 16:26:36 +02:00
Alberto Garcia Cabeza
8bdf03c50d
Changes some test for moderation
2015-08-25 16:02:36 +02:00
David Gil
de15bbe911
adds feature tests for sign up and sign using OAuth
2015-08-25 14:15:04 +02:00
Jose Manuel
4c71577da6
Fixes moderators tests after merge
2015-08-25 01:14:55 +01:00
Jose Manuel
d84e80c379
Merge branch '134_create_moderator'
2015-08-25 00:07:42 +01:00
Jose Manuel
84e0e8f990
Adds testing for moderator´s admin consol
2015-08-24 23:04:10 +01:00
David Gil
f0e47ee787
adds Identity model and migration
2015-08-24 20:24:10 +02:00
Juanjo Bazán
6d93f975e3
Merge branch 'master' into moderator_comments
2015-08-24 19:01:49 +02:00
Raimond Garcia
26433b6a9a
Merge pull request #237 from AyuntamientoMadrid/cache
...
configures the null cache store in all environments
2015-08-24 18:56:43 +02:00
Juanjo Bazán
7edb45b0d7
configures the null cache store in all environments
...
This commit allows us to use caching and Rails.cache.
Temporarily we configure the null store in all environments,
but those will probably be memcached in the future.
References #235
2015-08-24 18:51:28 +02:00
kikito
be6a5f4f1d
Adds test for not showing moderator actions in own debate
2015-08-24 18:45:47 +02:00
kikito
c6976b0905
Adds test for not using moderation links in my own comments
2015-08-24 18:36:56 +02:00
Juanjo Bazán
030fd49120
allows comment as moderator/administrator
...
Ref: #170
2015-08-24 18:17:04 +02:00
Juanjo Bazán
57228636c4
adds as_moderator/administrator methods to comment
2015-08-24 17:47:09 +02:00
Juanjo Bazán
3085f265d8
adds abilities for commenting as moderator/admin
2015-08-24 13:17:58 +02:00
Jose Manuel
982dc180cc
Adds moderators config to admin console
2015-08-24 01:50:01 +01:00
kikito
c88f7c1f30
merges master and fixes conflicts
2015-08-23 20:27:11 +02:00
kikito
5eeaa7d189
implements /moderation/debates
2015-08-22 23:20:55 +02:00
kikito
47842cb1cc
Refactors spec/features/moderation/comments_spec
2015-08-22 20:56:05 +02:00
kikito
169809496e
Adds filters & refactors to comment moderation
2015-08-22 20:28:48 +02:00
kikito
8bc92811b6
Adds traits to debate & comment factories
2015-08-22 20:20:47 +02:00
kikito
9785749057
Refactors organization factories & admin controller
2015-08-22 19:46:28 +02:00
kikito
00b51bbc23
Adds first version of comment moderation
...
Missing:
* Ensure removing a flag updates the flagged_at attribute correctly
* Showing the debate when the comment is not a “root”
* Filter (pending / reviewed / all)
* Order
* Same for debates
2015-08-21 22:01:47 +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
Raimond Garcia
a9a8359bc7
Merge pull request #216 from AyuntamientoMadrid/design_improvements
...
Design improvements
2015-08-21 20:17:34 +02:00
kikito
5328355c3e
Add tests for visible admin links and fix bug
2015-08-21 19:09:26 +02:00
Alberto Garcia Cabeza
fbc1817f81
Modifies test for not logged users
2015-08-21 19:03:43 +02:00
Juanjo Bazán
b396a3b415
refactors user's registration
...
Simplifies process and fields:
* In: username
* Out: first_name, last_name, phone, nickname, use_nickname?
Closes #213
2015-08-21 16:41:08 +02:00
kikito
12e8cf2056
Allows flagging debates as inappropriate
2015-08-20 19:26:36 +02:00
kikito
ee881230ba
merges master and fixes conflicts
2015-08-20 18:50:10 +02:00
kikito
e7effbf77c
Allows flagging comments as inappropriate
2015-08-20 18:47:16 +02:00
kikito
246145e4cb
adds abilities for regular users
2015-08-20 18:45:32 +02:00
Juanjo Bazán
f0a6926710
adds restore user action for administrators
2015-08-20 16:06:23 +02:00
kikito
8944327405
adds InappropiateFlag model with relations and specs
2015-08-20 16:03:00 +02:00
Juanjo Bazán
a269750c49
improves moderation users spec to include comments
2015-08-20 13:47:45 +02:00
Juanjo Bazán
8bb0a13f3f
removes unused :js from spec
2015-08-20 13:30:40 +02:00
Juanjo Bazán
37ef85ed91
adds spec for paranoid added bulk methods
2015-08-20 13:26:51 +02:00
Juanjo Bazán
b340d7741a
adds hiding users by moderators
2015-08-20 13:16:37 +02:00
Juanjo Bazán
259aa29de7
adds new abilities
2015-08-20 13:16:37 +02:00
Alberto Garcia Cabeza
0d54cca910
Changes test for pagination
2015-08-20 12:55:31 +02:00
Enrique García
307fb05e09
Merge pull request #201 from AyuntamientoMadrid/pagination
...
Adds Pagination
2015-08-20 00:54:06 +02:00