Pistos
f83e56e5f3
Added a counter cache for the number of reshares of a post.
2011-12-19 17:12:17 -05:00
Pistos
e951fa6a9c
Use Post#reshare_count in the view so that we take advantage of the memoization instead of hitting the DB more than necessary.
2011-12-19 17:12:17 -05:00
Pistos
a604dd2aa6
Refactor implementation of #reshare_count.
...
The old implementation which uses Post.where causes
undefined method `abstract_class?' for Object:Class
in spec/controllers/posts_controller_spec.rb. Not sure whether that's a problem
with Rails, or rspec, or what.
2011-12-19 17:12:17 -05:00
Pistos
51566ebe0b
Improve wording of error message in Reshare#root_must_be_public validation.
2011-12-19 17:12:17 -05:00
Pistos
a9c6905e29
Made spec text correspond to actual text tested.
2011-12-19 17:12:17 -05:00
Pistos
99f2d4f018
Original (root) posts should simply have "Reshare" as the English link text (not "Reshare original").
2011-12-19 17:12:17 -05:00
Pistos
90d960bac7
Some reshare_link specs.
2011-12-19 17:12:17 -05:00
Pistos
e9c87f7f44
Always show "Reshare original" for link. Show number of reshares in the post_initial_info div.
...
This is to improve UX by making it much more obvious how to reshare a post that
has already been reshared. Prior to this change, the link to reshare would show
only the reshare count, e.g. "7 reshares". Most users would have no idea that
they need to click "7 reshares" to reshare the post themselves.
2011-12-19 17:12:17 -05:00
Maxwell Salzberg
455e5375d8
add 1.9.3 to travis. remove deprecation warning from cukes
2011-12-08 16:30:58 -08:00
Maxwell Salzberg
2282fd35d1
kill no longer used youtube titles code with fire
2011-12-08 16:16:57 -08:00
Pistos
a5d1657fbd
Repair posts_controller_spec.rb by refactoring them a bit. Rspec was being finnicky or something?
2011-12-08 15:35:16 -05:00
Jonne Hass
0c00a90793
added readme to locales directory [ci skip]
2011-12-08 20:10:07 +01:00
danielgrippi
f4c9b548f9
update cucumber and capybara. one failing cuke.
2011-12-07 18:40:39 -08:00
danielgrippi
f40ed9bb25
DG MS; remove deprication warning in cukes
2011-12-07 17:32:09 -08:00
danielgrippi
910b0e104c
added fog back to the Gemfile
2011-12-07 10:49:00 -08:00
Gonzalo Rodriguez
c7c46d2b7b
Update edit form after aspect rename. Closes #2363 .
2011-12-07 01:57:04 -02:00
danielgrippi
beeb02dcd6
omniauth 1.0 replaced 'user_info' with 'info'
2011-12-06 17:53:41 -08:00
danielgrippi
d0f58e1bd4
Revert "upgrade devise; devise_invitable"
...
This reverts commit 0f56ee7b77 .
2011-12-06 11:01:50 -08:00
danielgrippi
0f56ee7b77
upgrade devise; devise_invitable
2011-12-06 10:50:29 -08:00
Jonne Hass
4fad432a30
don't break expected update behaviour for now (disable mhtml creation of jammit)
2011-12-06 17:29:02 +01:00
Jonne Hass
4a996493bd
Merge branch 'master' of git://gitorious.org/diaspora-l10n-ca/diaspora-l10n-ca
2011-12-06 13:13:38 +01:00
Jonne Hass
38cdfa4ab7
updated 55 locale files [ci skip]
2011-12-06 13:13:28 +01:00
Jonne Hass
a892ea41eb
refactor out profile url generation into local_or_remote_person_path and use it everywhere. closes #2471
2011-12-06 13:08:21 +01:00
Jonne Hass
7a474e8199
small corrections to locale_settings.yml
2011-12-06 11:33:07 +01:00
Daniel Grippi
003a17d27a
version bump mysql2 gem
2011-12-06 00:08:47 -08:00
Daniel Grippi
cea87f8cbf
remove fog, aws, and excon gems; version bump carrierwave & nokogiri
2011-12-05 23:52:57 -08:00
Daniel Grippi
083bb8fbbf
remove patch for db cleaner (version bump seemed to resolve it)
2011-12-05 23:50:50 -08:00
Daniel Grippi
3dc247a4e6
version bump database_cleaner for better truncation
2011-12-05 23:19:30 -08:00
Daniel Grippi
bd0d4f9ca8
upgrade resque, sass, jammit, fixture_builder
2011-12-05 23:08:14 -08:00
Sarah Mei
f99dd3683d
Add jasmine:ci and cucumber oauth back into travis
2011-12-05 22:26:14 -08:00
Sarah Mei
d245dc91a5
Clearing rake spec before defining it - see if this affects travis
2011-12-05 22:03:24 -08:00
Sarah Mei
c2b22569b0
Let's try a trace on travis and see if it tells us anything useful.
2011-12-05 21:33:36 -08:00
Sarah Mei
d1044298d4
Remove export display for now to see if it affects travis
2011-12-05 21:14:48 -08:00
Sarah Mei
925753e6e4
travis needs to fail faster
2011-12-05 20:50:30 -08:00
Sarah Mei
df06b04d83
Perhaps the bundler prerelease is the reason we're running specs twice? Let's see.
2011-12-05 20:20:48 -08:00
Daniel Grippi
0d41c9c5f3
update gems -- mainly omniauth (we explicitly include omniauth libs now... much cleaner)
2011-12-05 19:53:03 -08:00
Jordi Mallach
da6ff549e1
Update Catalan translation to 548c225.
2011-12-05 15:24:15 +01:00
Pistos
548c225102
Can haz idiomatic English?
2011-12-04 21:47:37 -05:00
Sarah Mei
085471fb55
Remove default rake task's dependency on spec:fixtures for now, to see if that stops travis from running all the specs twice
2011-12-04 17:46:26 -08:00
Sarah Mei
e0a74b7806
Config rspec tags for travis
2011-12-04 17:28:16 -08:00
Gonzalo Rodriguez
77d30949a0
Refactor some cucumber steps
2011-12-03 23:09:51 -02:00
tmlee
3b6c6c564f
Include "Looking For #link" under params[:q] blank else branch
2011-12-03 21:23:39 -02:00
Gonzalo Rodriguez
3c74f3d848
Failing spec for empty search bug #2427
2011-12-03 21:19:58 -02:00
Gonzalo Rodriguez
c62a9a2e63
Little refactor on PeopleController#index
2011-12-03 21:19:58 -02:00
Jonne Hass
fbb17ec1a5
Merge pull request #2475 from aabril/master
...
Just a mispelled 'diaspora' on the Readme.md
2011-12-03 14:45:57 -08:00
Albert Abril
73bbf08dc8
fix Diasproa->Diaspora mispelled on the README.md
2011-12-03 22:46:27 +01:00
Daniel Grippi
8212268b99
Merge pull request #2379 from Robsteranium/patch-1
...
guid default of "" never gets set to a secure random hex (in mysql at least)
2011-12-02 10:47:24 -08:00
Daniel Grippi
71354a1673
Merge pull request #2469 from geckoxx/comment_stream_new
...
better commented_posts_stream
2011-12-02 10:42:36 -08:00
Pistos
14e5d9b1c7
Merge remote-tracking branch 'kaleemullah/2265-upload-photo-alt-text'
2011-12-02 12:32:08 -05:00
Johannes Hackel
36c9b9ecdd
fix next sql error
2011-12-02 16:33:12 +01:00