joeey1984ad / buddypress-media

Automatically exported from code.google.com/p/buddypress-media
0 stars 0 forks source link

Uploads in Activity Stream #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[Describe this work unit]

Allow users to post items directly to their own activity stream, or the 
activity streams of other users, as is implemented on Facebook.

...

Dependent on AJAX API:

-The plugin AJAX API needs to be completed before we can add this feature. 

-Although there are tons of ways to "hack" this, to get the slick user 
experience people expect, it has to be done using Flash/JS/AJAX. 

-If we wrote code to "hack" this feature, it would have to be thrown away and 
re-written when the AJAX API is finished. This change would also be very 
annoying for template developers.

Orphan Activity Stream File Problem:

-The "post item to activity stream" is a popular way to post random photos on 
Facebook for all your friends to see, without the *5 extra clicks* it takes to 
post the item to an album and/or link to it.

-The item is visible in the user's activity stream until it gets pushed off the 
page. But then what? After that, there is now a file on the system taking up 
space *that nobody can see*. After a year, that file could be 300 screens deep 
in the activity stream.

-On a busy site, this could consume terabytes of storage space, especially with 
video content.

-If a user posts a file to another user's activity stream, the same problem 
happens.

-There is also the problem of a "low activity" user posting a file to their own 
activity stream that has something they would decide at a later date they would 
rather not have public. Say, "user drunk at wedding". But they forget about it, 
and then somebody finds it much later posted five screens down in their 
activity feed.

-What happens to a file posted to another user's activity stream if the other 
user's account is deleted, or the uploader's account is deleted?

-To resolve this problem, and the "Orphan Group File Problem", (see: 
https://code.google.com/p/buddypress-media/issues/detail?id=5) we will 
implement the "post directly to activity stream" functionality ...but... 
uploaded images will be placed in a hidden album visible only to the user 
called "My Uploads" and then linked to the activity stream.

-If the item is deleted from the "My Uploads" folder, it will be removed from 
all activity stream posts and group albums site wide.

Activity Stream:

-Add new post type to activity stream component to handle direct media item 
posts

Admin Menu:

-Add configuration options to admin back end

-Update the default settings class

-Write a policy enforcement function that applies the rules set in the admin 
menu.

[What components of the plugin will be affected by this change]

Activity Stream, Admin Menu, Albums

[Does this work unit block any other work units?]
No.

[Estimated hours of developer time this work unit will require]
10-16 hours

[Estimated completion date]
TBD

Original issue reported on code.google.com by CarlRoett@gmail.com on 15 Jul 2010 at 8:17

GoogleCodeExporter commented 9 years ago
Javascript:

-Write JS code / jQuery code to implement the upload widget

CSS:

-Build CSS styles for upload widget

Original comment by CarlRoett@gmail.com on 15 Jul 2010 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by CarlRoett@gmail.com on 15 Jul 2010 at 8:26

GoogleCodeExporter commented 9 years ago

Original comment by CarlRoett@gmail.com on 16 Jul 2010 at 5:04