Wilfried Goesgens [Mon, 1 Nov 2010 09:45:42 +0000 (10:45 +0100)]
Update translation to Launchpad r7
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
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.
Wilfried Goesgens [Sat, 30 Oct 2010 17:17:55 +0000 (19:17 +0200)]
add string representations of the RoomNetCfg as RoomNetCfgStr[maxRoomNetCfg]
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.
Wilfried Goesgens [Sat, 30 Oct 2010 16:43:20 +0000 (18:43 +0200)]
assoc_file_name(): return length of string
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
Art Cancro [Wed, 27 Oct 2010 19:03:06 +0000 (15:03 -0400)]
Moved the TinyMCE toolbar to the top of the editor window.
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.
Art Cancro [Wed, 27 Oct 2010 16:54:58 +0000 (12:54 -0400)]
Upgrade TinyMCE
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)
Art Cancro [Tue, 26 Oct 2010 22:50:55 +0000 (18:50 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 26 Oct 2010 22:51:19 +0000 (00:51 +0200)]
* blanks.
Wilfried Goesgens [Tue, 26 Oct 2010 22:47:20 +0000 (00:47 +0200)]
* blanx
Wilfried Goesgens [Tue, 26 Oct 2010 22:43:08 +0000 (00:43 +0200)]
* blank.
Wilfried Goesgens [Tue, 26 Oct 2010 22:41:41 +0000 (00:41 +0200)]
blanx?
Wilfried Goesgens [Tue, 26 Oct 2010 22:39:53 +0000 (00:39 +0200)]
blahangkx
Wilfried Goesgens [Tue, 26 Oct 2010 22:31:42 +0000 (00:31 +0200)]
* bllannnks.
Wilfried Goesgens [Tue, 26 Oct 2010 22:30:57 +0000 (00:30 +0200)]
* Blanks!
Wilfried Goesgens [Tue, 26 Oct 2010 22:29:07 +0000 (00:29 +0200)]
* blanks???
Wilfried Goesgens [Tue, 26 Oct 2010 22:13:49 +0000 (00:13 +0200)]
* blaahaaank
Wilfried Goesgens [Tue, 26 Oct 2010 22:07:08 +0000 (00:07 +0200)]
* o noes blanks?
Wilfried Goesgens [Tue, 26 Oct 2010 22:03:57 +0000 (00:03 +0200)]
oh, well, maybe a blank anyways here?
Art Cancro [Tue, 26 Oct 2010 21:40:48 +0000 (17:40 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 26 Oct 2010 21:25:26 +0000 (23:25 +0200)]
* oh noes, thas blank wasn't that nice after all.
Wilfried Goesgens [Tue, 26 Oct 2010 21:14:29 +0000 (23:14 +0200)]
blanks? blanks anyone? they're nice.
Wilfried Goesgens [Tue, 26 Oct 2010 21:06:20 +0000 (23:06 +0200)]
* make it const, not written anyways
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.
Art Cancro [Tue, 26 Oct 2010 04:20:30 +0000 (00:20 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
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.
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.
Wilfried Goesgens [Mon, 25 Oct 2010 20:00:43 +0000 (22:00 +0200)]
* we already checked for '=' before, remove.
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
Art Cancro [Mon, 25 Oct 2010 19:47:33 +0000 (15:47 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Mon, 25 Oct 2010 18:55:07 +0000 (20:55 +0200)]
* ctype.h required for isdigit() and friends
Wilfried Goesgens [Mon, 25 Oct 2010 18:54:25 +0000 (20:54 +0200)]
* make the hash algorithm long, as hash now does
Wilfried Goesgens [Mon, 25 Oct 2010 18:53:33 +0000 (20:53 +0200)]
* don't free stacked pointers
Art Cancro [Mon, 25 Oct 2010 16:57:47 +0000 (12:57 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
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.
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
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.
Art Cancro [Mon, 25 Oct 2010 15:55:23 +0000 (11:55 -0400)]
CSS3 gradient fill in the banner background ftw!
Art Cancro [Mon, 25 Oct 2010 15:47:47 +0000 (11:47 -0400)]
Blog rendering continued...
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)
Wilfried Goesgens [Mon, 25 Oct 2010 14:49:04 +0000 (16:49 +0200)]
* need to revalidate start in any case to be exact.
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.
Wilfried Goesgens [Mon, 25 Oct 2010 09:48:15 +0000 (11:48 +0200)]
* bzr R2
Wilfried Goesgens [Sun, 24 Oct 2010 19:44:25 +0000 (21:44 +0200)]
* fix format string as launchpad told us.
Wilfried Goesgens [Sun, 24 Oct 2010 17:40:18 +0000 (19:40 +0200)]
* fix quotation problem reported by launchpad (ups)
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
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
Art Cancro [Sun, 24 Oct 2010 03:20:49 +0000 (23:20 -0400)]
Replaced some of the 'autoconverted - document me' strings
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.
Wilfried Goesgens [Fri, 22 Oct 2010 13:13:43 +0000 (15:13 +0200)]
* start work on integrating dynamic vcard parsing and templates
Wilfried Goesgens [Thu, 21 Oct 2010 17:40:19 +0000 (19:40 +0200)]
* move around pots so launchpad likes us
Wilfried Goesgens [Thu, 21 Oct 2010 17:16:39 +0000 (19:16 +0200)]
* add translations from launchpad
Wilfried Goesgens [Thu, 21 Oct 2010 17:05:35 +0000 (19:05 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 21 Oct 2010 17:04:46 +0000 (19:04 +0200)]
* move locations around as needed to do automatic syncing with launchpad.
Wilfried Goesgens [Thu, 21 Oct 2010 16:44:27 +0000 (18:44 +0200)]
* rename estonian translation as sugested by launchpad
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
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.
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.
Wilfried Goesgens [Thu, 14 Oct 2010 21:12:00 +0000 (23:12 +0200)]
* add VCard-Context
* fix memleaks in parser.
Art Cancro [Wed, 13 Oct 2010 22:35:36 +0000 (18:35 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Wed, 13 Oct 2010 22:35:29 +0000 (18:35 -0400)]
Added a FIXME
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
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.
Wilfried Goesgens [Wed, 13 Oct 2010 19:57:49 +0000 (21:57 +0200)]
* list of shorter url services.
Wilfried Goesgens [Wed, 13 Oct 2010 19:54:22 +0000 (21:54 +0200)]
* add thread debugging to thread disabling for client flags
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
Art Cancro [Wed, 13 Oct 2010 16:21:15 +0000 (12:21 -0400)]
number of comments
Art Cancro [Wed, 13 Oct 2010 15:01:20 +0000 (11:01 -0400)]
blog renderer
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)
Art Cancro [Tue, 12 Oct 2010 20:13:59 +0000 (16:13 -0400)]
Rendering tests
Art Cancro [Tue, 12 Oct 2010 20:11:24 +0000 (16:11 -0400)]
Rendering test
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
Wilfried Goesgens [Sun, 10 Oct 2010 21:11:53 +0000 (23:11 +0200)]
* include the URL-shortener config in the .deb
Wilfried Goesgens [Sun, 10 Oct 2010 21:11:11 +0000 (23:11 +0200)]
* load the url shortener links from a config file
Art Cancro [Wed, 6 Oct 2010 03:42:52 +0000 (23:42 -0400)]
More underpinnings for blog thread view
Art Cancro [Wed, 6 Oct 2010 03:30:49 +0000 (23:30 -0400)]
Move some of the new code into a separate function
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
Art Cancro [Tue, 5 Oct 2010 16:23:58 +0000 (12:23 -0400)]
Slightly darken one of the shades of blue.
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.
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
Wilfried Goesgens [Mon, 4 Oct 2010 22:14:33 +0000 (00:14 +0200)]
* StrBufSanitizeEmailRecipientVector () fix another off by one
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.
Wilfried Goesgens [Sun, 3 Oct 2010 09:14:07 +0000 (11:14 +0200)]
* add additional chars for shorter url detection
* fix some warnings
Wilfried Goesgens [Fri, 1 Oct 2010 05:50:57 +0000 (07:50 +0200)]
Merge branch 'master' of git://github.com/psy-q/citadel
Ramón Cahenzli [Thu, 30 Sep 2010 18:06:48 +0000 (20:06 +0200)]
Harmonizing HTML case to lowercase, quoting HTML attributes.
Ramón Cahenzli [Thu, 30 Sep 2010 17:55:13 +0000 (19:55 +0200)]
Added indentation to the table.
Art Cancro [Tue, 28 Sep 2010 21:43:40 +0000 (17:43 -0400)]
Drop shadows under sticky notes. Cool!
Art Cancro [Tue, 28 Sep 2010 20:21:14 +0000 (16:21 -0400)]
Retheming continued...
Art Cancro [Tue, 28 Sep 2010 16:37:51 +0000 (12:37 -0400)]
Retheming continued...
Art Cancro [Tue, 28 Sep 2010 15:39:54 +0000 (11:39 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Tue, 28 Sep 2010 15:39:27 +0000 (11:39 -0400)]
Began retheming. Please bear with me as this progresses.
Wilfried Goesgens [Mon, 27 Sep 2010 22:23:08 +0000 (00:23 +0200)]
* make all strings of setup.c i18n'able that are worth it.
* re-get the strings into the pots
Wilfried Goesgens [Mon, 27 Sep 2010 21:34:22 +0000 (23:34 +0200)]
* add code to install locales
* add locale dependencies
Wilfried Goesgens [Mon, 27 Sep 2010 21:07:26 +0000 (23:07 +0200)]
* remove void #if
Wilfried Goesgens [Mon, 27 Sep 2010 21:06:24 +0000 (23:06 +0200)]
* add locale detection / fix naming of .mo files
Wilfried Goesgens [Mon, 27 Sep 2010 21:05:40 +0000 (23:05 +0200)]
* unfuzzy some strings, so we can verify the strings setup prints