Commit Graph

225 Commits

Author SHA1 Message Date
jonnylamb beb3c38b89 * Use urllib.unquote to make the calendar name pretty again. It gets screwed up by calendar clients.
* Moved get_hostname() from ReportHandler to SundialPath so more handlers can use it
   + Updated PROPFIND so it uses rp.get_hostname() for <D:href>
 * General switching around of stuff in the REPORT handler, to be more flexible. It was unnecessarily regid before.
   + This description is vague, so view the diff in context to understand!
2007-08-11 18:32:57 +00:00
jonnylamb 182f4e9e4e Fixed the PROPFIND request so that it only returns C:calendar as the D:resourcetype when the resource in question is /actually/ a calendar, according to the store. 2007-08-11 11:01:45 +00:00
jonnylamb 19da4f5d11 * Slight fix to authentication issue. Handling the actual HTTP basic authentication should still be sorted though.
* Change location of store connection, as there's no point in connecting if no username+password has been entered.
   This moves StoreClient from __init__ to do_$(METHOD), if this makes any sense.
2007-08-11 09:54:47 +00:00
jonnylamb 8fc19c1d12 * Added support for single-calendar requests. Getting *all* events from now on is not allowed.
* As a result, a URI parsing function was implemented in SundialPath, to extract the relevant information.
 * Method views were updated to access the right store and other small URI updates.
2007-08-10 01:43:25 +00:00
jonnylamb ff39902139 Solved the Evolution problem, for now, by giving definite URLs to Evolution, and relative URLs to non-Evolution clients. 2007-08-09 11:17:49 +00:00
jonnylamb 572aecf3e3 Some minor implementations and cleanups. Evolution support now works with a slight adjustment.
* Clean up little typo in bongo-standalone.
 * Implement GET properly, even with some error handling.
 * Make OPTIONS require auth, otherwise the current auth handling system will fail miserably.
   This really should be off, but the authenhandler will be updated soon, and modernised.
 * Implement C:is-defined filter, if I can call that an implementation.
 * Add a TODO about different URL support in Evolution.
2007-08-09 01:31:38 +00:00
jonnylamb 8eb18fb855 * Removed a silly sys.path.append line that's only really meant for my testing setup.
* Removed debugging output on each request as it piles up the bongo-standalone window.
  It is only commented out though.
2007-08-08 02:28:51 +00:00
jonnylamb e6492781e5 Added beginnings of Sundial:
* Updated bongo-standalone to accept /dav/.
 * Added some views and handlers for Sundial.
   + GET view is hugely unsupported and is completely out-of-date and static.
   + PROPFIND view has the roots in, but has very very minor support for any prop
     requests.
   + OPTIONS is a total lie, but is implemented.
   + REPORT is the most advanced here, as it's the most important. There is still
     much to do here though. Perhaps separate this into different files later on
	 if things get too bloated.
 * Implemented get_basic_auth_pw() in bongo.commonweb.Standalone.HttpRequest.
 * Added bongo.commonweb.ElementTree with some helper functions.
2007-08-08 02:22:35 +00:00
halex 3b1507bc7b Users without a valid From name doesn't crash the composer anymore. This really doesn't fix any 'problem' with prefs, more of a workaround. 2007-07-31 07:54:07 +00:00
halex 2d37fb62db Note to self: mistakenly serialising page elements is bad. 2007-07-30 09:34:38 +00:00
halex 5eb4f67e99 * Fixes the User-Agent from mails sent via Dragonfly.
* Adds a new HTML composer - plain-text does not work at the moment.
* Adds plugins code; note that this is not hooked up _at all_, I was just merely too lazy to checkout a clean version, modify the patch, apply and commit. This will be *sure to change very soon*.
2007-07-28 10:28:56 +00:00
alexhudson cb74eae670 Correct file closing logic for QRETR 2007-07-27 17:06:03 +00:00
alexhudson 9c52b028ae Missed initializing a file handle, oops 2007-07-27 16:22:58 +00:00
alexhudson 785476ba0f Even more stringent file checking in the queue 2007-07-27 16:01:37 +00:00
trisk da1c898909 * Add rule for missing src/libs/python/bongo/Makefile.
* Don't remove bongo-python-wrapper in clean, it's generated by config.status.
2007-07-26 13:35:00 +00:00
trisk f37e40d9aa * Fix some obvious bugs in smtpd's remote host resolution. 2007-07-26 13:31:26 +00:00
alexhudson c8f9670d70 Fixed a bug in a temporary file handle, and made the file open/close checks more correct 2007-07-26 10:38:10 +00:00
halex 50617cbc10 Un-breaks the composer. Requires you RE-SAVE YOUR PREFS. 2007-07-26 09:25:18 +00:00
alexhudson a289b56729 Remove some DMC cruft we missed 2007-07-25 20:20:29 +00:00
alexhudson 8ed1e89fe1 A couple of compiler blatherings fixed. 2007-07-25 19:50:19 +00:00
alexhudson ce0211995d Instrument the queue with some file checking. 2007-07-25 19:46:18 +00:00
alexhudson deb78542ce smtp now correctly logs, slight change to API used in queue 2007-07-25 18:01:27 +00:00
alexhudson cf114834d9 Put some logging and assertions into the queue 2007-07-25 17:37:14 +00:00
halex f5b85d0515 Fixes the From: address with a sender name specified in the preferences. 2007-07-23 10:44:32 +00:00
halex fbde82b235 * Fix logged out message.
* Dragonfly version is now 'M3' in SVN, not SVN r2483+.
* Added popup-hide handler (isn't hooked up yet).
* Removed FakeFriendPopup - wasn't used.
* Removed 'This is Me'.
* We now have a user profile in preferences.
* Cleaned up a bit of the Prefs builder, including translated and clickable labels.
2007-07-21 06:02:55 +00:00
dostrow 168af364e8 * Add support for importing maildir format mailboxes in bongo-storetool with the new -t flag
* Add support for importing to collections other then /mail/INBOX with the new -f flag
* Add support for exporting to both maildir and mbox format
* Split the old mail-store subcommand into mail-import (mi) and mail-export (me)
2007-07-20 17:31:21 +00:00
halex bbdfc1d6e3 Fixes the Big Cheese (aka bug #9541). 2007-07-19 11:51:30 +00:00
alexhudson b901178411 Disable outgoing TLS in SMTP, causes bug #9536. 2007-07-18 19:32:48 +00:00
alexhudson cc2146f14b Two fixes to python errors preventing logins 2007-07-18 11:31:11 +00:00
jonnylamb d81014a674 * Added support to Dragonfly preferences to determine how many items to be shown on a mail list view. This first tries to use the DF pref from the store, but if that cannot be used/is invalid then it falls back on ConversationsHandler.defaultPageSize, which is set to 30.
* Started documenting variables and methods in ConversationsHandler using Doxygen syntax.
2007-07-16 23:05:45 +00:00
halex 38b5be0c8d * More colors! :)
* Don't hide the logged out message after loading language.
* Colorise quotes in emails.
2007-07-16 06:50:16 +00:00
halex b186eca218 No more crazy composer POST loops! \o/ 2007-07-16 04:59:25 +00:00
halex 9010d916ab * More noop translations for set names in Mail view.
* It helps to store the pageSize value, you know!
* Update Dragonfly.go so that we check both the handler AND the tab for a getData(loc) function.
* Fixed up MailListView and co. so that we do what pageSize says, not anything else.
  |- Server side still has troubles with values besides 30. No touchy.
2007-07-16 02:40:01 +00:00
alexhudson 79673b9d1b Slightly naughty config fix to make dist work again, and update a python rule 2007-07-15 22:31:31 +00:00
halex 8d72093cd6 * Added ability to adjust default calendar view in Preferences.
* Changed one of my 'bad translation ways' - we now use d.format instead for Logout link.
* Even more event arg bug fixes - this one closes bug #9408.
* We now perform a noop/lazy/late translation for mailbox labels (drafts, sent, inbox etc).
2007-07-15 08:58:13 +00:00
halex 012f72a874 More composer fixes. 2007-07-15 02:24:29 +00:00
halex 97eb5c1356 Remove all reminants of old i10n labels. 2007-07-15 01:58:01 +00:00
trisk 5f533850e0 * Align hashtable entries correctly so that Python modules don't crash! 2007-07-15 01:42:22 +00:00
trisk 6a1aa7b881 * Doh, malloc is not calloc! >< 2007-07-14 18:18:58 +00:00
trisk 1d3b79c1e2 * Prevent potential free of static string. 2007-07-14 18:17:10 +00:00
alexhudson c8d8cdaf9a Fix a lookup table in the mdb-xldap MDB driver, fixes managed-ldap 2007-07-14 11:31:58 +00:00
halex bd5e101f5f * Some more translation string fixups - Prefs, DateTime entry, Calendars.
* Translated most of the Preferences dialog.
* Changed behaviour of untitled conversations in composer - we now call them 'Untitled' (translatable) if there's no subject when we try to save to backend.
* Neater signature stuff.
2007-07-14 10:50:13 +00:00
jonnylamb 968577911d * Move to a more unified python www system. Instead of components being used in both DF and HE calling bongo.dragonfly methods, these "commonweb" things have been moved into bongo.commonweb.
* Removed bongo.admin.BongoSession as bongo.commonweb.BongoSession  is more developed.
* The Auth and *{Handler,Path} modules should probably be merged across DF and HE next, but have been lleft separate foor this commit, for now.
2007-07-13 22:58:05 +00:00
alexhudson a913e011c4 Correct(?!) dist and inst rules for config files and sets 2007-07-13 22:35:08 +00:00
alexhudson d3ddf20189 Friendly-looking Python patch which should clear up lib vs. lib64 issues on RH-type distros 2007-07-13 22:06:45 +00:00
alexhudson fb042f0ac5 Scary looking python patch; separate the C-module stuff from pure python for the benefit of OSes which keep them separately. 2007-07-13 21:17:21 +00:00
trisk ba713d88e0 * Go over mdbldap and fix at least a dozen memory leaks. 2007-07-13 15:57:13 +00:00
halex 17eefc5a79 More language fixups (specifically the error on login). 2007-07-13 12:52:17 +00:00
halex 305477029b Fixes unescaped translation string which caused Dragonfly to go haywire (especially the compiled version, which didn't load at all). 2007-07-13 12:19:03 +00:00
jonnylamb 78d49fd7a8 Little fix to make po2json a little more flexible when building. Oh, and removing that horrible temporary line that was meant for me only.. 2007-07-13 11:50:14 +00:00