Re: Calendar Plugin

Paul Lesniewski <[email protected]> Tue, 13 Sep 2011 20:51:12 -0700
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <CAHog1160vZAakcUWbm4FmCRqRFrcEaVxrQznpELAw=mbELLkWA@mail.gmail.com>
> Thanks for getting back to me, I saw your name in the credits for the
> calendar plugin and frequently on this board so I figured I was in the right
> place.

You're welcome, but as I noted, you're NOT in the right place.  Next
time start your thread on the plugins mailing list.

>> You need to provide more information per our posting guidelines (which
>> you didn't read?).  Version number is important to know here, but
>> don't stop there.  I don't know what protocol Google uses to "poll"
>> external calendars, so you should provide that information as well.
>
> Packages are up-to-date ubuntu apt 10.04 i386:
> squirrelmail 1.4.20
> plugins:
> view_as_html       1.7
> administrator       13893
> info                   13893
> message_details   13893
> calendar_file_backend   1.5.2.1
> ldapuserdata     0.4
> vadmin             1.22
> login_auth        1.5.2.1
> compatibility     1.4
> squirrel_logger   1.5.2.1
> misc:
> php5                5.3.2-1ubuntu4.9
> apache             2.2.14-5ubuntu8.6
> dovecot            1.2.9-1u
> postfix              2.7.0-1ubu
> chrome/firefox/ie

It's curious that you didn't report version info for the actual plugin
you're asking for help with.  Nor did you answer my other question.
If you want help, you need to respect what you're told and asked for.

>>> I attempted to use login_auth so I could put my username/password in the
>>> url
>
>> Do you have HTTP authentication set up and working?  HTTP
>> authentication has nothing to do with the URL, not to mention the
>> security nightmare of putting your password in a URL.....  Also, I'm
>> not sure what this has to do with the Calendar plugin..?
>
> I was able to manually "export" a calendar, save the resulting file on a the
> webserver and direct google apps retrieve the .ics via http get requests.
> This all worked and successfully updated my google mail calendar.

Except you have to manually export the calendar each time you update
it.  It'd be a lot better if you used a more automated method.

> The
> calendar data should be isolated on the server and placed under its own
> apache directory which I can protect however I want (shared passwd for the
> company and ip restrictions).

Then that's something you have to figure out and is off topic here,
especially because we have no idea how your mail system is designed.

> One solution I see is to share a calendar with a user that that would use
> http auth and wget on localhost. It just strikes me that wget quite possibly
> wouldn't handle the js required for login_auth.
>
> Alternatively a script would "export" calendar data via command line; I do
> recall mention of such a thing existing. This is what I am most hopeing for;
> login_auth would be entirely unnecessary in this case.

It'd be better to use WebDAV.

>>> but I have not been able to get it working. It fails if my apache auth is
>>> not a valid imap user but if it is correct it still presents the login
>>> page.
>>> I followed the troubleshooting guide.
>
>> If you did, then you should show what you did for each troubleshooting
>> tip.
>
> 1,2,3) Did you correctly configure HTTP-based auth... yes, a new
> authentication windows pops up that prevents and enables access based on the
> usernames in the htpasswd db to the entire squirrelmail directory. The
> username/password is identical in both login methods.
>
> 4) Autodect was changed to always with the test users account
>
> 5) I checked all php.ini files for save_mode, all are disabled.

You're saying you use the same username/password database behind your
HTTP authentication AND your IMAP server yet the login_auth plugin
isn't working?  Are you sure?  This seems unnecessarily confused with
what you're trying to do with the calendars.

>>> It would be nice if I could redact the contents of events to just say
>>> busy,
>>> though I could script it provided I could retrive the data conviniently.
>>> I'm
>>> using the file backend.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel