Commit Graph

377 Commits

Author SHA1 Message Date
alexhudson bc25bc985f Tidy up CREATE and WRITE a bit; remove objects that we can't successfully save to 2008-09-09 18:31:28 +00:00
alexhudson 1c4e90947f Don't try to attempt to CREATE folders in the store if the filename and/or guid is already in use; it will fail at an sql schema level and we get the error code wrong... 2008-09-09 16:23:00 +00:00
alexhudson 9523adc725 Minor fix to header for when inttypes.h is not available. 2008-09-08 07:50:52 +00:00
alexhudson 004ae5b87d Look for and use GMime 2.0/2.2 if it's available, as well as 2.4. 2008-09-07 19:59:01 +00:00
alexhudson c787f57d95 Minor build fix for older gcc 2008-09-07 14:51:00 +00:00
alexhudson 567a1fa1b3 Store agent now uses GMime to parsing incoming mails. 2008-09-07 13:01:20 +00:00
alexhudson e92b2d8da6 Turn off stack protection on older glibcs; in theory it should work, in practice the linker complains bitterly. :( 2008-09-06 11:35:28 +00:00
pfelt fa80a0db2f -- fix the code so that it will actually work when there are more than one mx.
-- fixed a bit anding bug where i would starttls even though the server didn't advertise it could
2008-09-06 04:34:13 +00:00
alexhudson cff22138ac Enable stack protection by default for gcc versions that support it. 2008-09-05 18:46:08 +00:00
alexhudson 36164fa8fa Remove last two patches :( 2008-09-05 18:35:17 +00:00
alexhudson 25485609b4 Make the right property get stored for From: 2008-09-04 22:25:56 +00:00
alexhudson 605fa09732 Decode mail From: according to rfc 1342. Doesn't yet attempt to translate between different character sets, which it should... 2008-09-04 22:04:18 +00:00
alexhudson 29f4eeec4e Merge the store-sqlite branch back onto trunk 2008-09-04 15:22:34 +00:00
pfelt 38f62420e8 -- fixed the thread handling to use BongoAgentListenWithClientPool()
--  this fixes the bug where messages get stuck in the queue, threads get lost, and tcp socket usage grows
2008-08-02 15:52:39 +00:00
pfelt 092a50fb56 -- one should not memset a struct before checking that the malloc didn't fail
-- set client authorized to true so that queue agents can run all the commands they need to
2008-08-02 02:25:19 +00:00
pfelt f60f7ba979 -- use connection pools to connect to queue agents. 2008-07-27 04:24:37 +00:00
jonnylamb 8bb71dc4de Fixed man page installation rule which was symlinking files incorrectly. 2008-07-01 20:19:47 +00:00
jonnylamb 4081646700 Add $(top_srcdir) to many Bongo.rules files to allow building outside of the root directory. 2008-06-23 11:52:26 +00:00
alexhudson 51e1c068b2 Minor log message change s/queue/store/, since that's what we're trying to connect to 2008-05-05 15:05:18 +00:00
alexhudson 88ff78730e Make sundial use the common auth 2008-05-04 17:59:43 +00:00
alexhudson e0064cc435 Start of new common auth handler 2008-05-04 17:38:18 +00:00
alexhudson 376dc0d922 Minor threading macro fixup 2008-05-04 17:37:53 +00:00
alexhudson b381044480 Bugfix locking mechanism on 32bit platforms. 2008-05-04 11:49:59 +00:00
pfelt db73be2e9b -- minor changes fixing a race issue in start busy and not resetting the head of the list on delete which caused major issues. 2008-04-14 03:50:33 +00:00
alexhudson 36e601d2d8 Remove use of 'rename' and replace with a small shell fragment 2008-04-13 08:15:17 +00:00
alexhudson 8f8392e79c Add ability to pop diagrams in hither and thither. 2008-04-12 15:58:52 +00:00
alexhudson b4a2c683aa Update doxygen setup and fix some of the bad bits of documentation. 2008-04-12 13:40:18 +00:00
alexhudson 743d39e8c9 Fix content-type sniffing so it doesn't accidentally mangle it 2008-04-08 18:11:14 +00:00
alexhudson bef9734a29 Parse content types better so we don't throw false errors 2008-04-07 09:37:38 +00:00
alexhudson 7428cb8225 Fix a sigabrt in the Lucene index, and stop trying to partially update a document - for some reason, this just doesn't work :( 2008-04-05 13:05:09 +00:00
alexhudson 160871308e One-liner to fix segfault in bongo-config 2008-04-04 17:20:16 +00:00
alexhudson 092cf26f27 Update po2json to attempt to handle unicode correctly. 2008-04-02 15:17:00 +00:00
pfelt 2e9fab5085 -- BongoSListDelete() and BongoListDelete() now conform better to the reset of the list api
-- added back code from alex on the progress stuff due to oddness in the flushing and messaging.
-- changed the progress stuff to use the new *ListDelete() calls
2008-03-29 23:09:15 +00:00
pfelt 362bdba3f1 -- added list delete functions 2008-03-18 02:42:05 +00:00
pfelt d8f4a2c9c6 -- initial attempt at a new update system for long processes. doesn't quite work right and it is missing sections like cleanup. 2008-03-16 04:55:32 +00:00
pfelt 4778f84e82 -- minor pointer fix. this should fix buffer overflows. 2008-03-11 04:04:07 +00:00
alexhudson 37fbbedcd1 Obvious bug in my new connio function - advance the read pointer when we consume some data... 2008-03-08 21:14:15 +00:00
pfelt 1733d8f8d5 -- we should load the global config if we are going to use it... 2008-03-08 20:20:18 +00:00
pfelt edefcbf9a0 -- added copyright information
-- ehlo/helo now uses the global hostname instead of FIXME
-- changed the agent name
-- minor documentation fix
2008-03-08 18:51:02 +00:00
alexhudson e8702938eb More acceptable speed for FLAG store command. 2008-03-08 17:18:58 +00:00
alexhudson d387763339 Allow the progress system to flush the client socket occasionally, so IMAP clients get more regular reports on work done. Tbird should now be stable for large amounts of mail. 2008-03-08 14:24:09 +00:00
alexhudson cabf768111 Rework my copy progress patch to be more general, and make STORE/UID STORE use it too - this makes tbird nice and stable for me now. Slow, but stable :D 2008-03-08 12:45:39 +00:00
pfelt 047373e8a4 -- set smtpc to start on a new install 2008-03-08 00:09:35 +00:00
alexhudson d40daa006d Separate the parsing and indexing steps of documents in the store. 2008-03-07 17:59:02 +00:00
alexhudson 5742d386c5 Update header file (completes change in r689) 2008-03-07 16:50:30 +00:00
alexhudson e5c3d6ed42 Change API of document field boost function slightly; this looks more correct and maybe will fix some build problems on certain arches? 2008-03-07 16:20:46 +00:00
alexhudson e40ca5fe4f Make copying large numbers of mail via IMAP a bit more stable. 2008-03-07 15:43:40 +00:00
alexhudson fc4adae8ad Remove all use of the old locking system, replace with new 'fair' locks. 2008-03-07 11:28:36 +00:00
alexhudson 70feddb1a9 Remove locking from cookie code. Opens bug #11214 for MsgLib. 2008-03-07 10:09:45 +00:00
alexhudson e5854ef07e Add function to downgrade exclusive to shared locks 2008-03-07 08:54:36 +00:00