Commit graph

10494 commits

Author SHA1 Message Date
Maxwell Salzberg
cd2647c029 Merge branch 'manuels-oembed' 2011-10-11 16:54:56 -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
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
Maxwell Salzberg
b334a048bf merged 2011-10-11 16:09:26 -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
Gonzalo Rodriguez
b973b66890 Remove boldness from aspect selectors 2011-10-11 20:51:58 -02:00
Ilya Zhitomirskiy
fa44ff6931 added query 2011-10-11 15:46:13 -07:00
Ilya Zhitomirskiy
496dae1607 Merge pull request #2163 from Pistos/postgresql-statistics
Postgresql statistics
2011-10-11 15:33:54 -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
b6288f841b Allow Cucumber tests to run with PostgreSQL with a non-root user. 2011-10-11 16:54:03 -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
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
7becb0ac0e added require in admins controller 2011-10-11 11:05:32 -07:00
Ilya Zhitomirskiy
df62b29f3c Merge branch 'stats' 2011-10-11 10:57:48 -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
Your Name
dcb4903711 use tag name instead of its id for pagination 2011-10-11 10:42:46 -07:00
danielgrippi
f472bfa661 fix notification dropdown positioning 2011-10-11 10:20:46 -07:00
Daniel Grippi
aba29ea479 Merge pull request #2156 from manuels/new_lines
[PaperCut] Allow new lines (<br>)
2011-10-11 09:44:52 -07:00
Daniel Grippi
eb19bc9a78 Merge pull request #2111 from vcuculo/fix-mobile-select
Fix #2091 - Aspects selection on mobile
2011-10-11 09:29:45 -07:00
danielgrippi
a2b79d0338 touch up header 2011-10-11 08:00:36 -07:00
Jonne Hass
8bc67f983c Merge branch 'master' of git://gitorious.org/diaspora-l10n-ca/diaspora-l10n-ca 2011-10-11 14:07:31 +02:00
Jonne Hass
6ff2bdd300 updated locales and added sq, uk and en_1337 2011-10-11 13:03:11 +02: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
2ef56224be DG MS; added more feedback to photo uploader 2011-10-10 16:35:18 -07:00
danielgrippi
882c0c2170 DG MS; fixed tags autocomplete styling and js 2011-10-10 15:59:13 -07:00
Manuel Schölling
1135c0ad79 Allow new lines (<br>) 2011-10-10 20:41:54 +02: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
71681d1bc7 load mail jobs in an initializer so Resque::Helper.constantize doesn't throw UninitializedConstant
when resque tried to get the constant "Mail" from the "Jobs" module it got the inherited constant "Mail" (ruby gem) instead of Jobs::Mail
2011-10-09 23:39:56 -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
Gonzalo Rodriguez
6b5928ca09 Remember last selected aspects through the session 2011-10-09 02:24:53 -02:00
Gonzalo Rodriguez
c8bc7349ad Fix notifications cuke 2011-10-09 01:48:59 -02: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
Gonzalo Rodriguez
583dd20249 Refactor selected aspects ui setup 2011-10-08 23:14:04 -02: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
Gonzalo Rodriguez
7994c4d43f 1 new notifications must be 1 new notification 2011-10-08 21:36:58 -02:00
Gonzalo Rodriguez
c0ea7054d6 Add cuke that tests #2102. Change aspects in the middle of posting. 2011-10-08 18:51:42 -02:00
Gonzalo Rodriguez
6cd9c9c2d0 Refactor syntax on some cukes 2011-10-08 18:33:56 -02:00