Art Cancro [Mon, 5 Jul 2010 21:15:09 +0000 (21:15 +0000)]
* site/mailbox default expire values are now correctly populated
Wilfried Göesgens [Mon, 5 Jul 2010 20:42:47 +0000 (20:42 +0000)]
* ignore the temporary c file
Wilfried Göesgens [Mon, 5 Jul 2010 20:42:43 +0000 (20:42 +0000)]
* create-pot.sh has to be executable
* webcit.pot was updated too.
Wilfried Göesgens [Mon, 5 Jul 2010 20:42:38 +0000 (20:42 +0000)]
* refresh po files; it seems as if create-pot was bugged by a utf8 - workaround.
Wilfried Göesgens [Mon, 5 Jul 2010 20:42:26 +0000 (20:42 +0000)]
* specify utf-8 as charset
Art Cancro [Mon, 28 Jun 2010 20:47:38 +0000 (20:47 +0000)]
* Removed z-index manipulation from datepicker. The old behavior was causing the datepicker to pop-under in IE, which is of course not the desired effect.
Wilfried Göesgens [Mon, 28 Jun 2010 18:59:15 +0000 (18:59 +0000)]
* rss_save_item(): trim the sender
Wilfried Göesgens [Mon, 28 Jun 2010 18:59:08 +0000 (18:59 +0000)]
* StrBufSanitizeEmailRecipientVector(): fix some NULL problems
Wilfried Göesgens [Mon, 28 Jun 2010 18:59:01 +0000 (18:59 +0000)]
* rss_save_item(): encode sender & subject, so webcit will correctly display umlauts in them
Wilfried Göesgens [Thu, 24 Jun 2010 22:28:59 +0000 (22:28 +0000)]
* more ignores...
Wilfried Göesgens [Thu, 24 Jun 2010 22:28:56 +0000 (22:28 +0000)]
* 64 bit cleanness
Wilfried Göesgens [Thu, 24 Jun 2010 22:28:52 +0000 (22:28 +0000)]
* more gitignores
Wilfried Göesgens [Thu, 24 Jun 2010 22:28:22 +0000 (22:28 +0000)]
* clean up warnings, especialy on 64 bit
Wilfried Göesgens [Thu, 24 Jun 2010 21:34:13 +0000 (21:34 +0000)]
* add forward include, fix warnings
Wilfried Göesgens [Thu, 24 Jun 2010 21:28:09 +0000 (21:28 +0000)]
* add header file
* fix compiler warnings in the webcit tests
Wilfried Göesgens [Wed, 23 Jun 2010 21:58:49 +0000 (21:58 +0000)]
* add file to suspress all the openssl shit
Art Cancro [Wed, 23 Jun 2010 19:33:51 +0000 (19:33 +0000)]
* Removed JS function fixMissingCSSTable() which does not appear to be referenced anywhere.
Art Cancro [Wed, 23 Jun 2010 19:32:53 +0000 (19:32 +0000)]
* Removed JS function fixOffsetBanner() which does not appear to be referenced anywhere.
Art Cancro [Wed, 23 Jun 2010 16:44:29 +0000 (16:44 +0000)]
* Reduce the font size in the .msgbuttons class so that they're not so obnoxiously large in the header bar
Art Cancro [Wed, 23 Jun 2010 16:31:05 +0000 (16:31 +0000)]
* Adjustment to font sizes to make it not suck so much in Internet Exploder
* Close an anchor tag so it doesn't misbehave -- you guessed it -- in Internet Exploder
Wilfried Göesgens [Tue, 22 Jun 2010 22:43:08 +0000 (22:43 +0000)]
* add irc bot
Wilfried Göesgens [Tue, 22 Jun 2010 22:15:26 +0000 (22:15 +0000)]
* fix buildbot
Wilfried Göesgens [Tue, 22 Jun 2010 22:15:20 +0000 (22:15 +0000)]
*
Wilfried Göesgens [Tue, 22 Jun 2010 21:18:34 +0000 (21:18 +0000)]
* add missing object
Art Cancro [Tue, 22 Jun 2010 21:12:21 +0000 (21:12 +0000)]
* LDAP auth - do not permit empty passwords
Wilfried Göesgens [Tue, 22 Jun 2010 21:11:59 +0000 (21:11 +0000)]
* CtdlIPCStartEncryption(): though its return value is documented to be always one, use it to silence a warning.
Wilfried Göesgens [Tue, 22 Jun 2010 20:03:57 +0000 (20:03 +0000)]
* fix build of webcit tests
* add .gitignore all over the place where required.
Wilfried Göesgens [Tue, 22 Jun 2010 19:30:44 +0000 (19:30 +0000)]
* add buildbot configuration (yay!)
Art Cancro [Tue, 22 Jun 2010 16:23:11 +0000 (16:23 +0000)]
* CSS cleanup in summary screen
Wilfried Göesgens [Sun, 20 Jun 2010 22:28:31 +0000 (22:28 +0000)]
* vCtdlLogPrintf() one more try
Wilfried Göesgens [Sun, 20 Jun 2010 22:28:28 +0000 (22:28 +0000)]
* vCtdlLogPrintf(): if we are running as deamon, and don't syslog but specified -x, we want a logfile.
Wilfried Göesgens [Sun, 20 Jun 2010 21:44:24 +0000 (21:44 +0000)]
* check_get(): fix dict_tcp module; we just care for the first 4 chars
* check_get(): send an error if we don't get what we expect
Wilfried Göesgens [Sun, 20 Jun 2010 21:44:14 +0000 (21:44 +0000)]
* fix HAVE_SYSCALL_H detection
Wilfried Göesgens [Sat, 19 Jun 2010 15:07:35 +0000 (15:07 +0000)]
* fix Re:/Fw mechnics for email replying/forwarding... Should that be case insensitive?
Art Cancro [Fri, 18 Jun 2010 19:06:30 +0000 (19:06 +0000)]
* Reduce size of icon bar button text. Looks better on all browsers now.
Wilfried Göesgens [Thu, 17 Jun 2010 21:33:54 +0000 (21:33 +0000)]
* bust the other places still accessing token values directly:
* ConditionalPreference()
* ConditionalServCfg()
* ConditionalBstr()
* tmplput_url_part()
+ IS_NUMBER(): check whether a token parameter is a native number in first place for autodetecting how to compare them to other data.
Art Cancro [Thu, 17 Jun 2010 21:26:11 +0000 (21:26 +0000)]
* Use the correct class name for .chat_userlist_class in the stylesheet - fixes the positioning of that div in all browsers.
Wilfried Göesgens [Thu, 17 Jun 2010 20:38:03 +0000 (20:38 +0000)]
* ConditionalUserAccess (): don't access the token directly use the access function.
Wilfried Göesgens [Thu, 17 Jun 2010 20:03:15 +0000 (20:03 +0000)]
* upsie. that conversion to strbuf was still hanging around, heres the rest of it.
Wilfried Göesgens [Thu, 17 Jun 2010 19:52:33 +0000 (19:52 +0000)]
* add possibility to chose clang via environment
Wilfried Göesgens [Thu, 17 Jun 2010 19:36:27 +0000 (19:36 +0000)]
* post_message() whoops, wrong pointer?
Wilfried Göesgens [Thu, 17 Jun 2010 19:11:20 +0000 (19:11 +0000)]
* fix non locale enabled build
Art Cancro [Mon, 14 Jun 2010 18:03:19 +0000 (18:03 +0000)]
* Some fixes to make the banner work in IE7. Still need to optimize things a bit, and I dread testing this with IE8 to find out how badly it fucks it up.
Art Cancro [Mon, 14 Jun 2010 17:20:13 +0000 (17:20 +0000)]
* remove ie5-mac hack
Art Cancro [Mon, 14 Jun 2010 17:14:35 +0000 (17:14 +0000)]
* Wrapped ifdef around variables to prevent them from turning up as warnings
Wilfried Göesgens [Sat, 12 Jun 2010 21:41:22 +0000 (21:41 +0000)]
* detect git repostories and branches
Art Cancro [Thu, 10 Jun 2010 21:35:27 +0000 (21:35 +0000)]
* Fixed the scrolling problem in IE, and eliminated a lot of old cruft from the style sheet. However, this did create new problems displaying the banner in IE. Will fix soon.
Wilfried Göesgens [Wed, 9 Jun 2010 22:37:37 +0000 (22:37 +0000)]
* add thread local contexts here too.
Wilfried Göesgens [Wed, 9 Jun 2010 22:08:57 +0000 (22:08 +0000)]
* add comment sugested by danboid. users in the situation to use this need guidance.
Art Cancro [Wed, 9 Jun 2010 21:19:51 +0000 (21:19 +0000)]
* Removed a bunch of IE-isms no longer required now that we support IE 6.
* Determined that the non-scrolling banner was implemented using a method that only works in Firefox. Removed it. Now it's equally broken in all browsers. I'll implement a fix and commit that next.
Art Cancro [Wed, 9 Jun 2010 21:02:40 +0000 (21:02 +0000)]
* Merged the 'banner' and 'room_banner' classes. There is no reason for them to be separate.
Wilfried Göesgens [Tue, 8 Jun 2010 21:28:42 +0000 (21:28 +0000)]
* check for syscall.h
* use SYS_gettid to retrieve our LWPID when running in linux; this way we can find out whats loading top
* don't use masterCC's logbuffer
Art Cancro [Tue, 8 Jun 2010 17:57:24 +0000 (17:57 +0000)]
* Make the class names different from the div id's
Wilfried Göesgens [Mon, 7 Jun 2010 22:38:58 +0000 (22:38 +0000)]
* checkpoint thread needs to free its stuff too.
Wilfried Göesgens [Mon, 7 Jun 2010 22:06:50 +0000 (22:06 +0000)]
* move initialization of context to the top
* clean up context on exit
Wilfried Göesgens [Mon, 7 Jun 2010 21:08:46 +0000 (21:08 +0000)]
* by counting up threads starting at 3, we seem to get what top shows in the LWPID when pressing H.
why isn't there always a ct?
Wilfried Göesgens [Thu, 3 Jun 2010 22:46:40 +0000 (22:46 +0000)]
* add function to cleanly shutdown server threads
Wilfried Göesgens [Thu, 3 Jun 2010 16:54:25 +0000 (16:54 +0000)]
* vCtdlLogPrintf(): add the userID when reporting from a system thread
* use StrBuf if available
* CtdlFillSystemContext(); we need to fill context->curr_user too, else we will loose the user during for example room processing.
Art Cancro [Thu, 3 Jun 2010 15:55:24 +0000 (15:55 +0000)]
* Simplified tcp_connectsock()
Wilfried Göesgens [Thu, 3 Jun 2010 13:05:11 +0000 (13:05 +0000)]
* begin_session(): output the type of session and the UID if we know it.
Art Cancro [Thu, 3 Jun 2010 04:51:44 +0000 (04:51 +0000)]
* Removed the extra debug messages. I am about to give up on this problem. Look for today's date [2010jun03] in serv_func.c to see the point in the code where the connection to Citadel is lost. I don't know why.
Art Cancro [Wed, 2 Jun 2010 16:54:28 +0000 (16:54 +0000)]
* More logging. Also display an error to the user if we get a citserver greeting other than 200 or 571.
Art Cancro [Wed, 2 Jun 2010 16:30:25 +0000 (16:30 +0000)]
* more error logging
Wilfried Göesgens [Tue, 1 Jun 2010 22:35:53 +0000 (22:35 +0000)]
* post_message(): QP encode TO/CC/BCC if necessary
Wilfried Göesgens [Tue, 1 Jun 2010 22:27:02 +0000 (22:27 +0000)]
* add StrBufSanitizeEmailRecipientVector(); it will qp encode plain names with utf-8 chars etc.
* add CheckEncode() which scans for umlauts, whether qp encoding is neccesary
* add tests
Wilfried Göesgens [Tue, 1 Jun 2010 20:57:18 +0000 (20:57 +0000)]
* get_serv_info(): evaluate server replies
Art Cancro [Tue, 1 Jun 2010 03:06:22 +0000 (03:06 +0000)]
* fixed a spelling error
Art Cancro [Tue, 25 May 2010 18:08:48 +0000 (18:08 +0000)]
* Now attempting to fix the final few rendering problems in Internet Explorer. Testing with IE 7. I will also test with IE 8, Firefox, and WebKit (Chrome, Safari etc). IE 6 will not be tested; in fact, I am *removing* all markup which indicates that it is only present to work around IE 6 bugs.
Art Cancro [Tue, 25 May 2010 15:09:59 +0000 (15:09 +0000)]
* Fixed the off-by-one error in bbs view that causes a blank page to appear at the end when the number of messages is divisible by 20.
Art Cancro [Tue, 25 May 2010 04:05:05 +0000 (04:05 +0000)]
* added some missing license declarations
Art Cancro [Mon, 24 May 2010 17:31:47 +0000 (17:31 +0000)]
* WebCit thread pool is no longer tied to the number of server sessions. MIN_WORKER_THREADS is also gone. We now start with one worker thread. The only condition which causes new worker threads to be spawned is when all threads are executing and none are blocking on accept(). Initially this happens rather quickly, until the ideal thread pool size is found.
Wilfried Göesgens [Sat, 22 May 2010 10:10:11 +0000 (10:10 +0000)]
* NeedNewBuf() as CLANG indicates, this parameter should have a name
* several more corrections advised by CLANG
Wilfried Göesgens [Sat, 22 May 2010 09:47:14 +0000 (09:47 +0000)]
* receive_spool(): remove debugging output; just open tempfile if there is anything to read
Wilfried Göesgens [Fri, 21 May 2010 22:38:09 +0000 (22:38 +0000)]
* CtdlTryPassword(): fix leak
Wilfried Göesgens [Fri, 21 May 2010 20:22:51 +0000 (20:22 +0000)]
* add possibility to specify the inbound buffer size
* XMPP: increase our buffer on start, so client_read_random_blob() can unveil all its power.
Wilfried Göesgens [Fri, 21 May 2010 20:21:27 +0000 (20:21 +0000)]
* ReAdjustEmptyBuf() wasn't quiet what it should be: increase the buffer to a specified size
Wilfried Göesgens [Fri, 21 May 2010 19:25:42 +0000 (19:25 +0000)]
* StrBufReadBLOBBuffered(): tell read to give us as much as our buffer can bear, not as much as we want to read
Wilfried Göesgens [Fri, 21 May 2010 17:50:06 +0000 (17:50 +0000)]
* sock_read_to(), sock_getln() flush the Migrate buffer before useage, just to be shure.
Wilfried Göesgens [Fri, 21 May 2010 17:48:50 +0000 (17:48 +0000)]
* cmd_ucls(): don't overwrite the upload type before we use it
Art Cancro [Fri, 21 May 2010 17:35:13 +0000 (17:35 +0000)]
* trace messages
Art Cancro [Fri, 21 May 2010 16:32:48 +0000 (16:32 +0000)]
* Better tempfilename generation for receive_spool()
Art Cancro [Fri, 21 May 2010 15:19:52 +0000 (15:19 +0000)]
* Remove color from log message
Art Cancro [Fri, 21 May 2010 14:53:58 +0000 (14:53 +0000)]
* Change to main server loop. All threads block on accept() instead of using a mutex. Hopefully this will solve the deadlock issue that has been plaguing us.
Art Cancro [Thu, 20 May 2010 17:56:13 +0000 (17:56 +0000)]
* removed an extraneous debug line
Art Cancro [Thu, 20 May 2010 17:54:51 +0000 (17:54 +0000)]
* In a rare eureka-moment, discovered that my XML string escape function was only sanitizing characters higher than 0x7F, but the problem character in my data set was 0x01. Fixed.
Art Cancro [Wed, 19 May 2010 15:52:06 +0000 (15:52 +0000)]
* Finally eliminated the dreaded 'spooling - try again in a few minutes' error, since the generation of spool files is no longer in the same locking domain as their transfer.
Art Cancro [Wed, 19 May 2010 15:49:45 +0000 (15:49 +0000)]
* individual spool files are now created for each run of the networker and consolidated later.
Art Cancro [Wed, 19 May 2010 14:09:20 +0000 (14:09 +0000)]
* When downloading network spool from another node, use the new network/spooltmp architecture
Wilfried Göesgens [Tue, 18 May 2010 23:06:21 +0000 (23:06 +0000)]
* same as for citserver: move INLINE functions from .c to .h and make them static INLINE; thanks again to #llvm, jyasskin and sabre
Wilfried Göesgens [Tue, 18 May 2010 22:52:46 +0000 (22:52 +0000)]
* INLINE doesn't work across several objects as of C99; we just survive it the way its now because of gcc is sluggish here.
(see http://clang.llvm.org/docs/UsersManual.html#c_modes for details)
Move the INLINE function into the header, make it static INLINE as sugested by jyasskin and sabre
Wilfried Göesgens [Tue, 18 May 2010 21:34:56 +0000 (21:34 +0000)]
* split cutuserkey() out of makeuserkey(); its name doesn't show that theres a modification of the buffer inside.
* modify several functions so their callers have to call cutuserkey()
* harmonize the user length to USERNAME_SIZE; apply cutting after cleanup of invalid characters
Art Cancro [Tue, 18 May 2010 19:16:52 +0000 (19:16 +0000)]
* When a network node is uploading a spool file, receive it in ./network/spooltmp and then move it to ./network/spoolin only when the upload is closed. (This is the first of perhaps five changes which need to be made.)
Art Cancro [Tue, 18 May 2010 18:51:49 +0000 (18:51 +0000)]
* Documented all of the 'TODO: document me.' commands in file_ops.c
* Set up a new directory ./network/spooltmp, this will be part of the solution to allow the processing of network spool files to occur independently of the transfer of network spool files.
Art Cancro [Mon, 17 May 2010 17:34:10 +0000 (17:34 +0000)]
* Minor cleanups while I try to figure out the network problem
Wilfried Göesgens [Sun, 16 May 2010 20:49:51 +0000 (20:49 +0000)]
* roomchat_rwho(), roomchat_poll(): gcc likes bit operations in logical operations better that way.
Wilfried Göesgens [Fri, 14 May 2010 17:52:32 +0000 (17:52 +0000)]
* check_get() clang was indeed right, this ';' is a bug. dict_tcp syntax errors would have been ignored.
Art Cancro [Fri, 14 May 2010 15:24:26 +0000 (15:24 +0000)]
* Properly escape XML output using new xmlesc() function for XMPP sessions. This function should eventually get moved into libcitadel, but the bigger problem is that it doesn't handle UTF-8. Right now we're just using it to keep Pidgin from barfing on illegal characters.
Wilfried Göesgens [Tue, 11 May 2010 22:05:57 +0000 (22:05 +0000)]
* openid-Module: don't use static buffers in most places
Wilfried Göesgens [Tue, 11 May 2010 22:04:15 +0000 (22:04 +0000)]
* cdb_fetch() make lookup key const
Art Cancro [Mon, 10 May 2010 21:22:05 +0000 (21:22 +0000)]
* I think this cleans up the remaining XMPP bugs. We now see the correct number of sessions for each user (and it turns out I didn't have to modify the xmpp_is_visible() API after all, but it's still a nice enhancement to have and doesn't cost extra).