citadel
13 years ago* Add -lcitadel to chkpwd_LIBS
Art Cancro [Sun, 31 May 2009 16:24:33 +0000 (16:24 +0000)]
* Add -lcitadel to chkpwd_LIBS

13 years ago* fix logging / debug mode logchatty exceptions
Wilfried Göesgens [Sun, 31 May 2009 14:07:44 +0000 (14:07 +0000)]
* fix logging / debug mode logchatty exceptions

13 years ago* move session creation and session lookup into own functions
Wilfried Göesgens [Sun, 31 May 2009 13:18:31 +0000 (13:18 +0000)]
* move session creation and session lookup into own functions

13 years ago* another bug in increasing buffers.
Wilfried Göesgens [Fri, 29 May 2009 18:11:40 +0000 (18:11 +0000)]
* another bug in increasing buffers.

13 years ago* fix IncreaseBuf
Wilfried Göesgens [Thu, 28 May 2009 23:14:20 +0000 (23:14 +0000)]
* fix IncreaseBuf
* fix Buffered BLOB reader

13 years ago* add webcit database message ID to the notification template.
Wilfried Göesgens [Tue, 26 May 2009 22:15:30 +0000 (22:15 +0000)]
* add webcit database message ID to the notification template.

13 years ago* just depend on berkeley db without version.
Wilfried Göesgens [Tue, 26 May 2009 22:14:23 +0000 (22:14 +0000)]
* just depend on berkeley db without version.

13 years ago* fix static output for subdirectories & tinymce
Wilfried Göesgens [Tue, 26 May 2009 22:05:23 +0000 (22:05 +0000)]
* fix static output for subdirectories & tinymce
* strip directories...

13 years ago* add slash-stripper
Wilfried Göesgens [Tue, 26 May 2009 20:18:33 +0000 (20:18 +0000)]
* add slash-stripper
* fix another possible hickup situation in the linebuffered reader.

13 years ago* remove stripslashes, its going into libcitadel.
Wilfried Göesgens [Tue, 26 May 2009 19:57:59 +0000 (19:57 +0000)]
* remove stripslashes, its going into libcitadel.

13 years ago* redo linebuffered reading
Wilfried Göesgens [Tue, 26 May 2009 19:40:12 +0000 (19:40 +0000)]
* redo linebuffered reading

13 years ago* -pg just if profiling is enabled.
Wilfried Göesgens [Tue, 26 May 2009 18:19:04 +0000 (18:19 +0000)]
* -pg just if profiling is enabled.

13 years ago* output files link if present not if not available.
Wilfried Göesgens [Mon, 25 May 2009 17:51:49 +0000 (17:51 +0000)]
* output files link if present not if not available.

13 years ago* bug in template: won't show upload dialog
Wilfried Göesgens [Mon, 25 May 2009 06:14:14 +0000 (06:14 +0000)]
* bug in template: won't show upload dialog

13 years ago* check for WC in conditionals...
Wilfried Göesgens [Sun, 24 May 2009 22:02:46 +0000 (22:02 +0000)]
* check for WC in conditionals...
* create session header hashlist earlier so it frees the first http line on exit

13 years ago* move stuff from Hdr into substruct that may be easily wiped by memset 0'ing them
Wilfried Göesgens [Sun, 24 May 2009 19:55:08 +0000 (19:55 +0000)]
* move stuff from Hdr into substruct that may be easily wiped by memset 0'ing them
* Hdr now belongs to the worker_entry() so we can lower the frequency of it and its members being de/alloced
* add commandline switch to set the default size of StrBuf s

13 years ago* make default strbuf size configurable
Wilfried Göesgens [Sun, 24 May 2009 19:48:44 +0000 (19:48 +0000)]
* make default strbuf size configurable
* fix moving of pointer in case of increase buf; valgrind says its not yet perfect.
* add debug code to find out optimal default buffer size and to detect where demand for bigger buffers comes from.

13 years ago* more leaks...
Wilfried Göesgens [Fri, 22 May 2009 10:02:36 +0000 (10:02 +0000)]
* more leaks...

13 years ago* don't use memcpy on overlapping operations
Wilfried Göesgens [Fri, 22 May 2009 09:49:27 +0000 (09:49 +0000)]
* don't use memcpy on overlapping operations

13 years ago* fix various leaks
Wilfried Göesgens [Fri, 22 May 2009 09:44:22 +0000 (09:44 +0000)]
* fix various leaks

13 years ago* don't alloc urlbuf if we don't need it
Wilfried Göesgens [Fri, 22 May 2009 09:20:53 +0000 (09:20 +0000)]
* don't alloc urlbuf if we don't need it

13 years ago* revert sort order & start on the 'Read all messages' button due to public demand
Wilfried Göesgens [Fri, 22 May 2009 09:13:06 +0000 (09:13 +0000)]
* revert sort order & start on the 'Read all messages' button due to public demand

13 years ago* free header vars from auth
Wilfried Göesgens [Fri, 22 May 2009 09:05:03 +0000 (09:05 +0000)]
* free header vars from auth

13 years ago* don't send cookies with static data; we don't know what to put in them here.
Wilfried Göesgens [Thu, 21 May 2009 22:46:28 +0000 (22:46 +0000)]
* don't send cookies with static data; we don't know what to put in them here.

13 years ago* streamline gettext plugin
Wilfried Göesgens [Thu, 21 May 2009 20:11:29 +0000 (20:11 +0000)]
* streamline gettext plugin
* handle bogus requests directly via the 404 handler; move it to context_loop
* handle static content without session locking

13 years ago* Applied matt's patch for making +/- work properly
Art Cancro [Thu, 21 May 2009 19:51:59 +0000 (19:51 +0000)]
* Applied matt's patch for making +/- work properly

13 years ago* Store the language setting in the session cookie instead of as a preference. Resol...
Art Cancro [Thu, 21 May 2009 16:25:50 +0000 (16:25 +0000)]
* Store the language setting in the session cookie instead of as a preference.  Resolves bug 359.

13 years ago* Print the first line of each HTTP request to the log, for debugging
Art Cancro [Thu, 21 May 2009 15:01:03 +0000 (15:01 +0000)]
* Print the first line of each HTTP request to the log, for debugging

13 years ago* accept text/todo here too.
Wilfried Göesgens [Wed, 20 May 2009 22:06:01 +0000 (22:06 +0000)]
* accept text/todo here too.

13 years ago* move end-of-session-save prefs to session detach handler.
Wilfried Göesgens [Wed, 20 May 2009 21:52:22 +0000 (21:52 +0000)]
* move end-of-session-save prefs to session detach handler.

13 years ago* remove unneded variable
Wilfried Göesgens [Wed, 20 May 2009 21:51:18 +0000 (21:51 +0000)]
* remove unneded variable

13 years ago* The code that handled session establishment via http-auth was also handling re...
Art Cancro [Wed, 20 May 2009 17:07:21 +0000 (17:07 +0000)]
* The code that handled session establishment via http-auth was also handling re-login via cookie data, since they both set c_username and c_password ... the extra function for cookie login wasn't being called at all so I removed it.
* When re-establishing a session, use gotoroom() instead of explicitly doing a GOTO server command.  This causes the wc_view and other session data to be loaded properly.

13 years ago* Reverting an unintentional commit to static/webcit.css
Art Cancro [Wed, 20 May 2009 15:35:58 +0000 (15:35 +0000)]
* Reverting an unintentional commit to static/webcit.css

13 years ago* Handle bad cookies without crashing
Art Cancro [Wed, 20 May 2009 15:33:02 +0000 (15:33 +0000)]
* Handle bad cookies without crashing

13 years ago* netconf screens - max length of a shared secret is now 18 characters, identical...
Art Cancro [Wed, 20 May 2009 14:14:07 +0000 (14:14 +0000)]
* netconf screens - max length of a shared secret is now 18 characters, identical to the text client.  resolves bug 428.

13 years ago* Applied updated fr.po submitted by translator
Art Cancro [Wed, 20 May 2009 13:42:48 +0000 (13:42 +0000)]
* Applied updated fr.po submitted by translator

13 years ago* fix basic auth
Wilfried Göesgens [Tue, 19 May 2009 19:50:51 +0000 (19:50 +0000)]
* fix basic auth

13 years ago* fix URL parsing for /message/
Wilfried Göesgens [Tue, 19 May 2009 19:47:06 +0000 (19:47 +0000)]
* fix URL parsing for /message/

13 years ago* fix auth basic scheme
Wilfried Göesgens [Mon, 18 May 2009 22:15:16 +0000 (22:15 +0000)]
* fix auth basic scheme

13 years ago* add function to decode hex strings
Wilfried Göesgens [Mon, 18 May 2009 22:14:43 +0000 (22:14 +0000)]
* add function to decode hex strings

13 years ago* fix session connecting
Wilfried Göesgens [Mon, 18 May 2009 19:05:37 +0000 (19:05 +0000)]
* fix session connecting
* remove double-paste

13 years ago* CSS fix to render login/logout screens properly in IE8
Art Cancro [Mon, 18 May 2009 14:56:13 +0000 (14:56 +0000)]
* CSS fix to render login/logout screens properly in IE8

13 years ago* shuffle auth arround...
Wilfried Göesgens [Sun, 17 May 2009 21:35:10 +0000 (21:35 +0000)]
* shuffle auth arround...
* implement robots.txt and favicon.ico
* some more tiny fixups

13 years ago* more fixes, offset in URLS is different now, since we strip the command.
Wilfried Göesgens [Sun, 17 May 2009 15:12:55 +0000 (15:12 +0000)]
* more fixes, offset in URLS is different now, since we strip the command.

13 years ago* fixups, leaks...
Wilfried Göesgens [Sun, 17 May 2009 13:49:51 +0000 (13:49 +0000)]
* fixups, leaks...

13 years ago* re-create static support; we now safe us from ..'ers by just looking up the filenam...
Wilfried Göesgens [Sun, 17 May 2009 11:47:09 +0000 (11:47 +0000)]
* re-create static support; we now safe us from ..'ers by just looking up the filename in some pre-stored hash.

13 years ago* BIG rewrite of header handling and slimming of context_loop and session_loop; shuff...
Wilfried Göesgens [Sun, 17 May 2009 08:34:33 +0000 (08:34 +0000)]
* BIG rewrite of header handling and slimming of context_loop and session_loop; shuffle everything arround.

13 years ago* Titles and descriptions for site configuration tabs are now divs with class 'confti...
Art Cancro [Sat, 16 May 2009 04:06:04 +0000 (04:06 +0000)]
* Titles and descriptions for site configuration tabs are now divs with class 'conftitle' and 'confdescr' instead of H1 and H2 blocks.  Added CSS declarations for these styles.  Now they don't look obtusely large anymore.

13 years ago* CSS changes to make the rounded boxes look like rounded boxes, even on IE8, which...
Art Cancro [Fri, 15 May 2009 21:29:56 +0000 (21:29 +0000)]
* CSS changes to make the rounded boxes look like rounded boxes, even on IE8, which broke them (again).  Fuck Microsoft.  Where's a multi-megaton nuke when I need one?

13 years ago* add defines for our errorcodes
Wilfried Göesgens [Thu, 14 May 2009 20:00:17 +0000 (20:00 +0000)]
* add defines for our errorcodes
* create citadel<->http return code mapper
* add more DAV ed stuff

13 years ago* mainmenu.c: removed C code that had been commented out and replaced with a template...
Art Cancro [Thu, 14 May 2009 19:34:30 +0000 (19:34 +0000)]
* mainmenu.c: removed C code that had been commented out and replaced with a template.  Are there any more of these?

13 years ago* Removed 'close window' link from logout screen because some browsers don't allow...
Art Cancro [Thu, 14 May 2009 13:18:26 +0000 (13:18 +0000)]
* Removed 'close window' link from logout screen because some browsers don't allow it to work.

13 years ago* output the mime type of the tepmlate in read_message so we can have different ones
Wilfried Göesgens [Wed, 13 May 2009 21:51:12 +0000 (21:51 +0000)]
* output the mime type of the tepmlate in read_message so we can have different ones
* switch msg to set the mimetype of the template
* add eDELETE HTTP Command to msg so we can do exactly that in this situation. previously executed stuff needs to let this through to there.

13 years ago* Fixed a bug that caused vnotes not to display when encapsulated in multipart/altern...
Art Cancro [Tue, 12 May 2009 21:31:44 +0000 (21:31 +0000)]
* Fixed a bug that caused vnotes not to display when encapsulated in multipart/alternative because mime_content_type was used where msg4_content_type should have been used.

13 years ago* Save notes as multipart/alternative with a text/plain version so they can be read...
Art Cancro [Tue, 12 May 2009 21:18:53 +0000 (21:18 +0000)]
* Save notes as multipart/alternative with a text/plain version so they can be read in the text mode client.

13 years ago* Based on some quick testing, render_MIME_VNote() appears to be sound. Adding text...
Art Cancro [Tue, 12 May 2009 20:59:37 +0000 (20:59 +0000)]
* Based on some quick testing, render_MIME_VNote() appears to be sound.  Adding text/vnote to WebCit's MSGP declaration.

13 years ago* Notes now display properly, regardless of whether we received the text/vnote from...
Art Cancro [Tue, 12 May 2009 20:53:36 +0000 (20:53 +0000)]
* Notes now display properly, regardless of whether we received the text/vnote from MSG4 or DLAT.   We can add text/vnote to our MSGP declaration as soon as dothebart confirms that an inline renderer is available.

13 years ago* Reversed the IsEmptyStr logic to determine whether a note is in vNote format or...
Art Cancro [Tue, 12 May 2009 20:45:34 +0000 (20:45 +0000)]
* Reversed the IsEmptyStr logic to determine whether a note is in vNote format or legacy text format.  Notes are now working again, but it's still calling load_mimepart() every time.

13 years ago* load_mimepart() was including protocol chatter in its data buffer. Fixed.
Art Cancro [Tue, 12 May 2009 20:42:08 +0000 (20:42 +0000)]
* load_mimepart() was including protocol chatter in its data buffer.  Fixed.

13 years ago* Got the Notes screen a little closer to displaying properly but it's still not...
Art Cancro [Tue, 12 May 2009 03:29:57 +0000 (03:29 +0000)]
* Got the Notes screen a little closer to displaying properly but it's still not quite there.

13 years ago* add message ID to the notification template; not used for funnambol, but for possib...
Wilfried Göesgens [Mon, 11 May 2009 23:01:04 +0000 (23:01 +0000)]
* add message ID to the notification template; not used for funnambol, but for possible other applications.

13 years ago* added iltls corrections and additions to our french translation.
Wilfried Göesgens [Sun, 10 May 2009 22:06:36 +0000 (22:06 +0000)]
* added iltls corrections and additions to our french translation.

13 years ago* use enum to handle http request types
Wilfried Göesgens [Sun, 10 May 2009 22:01:12 +0000 (22:01 +0000)]
* use enum to handle http request types
* some more cleanup

13 years ago* uninitialized value...
Wilfried Göesgens [Sun, 10 May 2009 21:59:59 +0000 (21:59 +0000)]
* uninitialized value...

13 years ago* shrinked the rest of these shutdown stuff into the module-handler.
Wilfried Göesgens [Sun, 10 May 2009 20:05:44 +0000 (20:05 +0000)]
* shrinked the rest of these shutdown stuff into the module-handler.

13 years ago* add more module handlers:
Wilfried Göesgens [Sun, 10 May 2009 18:05:56 +0000 (18:05 +0000)]
* add more module handlers:
  * start (alloc structures here; don't depend on others...)
  * init (fill your structs, register with others...)
  * shutdown (free your static structs etc.

  * Session New: for allocation etc.
  * Session Attach: on each request before it gets hot.
  * Session Detach: clean up your session local stuff
  * Session Destroy: the user is gone; flush your memory.

* more news: WC is set before the SessionNew; so you can use WC there.

* shuffled some more stuff arround:
  * i/o related stuff
  * directory calculation
  * local css detection is now part of the start handler...
  * all creates/frees of structures that can be done in the above handrlers is done there now.

13 years ago* just destroy it if we allocated it
Wilfried Göesgens [Thu, 7 May 2009 22:40:33 +0000 (22:40 +0000)]
* just destroy it if we allocated it

13 years ago* make vcard loader abstract so we can use it in more places
Wilfried Göesgens [Thu, 7 May 2009 22:36:48 +0000 (22:36 +0000)]
* make vcard loader abstract so we can use it in more places
* use it in other places

13 years ago* use default message loading mechanisms instead of brewing our own soup here
Wilfried Göesgens [Thu, 7 May 2009 21:20:52 +0000 (21:20 +0000)]
* use default message loading mechanisms instead of brewing our own soup here

13 years ago* fix memleak
Wilfried Göesgens [Thu, 7 May 2009 20:25:44 +0000 (20:25 +0000)]
* fix memleak

13 years ago* don't choke if the vcard fails to load
Wilfried Göesgens [Thu, 7 May 2009 20:13:20 +0000 (20:13 +0000)]
* don't choke if the vcard fails to load
* upsi. serv_printf needs a formatstring as first argument...

13 years ago* fix build without iconv
Wilfried Göesgens [Tue, 5 May 2009 23:09:33 +0000 (23:09 +0000)]
* fix build without iconv

13 years ago* init pointer...
Wilfried Göesgens [Tue, 5 May 2009 22:47:52 +0000 (22:47 +0000)]
* init pointer...

13 years ago* done should be initialized...
Wilfried Göesgens [Tue, 5 May 2009 22:03:10 +0000 (22:03 +0000)]
* done should be initialized...

13 years ago* remove more serv_readln etc...
Wilfried Göesgens [Mon, 4 May 2009 22:22:10 +0000 (22:22 +0000)]
* remove more serv_readln etc...

13 years ago* remove serv_getln here too
Wilfried Göesgens [Mon, 4 May 2009 21:49:02 +0000 (21:49 +0000)]
* remove serv_getln here too

13 years ago* remove old style server communication.
Wilfried Göesgens [Mon, 4 May 2009 21:22:43 +0000 (21:22 +0000)]
* remove old style server communication.

13 years ago* Removed a FIXME comment
Art Cancro [Mon, 4 May 2009 21:02:23 +0000 (21:02 +0000)]
* Removed a FIXME comment

13 years ago* serv_getln now is a wrapper around existing functionality. a new temporary var...
Wilfried Göesgens [Mon, 4 May 2009 20:10:56 +0000 (20:10 +0000)]
* serv_getln now is a wrapper around existing functionality. a new temporary var in WC is used for performance reasons.
* non-buffered IO is going away completely, thus we remove the buffered suffix from the function and all places that used it so far
* set O_NONBLOCK on our server FD, hopefully this does what we want?

13 years ago* undo linebuffering, its going away under that name
Wilfried Göesgens [Mon, 4 May 2009 20:06:33 +0000 (20:06 +0000)]
* undo linebuffering, its going away under that name
* fix user loading

13 years ago* make tinymce give us utf-8 rather than html entities. Thanks to sorrow for digging...
Wilfried Göesgens [Mon, 4 May 2009 19:23:42 +0000 (19:23 +0000)]
* make tinymce give us utf-8 rather than html entities. Thanks to sorrow for digging deeper into this.

13 years ago* Since we can now shut down the master SSH session cleanly with a command, there...
Art Cancro [Sun, 3 May 2009 03:38:07 +0000 (03:38 +0000)]
* Since we can now shut down the master SSH session cleanly with a command, there's no need to do the whole fork()/exec() thing.  Replaced all that messy code with a simple call to system() and a SSH parameter to auto-background.

13 years ago* Found a better way for ctdlmigrate to shut down the master SSH socket. SSH has...
Art Cancro [Sun, 3 May 2009 03:30:35 +0000 (03:30 +0000)]
* Found a better way for ctdlmigrate to shut down the master SSH socket.  SSH has a command to do it.  No more silly games trying to hunt for the correct pid to kill.

13 years ago* upsi. double free.
Wilfried Göesgens [Sat, 2 May 2009 14:40:50 +0000 (14:40 +0000)]
* upsi. double free.

13 years ago* temporary solution to our ser_readln migration: have a buffer on the session, read...
Wilfried Göesgens [Wed, 29 Apr 2009 21:42:05 +0000 (21:42 +0000)]
* temporary solution to our ser_readln migration: have a buffer on the session, read there to, and copy it over then.
* remove some more serv_readln's, add some more GetServerStatus'es

13 years ago* output errors via important_message
Wilfried Göesgens [Tue, 28 Apr 2009 22:20:51 +0000 (22:20 +0000)]
* output errors via important_message

13 years ago* start migrating important message to strbuf; have both meanwhile.
Wilfried Göesgens [Tue, 28 Apr 2009 21:29:17 +0000 (21:29 +0000)]
* start migrating important message to strbuf; have both meanwhile.
* evaluate result of gotoroom; this needs to be done elsewhere too.
* fix roomname thing in useredit

13 years ago* Offer the ability to switch authentication modes via WebCit. This is a great way...
Art Cancro [Tue, 28 Apr 2009 19:53:24 +0000 (19:53 +0000)]
* Offer the ability to switch authentication modes via WebCit.  This is a great way for site operators to lock themselves out of their own systems.

13 years ago* If running 7.60 code for the first time, serv_upgrade erases any existing LDAP...
Art Cancro [Tue, 28 Apr 2009 04:22:54 +0000 (04:22 +0000)]
* If running 7.60 code for the first time, serv_upgrade erases any existing LDAP configuration left behind by the old module.

13 years ago* use load_message in the useredit form
Wilfried Göesgens [Sun, 26 Apr 2009 13:36:43 +0000 (13:36 +0000)]
* use load_message in the useredit form
* enable the vcard editor to work with a preloaded message

13 years ago* chop read_message into two pieces: the part actualy loading the message (so we...
Wilfried Göesgens [Sun, 26 Apr 2009 11:37:56 +0000 (11:37 +0000)]
* chop read_message into two pieces: the part actualy loading the message (so we can reuse it elsewhere) and the rendering.

13 years ago* make it const baby!
Wilfried Göesgens [Sun, 26 Apr 2009 10:25:46 +0000 (10:25 +0000)]
* make it const baby!

13 years ago* Added rsync of non-database dirs. ctdlmigrate is now complete.
Art Cancro [Sun, 26 Apr 2009 04:10:29 +0000 (04:10 +0000)]
* Added rsync of non-database dirs.  ctdlmigrate is now complete.

13 years ago* Use fork() and exec() instead of system() to set up the master SSH session, so...
Art Cancro [Sun, 26 Apr 2009 03:46:53 +0000 (03:46 +0000)]
* Use fork() and exec() instead of system() to set up the master SSH session, so we can get the pid to kill later
* At exit, kill the master SSH session and delete the socket

13 years ago* Delete socket file after ctdlmigrate runs
Art Cancro [Sun, 26 Apr 2009 02:54:16 +0000 (02:54 +0000)]
* Delete socket file after ctdlmigrate runs

13 years ago* ctdlmigrate: added a local replacement for gets() that
Art Cancro [Sun, 26 Apr 2009 02:14:22 +0000 (02:14 +0000)]
* ctdlmigrate: added a local replacement for gets() that
  doesn't throw a warning.

13 years ago* evade double calls to output_headers
Wilfried Göesgens [Sat, 25 Apr 2009 22:21:32 +0000 (22:21 +0000)]
* evade double calls to output_headers

13 years ago* buybuy serv_read
Wilfried Göesgens [Sat, 25 Apr 2009 21:56:29 +0000 (21:56 +0000)]
* buybuy serv_read
* fix some warnings

13 years ago* replace I/O in js handler
Wilfried Göesgens [Sat, 25 Apr 2009 17:31:38 +0000 (17:31 +0000)]
* replace I/O in js handler

13 years ago* allow groupdetection in user sorters
Wilfried Göesgens [Sat, 25 Apr 2009 14:36:19 +0000 (14:36 +0000)]
* allow groupdetection in user sorters
* we have stringnames for sorting algorithms... trapped myself with not updating documentation.