Juanjo Bazán
811c329199
changes how comment.created_at is shown
...
time_ago_in_words is not cache friendly
2015-09-09 14:57:27 +02:00
rgarcia
37a5e76b7b
adds flagging with turbolinks spec
2015-09-05 01:29:14 +02:00
Juanjo Bazán
3a7a8f13f5
validates uniqueness of username 😭
2015-09-04 23:15:41 +02:00
Juanjo Bazán
358028c3e6
Fixes conflicts. Merge branch 'master' into ancestry
2015-09-03 16:37:28 +02:00
Juanjo Bazán
136c1e73ed
uses ancestry to retrieve debate comments
2015-09-03 16:32:54 +02:00
Juanjo Bazán
dee2d0196b
ancestries
...
moves to ancestry from acts_as_commentable_with_threading
2015-09-02 19:23:09 +02:00
kikito
e3cbae4f02
Makes capybara exact. Should fix some randomly-failing specs
2015-09-02 18:05:43 +02:00
kikito
27ece220f6
Transform Flag.flag! & unflag! into non-raising methods
...
They now return false and do nothing instead
2015-08-31 19:02:50 +02:00
Juanjo Bazán
fc8687a707
adds comments labels per comment
...
fixes #265
2015-08-28 14:30:52 +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
015fe704e4
Fixes flagging specs by making them id-based instead of text-based
2015-08-26 13:14:42 +02:00
Alberto Garcia Cabeza
8bdf03c50d
Changes some test for moderation
2015-08-25 16:02:36 +02:00
Juanjo Bazán
6d93f975e3
Merge branch 'master' into moderator_comments
2015-08-24 19:01:49 +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
Juanjo Bazán
030fd49120
allows comment as moderator/administrator
...
Ref: #170
2015-08-24 18:17:04 +02:00
kikito
c88f7c1f30
merges master and fixes conflicts
2015-08-23 20:27:11 +02:00
Raimond Garcia
a9a8359bc7
Merge pull request #216 from AyuntamientoMadrid/design_improvements
...
Design improvements
2015-08-21 20:17:34 +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
e7effbf77c
Allows flagging comments as inappropriate
2015-08-20 18:47:16 +02:00
Alberto Garcia Cabeza
0d54cca910
Changes test for pagination
2015-08-20 12:55:31 +02:00
Juanjo Bazán
3732b7f420
adds pagination to 1st level comments in debate
...
Ref: #80
2015-08-19 16:32:39 +02:00
rgarcia
d9a31b7158
adds specs for moderation [ #136 ]
2015-08-17 13:39:58 +02:00
rgarcia
bea38226fe
fixes spacing
2015-08-16 22:45:43 +02:00
rgarcia
a81612b226
improves consistency of error messages [ #110 ]
2015-08-16 15:57:09 +02:00
David Gil
f835154233
adds a helper for avatars in specs
2015-08-14 21:18:35 +02:00
David Gil
c6154fe48d
testing avatar presence
2015-08-14 21:16:53 +02:00
Juanjo Bazán
f2ea7fd95e
fixes bug that hides comment form after reply
...
Closes #160
2015-08-13 18:27:48 +02:00
David Gil
d70d417c87
using explicit texts instead of I18n calls in tests
2015-08-12 15:02:59 +02:00
David Gil
1ee3378768
adding a few tests
2015-08-12 14:59:54 +02:00
David Gil
19ef481917
adding counter_cache to comments children and WIPing on the issue
2015-08-12 14:58:36 +02:00
David Gil
9d2bece0b3
Fixes #142
2015-08-11 19:33:55 +02:00
rgarcia
0a55a7b6a8
changes untranslated spec to english [ #23 ]
2015-08-07 20:57:52 +02:00
Juanjo Bazán
8d87a69e0f
hides comment forms from not logged users
...
Closes #66
2015-08-05 14:12:58 +02:00
Juanjo Bazán
927f79fd78
adds i18n to comments_helper
2015-07-31 15:13:00 +02:00
rgarcia
be2a481cd7
fixes specs [ #47 ]
2015-07-28 20:32:59 +02:00
rgarcia
94594ae03c
adds js driver to js spec
2015-07-27 23:35:28 +02:00
rgarcia
baaf9cac93
refactors duplicate form id scenario [ #21 ]
2015-07-27 22:50:38 +02:00
rgarcia
dea2964f08
fixes duplicate id in comment form [ #21 ]
2015-07-27 22:22:12 +02:00
kikito
00d21fbabd
Remove focus from test
2015-07-27 19:22:17 +02:00
kikito
bed380fffd
Make the comment button appear by clicking in "Comentar" in the test
2015-07-27 19:22:05 +02:00
rgarcia
0aaa8169f0
tmp commit [ #21 ]
2015-07-27 11:12:55 +02:00
Juanjo Bazán
b6d2a5efd6
uses new hash syntax by default
2015-07-18 21:49:36 +02:00
rgarcia
b7086bad4a
adds comments feature specs [ #7 ]
2015-07-18 17:39:12 +02:00