Levente Bagi
6e60d932c0
Fixes omniauth & rack-1.2 bug #1824
...
Rack 1.2's request.url method is buggy, as it gets the host part from
HTTP_X_FORWARDED_HOST, but the port from SERVER_PORT (which should be
used in conjuction with SERVER_ADDR).
This way, if the app is run behind a reverse proxy, it will create a
URL with <public_host>:<private port>, and pass this to Facebook,
so Facebook will redirect back to the URL with the wrong port.
Upgrading Rack requires upgrade to Rails 3.1.
This temporary solution configures OmniAuth using a copy of the newer
version of Rack::Request.
2011-10-09 01:03:22 +01:00
Maxwell Salzberg
0da3fbcf66
fix some cases where the parent is nil in relayable retractions
2011-10-07 13:45:20 -07:00
danielgrippi
2baa1e7c6e
remove hidden posts from the cache; add unhidden posts to the cache
2011-10-06 19:14:08 -07:00
Gonzalo Rodriguez
cf01d03656
Avoid crashing if no featured users are configured
2011-10-07 00:06:12 -02: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
Your Name
55ffc44a42
wip
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
Your Name
619f5fd56e
move featured users to the other side and make a little sidebar widget for it
2011-10-06 12:27:02 -07:00
Maxwell Salzberg
d7bd26fdf3
MS SM only show accpetable types of posts in the featured users stream
2011-10-05 21:22:10 -07:00
Maxwell Salzberg
cdce54bbda
MS SM featured users stream. because we do what we want
2011-10-05 21:12:02 -07:00
Maxwell Salzberg
b911047d7d
sorry left some puts
2011-10-05 18:12:11 -07:00
Maxwell Salzberg
58ca760a64
fix small bug with html only emails
2011-10-05 18:11:35 -07:00
Maxwell Salzberg
75aa3f8f97
include people names in the from field
2011-10-05 17:12:31 -07:00
Ilya Zhitomirskiy
fd8476fe9c
fixed clear cache rake task + puts
2011-10-05 12:09:42 -07:00
Maxwell Salzberg
d91ea4b9ce
adding support for message bus email service
2011-10-05 12:06:19 -07:00
Maxwell Salzberg
85e51a6dd7
wip
2011-10-05 12:06:19 -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
Ilya Zhitomirskiy
0d00265392
temporarily disable redis caching during seed script
2011-10-05 10:39:24 -07:00
Ilya Zhitomirskiy
f98ff61e16
fix cache updating on post creation for a user
2011-10-04 18:48:38 -07:00
Maxwell Salzberg
a3eeb9f3c1
comment on tagged posts wip
2011-10-04 18:20:15 -07:00
maxwell
eef054dc5e
wip
2011-10-04 18:20:14 -07:00
Ilya Zhitomirskiy
792647340f
added acceptable_types to the cache
2011-10-04 16:51:18 -07:00
Ilya Zhitomirskiy
af5c33f5a5
only cache types associated in AspectStream
2011-10-04 16:18:41 -07:00
Ilya Zhitomirskiy
ab8308b9df
moved configured check into the RedisCache class
2011-10-04 15:46:03 -07:00
Maxwell Salzberg
11b1b44b22
fix file require
2011-10-04 15:33:29 -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
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
Gonzalo Rodriguez
0aa49a8d73
Missing whitespace
2011-10-03 22:06:03 -02:00
Maxwell Salzberg
dd1a1c15bb
dont use instance vars when you have accessor methods
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
cd93a29377
small cleanup
2011-10-03 15:23:11 -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
ad9dcd8542
holy guacamole. mentions page and tag following pages, plus a huge stream refactor
2011-10-03 15:23:10 -07:00
Maxwell Salzberg
429ac42502
added tag follow feature, mention page feature. is now pretty easy to add new types of streams, but some more refactoring could make it even nicer
2011-10-03 15:22:14 -07:00
Maxwell Salzberg
b5c3f2c615
wip
2011-10-03 15:22:14 -07:00
Dan Hansen
84ff366fef
make all links open in new tab. fix #1984
2011-10-02 22:24:35 -05:00
Maxwell Salzberg
5348c72209
add sqlite method; fix chubbies cukes
2011-09-30 14:27:54 -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
Maxwell Salzberg
6ac0a46120
green jasmine by stubbing ajax_stream? in aspects controller
2011-09-29 18:04:21 -07:00
Ilya Zhitomirskiy
c3746aec7f
passing around arrays instead of object on local batch receive
2011-09-28 21:34:48 -07:00
Maxwell Salzberg
78557c02e9
dealing with slow code by commenting it out
2011-09-27 17:19:38 -07:00