Mailing List Archive

View collections inside WebUI like in 0.9.7 / import .ics files via commandline
Hi,

first is there any easy way for looking inside collectiosn like in
DAViCal 0.9.7 in recent versions? Of course I can manualy enter the old
style URL like
https://127.0.0.1/collection.php?user_no=270&dav_name=/user1/home/

But it's not accessable from a users page anymore with one click.

Second, how can I import a .ics file via commandline in DAViCal 0.9.8 or
newer?

Pre 0.9.8 I did ist this way:
curl -s -b /tmp/cookie -F path_ics=home -F ics_file=@testfile.ics -F
submit=Aktualisieren https://clanedarserver/usr.php?user_no=123\&edit=1

Regards
Sebastian

--
Sebastian Gau?
Systemadministration, Internal Systems
Abteilung Technik

E-Mail: sga at hosteurope.de
Fax: +49 180 5 66 3233 (*)

-----------------------------------------------------------------------
Host Europe GmbH - http://www.hosteurope.de
Welserstra?e 14 - 51149 K?ln - Germany
Telefon: 0800 467 8387 - Fax: +49 180 5 66 3233 (*)
HRB 28495 Amtsgericht K?ln - USt-IdNr.: DE187370678
Gesch?ftsf?hrer:
Uwe Braun - Alex Collins - Mark Joseph - Patrick Pulverm?ller

(*) 0,14 EUR/Min. aus dem dt. Festnetz; maximal 0,42 EUR/Min. aus
den dt. Mobilfunknetzen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100422/a4459ee9/attachment.pgp>
-------------- next part --------------
View collections inside WebUI like in 0.9.7 / import .ics files via commandline [ In reply to ]
*ping*

Andrew? Is there something planned?

On 22.04.2010 17:17, Sebastian Gau? wrote:
> Hi,
>
> first is there any easy way for looking inside collectiosn like in
> DAViCal 0.9.7 in recent versions? Of course I can manualy enter the old
> style URL like
> https://127.0.0.1/collection.php?user_no=270&dav_name=/user1/home/
>
> But it's not accessable from a users page anymore with one click.
>
> Second, how can I import a .ics file via commandline in DAViCal 0.9.8 or
> newer?
>
> Pre 0.9.8 I did ist this way:
> curl -s -b /tmp/cookie -F path_ics=home -F ics_file=@testfile.ics -F
> submit=Aktualisieren https://clanedarserver/usr.php?user_no=123\&edit=1
>
> Regards
> Sebastian
>
>
>
>

--
Sebastian Gau?
Systemadministration, Internal Systems
Abteilung Technik

E-Mail: sga at hosteurope.de
Telefon: +49 2203 1045-7363
Fax: +49 180 5 66 3233 (*)

-----------------------------------------------------------------------
Host Europe GmbH - http://www.hosteurope.de
Welserstra?e 14 - 51149 K?ln - Germany
Telefon: 0800 467 8387 - Fax: +49 180 5 66 3233 (*)
HRB 28495 Amtsgericht K?ln - USt-IdNr.: DE187370678
Gesch?ftsf?hrer:
Uwe Braun - Alex Collins - Mark Joseph - Patrick Pulverm?ller

(*) 0,14 EUR/Min. aus dem dt. Festnetz; maximal 0,42 EUR/Min. aus
den dt. Mobilfunknetzen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100428/c6dea2e0/attachment.pgp>
-------------- next part --------------
View collections inside WebUI like in 0.9.7 / import .ics files via commandline [ In reply to ]
On Wed, 2010-04-28 at 14:50 +0200, Sebastian Gau? wrote:
> *ping*
>
> Andrew? Is there something planned?
>
> On 22.04.2010 17:17, Sebastian Gau? wrote:
> > Hi,
> >
> > first is there any easy way for looking inside collectiosn like in
> > DAViCal 0.9.7 in recent versions? Of course I can manualy enter the old
> > style URL like
> > https://127.0.0.1/collection.php?user_no=270&dav_name=/user1/home/
> >
> > But it's not accessable from a users page anymore with one click.

Hi Sebastian,

The ability to list the events in the calendar was always a bit of a
hack. I've removed it, but I'd certainly like to add something back in.
Problems with the older ones were:

* It wasn't good at taking permissions into account
* It could not expand repeat rules

Both of those have solutions inside DAViCal now, so it should be
possible to add some kind of calendar view page within the admin UI,
but...

In general I want the admin UI to be about administration, and not to be
about seeing calendars. What I'm worried about is that if I create a
really usable system for looking at calendars I will start to get
distracted from the server-side part of DAViCal, so I've been guilty of
somewhat deliberately avoiding making the admin pages too useful, so
that people find client software to do CalDAV.

Once I've released 1.0 (we're pretty much stabilising towards that now)
I'll be more interested in providing some actual calendaring
(web-)client functionality, although odds are it will be an independent
application which uses CalDAV to talk to the server. User-interface
programming is something that I have ideas about, but they are ideas
which few people seem to see eye to eye with me about, so I don't think
it is a good idea for anyone to look to me for a great calendaring
application.


> > Second, how can I import a .ics file via commandline in DAViCal 0.9.8 or
> > newer?
> >
> > Pre 0.9.8 I did ist this way:
> > curl -s -b /tmp/cookie -F path_ics=home -F ics_file=@testfile.ics -F
> > submit=Aktualisieren https://clanedarserver/usr.php?user_no=123\&edit=1

Really? How baroque! The more supported way is to PUT the file to a
collection URL and it will replace the content. Curl can do that with
something like:

curl --basic --request PUT --header Content-Type: text/calendar;
charset=utf-8 --user userX:passY --data @events.ics
https://clanedarserver/caldav.php/userX/calendarY/

To do that you do also need to enable the:

$c->readonly_webdav_collections = false;

in the configuration file, since some client software used to have a
habit of falling back to WebDAV and busting stuff. That particular
issue is long fixed now though, so that is as safe a way of overwriting
a calendar as any.


Something I added today was to be able to put ?mode=append onto that
collection URL and it will append the contents of the calendar (rather
than replace). That'll be in 0.9.9.1, along with the ability to view
and delete the tickets, and whatever else I get done in the next week or
two.

Cheers,
Andrew.

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Powering the .NZ namespace with Open Source Software
------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100429/209e6aa2/attachment.pgp>
-------------- next part --------------