Commit Graph

177 Commits

Author SHA1 Message Date
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
halex 087ab3dcb5 Hopefully makes standalone composer scrollable. 2007-07-10 05:17:14 +00:00
halex d59c6e89ff Wrong order of script.aculo.us includes. 2007-07-10 03:32:27 +00:00
halex afa1db57b0 * Speeds up Dragonfly load times (a lot). 2007-07-10 01:25:40 +00:00
trisk e52ab32f26 * Fix crash in bongoimap - session->user.name is only set after UserLogin(). 2007-07-09 17:18:17 +00:00
trisk 145b53ca2c * Correct bongo-manager pid file formatting.
* Fix bongo-setup pid handling (thanks to Chris Lamb!).
2007-07-09 15:13:01 +00:00
trisk b6001cdb0b * Use slapdadd (same binary as slapd and has a configurable path) instead of ldapdd in bongo-setup.
* Use Privs module functions for Bongo user.
2007-07-09 15:10:59 +00:00
trisk 1e573957ef Generate a Message-Id if the an email did not include one, to prevent crashing the store on import. 2007-07-08 12:30:04 +00:00
halex 9def52095f * Got rid of SummaryView.py (didn't actually do anything)
* Hooray for breadcrumbs!
2007-07-08 01:38:00 +00:00
trisk 26471cf430 Doh. 2007-07-08 00:25:57 +00:00
trisk b9e9608067 * Move ALIGN_SIZE() macro to memmgr.h and apply it to memstack allocations. This fixes the last known crash on sparc. 2007-07-07 20:53:24 +00:00
trisk 2696ce97b4 * Prevent use of uninitialised pointers. 2007-07-07 10:56:08 +00:00
trisk c7f16bc911 * Pass NULL for empty credential.
* Check argument to ConnFree() to prevent crash when bongosmtp is shutting down.
2007-07-07 10:54:50 +00:00
trisk b7e55c9e95 * Make memmgr align its allocations to the offset preferred by the architecture.
* Support architectures with double word alignment restrictions.
* Fix the linked list of private memory pools.
2007-07-07 10:52:01 +00:00
trisk 2f5f0343d9 * hack: Make NMAPReadConfigFile() retry in case store is not yet ready. 2007-07-07 07:14:54 +00:00
trisk afe423ac1b pid_t can be larger than an unsigned int, update bounds checking and printf formats. 2007-07-07 03:50:34 +00:00
trisk 2c8bbcb714 Fix use of uninitialised variables in msgapi, also some housekeeping. 2007-07-07 03:36:32 +00:00
trisk 77d4d73212 Correct missing return value. 2007-07-07 03:33:33 +00:00