citadel.git
13 years agoUps, its el_GR not el_EL
Wilfried Goesgens [Mon, 1 Nov 2010 23:03:41 +0000 (00:03 +0100)]
Ups, its el_GR not el_EL

13 years agoDo a more precise match to find out our UID
Wilfried Goesgens [Mon, 1 Nov 2010 22:38:07 +0000 (23:38 +0100)]
Do a more precise match to find out our UID

13 years agofix compilation
Wilfried Goesgens [Mon, 1 Nov 2010 22:24:54 +0000 (23:24 +0100)]
fix compilation

 - Makefile had a wrong include
 - msgfmt would abort on missing linebreaks

13 years agoCosmetic cleanup of previous two commits
Art Cancro [Mon, 1 Nov 2010 18:19:14 +0000 (14:19 -0400)]
Cosmetic cleanup of previous two commits

13 years agoFixed the viewdefs code to handle the fact that enum 9 is now
Art Cancro [Mon, 1 Nov 2010 18:10:07 +0000 (14:10 -0400)]
Fixed the viewdefs code to handle the fact that enum 9 is now
drafts and 10 is blogs.  This fixes the select-o-matic thing.

13 years agoviewdefs is now boolean
Art Cancro [Mon, 1 Nov 2010 17:23:03 +0000 (13:23 -0400)]
viewdefs is now boolean

13 years agoBlanks.
Wilfried Goesgens [Mon, 1 Nov 2010 10:48:23 +0000 (11:48 +0100)]
Blanks.

13 years agoBlanks are beautyfull.
Wilfried Goesgens [Mon, 1 Nov 2010 10:46:37 +0000 (11:46 +0100)]
Blanks are beautyfull.

13 years agoAdd more url-shorteners that showed up in my way.
Wilfried Goesgens [Mon, 1 Nov 2010 10:07:19 +0000 (11:07 +0100)]
Add more url-shorteners that showed up in my way.

13 years agoUpdate translation to Launchpad r7
Wilfried Goesgens [Mon, 1 Nov 2010 09:45:42 +0000 (10:45 +0100)]
Update translation to Launchpad r7

13 years agoFinalize fixing of netconfig loosing incident
Wilfried Goesgens [Mon, 1 Nov 2010 09:24:51 +0000 (10:24 +0100)]
Finalize fixing of netconfig loosing incident

 * need to set & check errno that tells us whether our tempfile was fresh created or already there
 * remove tmpfile on error
 * don't use fopen() because we can't specify the flags we need for that
 * ftruncate() the tempfile at the right place

13 years agoPrevent writing empty network configs Part II
Wilfried Goesgens [Sat, 30 Oct 2010 17:54:01 +0000 (19:54 +0200)]
Prevent writing empty network configs Part II
 * writenfree_spoolcontrol_file ()
   - serialise into a StrBuf
   - write that to a tempfile in the netconfig directory
   - if we fail, abort & log error
   - if we succed use rename () to replace the original config file.

13 years agoadd string representations of the RoomNetCfg as RoomNetCfgStr[maxRoomNetCfg]
Wilfried Goesgens [Sat, 30 Oct 2010 17:17:55 +0000 (19:17 +0200)]
add string representations of the RoomNetCfg as RoomNetCfgStr[maxRoomNetCfg]

13 years ago* cmd_snet: make shure the target FS has enough space for the new config
Wilfried Goesgens [Sat, 30 Oct 2010 16:44:15 +0000 (18:44 +0200)]
* cmd_snet: make shure the target FS has enough space for the new config

 - Create our own filename insteaf of using mk*tmp*; CC->cs_pid should be uniq.; we use  O_CREAT|O_EXCL so we're shure its ours or fails.
 - Create that filename in the same directory as the filal config filename; by that we can be shure its in the same filesystem, and if thats full, we will fail
 - Stat the original file for sise (if not there assume 80) and write twice as much into that file so we're next to shure the content from the client will fit in
 - the citadel protocol is a little st00pit here, we don't know the size in advance, and we can't return an error _after_ accepting the file
 - instead of moving the content of the tempfile into the final file, we use rename() which is supposed to be atomic.

13 years agoassoc_file_name(): return length of string
Wilfried Goesgens [Sat, 30 Oct 2010 16:43:20 +0000 (18:43 +0200)]
assoc_file_name(): return length of string

13 years agoTranslation update to Launchpad #6
Wilfried Goesgens [Sat, 30 Oct 2010 13:19:56 +0000 (15:19 +0200)]
Translation update to Launchpad #6

 - add Greek
 - add Svenska
 - sort locale list

13 years agoMoved the TinyMCE toolbar to the top of the editor window.
Art Cancro [Wed, 27 Oct 2010 19:03:06 +0000 (15:03 -0400)]
Moved the TinyMCE toolbar to the top of the editor window.

13 years agoAdded a little bit of clever JavaScript to make the TinyMCE window occupy
Art Cancro [Wed, 27 Oct 2010 18:53:46 +0000 (14:53 -0400)]
Added a little bit of clever JavaScript to make the TinyMCE window occupy
the full height of the browser window.

13 years agoUpgrade TinyMCE
Art Cancro [Wed, 27 Oct 2010 16:54:58 +0000 (12:54 -0400)]
Upgrade TinyMCE

13 years agoDon't output a space between imap namespaces
Art Cancro [Tue, 26 Oct 2010 22:51:36 +0000 (18:51 -0400)]
Don't output a space between imap namespaces
(patch suggested by samjam to fix javamail errors)

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Tue, 26 Oct 2010 22:50:55 +0000 (18:50 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* blanks.
Wilfried Goesgens [Tue, 26 Oct 2010 22:51:19 +0000 (00:51 +0200)]
* blanks.

13 years ago* blanx
Wilfried Goesgens [Tue, 26 Oct 2010 22:47:20 +0000 (00:47 +0200)]
* blanx

13 years ago* blank.
Wilfried Goesgens [Tue, 26 Oct 2010 22:43:08 +0000 (00:43 +0200)]
* blank.

13 years agoblanx?
Wilfried Goesgens [Tue, 26 Oct 2010 22:41:41 +0000 (00:41 +0200)]
blanx?

13 years agoblahangkx
Wilfried Goesgens [Tue, 26 Oct 2010 22:39:53 +0000 (00:39 +0200)]
blahangkx

13 years ago* bllannnks.
Wilfried Goesgens [Tue, 26 Oct 2010 22:31:42 +0000 (00:31 +0200)]
* bllannnks.

13 years ago* Blanks!
Wilfried Goesgens [Tue, 26 Oct 2010 22:30:57 +0000 (00:30 +0200)]
* Blanks!

13 years ago* blanks???
Wilfried Goesgens [Tue, 26 Oct 2010 22:29:07 +0000 (00:29 +0200)]
* blanks???

13 years ago* blaahaaank
Wilfried Goesgens [Tue, 26 Oct 2010 22:13:49 +0000 (00:13 +0200)]
* blaahaaank

13 years ago* o noes blanks?
Wilfried Goesgens [Tue, 26 Oct 2010 22:07:08 +0000 (00:07 +0200)]
* o noes blanks?

13 years agooh, well, maybe a blank anyways here?
Wilfried Goesgens [Tue, 26 Oct 2010 22:03:57 +0000 (00:03 +0200)]
oh, well, maybe a blank anyways here?

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Tue, 26 Oct 2010 21:40:48 +0000 (17:40 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* oh noes, thas blank wasn't that nice after all.
Wilfried Goesgens [Tue, 26 Oct 2010 21:25:26 +0000 (23:25 +0200)]
* oh noes, thas blank wasn't that nice after all.

13 years agoblanks? blanks anyone? they're nice.
Wilfried Goesgens [Tue, 26 Oct 2010 21:14:29 +0000 (23:14 +0200)]
blanks? blanks anyone? they're nice.

13 years ago* make it const, not written anyways
Wilfried Goesgens [Tue, 26 Oct 2010 21:06:20 +0000 (23:06 +0200)]
* make it const, not written anyways

13 years ago* sock_getln (): CtdlSockGetLine() gives us lines without \r\n, no need to look for...
Wilfried Goesgens [Tue, 26 Oct 2010 19:34:32 +0000 (21:34 +0200)]
* sock_getln (): CtdlSockGetLine() gives us lines without \r\n, no need to look for them again
* sock_getln_err (): add integer pointer returning the actual return state in case of error
* ml_sock_gets (): use sock_getln_err () so we can abort on impropper replies
* smtp_try (): make socket nonblocking, so we can abort on error
 -> we will wait 5 seconds for the remote site to send us the SMTP-State else we will abort the connection on failure.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Tue, 26 Oct 2010 04:20:30 +0000 (00:20 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoNumerous style changes to the 'edit message' dialog. The save,
Art Cancro [Tue, 26 Oct 2010 04:17:37 +0000 (00:17 -0400)]
Numerous style changes to the 'edit message' dialog.  The save,
cancel, and address book buttons now occupy the navbar instead of
a bunch of controls that shouldn't have been there anyway.  I
also fixed a javascript bug that was making the addressbook popup
silently fail in the background if we were in a room that didn't
require message recipients.
The attachment dialog now sits above the message body pane, but
this will soon get migrated into the navbar as well (maybe another
popup).
Finally, the background of the message entry div now more or less
occupies the entire space available to it; this still needs more
tuning in order to make the editor occupy the correct amount of
space in the pane.

13 years ago* ParseMessageListHeaders_Detail(): don't overuse StrLength, we can know its result...
Wilfried Goesgens [Mon, 25 Oct 2010 21:01:08 +0000 (23:01 +0200)]
* ParseMessageListHeaders_Detail(): don't overuse StrLength, we can know its result from other calls, etc.

13 years ago* we already checked for '=' before, remove.
Wilfried Goesgens [Mon, 25 Oct 2010 20:00:43 +0000 (22:00 +0200)]
* we already checked for '=' before, remove.

13 years ago* use a lookup table to convert hex to char (like we already do vice versa) to be...
Wilfried Goesgens [Mon, 25 Oct 2010 19:48:53 +0000 (21:48 +0200)]
* use a lookup table to convert hex to char (like we already do vice versa) to be faster.
* don't use strcmp in CtdlDecodeQuotedPrintable

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Mon, 25 Oct 2010 19:47:33 +0000 (15:47 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* ctype.h required for isdigit() and friends
Wilfried Goesgens [Mon, 25 Oct 2010 18:55:07 +0000 (20:55 +0200)]
* ctype.h required for isdigit() and friends

13 years ago* make the hash algorithm long, as hash now does
Wilfried Goesgens [Mon, 25 Oct 2010 18:54:25 +0000 (20:54 +0200)]
* make the hash algorithm long, as hash now does

13 years ago* don't free stacked pointers
Wilfried Goesgens [Mon, 25 Oct 2010 18:53:33 +0000 (20:53 +0200)]
* don't free stacked pointers

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Mon, 25 Oct 2010 16:57:47 +0000 (12:57 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoThe enter-message dialog is now contained by a div called '.entmsg'
Art Cancro [Mon, 25 Oct 2010 16:57:05 +0000 (12:57 -0400)]
The enter-message dialog is now contained by a div called '.entmsg'
instead of '.message' ... duplicated the existing styles for now.

13 years ago* add a way to pass the workbuffers into the RFC-822 decoder, so we don't need to...
Wilfried Goesgens [Mon, 25 Oct 2010 16:54:16 +0000 (18:54 +0200)]
* add a way to pass the workbuffers into the RFC-822 decoder, so we don't need to realloc it over and over
* add two temporary buffers to the WC Struct for that purpose
* add session logic to free them, and alloc them on need

13 years ago"Subject:" and "Subject (optional):" were in the wrong places.
Art Cancro [Mon, 25 Oct 2010 16:14:16 +0000 (12:14 -0400)]
"Subject:" and "Subject (optional):" were in the wrong places.
Swapped them to the correct places.

13 years agoCSS3 gradient fill in the banner background ftw!
Art Cancro [Mon, 25 Oct 2010 15:55:23 +0000 (11:55 -0400)]
CSS3 gradient fill in the banner background ftw!

13 years agoBlog rendering continued...
Art Cancro [Mon, 25 Oct 2010 15:47:47 +0000 (11:47 -0400)]
Blog rendering continued...

13 years ago* Use new MSet-Matcher to retrieve seen state (10% of what we do in big mboxes)
Wilfried Goesgens [Mon, 25 Oct 2010 14:58:01 +0000 (16:58 +0200)]
* Use new MSet-Matcher to retrieve seen state (10% of what we do in big mboxes)

13 years ago* need to revalidate start in any case to be exact.
Wilfried Goesgens [Mon, 25 Oct 2010 14:49:04 +0000 (16:49 +0200)]
* need to revalidate start in any case to be exact.

13 years ago* add a permutation to the hashlist one can store msets in
Wilfried Goesgens [Mon, 25 Oct 2010 14:10:25 +0000 (16:10 +0200)]
* add a permutation to the hashlist one can store msets in
 -> parse once, poll often quick.

13 years ago* bzr R2
Wilfried Goesgens [Mon, 25 Oct 2010 09:48:15 +0000 (11:48 +0200)]
* bzr R2

13 years ago* fix format string as launchpad told us.
Wilfried Goesgens [Sun, 24 Oct 2010 19:44:25 +0000 (21:44 +0200)]
* fix format string as launchpad told us.

13 years ago* fix quotation problem reported by launchpad (ups)
Wilfried Goesgens [Sun, 24 Oct 2010 17:40:18 +0000 (19:40 +0200)]
* fix quotation problem reported by launchpad (ups)

13 years ago* similarize to what launchpad has
Wilfried Goesgens [Sun, 24 Oct 2010 12:02:17 +0000 (14:02 +0200)]
* similarize to what launchpad has
* resolve some fuzzies by adding \n's

13 years ago* add the blanks etc. as launchpad corrected it
Wilfried Goesgens [Sun, 24 Oct 2010 11:17:44 +0000 (13:17 +0200)]
* add the blanks etc. as launchpad corrected it
* fix some strings marked as fuzzy because of the original was edited by applying these edits here too
* don't remove the fuzzy strings as launchpad sugests

13 years agoReplaced some of the 'autoconverted - document me' strings
Art Cancro [Sun, 24 Oct 2010 03:20:49 +0000 (23:20 -0400)]
Replaced some of the 'autoconverted - document me' strings

13 years ago* if we're shutting down instantly close our server file descriptions
Wilfried Goesgens [Fri, 22 Oct 2010 19:08:00 +0000 (21:08 +0200)]
* if we're shutting down instantly close our server file descriptions
* if we had problems shutting down because of client threads still blocked, close all sessions fd's so they come to an end.

13 years ago* start work on integrating dynamic vcard parsing and templates
Wilfried Goesgens [Fri, 22 Oct 2010 13:13:43 +0000 (15:13 +0200)]
* start work on integrating dynamic vcard parsing and templates

13 years ago* move around pots so launchpad likes us
Wilfried Goesgens [Thu, 21 Oct 2010 17:40:19 +0000 (19:40 +0200)]
* move around pots so launchpad likes us

13 years ago* add translations from launchpad
Wilfried Goesgens [Thu, 21 Oct 2010 17:16:39 +0000 (19:16 +0200)]
* add translations from launchpad

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 21 Oct 2010 17:05:35 +0000 (19:05 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* move locations around as needed to do automatic syncing with launchpad.
Wilfried Goesgens [Thu, 21 Oct 2010 17:04:46 +0000 (19:04 +0200)]
* move locations around as needed to do automatic syncing with launchpad.

13 years ago* rename estonian translation as sugested by launchpad
Wilfried Goesgens [Thu, 21 Oct 2010 16:44:27 +0000 (18:44 +0200)]
* rename estonian translation as sugested by launchpad

13 years agoTemporary text renderer for blog view, displays posts and the comment count
Art Cancro [Tue, 19 Oct 2010 21:42:33 +0000 (17:42 -0400)]
Temporary text renderer for blog view, displays posts and the comment count

13 years agoAdded some comments to the code to jog my memory when I start to
Art Cancro [Tue, 19 Oct 2010 03:47:53 +0000 (23:47 -0400)]
Added some comments to the code to jog my memory when I start to
write the renderer.

13 years agoReworked the internal data model for the blog view.
Art Cancro [Tue, 19 Oct 2010 03:31:27 +0000 (23:31 -0400)]
Reworked the internal data model for the blog view.
It now uses a hash table for performance.

13 years ago* add VCard-Context
Wilfried Goesgens [Thu, 14 Oct 2010 21:12:00 +0000 (23:12 +0200)]
* add VCard-Context
* fix memleaks in parser.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Wed, 13 Oct 2010 22:35:36 +0000 (18:35 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoAdded a FIXME
Art Cancro [Wed, 13 Oct 2010 22:35:29 +0000 (18:35 -0400)]
Added a FIXME

13 years ago* vCtdlLogPrintf(): combine the server data plus the application format string into...
Wilfried Goesgens [Wed, 13 Oct 2010 19:51:27 +0000 (21:51 +0200)]
* vCtdlLogPrintf(): combine the server data plus the application format string into a new format string we then process with va_args.
 -> still no strbuf needed
 -> no problems with race conditions causing clashes between several lines

13 years ago* Rewrote vCtdlLogPrintf() to NOT use any buffers at all, only v*printf() type functi...
Art Cancro [Fri, 23 Jul 2010 20:23:18 +0000 (20:23 +0000)]
* Rewrote vCtdlLogPrintf() to NOT use any buffers at all, only v*printf() type functions.  We do this by writing the log data and metadata in separate calls.  In practice, this will cause them to appear on the same line even when other threads are concurrently writing because we are using buffered I/O.  Unfortunately, this does NOT fix the server crash that occurs when saving instant message transcripts to disk.  It points us in the right direction, though.

13 years ago* list of shorter url services.
Wilfried Goesgens [Wed, 13 Oct 2010 19:57:49 +0000 (21:57 +0200)]
* list of shorter url services.

13 years ago* add thread debugging to thread disabling for client flags
Wilfried Goesgens [Wed, 13 Oct 2010 19:54:22 +0000 (21:54 +0200)]
* add thread debugging to thread disabling for client flags

13 years ago* vCtdlLogPrintf(): combine the server data plus the application format string into...
Wilfried Goesgens [Wed, 13 Oct 2010 19:51:27 +0000 (21:51 +0200)]
* vCtdlLogPrintf(): combine the server data plus the application format string into a new format string we then process with va_args.
 -> still no strbuf needed
 -> no problems with race conditions causing clashes between several lines

13 years agonumber of comments
Art Cancro [Wed, 13 Oct 2010 16:21:15 +0000 (12:21 -0400)]
number of comments

13 years agoblog renderer
Art Cancro [Wed, 13 Oct 2010 15:01:20 +0000 (11:01 -0400)]
blog renderer

13 years agoOk, *this* is the way we want it structured internally.
Art Cancro [Tue, 12 Oct 2010 21:43:52 +0000 (17:43 -0400)]
Ok, *this* is the way we want it structured internally.
Now it's time to refactor it to O(N) instead of O(n log n)

13 years agoRendering tests
Art Cancro [Tue, 12 Oct 2010 20:13:59 +0000 (16:13 -0400)]
Rendering tests

13 years agoRendering test
Art Cancro [Tue, 12 Oct 2010 20:11:24 +0000 (16:11 -0400)]
Rendering test

13 years agoStore the thread tree (id/refs) in memory using hashes instead of full strings
Art Cancro [Tue, 12 Oct 2010 20:00:17 +0000 (16:00 -0400)]
Store the thread tree (id/refs) in memory using hashes instead of full strings

13 years ago* include the URL-shortener config in the .deb
Wilfried Goesgens [Sun, 10 Oct 2010 21:11:53 +0000 (23:11 +0200)]
* include the URL-shortener config in the .deb

13 years ago* load the url shortener links from a config file
Wilfried Goesgens [Sun, 10 Oct 2010 21:11:11 +0000 (23:11 +0200)]
* load the url shortener links from a config file

13 years agoMore underpinnings for blog thread view
Art Cancro [Wed, 6 Oct 2010 03:42:52 +0000 (23:42 -0400)]
More underpinnings for blog thread view

13 years agoMove some of the new code into a separate function
Art Cancro [Wed, 6 Oct 2010 03:30:49 +0000 (23:30 -0400)]
Move some of the new code into a separate function

13 years agoblog view - retain msgid and refs in array using strbuf for later sorting into threads
Art Cancro [Wed, 6 Oct 2010 03:26:02 +0000 (23:26 -0400)]
blog view - retain msgid and refs in array using strbuf for later sorting into threads

13 years agoSlightly darken one of the shades of blue.
Art Cancro [Tue, 5 Oct 2010 16:23:58 +0000 (12:23 -0400)]
Slightly darken one of the shades of blue.

13 years ago* check whether we need to QP-Encode our from in case of umlauts or so in the users...
Wilfried Goesgens [Mon, 4 Oct 2010 22:41:35 +0000 (00:41 +0200)]
* check whether we need to QP-Encode our from in case of umlauts or so in the users realname.

13 years ago* one more try to get the right creator into the rss collected item
Wilfried Goesgens [Mon, 4 Oct 2010 22:15:10 +0000 (00:15 +0200)]
* one more try to get the right creator into the rss collected item

13 years ago* StrBufSanitizeEmailRecipientVector () fix another off by one
Wilfried Goesgens [Mon, 4 Oct 2010 22:14:33 +0000 (00:14 +0200)]
* StrBufSanitizeEmailRecipientVector () fix another off by one

13 years ago* use the const str type libcitadel gives us, instead of roling our own.
Wilfried Goesgens [Sun, 3 Oct 2010 19:34:35 +0000 (21:34 +0200)]
* use the const str type libcitadel gives us, instead of roling our own.

13 years ago* add additional chars for shorter url detection
Wilfried Goesgens [Sun, 3 Oct 2010 09:14:07 +0000 (11:14 +0200)]
* add additional chars for shorter url detection
* fix some warnings

13 years agoMerge branch 'master' of git://github.com/psy-q/citadel
Wilfried Goesgens [Fri, 1 Oct 2010 05:50:57 +0000 (07:50 +0200)]
Merge branch 'master' of git://github.com/psy-q/citadel

13 years agoHarmonizing HTML case to lowercase, quoting HTML attributes.
Ramón Cahenzli [Thu, 30 Sep 2010 18:06:48 +0000 (20:06 +0200)]
Harmonizing HTML case to lowercase, quoting HTML attributes.

13 years agoAdded indentation to the table.
Ramón Cahenzli [Thu, 30 Sep 2010 17:55:13 +0000 (19:55 +0200)]
Added indentation to the table.

13 years agoDrop shadows under sticky notes. Cool!
Art Cancro [Tue, 28 Sep 2010 21:43:40 +0000 (17:43 -0400)]
Drop shadows under sticky notes.  Cool!