Commit Graph

354 Commits

Author SHA1 Message Date
halex 5f3b1681bd * Added new Hawkeye collection in store via bongo-config and a 'history' document.
* Modified tar command to support multiple directories - it's a bit hacky though, so FIXME if you get a chance.
* Unbreak enable/disable agents template.
* Added EventHistory function.
2007-11-04 01:12:25 +00:00
pfelt 8fbf362ed1 -- revert the portions with the CONFIGFILE in preference to this much better solution 2007-11-03 23:43:19 +00:00
halex 63a7d66c93 * Yeeeha, more of the alias/domain config pages!
* Fix up queue agent definitions
* Added SMTP, POP3, IMAP and mail proxy agents to Hawkeye.
* Reset templating variables on page loads ie. for when we have errors and then don't, but the message still appears.
* A bit more detailed error printed if JSON parsing fails.
2007-11-03 23:24:49 +00:00
halex a3a4a42eda Fix up malformed JSON. 2007-11-03 23:17:40 +00:00
alexhudson ac4d5d74fc Change BongoConfiguration parser into something which takes Json nodes 2007-11-03 22:23:03 +00:00
pfelt 9b01d46b53 -- Renamed Globals to BongoGlobals
-- modified bongoagent.h to use CONFIGFILE to determine when the BongoGlobals is defined as extern and not.  this prevents a build error in store
-- re-worked aliases to work more constently and dropped the idea of hosted vs global domains, (mapping-type)
-- MsgParseAddress now strdups the local_part if no domain is on the address.
2007-11-03 22:15:48 +00:00
alexhudson 05fdab5524 Fix some indentation and slightly change some messages 2007-11-03 21:42:26 +00:00
pfelt e6bca4bb60 -- missed this file during the initial import of odbc 2007-11-03 20:54:47 +00:00
alexhudson 964c09aad2 Separate out config reading routing into generic parser and utility function for the store 2007-11-03 17:07:20 +00:00
halex 84d6f07b6e * Stubbed out new AliasView.
* Removed remaining bits of the old antispam view.
* Don't force agents to have a version key in their config.
* Disable version update check - DNS is buggered and it lags the index.
2007-11-03 05:26:40 +00:00
halex e325e26d8a Woops, minor mistake. 2007-11-03 04:26:15 +00:00
halex 81d7437b81 * Updated the bongoantispam agent icon.
* Added an icon for the global prefs thingy.
2007-11-03 04:09:33 +00:00
halex 479491fdd2 Finish off Hawkeye changes.
* Agents do not need URI handlers in AgentView.py, in either 
bongo-standalone or via Apache.
2007-11-03 03:55:17 +00:00
halex c988ca2be2 Push out these Hawkeye changes; includes:
* new agentdef type 'hostlist', similar to array
 * added label and description fields
 * only list agents that have been defined, not every single one
 * we still require a method handler for each agent, haven't worked out 
why yet. :(

Also added a friendly note to a DF file. :)
2007-11-03 02:26:54 +00:00
alexhudson 0b989e5af3 Minor fix to bongocollector to stop it segfaulting 2007-11-02 12:46:08 +00:00
pfelt f84182aa1c -- this should have gone with the last patch. it is the default configuration document for domains 2007-11-01 21:16:45 +00:00
pfelt 6c6f8958c8 -- patch to modify configuration documents during install.
-- changed the domain parameter to hostname and added the domain parameter back which can be specified multiple times
2007-11-01 20:45:19 +00:00
pfelt bad715ecb7 -- this is alex's work on suggesting fixes to the aliasing. user level aliasing now takes precedence over domain level aliasing.
-- also a minor fix for user level aliasing checking
2007-11-01 05:29:33 +00:00
pfelt c664fc1694 -- added the concept of global domains. the domains array in the config doc now holds the domains that will alias automatically to local users that are not fully distingushed. global domains are transparently added to the aliasing list
-- fixed some minor formatting problems
2007-10-31 03:30:31 +00:00
pfelt cfffc2142e -- added back code to set the ip address to the global msgapi config 2007-10-31 02:50:13 +00:00
pfelt a29826d981 -- enable the namespace command 2007-10-30 22:16:33 +00:00
halex ec751498f7 We can create new calendars again, yay! 2007-10-29 08:43:51 +00:00
halex b8f334889c Fix contact sidebar thingy so that we can add more than one contact after each other, and that the 'Add Contact' label doesn't change. 2007-10-29 08:01:04 +00:00
pfelt 869e5cad79 -- removed some general settings from agent's configuration documents and moved them to /config/global (hostname, hostaddr, postmaster). i'm not sure what to do with hostaddr yet though
-- changed a ton of XplConsolePrintf() statements to Log() statements
-- a couple of general housekeeping issues
-- fixed smtp to be more robust in its queue connection startup.  i was seeing issues where it wouldn't connect because the store wasn't up yet.  this should fix that
2007-10-25 05:30:12 +00:00
pfelt f91943147e -- i'm not sure how multipart messages ever worked. the response from nmap with the mime bodystructure is quite long, but we'd only ever copy 4 bytes worth of it and try and use that to parse the data. 2007-10-25 04:42:23 +00:00
pfelt 8a29e2b972 -- categories in log4c are hierarchical and thus the root logger catches everything. commenting out everything else prevents duplicate messages from getting logged 2007-10-24 01:24:53 +00:00
pfelt aa7086c751 -- FreeBongoConfiguration() was freeing strings duplicated by the SetBongoConfigItem() call. This also fixes a memory overwrite issue found in smtp 2007-10-23 01:38:38 +00:00
pfelt 243029b31f -- fix a missing space causing pipelined data to be incorrectly formatted 2007-10-23 01:36:26 +00:00
pfelt 819192e0be -- we weren't resetting r which determined how much to read out of the filestream. this prevented ConnWriteFile() from working properly 2007-10-17 21:53:14 +00:00
pfelt 667c87a687 -- on error, unlink the temporary file 2007-10-17 18:18:47 +00:00
pfelt 31ba80a00d -- make sure that the dSize variable is actually the size of the data stream and not the control file 2007-10-17 07:32:06 +00:00
halex 5489ebb826 Don't use XHR RPC on MultiListViews (we don't have a handler for it). 2007-10-17 06:56:18 +00:00
pfelt f8d54493c6 -- prevents a crash due to a closed file handle. all the places in code that call DeliverToStore() explicitly close the fh afterwards if there was a failure to deliver 2007-10-17 05:30:43 +00:00
pfelt 5fa3a3ad17 -- typos in the help statement 2007-10-16 18:40:13 +00:00
pfelt a5b9eb23b4 -- allow the user to choose which local folder to drop mail into 2007-10-16 18:37:12 +00:00
pfelt 112a66b680 -- should use body[] instead of rfc822 to guarantee delivery of malformed mail 2007-10-16 18:28:24 +00:00
pfelt 7c3d8efc0c -- attempt at importing via imap. it probably needs cleanup 2007-10-16 02:59:31 +00:00
alexhudson ce18379b53 Genuinely correct indentation, this supercedes r502 2007-10-15 18:29:34 +00:00
alexhudson 6c575f5c69 Correct some indentation 2007-10-15 18:26:12 +00:00
halex 12b8aa81e4 * Enable login for users using virtual domains.
* Less secure debugging, but provides better output.
2007-10-15 09:47:05 +00:00
alexhudson 1414334d2c * Merge in sundial branch; landing this early for testing :)
* Python changes in libs/python/libbongo/cal.c are relevant to bug #9448 - this could be a Bongo Love project
2007-10-15 09:07:53 +00:00
alexhudson 9727ccb405 Correctly read the cookies file to extract valid cookies 2007-10-15 09:03:00 +00:00
alexhudson 7a318a0aaa Fix an excellent bug in our cookie handling code where we default to "success" 2007-10-15 08:32:14 +00:00
pfelt 7d66940f3a -- step2 in the bounce fix 2007-10-15 06:50:10 +00:00
pfelt 3d27a1f6c0 -- step1 in the bounce fix
-- added a bit of debug options
2007-10-15 02:25:55 +00:00
halex 642a2f4a13 * Added some missing files that were in SVN but not in Makefiles.
* New switch-mode.png icon (24x24 version, instead of wrong-sized 16x16)
* Pre-emptive patching - fixed up semicolons after function definitions in javascript files. Might have caused some weird issues with compressed versions of DF.
* Changes to Login.js - hopefully we support virtual usernames for auth.
* Removed un-used function in editableArea.js which screwed with IE7.
2007-10-13 08:09:34 +00:00
alexhudson 72de2be392 Fix obvious file clobber bug in autogen.sh 2007-10-12 14:31:51 +00:00
alexhudson 304680dd7c * Fixes up some calendar colouring issues
* Fixed up that expression that buggered IE7 to bits.
2007-10-12 10:20:38 +00:00
alexhudson 66d30cba77 Merge latest changes from trunk onto branch 2007-10-12 10:01:21 +00:00
alexhudson 9e381b736c Fix up broken build by removing references to missing AntispamView.py 2007-10-12 09:50:26 +00:00