Commit Graph

244 Commits

Author SHA1 Message Date
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
jonnylamb 1fd6ff820c Update build rules to point to $lang.js, instead of $lang.json. 2007-07-13 11:32:37 +00:00
jonnylamb 9370449931 Remove src/www/l10n/dragonfly.properties from dist_noinst_DATA. 2007-07-13 11:15:57 +00:00
jonnylamb 67c91f6090 * Change l10n stuff in Dragonfly from labels to strings. This is all Alex Hixon's work.
* Alex also added a different gettext scheme to use the po/ system as opposed to the dragonfly.properties file.
* I have added a po2json script. This uses polib to take strings out of /po/bongo-web.pot and create a json file.
* Currently a few issues are here though:
  + src/www/js/JCal.js is commented out in po/POTFILES.bongo-web because it's creating errors of some charset or something when 'make update-pot' is called. This should be resolved shortly.
  + The po2json script is absolutely disgusting at the moment. It works, but the source is in need of a little cleanup. This should also be rather quick and easy to cut-down.
  + I have edited src/www/js/Gettext.js to use a different directory from what is desired. Ultimately, /l10n/$lang/LC_MESSAGES/dragonfly.js will be used, but at the moment, /l10n/$lang.js is being used. This is also another TODO thing..
  + It currently doesn't work. No joke. This is some JS-issue. However, it pretty much does work if you're using English because now that all gettext msgids are now strings, and not labels, DF falls back on them, and all is fine. There are just some warnings spaffed out on the logs and on the login screen.
  + I have just seen that I made a silly mistake in configure.ac. I'll fix that on the next commit, in a few seconds..
So, please do not try out this commit (or the next) unless your name is Alexander Hixon.
2007-07-13 10:57:11 +00:00
trisk 4b0476a596 * Unbreak BongoJsonParserNextNode - leak was actually caused by missing frees.
* Apparent double free in ReadBongoConfiguration (should only BongoJsonNodeFree() parent node, not BongoJsonJPath() node).
2007-07-12 21:45:15 +00:00
alexhudson ca45b1417f * Hopefully the 'dist' is correct again with new config files
* Look for CLucene in 64bit locations on RH-type distros
2007-07-12 21:13:03 +00:00
trisk 8d1f10ad98 * Memory leak in BongoJsonParserNextNode() - duplicated string at return.
* Memory leak in LdapToRelativeMdb() - forgot to free string.
2007-07-12 20:53:52 +00:00
jonnylamb 8ea2a88dcc * Added another gettext package: bongo-web. This is for Dragonfly+Hawkeye translations. The old bongo package remains. This is for the core of Bongo, for example the CLI apps.
* Made the po/ system more flexible. Simply drop a .po file in either po/bongo/ or po/bongo-web/ and everything's done for you.
* Fixed a dirty hack about dist_noinst_DATA. $POFILES was being used ~2000 lines before being set. Thiss is now set much earlier on, from configure.ac.
* POTFILES.in split into .bongo and .bongo-web for the respective gettext package.
2007-07-12 13:15:48 +00:00
alexhudson 41ed4dedc7 Small fix to stop cmuser module leaking handles to a directory 2007-07-12 09:42:13 +00:00
halex ace52e75c4 * New compression code.
* Compression of CSS is now also performed.
* Javascript compression works again - we save about 1/3 bandwidth.
2007-07-12 07:17:11 +00:00
trisk a30612eac7 * Add missing IDs to "small mode" menu.
* Anchor new event popup correctly in "small mode".
2007-07-11 21:46:02 +00:00
alexhudson 25f1a34250 * Update default config for antivirus and antispam
* Hopefully corrected a config bug where we crash on malformed json data
2007-07-11 21:40:55 +00:00
trisk 2bb2877866 * Make avirus crash a bit less. 2007-07-11 20:59:10 +00:00
trisk 9fb528dd0e * default.set should depend on config files. 2007-07-11 20:43:22 +00:00
trisk f9f0282aa0 (Hopefully) fix more issues in new config code. 2007-07-11 19:52:32 +00:00
alexhudson af379dd929 Another way of invoking tar :) 2007-07-11 19:51:16 +00:00
trisk 2e706f5349 Don't crash if parts of schema are missing. 2007-07-11 18:28:31 +00:00
trisk 9816a936e2 Clean up sketchy parts of the store. 2007-07-11 17:58:45 +00:00
alexhudson 4973b31a27 More compatible tar invocation 2007-07-11 16:55:25 +00:00
alexhudson 2963a454c7 * New configuration system
* Default config now comes from a backup file, not hard-coded
2007-07-11 12:11:55 +00:00
halex 8559b8bdb8 * /me is starting to hate Composer.js
* Fixes both Send (save draft first) and Save Draft (trying to assign message to event - similar issue found in Addressbook.Contacts) on Composer view.
2007-07-11 10:51:40 +00:00
halex 58564815a6 * When searching for contacts, provide a ContactPopup, rather than a link to the contact's conversations.
* Get's rid of a minor niggle with 'html' being undefined at login screen.
2007-07-11 07:25:30 +00:00
halex 65a20db8f9 * Entering data into the Subject field in the composer updates the title.
* When we dispose of the Preferences editor, send the user back to whatever page they were on before, not just summary.
2007-07-11 05:53:12 +00:00
trisk f4b73dc601 * Previous message link in conversation always points to first message.
* Tweak composer, make discarding a message go to the previous location.
2007-07-11 05:30:58 +00:00
halex a7af92dcc5 Finally, no more composer scrolling issues! \o/ 2007-07-11 03:27:11 +00:00
halex ff3ec35d27 * Small touchup in compiled Dragonfly HTML to stop search box and button touching.
* Textarea style does not inherit non-monospace fonts (only from browser).
* We now have signature support!
* Ability to adjust items per page in mail list view.
2007-07-11 01:47:59 +00:00
halex 68e73006b5 * Put the links for compiled/uncompiled Dragonfly in the wrong place.
* When we discard a draft, don't bomb out if we try and delete something that didn't exist
* More preference changes - new fields are yet to be hooked up.
* Fixes the scrollable composer window problem.
2007-07-11 00:54:52 +00:00
trisk 01d7e89470 * final.js needs to update when its components change. 2007-07-10 17:08:02 +00:00
trisk 60fdae4c69 * Actually print to the buffer in LoggerOpen(). 2007-07-10 15:23:14 +00:00
alexhudson e355a6fb18 Turn on logging! Thanks to Lance Haig for figuring most of this out. Includes:
* Lance's configuration file
* Small changes to log4c and slapd to make them shut up a bit
2007-07-10 13:21:19 +00:00
halex d4d0629203 * Speedups in the HTML dept.
* We now have a 'debug' version of Dragonfly.
2007-07-10 09:37:42 +00:00
halex 1a59960bd9 Reset back to no compression, just (in theory) cat-ting the files together. 2007-07-10 06:57:55 +00:00