You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-dev@incubator.apache.org by "Avdhesh Yadav (JIRA)" <ji...@apache.org> on 2010/10/05 09:09:36 UTC
[jira] Created: (PHOTARK-62) UI support to subscribe external
albums
UI support to subscribe external albums
---------------------------------------
Key: PHOTARK-62
URL: https://issues.apache.org/jira/browse/PHOTARK-62
Project: PhotArk
Issue Type: New Feature
Reporter: Avdhesh Yadav
Assignee: Avdhesh Yadav
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Avdhesh Yadav <av...@avdheshyadav.com>.
You have to add these jars in this pom
http://svn.apache.org/repos/asf/incubator/photark/trunk/photark-webapp/pom.xml
Something like this
<dependency>
<groupId>org.apache.photark</groupId>
<artifactId>photark-flickr</artifactId>
<version>1.0-incubating-SNAPSHOT</version>
</dependency>
On Fri, Oct 8, 2010 at 1:01 AM, Subash Chaturanga <su...@gmail.com>wrote:
> Hi ,
> I implemented two separate service components for flicker and picasa to
> subscribe from UI to external albums.
> But I am manually adding photark-picasa and photark-flicker jars in to
> WEB-INF/lib as it is not available in the generated war.
>
> Where to add those package info ( I looked in the main pom but couldn't
> find
> anything) to get those jars in the generated war in the build.
> So that I can provide the patches with fixing that issue also.
>
> Regards
> /subash
>
--
Avdhesh Yadav
http://www.avdheshyadav.com
http://twitter.com/yadavavdhesh
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Subash Chaturanga <su...@gmail.com>.
Hi ,
I implemented two separate service components for flicker and picasa to
subscribe from UI to external albums.
But I am manually adding photark-picasa and photark-flicker jars in to
WEB-INF/lib as it is not available in the generated war.
Where to add those package info ( I looked in the main pom but couldn't find
anything) to get those jars in the generated war in the build.
So that I can provide the patches with fixing that issue also.
Regards
/subash
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Luciano Resende <lu...@gmail.com>.
On Sun, Oct 10, 2010 at 10:54 PM, Avdhesh Yadav <av...@avdheshyadav.com> wrote:
> Yes Instead of using HashMap for saving the Images save the URL of
> the allbum into the JCR repository.
>
Do you mean URL of the image ?
--
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Avdhesh Yadav <av...@avdheshyadav.com>.
Yes Instead of using HashMap for saving the Images save the URL of
the allbum into the JCR repository.
On Mon, Oct 11, 2010 at 4:50 AM, Luciano Resende <lu...@gmail.com>wrote:
> On Sun, Oct 10, 2010 at 12:03 PM, Subash Chaturanga <su...@gmail.com>
> wrote:
> > Hi all ,
> >
> > On Thu, Oct 7, 2010 at 1:47 PM, Avdhesh Yadav <av...@avdheshyadav.com>
> wrote:
> >
> >> check this thread.
> >>
> http://www.mail-archive.com/photark-dev@incubator.apache.org/msg00784.html
> >
> >
> > The first patch i submitted stores each subscribed albums in a java
> > collection .So based on that, for the next step, I went through the above
> > discussion and what i feel was to store the meta data
> > (location,name,description) of images in a JCR node. As, a JCR property
> can
> > hold multiple values, I think we can store each album as a property and
> we
> > can have two nodes for flicker and picasa . So that when we want to show
> > them in gallery we can retrieve those data and on the fly create albums
> and
> > show them in the gallery. I would like to know, if anything wrong with
> this
> > approach or is there any better way to do this?
> >
> >
> >
> >
>
> I'd recommend following the same node structure as the "local JCR"
> albums, which the exception that when it's a subscription, the actual
> image is stored remotely and we only have it's URL.
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>
--
Avdhesh Yadav
http://www.avdheshyadav.com
http://twitter.com/yadavavdhesh
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Luciano Resende <lu...@gmail.com>.
On Sun, Oct 10, 2010 at 12:03 PM, Subash Chaturanga <su...@gmail.com> wrote:
> Hi all ,
>
> On Thu, Oct 7, 2010 at 1:47 PM, Avdhesh Yadav <av...@avdheshyadav.com> wrote:
>
>> check this thread.
>> http://www.mail-archive.com/photark-dev@incubator.apache.org/msg00784.html
>
>
> The first patch i submitted stores each subscribed albums in a java
> collection .So based on that, for the next step, I went through the above
> discussion and what i feel was to store the meta data
> (location,name,description) of images in a JCR node. As, a JCR property can
> hold multiple values, I think we can store each album as a property and we
> can have two nodes for flicker and picasa . So that when we want to show
> them in gallery we can retrieve those data and on the fly create albums and
> show them in the gallery. I would like to know, if anything wrong with this
> approach or is there any better way to do this?
>
>
>
>
I'd recommend following the same node structure as the "local JCR"
albums, which the exception that when it's a subscription, the actual
image is stored remotely and we only have it's URL.
--
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Subash Chaturanga <su...@gmail.com>.
Hi all ,
On Thu, Oct 7, 2010 at 1:47 PM, Avdhesh Yadav <av...@avdheshyadav.com> wrote:
> check this thread.
> http://www.mail-archive.com/photark-dev@incubator.apache.org/msg00784.html
The first patch i submitted stores each subscribed albums in a java
collection .So based on that, for the next step, I went through the above
discussion and what i feel was to store the meta data
(location,name,description) of images in a JCR node. As, a JCR property can
hold multiple values, I think we can store each album as a property and we
can have two nodes for flicker and picasa . So that when we want to show
them in gallery we can retrieve those data and on the fly create albums and
show them in the gallery. I would like to know, if anything wrong with this
approach or is there any better way to do this?
>
>
> On Wed, Oct 6, 2010 at 12:57 PM, Subash Chaturanga <subashsdm@gmail.com
> >wrote:
>
> > Hi ,
> >
> > On Tue, Oct 5, 2010 at 2:39 PM, Avdhesh Yadav (JIRA) <jira@apache.org
> > >wrote:
> >
> > > UI support to subscribe external albums
> > > ---------------------------------------
> > >
> >
> > I have created the basic UI and I would like to know what is exactly
> mean
> > here by "subscription". I think we are not going to put them in the
> > repository after importing it from picasa or flicker. So is it just to
> view
> > them when the url provided as when other albums we view from the
> > select menu . Just a bit confusion with the real use case (hope this is
> not
> > a stupid question).
> >
> >
> >
> > >
> > > Key: PHOTARK-62
> > > URL: https://issues.apache.org/jira/browse/PHOTARK-62
> > > Project: PhotArk
> > > Issue Type: New Feature
> > > Reporter: Avdhesh Yadav
> > > Assignee: Avdhesh Yadav
> > >
> > >
> > >
> > >
> > > --
> > > This message is automatically generated by JIRA.
> > > -
> > > You can reply to this email to add a comment to the issue online.
> > >
> > >
> >
> >
> > Thanks
> > /subash
> >
>
>
>
> --
> Avdhesh Yadav
> http://www.avdheshyadav.com
> http://twitter.com/yadavavdhesh
>
Thanks
/subash
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Avdhesh Yadav <av...@avdheshyadav.com>.
check this thread.
http://www.mail-archive.com/photark-dev@incubator.apache.org/msg00784.html
On Wed, Oct 6, 2010 at 12:57 PM, Subash Chaturanga <su...@gmail.com>wrote:
> Hi ,
>
> On Tue, Oct 5, 2010 at 2:39 PM, Avdhesh Yadav (JIRA) <jira@apache.org
> >wrote:
>
> > UI support to subscribe external albums
> > ---------------------------------------
> >
>
> I have created the basic UI and I would like to know what is exactly mean
> here by "subscription". I think we are not going to put them in the
> repository after importing it from picasa or flicker. So is it just to view
> them when the url provided as when other albums we view from the
> select menu . Just a bit confusion with the real use case (hope this is not
> a stupid question).
>
>
>
> >
> > Key: PHOTARK-62
> > URL: https://issues.apache.org/jira/browse/PHOTARK-62
> > Project: PhotArk
> > Issue Type: New Feature
> > Reporter: Avdhesh Yadav
> > Assignee: Avdhesh Yadav
> >
> >
> >
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
> >
>
>
> Thanks
> /subash
>
--
Avdhesh Yadav
http://www.avdheshyadav.com
http://twitter.com/yadavavdhesh
Re: [jira] Created: (PHOTARK-62) UI support to subscribe external albums
Posted by Subash Chaturanga <su...@gmail.com>.
Hi ,
On Tue, Oct 5, 2010 at 2:39 PM, Avdhesh Yadav (JIRA) <ji...@apache.org>wrote:
> UI support to subscribe external albums
> ---------------------------------------
>
I have created the basic UI and I would like to know what is exactly mean
here by "subscription". I think we are not going to put them in the
repository after importing it from picasa or flicker. So is it just to view
them when the url provided as when other albums we view from the
select menu . Just a bit confusion with the real use case (hope this is not
a stupid question).
>
> Key: PHOTARK-62
> URL: https://issues.apache.org/jira/browse/PHOTARK-62
> Project: PhotArk
> Issue Type: New Feature
> Reporter: Avdhesh Yadav
> Assignee: Avdhesh Yadav
>
>
>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
Thanks
/subash
[jira] Updated: (PHOTARK-62) UI support to subscribe external
albums
Posted by "Subash Chaturanga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PHOTARK-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subash Chaturanga updated PHOTARK-62:
-------------------------------------
Attachment: subscriptionAlbm.patch
As a first step for this issue ,I have implemented the UI support for the album subscription for flicker and picasa and store album meta data in a java collection as class variables separately.
> UI support to subscribe external albums
> ---------------------------------------
>
> Key: PHOTARK-62
> URL: https://issues.apache.org/jira/browse/PHOTARK-62
> Project: PhotArk
> Issue Type: New Feature
> Reporter: Avdhesh Yadav
> Assignee: Avdhesh Yadav
> Attachments: subscriptionAlbm.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PHOTARK-62) UI support to subscribe external
albums
Posted by "Subash Chaturanga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PHOTARK-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subash Chaturanga updated PHOTARK-62:
-------------------------------------
Attachment: subscrbAlbum-with-edited-pom.patch
This has the edited pom(with all changes in the above patch) in photark-webapp which integrates photark-picasa and photark-flicker jars in to the WEB-INF/lib of the generated war file .
> UI support to subscribe external albums
> ---------------------------------------
>
> Key: PHOTARK-62
> URL: https://issues.apache.org/jira/browse/PHOTARK-62
> Project: PhotArk
> Issue Type: New Feature
> Reporter: Avdhesh Yadav
> Assignee: Avdhesh Yadav
> Attachments: subscrbAlbum-with-edited-pom.patch, subscriptionAlbm.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PHOTARK-62) UI support to subscribe external
albums
Posted by "Subash Chaturanga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PHOTARK-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subash Chaturanga updated PHOTARK-62:
-------------------------------------
Attachment: all_remoteAlbAddedToJCR.patch
This patch contains all previous changes plus the ability to store remote albums in local JCR. In addition to that I modify setName in Image class as name and imageName both seems the same.And did setName inn FlickerPhotoStream images by giving the imageID for the moment.
> UI support to subscribe external albums
> ---------------------------------------
>
> Key: PHOTARK-62
> URL: https://issues.apache.org/jira/browse/PHOTARK-62
> Project: PhotArk
> Issue Type: New Feature
> Reporter: Avdhesh Yadav
> Assignee: Avdhesh Yadav
> Attachments: all_remoteAlbAddedToJCR.patch, subscrbAlbum-with-edited-pom.patch, subscripAlb_with_editedUI.patch, subscriptionAlbm.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PHOTARK-62) UI support to subscribe external
albums
Posted by "Subash Chaturanga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PHOTARK-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919527#action_12919527 ]
Subash Chaturanga commented on PHOTARK-62:
------------------------------------------
For the above 1st patch , in the UI I have added several input fields for future purposes as well. For the moment with the back end functionality, we just have to give the url only. But I have added fields for, new album name,username,password and description also.
> UI support to subscribe external albums
> ---------------------------------------
>
> Key: PHOTARK-62
> URL: https://issues.apache.org/jira/browse/PHOTARK-62
> Project: PhotArk
> Issue Type: New Feature
> Reporter: Avdhesh Yadav
> Assignee: Avdhesh Yadav
> Attachments: subscriptionAlbm.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PHOTARK-62) UI support to subscribe external
albums
Posted by "Subash Chaturanga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PHOTARK-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subash Chaturanga updated PHOTARK-62:
-------------------------------------
Attachment: subscripAlb_with_editedUI.patch
This has all changes before and in addition ,changes of upload.js and upload.html and the re structuring of the UI for subscription of external albums.
> UI support to subscribe external albums
> ---------------------------------------
>
> Key: PHOTARK-62
> URL: https://issues.apache.org/jira/browse/PHOTARK-62
> Project: PhotArk
> Issue Type: New Feature
> Reporter: Avdhesh Yadav
> Assignee: Avdhesh Yadav
> Attachments: subscrbAlbum-with-edited-pom.patch, subscripAlb_with_editedUI.patch, subscriptionAlbm.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.