Mailing List Archive

Patch: allow 2 or more calendar in Mozilla Lighting
Hi,
I just added this patch:
https://sourceforge.net/tracker/index.php?func=detail&aid=2998996&group_id=179845&atid=890787

I'm having a problem with Mozilla Lighting. I can only use 1 calendar
per davical server
because davical sent always the same HTTP auth realm header. So I
changed that
header to show the username. This way, Mozilla can add more entries in
his password
manager.

Bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=247486

Know issue:
http://www.mozilla.org/projects/calendar/releases/lightning1.0b1.html#issues
"It is impossible to load several calendars with different passwords on
the same server. (bug 247486)"

ToDo:
test with all URL used with Davical. Is there another URL beside these?
davical.php/username/home
davical.php/username/
davical.php/username


HTH
Oliver

--
Oliver Schulze L.
Asuncion - Paraguay
http://tinymailto.com/oliver



_______________________________________________
rscds-general mailing list
rscds-general at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rscds-general
Patch: allow 2 or more calendar in Mozilla Lighting [ In reply to ]
Hello Oliver:

On Sun, 09 May 2010 11:44:09 -0600, "Oliver Schulze L."
<oliver at samera.com.py> wrote:
> I'm having a problem with Mozilla Lighting. I can only use 1 calendar
> per davical server because davical sent always the same HTTP auth realm
header. So I
> changed that header to show the username. This way, Mozilla can add more
entries in
> his password manager.

Thanks for this. I am using lightning, but haven't yet found a problem
subscribing to several calendars, at least with the same user name. I
think the problem arises if you want to subscribe to calendars from
different users on the same server.

One (cosmetic) improvement would be to use system_name instead of your
hard-coded "Davical CalDAV" name:

$auth_header = sprintf( 'WWW-Authenticate: Basic realm="%s URL %s"',
$c->system_name, $realm);

> ToDo:
> test with all URL used with Davical. Is there another URL beside these?
> davical.php/username/home
> davical.php/username/
> davical.php/username

As Andrew outlined in one of his messages I replied to earlier,
$calendar.ics is another URL to test. I just checked and it seems to work,
at least for my configuration.

Great job, Achim


_______________________________________________
rscds-general mailing list
rscds-general at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rscds-general