Commit graph

1251 commits

Author SHA1 Message Date
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
e0ee200eb7 ajax that stream if you are not cachin' outrageous 2011-10-14 16:03:20 -07:00
Maxwell Salzberg
d4e36167f5 remove featured users for now 2011-10-14 15:59:23 -07:00
Maxwell Salzberg
934b47cadb lets try not ajaxing the stream because the cache is superfast 2011-10-14 14:28:46 -07:00
Maxwell Salzberg
bde5fd205c MS DG fix soup, memoize posts 2011-10-14 14:23:18 -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
01d7b9507b DG MS; ajax in the soup 2011-10-14 11:17:25 -07:00
Maxwell Salzberg
14c5f1c564 MS DG; only select the ids for soup query 2011-10-14 11:08:47 -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
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
Pistos
bc48ed16f9 Add users.sign_in_count to GROUP BY clause in #fb_connected_distribution_sql. (How did this even work without it?) 2011-10-12 22:33:46 -04:00
Ilya Zhitomirskiy
d5d4b9d555 Merge pull request #2145 from bagilevi/fix-omniauth-rack-bug-1824
Fixes omniauth & rack-1.2 bug #1824
2011-10-12 16:13:51 -07:00
Pistos
a60e74f339 Fixed "string vs. integer" spec breakage in spec/models/user/querying_spec.rb . 2011-10-12 11:37:01 -04:00
Gonzalo Rodriguez
f0b219f474 More simple tags_stream title. Was insane when following a lot of tags :D 2011-10-12 03:39:27 -02:00
Gonzalo Rodriguez
27d9e7a8c6 Remove this, since selected aspects are now handled in the session hash
Not only this code is unnecessary with the new way selected
aspects are stored, also on some edge cases could confuse the user
for example when having two tabs opened and hitting refresh in one
of them. Expecting selected aspects, but the "a_ids[]"-like url could
instead set the new group of selected aspects.
2011-10-12 02:58:42 -02:00
Ilya Zhitomirskiy
8cd5fef1a6 one more csv generator option 2011-10-11 18:57:02 -07:00
Maxwell Salzberg
cfb28db00f wip, but the refactored code works 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
Maxwell Salzberg
963d5c1a69 wip 2011-10-11 16:10:14 -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
Ilya Zhitomirskiy
86e52b0799 remove statstample; made our own correlation function 2011-10-11 12:03:35 -07: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
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