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
kikito
c183cf2cc6
merges master and fix conflicts
2015-08-25 19:31:25 +02:00
Alberto Garcia Cabeza
9202a4f8e4
Adds styles for flag as inappropriate
2015-08-25 14:09:04 +02:00
Juanjo Bazán
8233aa6a3e
adds different avatar for same initial name users
2015-08-25 13:03:30 +02:00
Juanjo Bazán
6d93f975e3
Merge branch 'master' into moderator_comments
2015-08-24 19:01:49 +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
Alberto Garcia Cabeza
dffb8e8a5e
Adds styles for comment as administrator
2015-08-24 12:29:35 +02:00
Alberto Garcia Cabeza
cfd25042b6
Adds styles for comment as moderator
2015-08-24 12:22:31 +02:00
kikito
c88f7c1f30
merges master and fixes conflicts
2015-08-23 20:27:11 +02:00
Alberto Garcia Cabeza
ff6285d114
Improves general styles
2015-08-21 18:57:09 +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
Juanjo Bazán
896fe41db0
favors with_hidden
2015-08-20 17:52:59 +02:00
Juanjo Bazán
b340d7741a
adds hiding users by moderators
2015-08-20 13:16:37 +02:00
Juanjo Bazán
0066cb0514
compares ids
2015-08-19 16:32:39 +02:00
Juanjo Bazán
d2ac8b7f43
applies hidden users styles commented
2015-08-19 16:22:24 +02:00
Alberto Garcia Cabeza
2eccd30eff
Adds styles for deleted users, improves previous
2015-08-19 15:01:10 +02:00
kikito
b4c66133da
Replaces comments by calls to user.methods
2015-08-19 12:10:08 +02:00
Alberto Garcia Cabeza
04db8112b4
Adds styles for associations comments
2015-08-19 11:53:35 +02:00
Alberto Garcia Cabeza
87d921b3c7
Adds styles for comments
2015-08-19 11:53:18 +02:00
Juanjo Bazán
74742d5f76
adds i18n to deleted comments
2015-08-17 14:08:59 +02:00
rgarcia
f31ed2940d
adds moderation to comments and debates [ #136 ]
2015-08-17 13:39:31 +02:00
David Gil
bf95e55345
more explicit and versatile usage of avatar_image, changing style option by a direct size - asuming we will always use square images
2015-08-14 21:15:59 +02:00
David Gil
925921d605
adding initial.js to show Gmail-like user avatars; adding avatar_image helper to abstract from plugin options adding the two currently used styles, profile and small
2015-08-14 21:15:59 +02:00
David Gil
0291f574a2
add vote counters to comments
2015-08-12 14:59:21 +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
44d4fa9fc4
order comments by the most recent first
2015-08-11 20:27:37 +02:00
Alberto Garcia Cabeza
d5c27b36d5
Improves styles for debate show and comments
2015-08-11 13:16:24 +02:00
Juanjo Bazán
ae8068f5fd
fix conflict
2015-08-05 14:46:18 +02:00
Juanjo Bazán
8d87a69e0f
hides comment forms from not logged users
...
Closes #66
2015-08-05 14:12:58 +02:00
rgarcia
2a3086010e
adds voting for comments functionality [ #25 ]
2015-08-02 13:37:37 +02:00
Alberto Garcia Cabeza
d8d03604b9
Adds styles for comments
2015-07-30 13:59:35 +02:00
rgarcia
98463e4930
adds comments to debates [ #7 ]
2015-07-18 17:38:57 +02:00