Amaia Castro
525ad3ebd1
Merge branch 'master' into legislation-module-stable
2016-12-28 17:51:15 +01:00
Alberto Garcia Cabeza
3b28b56c5c
improves html structure for comments
2016-12-28 14:36:06 +01:00
Amaia Castro
573e281a8f
Merge branch 'master' into legislation-module-stable
2016-12-27 18:07:11 +01:00
Alberto Garcia Cabeza
5bf09ec569
replaces span tag to div on comments votes
2016-12-27 16:33:06 +01:00
Alberto Garcia Cabeza
b8f60b48fe
changes time tags to span
2016-12-27 16:30:56 +01:00
Alberto Garcia Cabeza
a95edee7c7
improves styles for reply and deleted comments
2016-12-27 16:29:32 +01:00
Alberto Garcia Cabeza
f0258fb3ee
improves html structure for comments
2016-12-27 14:26:20 +01:00
Amaia Castro
55eb03531c
Comments in legislation question page
2016-12-23 09:35:02 +01:00
Alberto Garcia Cabeza
76a3c61020
improves html structure for comments on debates and proposals
2016-12-19 13:43:09 +01:00
Alberto Garcia Cabeza
ae12848e23
adds text for screen readers on toggle comments
2016-12-05 14:26:54 +01:00
Alberto Garcia Cabeza
c3d70f6e95
Adds text for show comment children
2016-07-14 18:02:27 +02:00
rgarcia
9e910a834b
Displays badge for official positions
2016-06-20 21:37:25 +02:00
Alberto Garcia Cabeza
08a17f3b0e
Makes generic logos and avatars, and removes unused images
2016-04-21 14:05:30 +02:00
Alberto Garcia Cabeza
e3878ff437
Fixes icon animation on reply comments
2016-04-20 17:27:58 +02:00
Alberto Garcia Cabeza
cb6503d9a5
Fixes tag
2016-03-14 19:32:50 +01:00
Alberto Garcia Cabeza
3ec0971b37
Replaces icons i tags for span
2016-03-14 19:32:48 +01:00
Alberto Garcia Cabeza
3752f3a53b
Adds foundation 6 🎉
2016-02-26 19:33:33 +01:00
Juanjo Bazán
3bd767e36f
collapsable comments on proposals/debates
2016-02-10 19:27:15 +01:00
Juanjo Bazán
22e5ba344a
adds id to children comments container
2016-02-09 20:59:27 +01:00
Juanjo Bazán
822d28a4a1
sets sanitize to false for already sanitized text
...
The new version of the rails-html-sanitizer (used by simple_format) strips by default all attributes. We want rel='nofollow' and target='_blank' here and the text has just been sanitized in text_with_links.
2016-01-25 21:52:59 +01:00
Juanjo Bazán
fb7550c7de
fixes build
2016-01-08 15:12:10 +01:00
Alberto Garcia Cabeza
5ef9f4de87
Improves styles for comments show
2016-01-08 13:41:18 +01:00
rgarcia
816a95b7b7
adds comment show view
2016-01-07 15:18:28 +01:00
Juanjo Bazán
cc5babe764
hides comment's author avatar for erased users
2015-11-08 13:21:08 +01:00
Juanjo Bazán
e38a74d73f
adds simple format to comments
2015-11-07 20:38:43 +01:00
Juanjo Bazán
2671b25ba6
makes author name a link to activity page
...
in debates/proposals/comments
2015-11-04 14:09:16 +01:00
kikito
60b3c65b05
Refactor comment tree calculation using a PORO
2015-10-30 17:00:32 +01:00
kikito
b2918621ab
Refactors in children count when rendering comments
2015-10-28 17:33:24 +01:00
Sergio Arbeo
4e7493c75c
Refactor comment body
...
Refactor the body of the comment to use a couple of helpers instead of a long
list of `if`s in the html.
2015-10-26 14:51:34 +01:00
Sergio Arbeo
3013d13b38
Add paragraphs to comments
...
Fix #600
2015-10-26 01:25:53 +01:00
kikito
6c5d1faa90
Uses the new field, erased_at, for erased users
2015-10-21 14:28:21 +02:00
Juanjo Bazán
ef4d99e538
moves comment's i18n
2015-09-13 13:54:34 +02:00
kikito
5b2ee94765
removes all mentions of debates from comment views
2015-09-13 12:32:27 +02:00
David Gil
31cf51f07a
adds text_with_links helper and use that in any comment.body in views, adds test to check for malicious injections in comment body
2015-09-10 18:28:10 +02:00
Alberto Garcia Cabeza
a61c006f7f
Replaces bullet for bull
2015-09-09 20:33:21 +02:00
Juanjo Bazán
cda54b0050
adds time tag to comment
2015-09-09 16:53:17 +02:00
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
Juanjo Bazán
e24e9e7be8
cache for _comment partial
...
not need to invalidates on commentable updates of comment_count because now ancestry touches parent comments so if there is children comment invalidation is automatic
2015-09-09 14:56:15 +02:00
rgarcia
13cf1d9449
removes all comments cache
2015-09-07 10:55:23 +02:00
Juanjo Bazán
bf18da3faa
adds cache for authors of debate/comment
2015-09-06 22:03:31 +02:00
Juanjo Bazán
60089b8986
uses author info in comment/debate cache
...
author is already preloaded and we avoid expensive touching methods
2015-09-06 12:13:39 +02:00
Juanjo Bazán
5b3f9e5642
uses preloaded info
2015-09-06 12:07:58 +02:00
rgarcia
5200d76be6
caches comments
2015-09-05 22:02:51 +02:00
Juanjo Bazán
dfc1ccb108
renames helper method
2015-09-03 17:13:19 +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
Juanjo Bazán
eb689d7c7e
refactors comment form
2015-09-02 17:22:21 +02:00
kikito
b872d9a46d
fixes failing specs
2015-08-28 19:19:18 +02:00
Alberto Garcia Cabeza
413a034e23
Adds styles for deleted comments
2015-08-27 20:21:26 +02:00
kikito
48ef4df0c3
Adds Comment#for_render
2015-08-26 19:41:42 +02:00