Gonzalo Rodriguez
00e93ba765
Fix people_controller specs
2011-10-13 00:01:05 -02:00
Daniel Grippi
b7f4f81d28
Merge pull request #2148 from Pistos/issue-2007-comment-order-on-postgresql
...
Explicitly specify order of comments, since we cannot assume MySQL orderi
2011-10-12 16:09:18 -07:00
Maxwell Salzberg
9fd1d7db63
updating gemfile and schema.rb
2011-10-11 16:53:37 -07:00
Maxwell Salzberg
8acd9acb08
tests moved and passing
2011-10-11 16:12:32 -07:00
Maxwell Salzberg
139ddd726a
wip oembed refactor. still need to make a oembed_helper, and move some tests to their new home, but e but we are looking preeeetttttyyyy good.
2011-10-11 16:10:14 -07:00
Manuel Schölling
3561021a90
Added cucumber tests for oEmbed feature
2011-10-11 16:09:16 -07:00
Manuel Schölling
f3ea8f424f
Added oEmbed support
2011-10-11 16:08:47 -07:00
Ilya Zhitomirskiy
fa44ff6931
added query
2011-10-11 15:46:13 -07:00
Pistos
ed9328450a
Make statistics work under PostgreSQL.
2011-10-11 17:48:57 -04:00
Pistos
76ab5b2efb
Whitespace cleanup.
2011-10-11 17:48:33 -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
4774b670de
Whitespace cleanup.
2011-10-11 15:50:40 -04:00
Ilya Zhitomirskiy
6a5f448853
added comment count correlation
2011-10-11 11:31:46 -07:00
Ilya Zhitomirskiy
5f324f73a0
remove correlation for tags_followed due to missing index
2011-10-11 11:18:42 -07:00
Ilya Zhitomirskiy
7fb26c4390
dg iz limiting to one month, added contacts sharing with count
2011-10-11 10:57:26 -07:00
Ilya Zhitomirskiy
288d20b6e8
correlations on the admins page
2011-10-11 10:57:26 -07:00
Ilya Zhitomirskiy
4c9b45b9c8
WIP
2011-10-11 10:57:26 -07:00
danielgrippi
818167c565
DG IZ; wip
2011-10-11 10:57:26 -07:00
The Lambda Calculus
e7828dcae8
Squashed commit of the following:
...
commit 740296e86fdd080e6e787c5c024a6b609782d82f
Author: The Lambda Calculus <code@thelambdacalculus.net>
Date: Mon Oct 10 16:49:35 2011 -0400
Wrote rspec for atom feed validation. [Finishes issue #1408 ]
commit e2999cbe588bcb32f35f05120743627cf3b31f56
Author: The Lambda Calculus <code@thelambdacalculus.net>
Date: Thu Sep 29 18:28:14 2011 -0400
Adjusted placement of invalid 'link' elements outside of 'author' element. Feed now validates, though warnings/suggestions still exist. [Issue #1408 ]
2011-10-11 01:43:11 -04:00
danielgrippi
882c0c2170
DG MS; fixed tags autocomplete styling and js
2011-10-10 15:59:13 -07:00
Dan Hansen
32f1b61719
Mail doesn't seem to like the name-addr spec from RFC2822
2011-10-10 00:35:04 -05:00
Dan Hansen
f6845c360f
Revert "change namespace from Mail to Mailers"
...
This reverts commit f859904c76 .
2011-10-09 23:34:03 -05:00
Dan Hansen
f859904c76
change namespace from Mail to Mailers
...
locally when Resque tried to constantize Jobs::Mail Object.const_get("Jobs") returned our Jobs module but when it tried to const_get("Mail") it returned the Mail gem.
added copyright
2011-10-09 22:41:01 -05:00
Dan Hansen
814eb7b426
RFC2822 specifies that you use parentheses to denote a mailbox list. Use the addr-name spec to specify a display name and the from address.
...
Check against the raw headers of the mail as @mail.from excludes the display name
Extract shared logic between notifier methods
2011-10-09 22:19:50 -05:00
Maxwell Salzberg
c85209a22c
strip whitespace in name call
2011-10-07 12:59:07 -07:00
danielgrippi
2baa1e7c6e
remove hidden posts from the cache; add unhidden posts to the cache
2011-10-06 19:14:08 -07:00
Your Name
a457ab1ca2
fix dumb post spec
2011-10-06 17:30:21 -07:00
Ilya Zhitomirskiy
018a42b001
assert that prep_opts works; reference BaseStream types in lieu of subclassed AspectStream's
2011-10-06 17:26:29 -07:00
Ilya Zhitomirskiy
7572eaaf0d
changed the default order in prep_opts, passing in opts to cache population
2011-10-06 17:14:14 -07:00
Your Name
5b9fbd19ed
moar specs, a little perf upgrade for base_stream#person
2011-10-06 17:13:04 -07:00
Ilya Zhitomirskiy
91a0af078c
added checking for the sharing contact in postzord caching
2011-10-06 12:31:09 -07:00
Ilya Zhitomirskiy
d891e78652
refactored post receiving; only update cache on verfied received objects
2011-10-06 12:31:09 -07:00
Maxwell Salzberg
cdce54bbda
MS SM featured users stream. because we do what we want
2011-10-05 21:12:02 -07:00
Ilya Zhitomirskiy
f4bfa22768
added a clear cache rake task, removed fake redis for mockredis, slight
...
refactor of the redis_cache class
2011-10-05 11:54:24 -07:00
Dan Hansen
8c15ca2a4b
PMs and comments contain author name in "From" header
...
refactor notifier
2011-10-04 23:48:28 -05:00
Maxwell Salzberg
8a5d76de21
fix comment helper specs
2011-10-04 18:57:55 -07:00
Maxwell Salzberg
6252436b34
tests for commentshelper shim
2011-10-04 18:20:38 -07:00
Maxwell Salzberg
772d0241d9
moar tests
2011-10-04 18:20:38 -07:00
Ilya Zhitomirskiy
c2bb483b21
dg iz updating authors cache on creation of a post
2011-10-04 17:40:44 -07:00
Ilya Zhitomirskiy
792647340f
added acceptable_types to the cache
2011-10-04 16:51:18 -07:00
Ilya Zhitomirskiy
b42d675cb7
accounting for the unified receiver interface of the method
2011-10-04 15:51:39 -07:00
Ilya Zhitomirskiy
ab8308b9df
moved configured check into the RedisCache class
2011-10-04 15:46:03 -07:00
Ilya Zhitomirskiy
97342630c4
dg iz added some more documentation and only caching on all aspects
2011-10-04 14:39:56 -07:00
Ilya Zhitomirskiy
6ea540fb94
wip, adding to cache in receiver, caching is only triggered for receiving of posts
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
7926ebfb53
subclassing receivers, renamed perform to perform [bang]
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
4a8aea9e78
changed back to mock redis
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
289d582ce9
redis cache populates
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
01515725fe
WIP trim is still needed, also possible weirdness with the mock
2011-10-04 10:32:16 -07:00
Ilya Zhitomirskiy
8d12a57f37
reding from redis cache
2011-10-04 10:32:16 -07:00
Maxwell Salzberg
34f82d8bc1
try an in query directly for the tags
2011-10-03 17:14:57 -07:00