Florian Staudacher
8ca39f5936
show a "post is not public" message when visitor is not logged in
...
and tries to access a show page of a non-public post
2012-06-07 22:16:37 +02:00
Alex Connor
fe984eb426
#3287 using reorder instead of order for newer, older
2012-05-20 18:21:34 -05:00
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -07:00
Dennis Collinson
f6e3c1b88b
seperate interactions from posts
...
Lazily load post interactions on show page
hella refactorz
2012-05-12 17:41:58 -07:00
Dennis Collinson
51b1ade3bc
DC DG; added LastThreeComments decorator so we don't have to load those comments when not needed (i.e. new profile pages)
2012-05-10 13:53:00 -07:00
Dennis Collinson
efa79a4ad7
Refactor Post Presenter
...
and comment presenter
2012-05-10 12:24:21 -07:00
Dennis Collinson
d64eb529d2
MS DC; text now overlays for wallpaper; ALSO. really sorry @danielgrippis stuff does not work in firefox. or safari.
...
or konqueror. we will talk to him about it later
2012-04-23 17:30:23 -07:00
danielgrippi
75d25e9475
users can now favorite posts
2012-04-22 12:06:15 -07:00
Dennis Collinson
8386179f16
max, you're a princess, WIP
2012-04-19 11:15:59 -07:00
Maxwell Salzberg
d80afc64ec
fix ordering for logged out users
2012-02-27 19:16:05 -08:00
danielgrippi
0112285985
Merge branch 'master' into profiles
...
Conflicts:
lib/diaspora/shareable.rb
2012-02-27 14:27:05 -08:00
Maxwell Salzberg
27a4c1bf2d
introduce the idea of Federated::Base. this is mostly just renaming and collasping of different federation modules, but also starting a direct hiearchy of these federation classes to make everything easier to refactor
2012-02-25 16:57:14 -08:00
Dennis Collinson
b28508ecbc
MS DC show last post and show page works unauthenticated
...
phasing out app.user() for app.currentUser
2012-02-24 19:09:00 -08:00
danielgrippi
ca8f136cec
fixed back/forward
2012-02-21 15:23:29 -08:00
danielgrippi
30de08b340
fix post presenter / arrow ordering
2012-02-21 15:23:28 -08:00
Maxwell Salzberg
25cf776059
the previous and next posts are now supplied in json of the presenter; give the template creator a default value
2012-02-21 15:23:28 -08:00
danielgrippi
32f93a0391
you can now follow / unfollow a post from the stream; fixed cukes.
2012-02-13 19:13:43 -08:00
Maxwell Salzberg
232e620637
make posts have empty photos so reshared stop messing up
2012-02-10 13:45:41 -08:00
Dennis Collinson
14b9f5dc5b
move user modules into user namespace.
2012-02-09 19:01:01 -08:00
danielgrippi
a819f38b99
touch interacted_at on Post#after_create
2012-02-07 21:32:10 -08:00
Dennis Collinson
8ae18bb393
nsfw's users posts are now nsfw
2012-02-07 19:14:44 -08:00
danielgrippi
fa5424653a
fix markup display on reshares. DERP. [ci skip]
2012-02-06 08:02:27 -08:00
Dennis Collinson
354ed7ef05
paginating participate stream
2012-02-03 17:55:06 -08:00
Dennis Collinson
3991903b56
MS DG DC Participate stream that has things bubble to the top
2012-02-03 17:23:57 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
Jonne Haß
9c67cd7eb9
collapse Post#last_three_comments and Commentable#last_three_comments, do not double query comments in CommentsController#index for a JSON response, remove spec that tests ordering as it's not deterministic on psql without specified order
2012-01-25 12:44:50 +01:00
danielgrippi
72aee6b2c1
don't use .last(3), use .limit(3) instead. also, don't put an order on an association as it isn't overridable. (this commit minimizes AR object instantiation in the stream)
2012-01-24 23:47:45 -08:00
Maxwell Salzberg
254860bddc
SM MS; Read email sent to diaspora-dev for more information about this
...
commit. Add migration and rake task to copy hidden information from
share_visibilities to users. see: http://devblog.joindiaspora.com/?p=44
2012-01-17 19:29:01 -08:00
danielgrippi
91e3f5f6ff
remove cache counter for photos, as it was causing too many edge-case errors & added complexity across models
2012-01-14 15:40:43 -08:00
Jonne Haß
0cc0b152d7
do not call .photo_count on a reshare etc.
2012-01-13 22:09:22 +01:00
danielgrippi
e928cc805a
fixed markdown issues with reshares; removed puts from specs
2012-01-07 17:33:16 -08:00
Dennis Collinson
daba42c857
mentions now render client side, wow
2012-01-07 14:24:28 -08:00
Dennis Collinson
b13e72bc00
spec fix for markdown
2012-01-07 14:24:28 -08:00
danielgrippi
0fb1bf5d4b
hash tags are linked on the front end, adding markdown.js file
2012-01-07 14:24:27 -08:00
danielgrippi
dbfb18e249
display reshare counts; test inf scroll & reshare counter in jasmine instead of cucumber
2012-01-07 14:23:27 -08:00
danielgrippi
64a90a30ef
only load photos for a post if photos_count > 0; display 'limited' or 'public' in stream elements; fix small like bug in stream
2012-01-07 14:23:27 -08:00
danielgrippi
841cc29d25
add api block to photo; photos display in stream
2012-01-07 14:23:23 -08:00
danielgrippi
cd1d25dc30
remove widget references on backbone stream pages; don't call time_for_stream if @backbone (the method references @stream.stream_posts)
2012-01-07 14:23:22 -08:00
danielgrippi
cec2d27204
ported likes logic for the stream over from old branch
2012-01-07 14:23:22 -08:00
danielgrippi
414fb8d454
corrected template views; status message now includes oembed; updated post.rb api to supply oembed and object_url
2012-01-07 14:23:21 -08:00
danielgrippi
34e3403e2e
jasmine green again; template switching in place, defaulting to displaying post text
2012-01-07 14:23:21 -08:00
danielgrippi
52e3f1b240
DC DG; test stream view WIP
2012-01-07 14:23:21 -08:00
Daniel Grippi
dca3581ae2
added likes to the stream element underscore partial
2012-01-07 14:23:20 -08:00
Daniel Grippi
d504bf4591
add current user to body tag data field (hackity hack). add comment links to posts
2012-01-07 14:23:20 -08:00
Daniel Grippi
176963fdad
serialize current user json into body tag for now
2012-01-07 14:23:20 -08:00
Daniel Grippi
19db5519c0
DG DH; made acts_as_api play nice with backbonejs. comments are semi-functional; stream elements use the StreamElement js widget (for now).
2012-01-07 14:23:20 -08:00
danielgrippi
91ba6447d0
add acts_as_api to the models directly for now. the 'root node' problem (posts : {}) breaks backbone. wip
2012-01-07 14:23:20 -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
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
danielgrippi
ae7944418c
DH DG; made privacy page; can now unblock a user; users are actually being blockocked in ajaxed streams
2011-11-03 12:31:24 -07:00