citadel.git
15 years ago* add include header *bsd probably needs here
Wilfried Göesgens [Sun, 19 Apr 2009 18:23:59 +0000 (18:23 +0000)]
* add include header *bsd probably needs here

15 years ago* read calendars line & blob buffered. we're FAST now.
Wilfried Göesgens [Sun, 19 Apr 2009 15:06:39 +0000 (15:06 +0000)]
* read calendars line & blob buffered. we're FAST now.

15 years ago* implement buffered IO for blob-reading, so you can continue siping from the blob...
Wilfried Göesgens [Sun, 19 Apr 2009 15:05:55 +0000 (15:05 +0000)]
* implement buffered IO for blob-reading, so you can continue siping from the blob you read for line buffered read before.

15 years ago* separate loading & parsing the ical attachment
Wilfried Göesgens [Sun, 19 Apr 2009 10:12:54 +0000 (10:12 +0000)]
* separate loading & parsing the ical attachment

15 years ago* extract_key() now expects the caller to specify the '='
Wilfried Göesgens [Sun, 19 Apr 2009 09:33:54 +0000 (09:33 +0000)]
* extract_key() now expects the caller to specify the '='

- Diese und die folgenden Zeilen werden ignoriert --

M    lib/mime_parser.c

15 years ago* big profiling stuff:
Wilfried Göesgens [Sat, 18 Apr 2009 20:30:14 +0000 (20:30 +0000)]
* big profiling stuff:
  * reduce strlen use wherever we can
  * reduce malloc usage
  * don't use sprintf

15 years ago* upsi here too.
Wilfried Göesgens [Sat, 18 Apr 2009 13:06:22 +0000 (13:06 +0000)]
* upsi here too.

15 years ago* evaluate server status code, this will lock us up if we're trying to read the messa...
Wilfried Göesgens [Sat, 18 Apr 2009 12:41:37 +0000 (12:41 +0000)]
* evaluate server status code, this will lock us up if we're trying to read the message though.

15 years ago* persistantly handle the bufferlengths for dates; snprintf doesn't terminate strings...
Wilfried Göesgens [Sat, 18 Apr 2009 12:14:27 +0000 (12:14 +0000)]
* persistantly handle the bufferlengths for dates; snprintf doesn't terminate strings if they exceed the provided length, which was causing character soup in some rare cases.

15 years ago* add missing blank
Wilfried Göesgens [Sat, 18 Apr 2009 12:10:38 +0000 (12:10 +0000)]
* add missing blank

15 years ago* abort if we're not able to retrieve the citserver information instead of crashing...
Wilfried Göesgens [Sat, 18 Apr 2009 12:09:55 +0000 (12:09 +0000)]
* abort if we're not able to retrieve the citserver information instead of crashing over it.

15 years ago* Don't attempt to evaluate (ptr-1) when ptr is already at the beginning of the buffer.
Art Cancro [Fri, 17 Apr 2009 16:46:34 +0000 (16:46 +0000)]
* Don't attempt to evaluate (ptr-1) when ptr is already at the beginning of the buffer.

15 years ago* make FourHash case insensitive
Wilfried Göesgens [Fri, 17 Apr 2009 06:19:01 +0000 (06:19 +0000)]
* make FourHash case insensitive

15 years ago* give all commands their own function
Wilfried Göesgens [Fri, 17 Apr 2009 00:44:52 +0000 (00:44 +0000)]
* give all commands their own function
* evade rumpelstilskin-lookup in favour of module registration commands
* replace linked list of commands by 4-char-hash.

15 years ago* Added unused cmdbuf parms to more cmd_xxxx() functions
Art Cancro [Fri, 17 Apr 2009 00:36:52 +0000 (00:36 +0000)]
* Added unused cmdbuf parms to more cmd_xxxx() functions

15 years ago* Removed XYZZY command. Nothing happens.
Art Cancro [Fri, 17 Apr 2009 00:32:27 +0000 (00:32 +0000)]
* Removed XYZZY command.  Nothing happens.
* cmd_getu() now accepts a string argument which is discarded, to make the API consistent.

15 years ago* Made our Berkeley DB errors look more like the ones thrown by other applications...
Art Cancro [Thu, 16 Apr 2009 21:24:32 +0000 (21:24 +0000)]
* Made our Berkeley DB errors look more like the ones thrown by other applications, so that when people Google them they don't get led to a 'Citadel Sucks' thread on a popular Ubuntu support forum that was populated by paid Zimbra astroturfers.

15 years ago* When we get a Berkeley DB panic, display a descriptive Berkeley DB error message...
Art Cancro [Thu, 16 Apr 2009 21:10:54 +0000 (21:10 +0000)]
* When we get a Berkeley DB panic, display a descriptive Berkeley DB error message using db_strerror() rather than an error number

15 years ago* rc.d/citadel installed by setup.c now logs to syslog by default
Art Cancro [Thu, 16 Apr 2009 17:58:31 +0000 (17:58 +0000)]
* rc.d/citadel installed by setup.c now logs to syslog by default

15 years ago* Don't fetch header summary in MSGS command for calendar view. We don't need it.
Art Cancro [Thu, 16 Apr 2009 15:04:41 +0000 (15:04 +0000)]
* Don't fetch header summary in MSGS command for calendar view.  We don't need it.

15 years ago* Minor bugfix to above
Art Cancro [Thu, 16 Apr 2009 15:00:11 +0000 (15:00 +0000)]
* Minor bugfix to above

15 years ago* Minor bugfix to above
Art Cancro [Thu, 16 Apr 2009 14:59:01 +0000 (14:59 +0000)]
* Minor bugfix to above

15 years ago* Completed optimization of load_ical_part(), now uses the data supplied by MSG4...
Art Cancro [Thu, 16 Apr 2009 14:29:18 +0000 (14:29 +0000)]
* Completed optimization of load_ical_part(), now uses the data supplied by MSG4 if it is usable.  In initial testing this cuts calendar load time almost in half.

15 years ago* Cleanup
Art Cancro [Thu, 16 Apr 2009 03:16:43 +0000 (03:16 +0000)]
* Cleanup

15 years ago* Added some traces and minor additions, getting ready to optimize load_ical_object...
Art Cancro [Thu, 16 Apr 2009 03:04:54 +0000 (03:04 +0000)]
* Added some traces and minor additions, getting ready to optimize load_ical_object() so that it doesn't have to call load_mimepart() most of the time

15 years ago* Log the wall clock time required to complete each transaction.
Art Cancro [Wed, 15 Apr 2009 19:40:51 +0000 (19:40 +0000)]
* Log the wall clock time required to complete each transaction.

15 years ago* check in ctdlsupport too for ical.h
Wilfried Göesgens [Tue, 14 Apr 2009 22:11:10 +0000 (22:11 +0000)]
* check in ctdlsupport too for ical.h

15 years ago* call get_ical_data.sh
Wilfried Göesgens [Tue, 14 Apr 2009 21:23:55 +0000 (21:23 +0000)]
* call get_ical_data.sh

15 years ago* SMTP_RETRY_INTERVAL now set to 300 seconds (5 minutes)
Art Cancro [Tue, 14 Apr 2009 14:47:14 +0000 (14:47 +0000)]
* SMTP_RETRY_INTERVAL now set to 300 seconds (5 minutes)

15 years ago* Some files did not have ': $' blocks. Added them
Art Cancro [Tue, 14 Apr 2009 14:38:26 +0000 (14:38 +0000)]
* Some files did not have ': $' blocks.  Added them

15 years ago* svn propset svn_keywords 'Id' on some files that didn't have it
Art Cancro [Tue, 14 Apr 2009 14:33:37 +0000 (14:33 +0000)]
* svn propset svn_keywords 'Id' on some files that didn't have it

15 years ago* Adjust the memory allocation for Base64-converted messages in serv_migrate.c ....
Art Cancro [Tue, 14 Apr 2009 14:31:00 +0000 (14:31 +0000)]
* Adjust the memory allocation for Base64-converted messages in serv_migrate.c ... I guess I shouldn't have overconfidently used the words 'well-tested formula' in the comment next to it.

15 years ago* When delivering mailing list messages, submit with bounce_to and envelope_from...
Art Cancro [Tue, 14 Apr 2009 14:25:59 +0000 (14:25 +0000)]
* When delivering mailing list messages, submit with bounce_to and envelope_from set to room_aide@xxx.xxx.xxx

15 years ago* Added the ability for callers of CtdlSubmitMsg() to specify bounce-to and envelope...
Art Cancro [Tue, 14 Apr 2009 03:45:25 +0000 (03:45 +0000)]
* Added the ability for callers of CtdlSubmitMsg() to specify bounce-to and envelope-from addresses.

15 years ago* use linebuffered server reading here too.
Wilfried Göesgens [Mon, 13 Apr 2009 20:08:52 +0000 (20:08 +0000)]
* use linebuffered server reading here too.

15 years ago* Rewrote sort_msglist_cmp() without compiler warnings.
Art Cancro [Mon, 13 Apr 2009 18:32:33 +0000 (18:32 +0000)]
* Rewrote sort_msglist_cmp() without compiler warnings.

15 years ago* sort_msglist() now uses qsort() instead of a bubble sort
Art Cancro [Mon, 13 Apr 2009 17:01:29 +0000 (17:01 +0000)]
* sort_msglist() now uses qsort() instead of a bubble sort

15 years ago* missing openssl ifdef here too...
Wilfried Göesgens [Sat, 11 Apr 2009 22:24:16 +0000 (22:24 +0000)]
* missing openssl ifdef here too...

15 years ago* Fixed a bug where sysdep.c fails to build if OpenSSL is not present
Art Cancro [Sat, 11 Apr 2009 21:31:35 +0000 (21:31 +0000)]
* Fixed a bug where sysdep.c fails to build if OpenSSL is not present

15 years ago* just call chrptr once.
Wilfried Göesgens [Sat, 11 Apr 2009 17:03:03 +0000 (17:03 +0000)]
* just call chrptr once.

15 years ago* comment out debug code
Wilfried Göesgens [Sat, 11 Apr 2009 16:55:01 +0000 (16:55 +0000)]
* comment out debug code

15 years ago* forgot this one. don't forget make clean, session struct changed.
Wilfried Göesgens [Sat, 11 Apr 2009 16:40:52 +0000 (16:40 +0000)]
* forgot this one. don't forget make clean, session struct changed.

15 years ago* move to the new linebuffered function while linebased reading from webbrowser and...
Wilfried Göesgens [Sat, 11 Apr 2009 16:37:53 +0000 (16:37 +0000)]
* move to the new linebuffered function while linebased reading from webbrowser and citserver.

15 years ago* add fast linebuffered function just cutting its buffer before it reads a new chunk...
Wilfried Göesgens [Sat, 11 Apr 2009 16:31:25 +0000 (16:31 +0000)]
* add fast linebuffered function just cutting its buffer before it reads a new chunk; this way we save lots of memmoves when reading large line arrays line by line.

15 years ago* use linebuffered reading while reading calendar; first draft.
Wilfried Göesgens [Sat, 11 Apr 2009 13:57:35 +0000 (13:57 +0000)]
* use linebuffered reading while reading calendar; first draft.

15 years ago* HashLittle() function
Art Cancro [Sat, 11 Apr 2009 13:32:22 +0000 (13:32 +0000)]
* HashLittle() function

15 years ago* structure needed by last commit. upsi.
Wilfried Göesgens [Sat, 11 Apr 2009 13:23:10 +0000 (13:23 +0000)]
* structure needed by last commit. upsi.

15 years ago* first work on doing ical elements in templates. does nothing usefull yet.
Wilfried Göesgens [Sat, 11 Apr 2009 12:01:32 +0000 (12:01 +0000)]
* first work on doing ical elements in templates. does nothing usefull yet.

15 years ago* prune warning
Wilfried Göesgens [Sat, 11 Apr 2009 11:58:34 +0000 (11:58 +0000)]
* prune warning

15 years ago* add commatas to make the build happy
Wilfried Göesgens [Sat, 11 Apr 2009 08:13:22 +0000 (08:13 +0000)]
* add commatas to make the build happy

15 years ago* Added a separate authentication mode AUTHMODE_LDAP_AD for Active Directory's nonsta...
Art Cancro [Fri, 10 Apr 2009 10:33:49 +0000 (10:33 +0000)]
* Added a separate authentication mode AUTHMODE_LDAP_AD for Active Directory's nonstandard schema (shares a lot of code with AUTHMODE_LDAP)

15 years ago* tuiconfig.c for LDAP
Art Cancro [Fri, 10 Apr 2009 09:17:49 +0000 (09:17 +0000)]
* tuiconfig.c for LDAP

15 years ago* Fleshed out the setup questions for LDAP
Art Cancro [Fri, 10 Apr 2009 09:11:21 +0000 (09:11 +0000)]
* Fleshed out the setup questions for LDAP

15 years ago* Updated setup program to configure LDAP auth
Art Cancro [Fri, 10 Apr 2009 08:04:45 +0000 (08:04 +0000)]
* Updated setup program to configure LDAP auth

15 years ago* LDAP auth config now read from config file
Art Cancro [Fri, 10 Apr 2009 07:53:04 +0000 (07:53 +0000)]
* LDAP auth config now read from config file

15 years ago* LDAP auth code is now complete. Config is still hardcoded, though; need to fix...
Art Cancro [Fri, 10 Apr 2009 07:44:48 +0000 (07:44 +0000)]
* LDAP auth code is now complete.  Config is still hardcoded, though; need to fix that.

15 years ago* Continued integrating ldap auth
Art Cancro [Wed, 8 Apr 2009 19:25:53 +0000 (19:25 +0000)]
* Continued integrating ldap auth

15 years ago* Modified setup.c to allow ldap auth enable
Art Cancro [Wed, 8 Apr 2009 19:04:22 +0000 (19:04 +0000)]
* Modified setup.c to allow ldap auth enable

15 years ago* Merge LDAP code; bindings are not yet complete
Art Cancro [Wed, 8 Apr 2009 17:24:14 +0000 (17:24 +0000)]
* Merge LDAP code; bindings are not yet complete

15 years ago* re-enumerate conditionals in view_message.html
Wilfried Göesgens [Tue, 7 Apr 2009 14:47:29 +0000 (14:47 +0000)]
* re-enumerate conditionals in view_message.html
* copy over from-printing into message citing so no <>'s show up on local quotes

15 years ago* Prepped portions of the code for imminent merge of LDAP auth module.
Art Cancro [Tue, 7 Apr 2009 00:38:06 +0000 (00:38 +0000)]
* Prepped portions of the code for imminent merge of LDAP auth module.

15 years ago* Removed the old LDAP module to make room for the new one
Art Cancro [Mon, 6 Apr 2009 23:53:08 +0000 (23:53 +0000)]
* Removed the old LDAP module to make room for the new one

15 years ago* Fixed a syntax error
Art Cancro [Mon, 6 Apr 2009 23:49:51 +0000 (23:49 +0000)]
* Fixed a syntax error

15 years ago* Add new XML import/export module
Art Cancro [Mon, 6 Apr 2009 23:45:51 +0000 (23:45 +0000)]
* Add new XML import/export module

15 years ago* Removed ARTV module
Art Cancro [Mon, 6 Apr 2009 23:43:21 +0000 (23:43 +0000)]
* Removed ARTV module

15 years ago* Development version is now 7.60
Art Cancro [Mon, 6 Apr 2009 23:41:40 +0000 (23:41 +0000)]
* Development version is now 7.60

15 years ago* Cleaned up the wording of the crashmail message
Art Cancro [Mon, 6 Apr 2009 21:07:38 +0000 (21:07 +0000)]
* Cleaned up the wording of the crashmail message

15 years ago* Changed the WIFEXITED logic to eliminate duplicate code.
Art Cancro [Mon, 6 Apr 2009 21:00:01 +0000 (21:00 +0000)]
* Changed the WIFEXITED logic to eliminate duplicate code.

15 years ago* Set CTDLEXIT_SHUTDOWN value to 0
Art Cancro [Mon, 6 Apr 2009 20:52:56 +0000 (20:52 +0000)]
* Set CTDLEXIT_SHUTDOWN value to 0

15 years ago* Set zapped_ok to 1 on nearly all calls to imap_grabroom(), because the IMAP command...
Art Cancro [Mon, 6 Apr 2009 14:54:13 +0000 (14:54 +0000)]
* Set zapped_ok to 1 on nearly all calls to imap_grabroom(), because the IMAP commands in question are permitted to operate with unsubscribed (zapped) rooms.

15 years ago* enable the watcher do differenciate between crash & regular exit, so he can send...
Wilfried Göesgens [Mon, 6 Apr 2009 12:14:42 +0000 (12:14 +0000)]
* enable the watcher do differenciate between crash & regular exit, so he can send the crash mail in the right cases only.

15 years ago* Set version number to 7.50 across the entire system in preparation for upcoming...
Art Cancro [Thu, 2 Apr 2009 21:25:22 +0000 (21:25 +0000)]
* Set version number to 7.50 across the entire system in preparation for upcoming release

15 years ago* DLAT response was missing its MIME metadata. Fixed.
Art Cancro [Thu, 2 Apr 2009 16:46:09 +0000 (16:46 +0000)]
* DLAT response was missing its MIME metadata.  Fixed.

15 years ago* Oops ... reply/replyquoted/replyall semantics were still buggy. Restored the corre...
Art Cancro [Tue, 31 Mar 2009 18:55:28 +0000 (18:55 +0000)]
* Oops ... reply/replyquoted/replyall semantics were still buggy.  Restored the correct 'all replies are quoted' behavior for localuser-to-localuser messages in private mail.

15 years ago* THIS IS 7.44 (BETA RELEASE ONLY)
Art Cancro [Mon, 30 Mar 2009 21:48:20 +0000 (21:48 +0000)]
* THIS IS 7.44 (BETA RELEASE ONLY)

15 years ago* Backed out r7276 through r7278. This is too large a change to make during a featur...
Art Cancro [Mon, 30 Mar 2009 16:49:04 +0000 (16:49 +0000)]
* Backed out r7276 through r7278.  This is too large a change to make during a feature freeze; it is the wrong approach; and it also produced crashes and corrupt data on my test system during evaluation (even after a make distclean).  We will revisit this after the release.

15 years ago* Enable the TinyMCE blockquote button
Art Cancro [Mon, 30 Mar 2009 03:45:55 +0000 (03:45 +0000)]
* Enable the TinyMCE blockquote button

15 years ago* add frontent code for xmpps port
Wilfried Göesgens [Sat, 28 Mar 2009 10:26:08 +0000 (10:26 +0000)]
* add frontent code for xmpps port

15 years ago* bump minimum required version number to 744 in order to reflect config change....
Wilfried Göesgens [Sat, 28 Mar 2009 10:23:10 +0000 (10:23 +0000)]
* bump minimum required version number to 744 in order to reflect config change. (is this the right place??)

15 years ago* add ssl xmpp port; this should work with pidgin as samjam documented.
Wilfried Göesgens [Sat, 28 Mar 2009 10:18:35 +0000 (10:18 +0000)]
* add ssl xmpp port; this should work with pidgin as samjam documented.

15 years ago* Fixed a multiselect bug in the mailbox view. Ctrl-click was selecting a message...
Art Cancro [Fri, 27 Mar 2009 17:02:23 +0000 (17:02 +0000)]
* Fixed a multiselect bug in the mailbox view.  Ctrl-click was selecting a message even if it was already selected.  Amended this code to make it toggle the current state instead.

15 years ago* make some pointers const...
Wilfried Göesgens [Wed, 25 Mar 2009 23:18:46 +0000 (23:18 +0000)]
* make some pointers const...
* trace whether we were shut down regular, or we crashed/were killed/...
* send an aide message if we unconditionaly exit.

15 years ago* escape subjects...
Wilfried Göesgens [Tue, 24 Mar 2009 18:38:51 +0000 (18:38 +0000)]
* escape subjects...

15 years ago* offer move message button just if we are allowed to. thanks to Trilcat for reportin...
Wilfried Göesgens [Mon, 23 Mar 2009 19:35:59 +0000 (19:35 +0000)]
* offer move message button just if we are allowed to. thanks to Trilcat for reporting this.

15 years ago* es.po: the correct license for this file was supposed to be GPL v2-or-later, not...
Art Cancro [Mon, 23 Mar 2009 17:00:18 +0000 (17:00 +0000)]
* es.po: the correct license for this file was supposed to be GPL v2-or-later, not GPL v2

15 years ago* if we fail to open the template, bail out with an error.
Wilfried Göesgens [Fri, 20 Mar 2009 22:30:00 +0000 (22:30 +0000)]
* if we fail to open the template, bail out with an error.
* actualy _install_ the template.

15 years ago* When aborting because of unsafe permissions on citadel.config, only show the last...
Art Cancro [Fri, 20 Mar 2009 16:36:12 +0000 (16:36 +0000)]
* When aborting because of unsafe permissions on citadel.config, only show the last three digits of the permissions.

15 years ago* Events and tasks which are missing a SUMMARY property are now displayed as 'Untitle...
Art Cancro [Fri, 20 Mar 2009 16:20:25 +0000 (16:20 +0000)]
* Events and tasks which are missing a SUMMARY property are now displayed as 'Untitled Event' or 'Untitled Task' instead of being omitted.  (I saw those two strings already in the code, so hopefully they've already been localized.)

15 years ago* Omit extended result code from SMTP response when we hit an RBL. We don't use...
Art Cancro [Fri, 20 Mar 2009 15:53:27 +0000 (15:53 +0000)]
* Omit extended result code from SMTP response when we hit an RBL.  We don't use those anymore.

15 years ago* In the JS instant messenger window, encode all outgoing messages using encodeURICom...
Art Cancro [Fri, 20 Mar 2009 02:39:55 +0000 (02:39 +0000)]
* In the JS instant messenger window, encode all outgoing messages using encodeURIComponent() before handing them off to Prototype for an AJAX call.  This allows non-ASCII characters to be sent without causing an error in the application.  Enjoy your ũmläȕŧŝ ☺

15 years ago* Rewrote part of the RBL check in a more portable way. It was completely failing...
Art Cancro [Thu, 19 Mar 2009 21:56:27 +0000 (21:56 +0000)]
* Rewrote part of the RBL check in a more portable way.  It was completely failing to do anything in its current form.

15 years ago* Removed the extra whitespace I added in while working on this template
Art Cancro [Thu, 19 Mar 2009 19:56:45 +0000 (19:56 +0000)]
* Removed the extra whitespace I added in while working on this template

15 years ago* Remove leading '|' from references if present
Art Cancro [Thu, 19 Mar 2009 19:54:21 +0000 (19:54 +0000)]
* Remove leading '|' from references if present

15 years ago* Got it. All references are now preserved.
Art Cancro [Thu, 19 Mar 2009 19:07:18 +0000 (19:07 +0000)]
* Got it.  All references are now preserved.

15 years ago* Now picking up the final message in the references list, but where did the others go?
Art Cancro [Thu, 19 Mar 2009 18:48:13 +0000 (18:48 +0000)]
* Now picking up the final message in the references list, but where did the others go?

15 years ago* Changed ConditionalIsRoomtype() to use a full string compare instead of one charact...
Art Cancro [Thu, 19 Mar 2009 17:10:32 +0000 (17:10 +0000)]
* Changed ConditionalIsRoomtype() to use a full string compare instead of one character in order to improve the readability and maintainability of this code.  (Also, the character being compared was the wrong one, so this also eliminates a bug.)

15 years ago* First attempt at restoring the correct Reply semantics
Art Cancro [Thu, 19 Mar 2009 14:55:28 +0000 (14:55 +0000)]
* First attempt at restoring the correct Reply semantics

15 years ago* After completing an SMTP queue run, include the number of messages processed in...
Art Cancro [Thu, 19 Mar 2009 14:22:27 +0000 (14:22 +0000)]
* After completing an SMTP queue run, include the number of messages processed in the log output

15 years ago* When using the javascript instant messenger screen, transmit outgoing messages...
Art Cancro [Thu, 19 Mar 2009 04:32:15 +0000 (04:32 +0000)]
* When using the javascript instant messenger screen, transmit outgoing messages to webcit using a real webcit command (new command: ajax_send_instant_message) instead of the ajax_server_cmd framework.  This gives us string unescaping for free, so we now escape all strings before transmitting them.  I was hoping this would fix the problem with sending non-ASCII characters through the instant messenger, but it didn't.  This will probably still be part of the solution though.

15 years ago* Applied dtx patch to fix access control problem with room aide posting in read...
Art Cancro [Thu, 19 Mar 2009 03:41:51 +0000 (03:41 +0000)]
* Applied dtx patch to fix access control problem with room aide posting in read only rooms