Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General

changing collection names

 

 

DAViCal general RSS feed   Index | Next | Previous | View Threaded


scott at mostlylinux

Mar 6, 2012, 2:49 PM

Post #1 of 6 (318 views)
Permalink
changing collection names

What is the best way to rename calendar and contact collections? I have
older users with /home/ and /contacts/, but newer users were created with
/calendar/ and /addresses/. I would like to set all users to use the same
collection names, to make supporting them easier. Thanks.

--
Scott Barker
Linux Consultant
scott [at] mostlylinux
http://www.mostlylinux.ca

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


scott at mostlylinux

May 25, 2012, 8:49 AM

Post #2 of 6 (255 views)
Permalink
Re: changing collection names [In reply to]

A couple of months ago, I asked the following question, but got no reply. I
was wondering if anyone might be able to answer it now?

On Tue, Mar 06, 2012 at 03:49:56PM -0700, Scott Barker wrote:
> What is the best way to rename calendar and contact collections? I have
> older users with /home/ and /contacts/, but newer users were created with
> /calendar/ and /addresses/. I would like to set all users to use the same
> collection names, to make supporting them easier. Thanks.

Thanks.

--
Scott Barker
Linux Consultant
scott [at] mostlylinux
http://www.mostlylinux.ca

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


andrew at morphoss

May 28, 2012, 4:37 AM

Post #3 of 6 (252 views)
Permalink
Re: changing collection names [In reply to]

On Fri, 2012-05-25 at 09:49 -0600, Scott Barker wrote:
> A couple of months ago, I asked the following question, but got no reply. I
> was wondering if anyone might be able to answer it now?

Hi Scott,

I've added some information onto the wiki about how to do this now:

http://wiki.davical.org/w/Database/Tables/Collection

Hope that's clear :-)

Regards,
Andrew.
>
> On Tue, Mar 06, 2012 at 03:49:56PM -0700, Scott Barker wrote:
> > What is the best way to rename calendar and contact collections? I have
> > older users with /home/ and /contacts/, but newer users were created with
> > /calendar/ and /addresses/. I would like to set all users to use the same
> > collection names, to make supporting them easier. Thanks.
>
> Thanks.
>

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
"The Street finds its own uses for technology."
-- William Gibson

------------------------------------------------------------------------
Attachments: signature.asc (0.82 KB)


chris at netcar24

May 28, 2012, 10:56 PM

Post #4 of 6 (249 views)
Permalink
Re: changing collection names [In reply to]

hi scott,

yes. manipulating database is the clean way to change names of collections.

i don't know if the following matches your needs, but creating a bind
should do the trick, too!

e.g.

curl --basic --user 'user1' \
-X BIND -H 'Content-Type: text/xml; charset="UTF-8"' \
--insecure --url 'https://davical.example.com/caldav.php/user1/' \
-d \
'<?xml version="1.0" encoding="utf-8"?>
<bind xmlns="DAV:">
<segment>addresses</segment>
<href>/caldav.php/user1/contacts</href>
</bind>';


cheers,
chris


--On Montag, Mai 28, 2012 23:37:48 +1200 Andrew McMillan
<andrew [at] morphoss> wrote:

> On Fri, 2012-05-25 at 09:49 -0600, Scott Barker wrote:
>> A couple of months ago, I asked the following question, but got no
>> reply. I was wondering if anyone might be able to answer it now?
>
> Hi Scott,
>
> I've added some information onto the wiki about how to do this now:
>
> http://wiki.davical.org/w/Database/Tables/Collection
>
> Hope that's clear :-)
>
> Regards,
> Andrew.
>>
>> On Tue, Mar 06, 2012 at 03:49:56PM -0700, Scott Barker wrote:
>> > What is the best way to rename calendar and contact collections? I have
>> > older users with /home/ and /contacts/, but newer users were created
>> > with /calendar/ and /addresses/. I would like to set all users to use
>> > the same collection names, to make supporting them easier. Thanks.
>>
>> Thanks.



--

netcar24 GmbH

Systems Engineer

Technologiezentrum Koblenz
Universitätsstrasse 3
56070 Koblenz

Geschäftsführer / CEO: Michael Deuse
Geschäftsführer / CTO: Karsten Stoppe
Amtsgericht Koblenz HRB 20055

HOTLINE: +49-1805-808444 *)
FAX: +49-261-8854350

cs [at] netcar24
www.netcar24.com
www.re-fleet.com

Autohausverwaltung für Profis
Softwaresolutions for automotive retail

*) 14Cent/min aus dem deutschen Festnetz
max. 42Cent/min aus dem Mobilfunknetz

-------------------------------------------------------------------

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort
netcar24 und vernichten Sie diese Mail. Das unerlaubte Kopieren
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

Disclaimer: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to whom they are addressed. If you are not the intended recipient,
please notify netcar24 immediately and delete this email from your
system. Please note that any views or opinions presented in this email
are solely those of the author and do not necessarily represent those of
the company. Finally, the recipient should check this email and any
attachments for the presence of viruses.
Although this message was scanned for viruses before being sent, the
company accepts no liability for any loss, damage or expense resulting
directly or indirectly from the access of this e-mail or any attached
files.

--------------------------------------------------------------------


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


andrew at morphoss

May 28, 2012, 11:35 PM

Post #5 of 6 (250 views)
Permalink
Re: changing collection names [In reply to]

On Tue, 2012-05-29 at 07:56 +0200, Christoph Steidl wrote:
> hi scott,
>
> yes. manipulating database is the clean way to change names of collections.
>
> i don't know if the following matches your needs, but creating a bind
> should do the trick, too!
>
> e.g.
>
> curl --basic --user 'user1' \
> -X BIND -H 'Content-Type: text/xml; charset="UTF-8"' \
> --insecure --url 'https://davical.example.com/caldav.php/user1/' \
> -d \
> '<?xml version="1.0" encoding="utf-8"?>
> <bind xmlns="DAV:">
> <segment>addresses</segment>
> <href>/caldav.php/user1/contacts</href>
> </bind>';

An interesting approach, but it might create confusion among the users
when they see they have two calendars 'home' and 'calendar' and two
addressbooks 'contacts' and 'addresses'.

And then they would probably go and delete one, and it would be the
wrong one...

Cheers,
Andrew.

>
> --On Montag, Mai 28, 2012 23:37:48 +1200 Andrew McMillan
> <andrew [at] morphoss> wrote:
>
> > On Fri, 2012-05-25 at 09:49 -0600, Scott Barker wrote:
> >> A couple of months ago, I asked the following question, but got no
> >> reply. I was wondering if anyone might be able to answer it now?
> >
> > Hi Scott,
> >
> > I've added some information onto the wiki about how to do this now:
> >
> > http://wiki.davical.org/w/Database/Tables/Collection
> >
> > Hope that's clear :-)
> >
> > Regards,
> > Andrew.
> >>
> >> On Tue, Mar 06, 2012 at 03:49:56PM -0700, Scott Barker wrote:
> >> > What is the best way to rename calendar and contact collections? I have
> >> > older users with /home/ and /contacts/, but newer users were created
> >> > with /calendar/ and /addresses/. I would like to set all users to use
> >> > the same collection names, to make supporting them easier. Thanks.
> >>
> >> Thanks.
>
>
>

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
A shapely CATHOLIC SCHOOLGIRL is FIDGETING inside my costume..
------------------------------------------------------------------------
Attachments: signature.asc (0.82 KB)


scott at mostlylinux

Jun 1, 2012, 8:43 AM

Post #6 of 6 (253 views)
Permalink
Re: changing collection names [In reply to]

On Mon, May 28, 2012 at 11:37:48PM +1200, Andrew McMillan wrote:
> On Fri, 2012-05-25 at 09:49 -0600, Scott Barker wrote:
> > A couple of months ago, I asked the following question, but got no reply. I
> > was wondering if anyone might be able to answer it now?
>
> Hi Scott,
>
> I've added some information onto the wiki about how to do this now:
>
> http://wiki.davical.org/w/Database/Tables/Collection
>
> Hope that's clear :-)

Thanks, Andrew. Seems pretty clear. If I have any problems, I'll follow up
with another email to the list.

--
Scott Barker
Linux Consultant
scott [at] mostlylinux
http://www.mostlylinux.ca

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general

DAViCal general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.