Jonne Hass
88c6db5de4
pendingfy the other .ajax_stream? spec too for now
2011-10-15 13:17:40 +02:00
Jonne Hass
df8e5039a6
make failing spec pending for now. Btw. we have too many pending specs...
2011-10-15 12:45:35 +02:00
Jonne Hass
1e26f5d045
Merge pull request #2175 from Pistos/postgresql-fix-fb_connected_distribution_sql
...
Postgresql: Fix fb_connected_distribution_sql
2011-10-15 03:27:57 -07:00
Maxwell Salzberg
5a8024a71a
MS DG; some stream refactoring; can comment now exists in base stream; default behavior is to allow you to comment on locals post, and then remote people if you are connected with them
2011-10-14 11:50:38 -07:00
Maxwell Salzberg
56dc565fc7
yeah I need to commit the files i guess
2011-10-13 22:27:07 -07:00
Maxwell Salzberg
f959ca0c12
refactor streams to be in a Stream module, hopefully they will auto-reload now
2011-10-13 22:26:15 -07:00
Maxwell Salzberg
44b0887e0a
who wants a goat that fetches SOAP?!!
2011-10-13 22:26:15 -07:00
Pistos
2cd004da24
Added an additional stub_request so aspects_controller_spec.rb passes under more conditions.
2011-10-13 21:56:59 -04:00
Pistos
455e59e442
Introduce #fb_connected_distribution to make statistics_spec.rb pass under PostgreSQL.
...
Statistics can still be gathered the same way when MySQL is being used; no alteration there.
2011-10-12 22:36:42 -04:00
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
Maxwell Salzberg
008116fa3f
IZ MS more tests for status message scopes
2011-10-03 15:23:11 -07:00
Maxwell Salzberg
01fd1f23c7
moving stuff around
2011-10-03 15:23:11 -07:00
Maxwell Salzberg
1d2439ee76
clean up stream directory structure
2011-10-03 15:23:11 -07:00
Maxwell Salzberg
52bb5900a3
added shared behaviors for real
2011-10-03 15:23:10 -07:00
Maxwell Salzberg
6734aab378
added shared behaviors for streams
2011-10-03 15:23:10 -07:00
Maxwell Salzberg
9a4c478a7b
these spes are really green. too bad we need #moar
2011-10-03 15:23:10 -07:00
Maxwell Salzberg
0f073387ac
IZ MS refactor commenting disabled
2011-10-03 15:20:43 -07:00
Dan Hansen
e199010448
remove commented out spec
2011-10-03 15:00:14 -05:00
Dan Hansen
3eaa1c0584
moved photo processing from model to resque job, added tests
...
removed Photo#not_processed
2011-10-03 14:58:44 -05:00
Dan Hansen
da851881a7
autolink spec should test that there is an A tag in the markdownified content and that it's href must equal the link that was posted instead of testing all of the markdownified content..
2011-10-02 22:50:39 -05:00
Dan Hansen
84ff366fef
make all links open in new tab. fix #1984
2011-10-02 22:24:35 -05:00
Gonzalo Rodriguez
0b97a3525a
Merge branch 'aspect_nav_rework'
2011-10-02 21:08:12 -02:00
Ilya Zhitomirskiy
5f29b77b1f
fixing wrong datatype on activity streams objectId
2011-10-01 19:07:11 -07:00
Gonzalo Rodriguez
d3a5bc1fb8
Merge branch 'master' into aspect_nav_rework
2011-10-01 03:58:50 -03:00
Maxwell Salzberg
fd42629c04
Merge pull request #2077 from christophe-de/username-blacklist
...
add username blacklist
2011-09-30 12:00:15 -07:00
Maxwell Salzberg
621075d4e1
fix mentioning from profile page spec, add some tests for the ajax_stream? method
2011-09-30 10:54:13 -07:00
Paul Spieker
0c12471feb
add username blacklist
2011-09-30 14:17:04 +02:00
Maxwell Salzberg
a99d992706
GAHHHH DATABASE STRING OR INTEGER MAKE UP YOUR MIND
2011-09-29 18:53:25 -07:00
Maxwell Salzberg
c0ed7218fa
ugh postgres and your string ids\!
2011-09-29 18:30:12 -07:00
Maxwell Salzberg
dfb4c9c920
Merge pull request #2051 from uiri/672-facebook-majority-market-share
...
Links in the message translate into a proper link on Facebook when sendin
2011-09-29 18:13:33 -07:00
Maxwell Salzberg
6ac0a46120
green jasmine by stubbing ajax_stream? in aspects controller
2011-09-29 18:04:21 -07:00
Uiri
0fbda5d077
Modularized and Tested™
2011-09-29 21:04:18 -04:00
Maxwell Salzberg
9760033fa5
weird postgres thing
2011-09-29 17:43:47 -07:00
Maxwell Salzberg
44942036da
make the socketing tests pending as we are not currently doing that
2011-09-29 13:33:44 -07:00
danielgrippi
e3bf03636b
pass in mobile as provider_display_name on posts if posting from mobile
2011-09-28 22:15:32 -07:00
Ilya Zhitomirskiy
c3746aec7f
passing around arrays instead of object on local batch receive
2011-09-28 21:34:48 -07:00
Ilya Zhitomirskiy
da0591f55e
tightened the spec, about to refactor
2011-09-28 21:03:10 -07:00
Ilya Zhitomirskiy
5cf11447e6
tightened the spec, about to refactor
2011-09-28 21:00:17 -07:00
Gonzalo Rodriguez
74d00d7db4
Merge branch 'master' into aspect_nav_rework
2011-09-28 19:52:15 -03:00
Ilya Zhitomirskiy
e8c7b570a9
small fix
2011-09-28 15:34:15 -07:00
danielgrippi
2b2443b6b9
aspect dropdown takes public and all aspects option
2011-09-27 21:09:27 -07:00
Gonzalo Rodriguez
e0ffd7c63e
Merge branch 'master' into aspect_nav_rework
...
Conflicts:
features/posts_from_main_page.feature
public/javascripts/aspect-filters.js
spec/javascripts/aspect-filters-spec.js
2011-09-27 00:08:05 -03:00
danielgrippi
4bd1f0997d
fix build
2011-09-25 13:14:09 -07:00
Maxwell Salzberg
049eb74ab2
added route to grab users profile picture if you know their username
2011-09-24 23:33:14 -07:00
Ilya Zhitomirskiy
a009c37d6f
fixed the cukes and the tag following
2011-09-23 18:58:19 -07:00
Ilya Zhitomirskiy
faa0451380
Revert "not passing in by members of if it wasn't passed into the stream"
...
This reverts commit ff1cb665ed .
2011-09-23 09:59:05 -07:00
Ilya Zhitomirskiy
ff1cb665ed
not passing in by members of if it wasn't passed into the stream
2011-09-22 16:26:45 -07:00
Raphael Sofaer
2e96f0121e
simplify multi-server spec running with foreman. couldn't really get it automated tonight, not sure why.
2011-09-22 00:24:01 -04:00
Gonzalo Rodriguez
24be48d660
Strip full name considering cases where first or last name omitted
2011-09-20 22:18:35 -03:00
Ilya Zhitomirskiy
2cebfa54cc
fixed couple of specs, removed the federation fallback, and fixed the public hashtag pages (not displaying the publisher)
2011-09-19 15:52:25 -07:00
Maxwell Salzberg
b1e15f6a80
make specs pending
2011-09-16 18:36:58 -07:00
Maxwell Salzberg
bc1aef4999
MS IZ start to implement followed tags in the stream
2011-09-16 18:19:34 -07:00
Maxwell Salzberg
3d275868ce
make spec pending rather than commented out
2011-09-16 16:44:51 -07:00
Maxwell Salzberg
3bc81aeb67
stupid test polution :(
2011-09-16 16:42:35 -07:00
Maxwell Salzberg
e26b614e1d
added intergration test for dispatcher
2011-09-16 15:56:18 -07:00
Maxwell Salzberg
3d6169395f
add another dispatcher spec
2011-09-16 15:22:20 -07:00
Ilya Zhitomirskiy
e6e15483cd
more verbose testing of grouped_people
2011-09-16 13:34:56 -07:00
Jonne Hass
b706edf76f
pull in parallel_testing to speed up rspec
...
- Initally run rake parallel:create
- After each schema change run rake parallel:prepare
- To run rspec super fast run rake parallel:spec
- Todo fix upstreams summary logger
2011-09-16 22:14:12 +02:00
Maxwell Salzberg
5ca5db213f
add the opposite test, fix a typo in my previous test declaration
2011-09-16 11:31:01 -07:00
Maxwell Salzberg
6c414d8562
add tests for object_should_be_processed_as_public? and delegegated public to the parent of relayable objects
2011-09-16 11:24:13 -07:00
Maxwell Salzberg
d3b6143a45
remove heroku gem'
2011-09-16 09:44:03 -07:00
Ilya Zhitomirskiy
c98189b057
refactored the salmon models and the xml, added a pending spec to strip '='
2011-09-16 08:53:13 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
4cdfe8431b
signing with SHA256, have a temp fallback on verification
2011-09-16 08:53:13 -07:00
danielgrippi
999efbd451
IZ DG MS; fix method call in public receiver
2011-09-15 19:37:56 -07:00
danielgrippi
60cb9e43a7
DG MS; renamed Salmon jobs; CGI::unescape() incoming xml in public receive route
2011-09-15 15:33:28 -07:00
danielgrippi
ba8e50e34c
DG MS; renamed a file; fixed the build
2011-09-15 15:16:34 -07:00
danielgrippi
97f80272b2
DG MS; changed Job:: to Jobs::; require all mail jobs from Job base class
2011-09-15 12:42:53 -07:00
danielgrippi
ec011f0800
DG MS; optimized local comments to be batched; backfilled more tests
2011-09-15 11:22:47 -07:00
danielgrippi
cfa260927d
DG MS; remove unusused job
2011-09-15 11:22:47 -07:00
danielgrippi
930ea6c425
Fix failure, decode in receiver
2011-09-14 21:41:46 -07:00
danielgrippi
fab6f9ccd9
DG MS; fixed tests; explicitly send in dispatcher in httpmulti
2011-09-14 17:51:25 -07:00
Maxwell Salzberg
60ace5c297
DG MS; Broke out HydraWrapper in HttpMulti job
2011-09-14 15:50:07 -07:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
danielgrippi
60793fa1aa
fixed failing spec
2011-09-14 00:10:04 -07:00
The Lambda Calculus
6be533b987
Merge pull request #1975 from TheLambdaCalculus/b1126-additional-refactoring
...
Added RSpec test for #1126
2011-09-13 20:55:46 -07:00
The Lambda Calculus
83fc972c61
Added RSpec test for #1126
2011-09-13 23:27:54 -04:00
Ilya Zhitomirskiy
6b9ad7c4c6
SM IZ pared down markdownify to basic markdown, bumped version of RedCarpet
2011-09-13 20:20:49 -07:00
Maxwell Salzberg
119cb37ba5
DG MS; broke validations into methods in receiver
2011-09-13 16:42:47 -07:00
Maxwell Salzberg
adaefd0cb5
MS DG rspec is green update gemfile
2011-09-13 13:34:49 -07:00
Maxwell Salzberg
5258a37ce5
MS DG clean up Postzord::Dispatcher::Private
2011-09-13 13:11:43 -07:00
Maxwell Salzberg
665facaeb0
DG MS renamed private dispatcher; started refactor including public
...
dispatcher
2011-09-12 17:02:40 -07:00
Maxwell Salzberg
0ab0526cd6
DG MS; put validates_associated in relayable, removed from receiver logic
2011-09-12 15:06:17 -07:00
Maxwell Salzberg
5177e5b218
DG MS test receive_relayable
2011-09-12 14:05:32 -07:00
Maxwell Salzberg
6e60905d0d
DG MS major refactor of salmon and corresponding federation logic
2011-09-12 14:05:32 -07:00
Maxwell Salzberg
87c994fa47
MS DG cleaned up and fleshed out salmon specs
2011-09-12 14:05:32 -07:00
Maxwell Salzberg
34ed07260f
MS IZ DG moar salmon refactoring
2011-09-12 14:05:31 -07:00
Maxwell Salzberg
e0429ee823
MS DG pulling apart salmon and making our custom hacks more obvious
2011-09-12 14:05:31 -07:00
Maxwell Salzberg
6b0507949c
updated salmon to let us not always encrypt the header
2011-09-12 14:05:31 -07:00
danielgrippi
1d0bec11f7
Add counter cache for comments on posts
2011-09-11 15:02:24 -07:00
danielgrippi
1bd37038cc
fixed/moved specs; made Person.all_from_aspects scope (move direct AR querying from AspectStream; added more documentation in AspectStream
2011-09-11 14:16:48 -07:00
danielgrippi
21182c88ec
initial tests for AspectStream
2011-09-11 14:16:48 -07:00
danielgrippi
ec4dc7a905
Created AspectStream; removed all logic from AspectsController#index
2011-09-11 14:16:48 -07:00
Daniel Grippi
95aad7f15d
Merge pull request #1940 from alda519/profiles_helper-image
...
default profile photo is no longer marked as set
2011-09-10 19:25:47 -07:00
danielgrippi
fe915ecb09
don't redirect to AspectsController#new from AspectsController#index if no aspect is present
2011-09-10 09:25:38 -07:00
alda519
b5f8f49ddd
default profile photo is no longer marked as set
2011-09-10 17:31:34 +02:00
Ilya Zhitomirskiy
ad11bd2a31
the Devise email regex was not catching pods that were anything other than a standard url
2011-09-09 18:05:58 -07:00
Maxwell Salzberg
91eabf0fce
attempt to add muting of notifications when post has a hidden visibility; i am getting a load path error in resque now, but that seems to be independent of this commit
2011-09-08 23:21:13 -07:00
Sarah Mei
37579814c4
More querying_spec refactoring. #visible_posts now has sufficient test coverage to aggressively refactor.
2011-09-08 14:55:21 -07:00
Sarah Mei
d1604a5bb5
Blow out the visible_posts specs so I can more easily see what it's doing
2011-09-08 11:58:14 -07:00
danielgrippi
c5fbe1584a
fix the build; don't test on enqueueing a job to fetch facebook friends every time we hit the facebook finder -- only do this on log in
2011-09-08 10:59:35 -07:00
Gonzalo Rodriguez
6131d5d29d
Merge branch 'master' into aspect_nav_rework
2011-09-08 01:54:49 -03:00