danielgrippi
0f42c98a7b
merge Pistos's reshare branch into master
2011-12-20 14:42:18 -08:00
danielgrippi
e9b6da605f
fix specs; move presence_of_content validation check into a before_destory to play nicely with federation
2011-12-20 10:42:30 -08:00
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
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
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
Vittorio Cuculo
0e77fcb084
Fix #2488 soundcloud embedding
2011-12-19 09:50:39 +01:00
danielgrippi
97b8045f20
added counter cache for photos on StatusMessage
2011-12-16 20:39:24 -08:00
Lennart Prelle
20a39714bf
added translation for close account
2011-12-15 15:35:30 +01:00
Jonne Hass
d6f98d12e1
even more spec fixing, postgres throws statement invalids for duplicate keys, luckily record not unique is a subsubclass of it so we can just catch the higher error
2011-12-11 04:45:11 +01:00
Jonne Hass
fe82cd6609
lets not set NOT NULL fields to null…
2011-12-11 04:12:58 +01:00
Jonne Hass
12d0eee7d9
use new translation keys for will_paginate instead of the setting
2011-12-11 02:49:43 +01:00
Jonne Hass
57661fe9dd
fixed a couple of specs
2011-12-11 02:08:38 +01:00
Jonne Hass
5726b37fb9
diaspora connect: fix edge case where pod lost the client information
2011-12-11 01:37:15 +01:00
Jonne Hass
8b141ed5d5
oauth feature green, except for the pod forgot client edge case
2011-12-10 12:54:39 +01:00
Jonne Hass
4dd55ebdad
fix diaspora connect for the new oauth stuff WIP. There's one bug where the oauth_identifier changes but the client doesn't get informed or doesn't save it. I hope it's the last bug. Btw. this is all ugly
2011-12-10 12:54:39 +01:00
Jonne Hass
05be43e21a
fix #2504
2011-12-10 12:44:55 +01:00
danielgrippi
fb39a1e16d
fix account deletion specs
2011-12-09 17:51:45 -08:00
Maxwell Salzberg
8f8769aab5
basic NSFW filtering for authors who say their post is nsfw
2011-12-08 18:22:27 -08:00
Maxwell Salzberg
c0ac664d64
translated close account
2011-12-08 16:32:20 -08:00
danielgrippi
342593988b
MS DG; fixed close account cukes
2011-12-08 16:32:20 -08:00
Maxwell Salzberg
90458381f5
basic page for deleting account with temporary text and cute cat picture
2011-12-08 16:32:20 -08:00
Maxwell Salzberg
ee12f19ff6
dispatch before deleting
2011-12-08 16:32:20 -08:00
Ilya Zhitomirskiy
e57698bbe8
setting the account deletion name in the xml
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
1552b5bcc2
keep the pivate key, required for retries
2011-12-08 16:32:19 -08:00
Maxwell Salzberg
f800d50a2b
i think this works
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
0bd101dca9
change close account to clear profile, still need to dispatch account deletion xml
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
7667029e71
wip, stated the serialized model
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
03ca34767a
ms iz rendering nothing for hcard and webfinger if account is closed, not showing aspect dropdown if the user account is closed
2011-12-08 16:32:18 -08:00
danielgrippi
e6ed2d397a
added close account to user
2011-12-08 16:32:18 -08:00
danielgrippi
cd6f97fa0e
DG IZ; remove authorizations from user; double check that aspect_visibilities are deleted
2011-12-08 16:32:18 -08:00
danielgrippi
644e382cfd
DG IZ; remove more stuff associated with user; removed dependant destroys
2011-12-08 16:32:18 -08:00
Ilya Zhitomirskiy
3035f173bd
ms iz wip, clearing profile, started deleting post visibilities
2011-12-08 16:32:18 -08:00
Ilya Zhitomirskiy
05612ef733
ms iz wip
2011-12-08 16:32:18 -08:00
Maxwell Salzberg
2282fd35d1
kill no longer used youtube titles code with fire
2011-12-08 16:16:57 -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
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
tmlee
3b6c6c564f
Include "Looking For #link" under params[:q] blank else branch
2011-12-03 21:23:39 -02:00
Gonzalo Rodriguez
c62a9a2e63
Little refactor on PeopleController#index
2011-12-03 21:19:58 -02: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
Johannes Hackel
36c9b9ecdd
fix next sql error
2011-12-02 16:33:12 +01:00
Johannes Hackel
4b25545e82
fix sql error
2011-12-02 15:03:15 +01:00
Kaleem Ullah
afa1274d7c
change upload photo alt text
2011-12-01 10:22:35 +04:00
Pistos
aa0aaa2f92
Revert "Merge pull request #2428 from geckoxx/comment_stream"
...
This reverts commit 8a27568273 , reversing
changes made to 31ef2d60f7 .
Conflicts:
app/helpers/stream_helper.rb
app/views/aspects/index.html.haml
config/locales/diaspora/en.yml
config/routes.rb
spec/lib/stream/comments_spec.rb
2011-11-30 22:22:32 -05:00
Daniel Grippi
cec1f09202
specs green
2011-11-30 09:56:47 -08:00