danielgrippi
39b6abaa88
do includes before last(3), as last() returns an array, not an AR object
2011-11-04 16:46:30 -07:00
danielgrippi
3296477531
eager load author and profile for comments
2011-11-04 16:40:14 -07:00
Pistos
fae9aee425
Fix specs.
2011-10-15 14:47:09 -04:00
Pistos
35a0c56346
This fixes issue #2032 . Anyone can now view all comments on a public post without needing to log in.
2011-10-15 00:18:17 -04:00
Pistos
15b3cce6ee
Refactored ordering of post comments; moved it down to model level for greater reach (DRYer code).
...
Leaving the #order call in #last_three_comments caused the generated SQL to
have two conflicting ORDER BY components, which caused the query to return
invalid results. I removed the problem by removing #last_three_comments which
I consider a premature optimization.
2011-10-11 16:06:24 -04:00
Pistos
cd3e824bc1
Explicitly specify order of comments, since we cannot assume MySQL ordering (which is by id).
2011-10-08 22:59:44 -04:00
maxwell
eef054dc5e
wip
2011-10-04 18:20:14 -07:00
Maxwell Salzberg
0f073387ac
IZ MS refactor commenting disabled
2011-10-03 15:20:43 -07:00
danielgrippi
d972802142
comment ajax on mobile.
2011-09-27 21:09:26 -07:00
danielvincent
055fbe3e00
stream is now a div. generalized some partial extentions for mobile site.
2011-01-01 23:09:18 -05:00
danielvincent
9b6d40544c
fixed _comments bug on show pages
2010-12-21 17:36:14 -08:00
danielvincent
7cb9760a1e
show comments toggle like fb
2010-12-21 16:56:32 -08:00
danielvincent
cdd225c076
don't show new comment form on a non-contact's post
2010-12-08 18:23:30 -08:00
Raphael
18319f8e42
Hopefully cut down the stream rendering time by memoizing the new comment form
2010-12-07 09:28:11 -08:00
danielvincent
460081bc2f
don't condense comments on show pages
2010-12-05 17:21:57 -08:00
maxwell
7f5dc14726
fix dup comment showing with comments with more than three, also fixed veribage
2010-12-02 15:18:54 -08:00
maxwell
e18b918676
MS DG only show three comments by default
2010-12-01 18:09:41 -08:00
Raphael
03e3c3a202
Render comment partial with collection option
2010-11-29 17:50:30 -08:00
maxwell
9707c5a124
remove single comment partial for speed in rendering
2010-11-29 15:47:24 -08:00
Raphael
760fed7016
No need for defined?
2010-11-29 12:10:41 -08:00
Raphael
7ca124c002
Refactor views to not be so dumb.
2010-11-27 21:27:27 -05:00
danielvincent
a932547d12
minimizing some queries in the views. only select aspect names and ids in application controller.
2010-11-27 01:05:55 -05:00
danielvincent
b56af997cb
comment streams rendered expanded/collapsed initially by server.
2010-11-25 20:23:33 -05:00
danielvincent
661ad20a02
added delegate, proper finders, and more chaining to stream.js. removed div.comment_set from the DOM.
2010-10-24 14:44:43 -07:00
Raphael
1fd3aeabd9
Add or later to license notice
2010-10-07 16:25:34 -07:00
Dorian
e792344c0e
Use improved whitespace:scrub_gratuitous_newlines
2010-09-26 12:52:39 -04:00
Dorian
6ffc03a4c9
Big clean up: delete trailing whitespace
2010-09-26 12:48:40 -04:00
Raphael
708e9f88a5
Spell our own name right
2010-09-15 17:56:18 -07:00
Raphael
aa3ebe372c
License notices replaced
2010-09-15 10:58:48 -07:00
Daniel Vincent Grippi
2fae1049d9
silent comments in all views except the layout and session wall
2010-09-13 15:11:14 -07:00
Daniel Vincent Grippi
4c15b1a01c
added license to every single goddamn file. also, put one in the root dir.
2010-09-13 14:23:50 -07:00
danielvincent
c01e9846cf
began album index page. added a larger thumbnail on image upload. also, there is one HUGE memory leak somewhere
2010-07-21 00:24:11 -07:00
maxwell
9631977597
RS MS comments propagate, and show up IN REAL TIME
2010-06-30 17:29:32 -07:00
danielvincent
39a1874ce3
DG IZ; all input fields are now textareas on dashboard page
2010-06-29 16:28:12 -07:00
maxwell
b017f1b0f9
forgot to add partial file to git...sorry
2010-06-26 23:43:30 -07:00