Commit Graph

364 Commits

Author SHA1 Message Date
alexhudson 7de3b107da Get rid of store's printfs and make it log properly. 2007-11-08 20:35:33 +00:00
pfelt 1c29ebebfb -- skip tar'ing up the .svn directories 2007-11-07 08:07:55 +00:00
pfelt 85d4460e48 -- properly quote mailbox names so mailbox names with spaces in them function 2007-11-07 07:35:30 +00:00
alexhudson 546d3036dc Add the aliases config file by default 2007-11-06 22:27:00 +00:00
halex 35b595cc3e Minor woopsie that broke bongo-standalone. 2007-11-05 08:11:29 +00:00
halex 369d0c9787 Hopefully get viewing and editing domains and their aliases working. 2007-11-05 08:07:54 +00:00
alexhudson e620fcf795 Add configure-time check for new lxml dependency 2007-11-04 11:35:48 +00:00
halex e370c1b53d * Fix up the domainlist/string array box thing so that removing items works right.
* Make template for editing domains actually display something useful.
2007-11-04 03:36:05 +00:00
halex 1311056741 Added event history table on dashboard. 2007-11-04 03:16:07 +00:00
halex 2f1106a5be I need to get my eyes checked. ;) 2007-11-04 01:39:39 +00:00
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