]>
code.citadel.org Git - citadel.git/log
Art Cancro [Tue, 20 Oct 2009 21:46:11 +0000 (21:46 +0000)]
* Abuse the MIME 'filename' key by using it as a memo field in which we store a base64-encoded set of metadata for each wiki edit.
Wilfried Göesgens [Tue, 20 Oct 2009 16:25:13 +0000 (16:25 +0000)]
* use reentrant function
* remove trailing newline; if the user wants it, he will add it in his template.
Wilfried Göesgens [Tue, 20 Oct 2009 12:57:57 +0000 (12:57 +0000)]
* grumblegrumble conflict
Wilfried Göesgens [Tue, 20 Oct 2009 12:52:58 +0000 (12:52 +0000)]
* add a Display name to our handlers; this will be used by DAV handlers.
Wilfried Göesgens [Mon, 19 Oct 2009 19:20:47 +0000 (19:20 +0000)]
* upsi, forgot that one.
Wilfried Göesgens [Mon, 19 Oct 2009 19:16:23 +0000 (19:16 +0000)]
* add way to have tokens do their custom parse-time preevaluation; this involves an api change to the RegisterNS function
* load iterators by the new parse time evaluator, not at runtime; Now we can find non-existant iterators at parse-time.
Wilfried Göesgens [Sun, 18 Oct 2009 16:26:15 +0000 (16:26 +0000)]
* by feivel: display the weekday in the dayview
Wilfried Göesgens [Sun, 18 Oct 2009 16:19:11 +0000 (16:19 +0000)]
* by feivel: Display week of year; addresses bug 494
Wilfried Göesgens [Sun, 18 Oct 2009 13:54:37 +0000 (13:54 +0000)]
* by feivel: make the current day be highlighted in monthly calendar view. Fixes bug 302
Dave West [Sat, 17 Oct 2009 21:05:05 +0000 (21:05 +0000)]
Fix mk_module_init.sh to properly build sources from directory user_modules.
Dave West [Sat, 17 Oct 2009 12:21:17 +0000 (12:21 +0000)]
Citadel API clean up.
Moved public function prototypes for room operations into ctdl_module.h and
renamed them to match the documented naming convention.
create_room -> CtdlCreateRoom
getroom -> CtdlGetRoom
putroom -> CtdlPutRoom
lgetroom -> CtdlGetRoomLock
lputroom -> CtdlPutRoomLock
getfloor -> CtdlGetFloor
putfloor -> CtdlPutFloor
do_i_have_permission_to_delete_this_room -> CtdlDoIHavePermissionToDeleteThisRoom
ForEachRoom -> CtdlForEachRoom
delete_room -> CtdlDeleteRoom
usergoto -> CtdlUserGoto
cgetfloor -> CtdlGetCachedFloor
schedule_room_for_deletion -> CtdlScheduleRoomForDeletion
is_noneditable -> CtdlIsNonEditable
This is probably not all of the functions from room_ops.c that should be
exposed but it is all the ones that any current module uses.
No module should now need to include "room_ops.h"
Art Cancro [Fri, 16 Oct 2009 20:58:22 +0000 (20:58 +0000)]
* Changed my mind about the on-disk format for wiki history. DELETE ANY WIKI ROOMS YOU MAY HAVE ALREADY CREATED. We now do wiki history backwards. In other words, the diffs in each part would be applied top to bottom in order to revert to older and older versions. Theoretically if you apply them all the way through you would end up with an empty page. This will allow revision control to work properly even with a partial history.
Art Cancro [Fri, 16 Oct 2009 16:17:50 +0000 (16:17 +0000)]
* Fixed the initial diff that is written when a wiki page is saved for the first time.
Wilfried Göesgens [Fri, 16 Oct 2009 15:47:49 +0000 (15:47 +0000)]
* indent for better maintaineability
Art Cancro [Fri, 16 Oct 2009 03:52:08 +0000 (03:52 +0000)]
* wiki still needs some tuning
Art Cancro [Fri, 16 Oct 2009 03:35:09 +0000 (03:35 +0000)]
* Write wiki history (diffs) to disk upon each save
* Added code to preven the wiki history hook from infinitely recursing
* Diff against /dev/null if no history exists in order to provide a nice 'version 1'
Art Cancro [Thu, 15 Oct 2009 20:25:47 +0000 (20:25 +0000)]
* more work on the wiki revision control engine
Art Cancro [Thu, 15 Oct 2009 16:29:43 +0000 (16:29 +0000)]
* More license declarations
Art Cancro [Thu, 15 Oct 2009 15:13:20 +0000 (15:13 +0000)]
* more work on the wiki revision control engine
Art Cancro [Thu, 15 Oct 2009 14:33:21 +0000 (14:33 +0000)]
* more work on the wiki revision control engine
Wilfried Göesgens [Thu, 15 Oct 2009 13:06:34 +0000 (13:06 +0000)]
* fix non-iconv-enabled build
Wilfried Göesgens [Thu, 15 Oct 2009 12:45:26 +0000 (12:45 +0000)]
* switch roomlisting to templating
* add the iconbar roomtreview to the body so we can wipe most of the old knrooms functionality
Wilfried Göesgens [Thu, 15 Oct 2009 12:43:43 +0000 (12:43 +0000)]
* remove debug statements
Wilfried Göesgens [Thu, 15 Oct 2009 12:43:16 +0000 (12:43 +0000)]
* add numeric floor setting reader
Wilfried Göesgens [Thu, 15 Oct 2009 11:43:27 +0000 (11:43 +0000)]
* add (INBOX) to the mailbox
* flag read state correctly
Wilfried Göesgens [Thu, 15 Oct 2009 08:58:56 +0000 (08:58 +0000)]
* add K (after j...) escaper for combined html + json;
* escape mail subjects and senders with 'K'; This will fix problems with html tags in mailsubjects
Wilfried Göesgens [Thu, 15 Oct 2009 08:56:43 +0000 (08:56 +0000)]
* add combined html/json escaper
Art Cancro [Thu, 15 Oct 2009 02:28:25 +0000 (02:28 +0000)]
* more work on the wiki history code
Art Cancro [Wed, 14 Oct 2009 21:49:46 +0000 (21:49 +0000)]
* Generate diffs old-to-new instead of new-to-old. I think this will be easier to work with because we can just append. Maybe I'll change my mind again. Right now it's just writing them to the log. In a little while I'll start writing them to disk and we'll see how it goes.
Art Cancro [Wed, 14 Oct 2009 21:48:17 +0000 (21:48 +0000)]
* Cleaned up some compiler warnings
Art Cancro [Wed, 14 Oct 2009 21:44:37 +0000 (21:44 +0000)]
* Generate diffs old-to-new instead of new-to-old. I think this will be easier to work with because we can just append. Maybe I'll change my mind again. Right now it's just writing them to the log. In a little while I'll start writing them to disk and we'll see how it goes.
Art Cancro [Wed, 14 Oct 2009 21:15:54 +0000 (21:15 +0000)]
* only include a plain text multipart/alternative for email; suppress it for bbs and wiki where it is not needed.
Art Cancro [Wed, 14 Oct 2009 21:05:18 +0000 (21:05 +0000)]
* Began writing code to compare wiki page versions and feed them through 'diff' for revision control. (xdelta was just too cumbersome)
Art Cancro [Wed, 14 Oct 2009 19:20:06 +0000 (19:20 +0000)]
* Began (but did not finish) applying GPL3+ declarations to each source file. This will be an ongoing process. (I'm about to mix GPL2+ code with GPL3+ code, and would like to be able to immediately throw the 'any later version' clause back at anyone who whines about it.)
Art Cancro [Wed, 14 Oct 2009 15:26:21 +0000 (15:26 +0000)]
* Changed 'guess-name room' to 'hidden room' in the text client (this was done a long time ago in webcit)
Art Cancro [Wed, 14 Oct 2009 03:34:05 +0000 (03:34 +0000)]
* Checked in a skeleton module for the server-side handlers of wiki rooms
Wilfried Göesgens [Tue, 13 Oct 2009 21:47:30 +0000 (21:47 +0000)]
* terminate the two mbox views the right way [tm]
Dave West [Tue, 13 Oct 2009 11:30:03 +0000 (11:30 +0000)]
Add missing include of stddef.h , needed for offsetof()
Art Cancro [Tue, 13 Oct 2009 03:47:49 +0000 (03:47 +0000)]
* configure.ac: changed 'libcitadel' message to 'webcit'
Art Cancro [Tue, 13 Oct 2009 02:51:50 +0000 (02:51 +0000)]
* Shuffled around the room banner so that the room name once again appeared in its own element, because getMessages() in jsonmessageview looks there for the room name. This should eventually be handled differently but it's ok for now.
Art Cancro [Mon, 12 Oct 2009 21:12:07 +0000 (21:12 +0000)]
* Add charset UTF-8 to content-type declaration for RSS imported items. Resolves bug 463.
Art Cancro [Mon, 12 Oct 2009 20:59:21 +0000 (20:59 +0000)]
* Blank out the Envelope-to: header when reading messages via POP or IMAP. Resolves bug #361.
Art Cancro [Mon, 12 Oct 2009 17:27:33 +0000 (17:27 +0000)]
* handle more warn_unused_result bullshit
Wilfried Göesgens [Sun, 11 Oct 2009 18:07:25 +0000 (18:07 +0000)]
* fix next dropdown
Wilfried Göesgens [Sun, 11 Oct 2009 18:05:35 +0000 (18:05 +0000)]
* remove unneded code
* fix test
Wilfried Göesgens [Sun, 11 Oct 2009 14:41:21 +0000 (14:41 +0000)]
* fix leak in mime parser
Wilfried Göesgens [Sun, 11 Oct 2009 14:37:05 +0000 (14:37 +0000)]
* add DAV namespace
* fix leak in template reader while logging errors
Wilfried Göesgens [Sun, 11 Oct 2009 14:33:50 +0000 (14:33 +0000)]
* fix memleak in non-threadded locale case
Art Cancro [Sun, 11 Oct 2009 03:54:51 +0000 (03:54 +0000)]
* Removed all cases of '((long)*(cdboi->ptr))' in serv_openid_rp.c and replaced them with a 'long' variable to which we memcpy sizeof(long) bytes.
Art Cancro [Sun, 11 Oct 2009 03:45:23 +0000 (03:45 +0000)]
* Yup, that's it ... the expression (long)*(cdboi->ptr) does NOT work reliably for copying the first (sizeof long) bytes in all cases. This is what was causing lots of OpenID associations to get deleted, on Uncensored and possibly elsewhere. Fixed in serv_expire.c ... must also begin looking elsewhere for this.
Art Cancro [Sun, 11 Oct 2009 03:33:51 +0000 (03:33 +0000)]
* Checked in some test code and logging to determine whether a bad cast/copy is the source of an openid bug
Wilfried Göesgens [Sun, 11 Oct 2009 00:12:07 +0000 (00:12 +0000)]
* follow syntax change
Wilfried Göesgens [Sun, 11 Oct 2009 00:04:55 +0000 (00:04 +0000)]
* fix hashlist iterator
* add parameter so we can determine whether we're behind the end of the list
Wilfried Göesgens [Sat, 10 Oct 2009 21:09:45 +0000 (21:09 +0000)]
* fix *bsd single locale mode
* add first russian strings
Art Cancro [Sat, 10 Oct 2009 21:08:59 +0000 (21:08 +0000)]
* Add a smarmy license declaration in modules/expire/serv_expire.c
Wilfried Göesgens [Sat, 10 Oct 2009 21:08:19 +0000 (21:08 +0000)]
* add missing forward declaration for mimestring composal
Wilfried Göesgens [Sat, 10 Oct 2009 16:44:48 +0000 (16:44 +0000)]
* register mimetypes and send them to citserver on _every_ connect.
Art Cancro [Sat, 10 Oct 2009 02:54:36 +0000 (02:54 +0000)]
* When viewing a wiki page, display the page name along with the room name in the banner.
Wilfried Göesgens [Fri, 9 Oct 2009 19:27:56 +0000 (19:27 +0000)]
* fix off by one in buffer size
Art Cancro [Fri, 9 Oct 2009 03:23:53 +0000 (03:23 +0000)]
* Silenced a few warn_unused_result warnings
Art Cancro [Thu, 8 Oct 2009 17:41:23 +0000 (17:41 +0000)]
* setup: only attempt to create the admin user when running in self-contained auth mode
Art Cancro [Thu, 8 Oct 2009 03:32:53 +0000 (03:32 +0000)]
* Rolled back the 'MSGS EUID' subcommand introduced in r7866. I didn't need it after all, and I don't want to bloat the server code with this if it isn't necessary.
Art Cancro [Thu, 8 Oct 2009 03:29:46 +0000 (03:29 +0000)]
* When entering a wiki room, display the wiki home page using the view render API instead of a redirect.
Wilfried Göesgens [Wed, 7 Oct 2009 22:11:52 +0000 (22:11 +0000)]
* don't leak post data
* set post data length, since there are still some functions dependg on it
Wilfried Göesgens [Wed, 7 Oct 2009 21:14:30 +0000 (21:14 +0000)]
* by ano: use more uniq name in the ldap module; the old one clashed in solaris.
Art Cancro [Wed, 7 Oct 2009 21:12:52 +0000 (21:12 +0000)]
* New MSGS subcommand 'EUID' to fetch msgnum of a message by EUID ... similar to the EUID command
Art Cancro [Wed, 7 Oct 2009 14:13:23 +0000 (14:13 +0000)]
* Don't show message headers in a wiki room.
Art Cancro [Tue, 6 Oct 2009 20:45:42 +0000 (20:45 +0000)]
* When editing a wiki page, insert the existing version of the page into the editor window.
Wilfried Göesgens [Tue, 6 Oct 2009 19:20:55 +0000 (19:20 +0000)]
* make locale not found messages less alarming
Art Cancro [Tue, 6 Oct 2009 03:50:11 +0000 (03:50 +0000)]
* Marked off in the template where we need to add code to insert the existing version of a wiki page for editing.
Art Cancro [Tue, 6 Oct 2009 03:38:06 +0000 (03:38 +0000)]
* Repaired pieces of the wiki engine that have fallen into disrepair.
Wilfried Göesgens [Mon, 5 Oct 2009 20:25:07 +0000 (20:25 +0000)]
* VDIR build here too.
Wilfried Göesgens [Mon, 5 Oct 2009 19:15:11 +0000 (19:15 +0000)]
* fix dependencies solaris is a little pickier here.
Wilfried Göesgens [Sun, 4 Oct 2009 23:24:17 +0000 (23:24 +0000)]
* disable dspam stuff its anywhere near production ready
* add VDIR functionality
Wilfried Göesgens [Sun, 4 Oct 2009 22:04:35 +0000 (22:04 +0000)]
* fix warning by initializing var
Wilfried Göesgens [Sun, 4 Oct 2009 18:21:56 +0000 (18:21 +0000)]
* fix VDIR build
Wilfried Göesgens [Sun, 4 Oct 2009 14:51:43 +0000 (14:51 +0000)]
* run it several times, just to be shure.
Wilfried Göesgens [Sun, 4 Oct 2009 14:01:13 +0000 (14:01 +0000)]
* add simple RFC822 / iconv decoding test
Wilfried Göesgens [Sun, 4 Oct 2009 10:38:45 +0000 (10:38 +0000)]
* don't continue to read, if we don't have a valid FD
Wilfried Göesgens [Sat, 3 Oct 2009 20:20:48 +0000 (20:20 +0000)]
* fix compilation if iconv isn't available
Wilfried Göesgens [Sat, 3 Oct 2009 20:12:00 +0000 (20:12 +0000)]
* add the_mgt's patch to Makefile.in; this should fix --as-needed
Wilfried Göesgens [Sat, 3 Oct 2009 20:01:00 +0000 (20:01 +0000)]
* use libiconv test from libcitadel, it seems to be more acurate on solaris.
Wilfried Göesgens [Sat, 3 Oct 2009 19:17:10 +0000 (19:17 +0000)]
* if is_https don't set nonblocking.
Wilfried Göesgens [Sat, 3 Oct 2009 18:30:45 +0000 (18:30 +0000)]
* shorter translation for the iconbar by the_mgt
Wilfried Göesgens [Sat, 3 Oct 2009 17:57:14 +0000 (17:57 +0000)]
* fix setting of nonblocking IO
Wilfried Göesgens [Sat, 3 Oct 2009 17:49:54 +0000 (17:49 +0000)]
* fix mixed line/blob test
Wilfried Göesgens [Sat, 3 Oct 2009 16:57:24 +0000 (16:57 +0000)]
* rework stringbuffered reading on nonblocking files
* add tests for these Linebased and Blobbased plus combined tests
Wilfried Göesgens [Sat, 3 Oct 2009 16:15:28 +0000 (16:15 +0000)]
* put some new versions in here...
Wilfried Göesgens [Sat, 3 Oct 2009 11:45:22 +0000 (11:45 +0000)]
* start out a unit test for our buffered I/O; copy bind/accept/select stuff from webcit and strip it down to the bare minimum.
Wilfried Göesgens [Thu, 1 Oct 2009 21:54:18 +0000 (21:54 +0000)]
* be a bit more picky about string ends in StrBufExtract_token
* add first test for StrBufExtract_token
Wilfried Göesgens [Thu, 1 Oct 2009 21:12:28 +0000 (21:12 +0000)]
* if an attachment is empty don't send it to the server
Wilfried Göesgens [Thu, 1 Oct 2009 20:15:20 +0000 (20:15 +0000)]
* by Ano: make static compileable on solaris; the path needs to be allocated next to the buffer
* just define the flags (which solaris doesn't) if they aren't already there.
Wilfried Göesgens [Thu, 1 Oct 2009 19:29:08 +0000 (19:29 +0000)]
* shut down clean in case of not being able to bind.
Wilfried Göesgens [Thu, 1 Oct 2009 19:14:09 +0000 (19:14 +0000)]
* by ano: optimize makefile so we don't need to add every .po one by one.
Wilfried Göesgens [Thu, 1 Oct 2009 19:09:52 +0000 (19:09 +0000)]
* more work into direction of DAV templates
Wilfried Göesgens [Thu, 1 Oct 2009 19:06:58 +0000 (19:06 +0000)]
* dav_depth has to be initialized non-null, hacky so far.
Wilfried Göesgens [Thu, 1 Oct 2009 19:03:49 +0000 (19:03 +0000)]
* scan for XML files while reading a template; xml shares the same notation as our template hooks.
Wilfried Göesgens [Thu, 1 Oct 2009 19:01:39 +0000 (19:01 +0000)]
* more work on the new templated dav interface
Wilfried Göesgens [Thu, 1 Oct 2009 18:59:07 +0000 (18:59 +0000)]
* more work on dav and the new roomlist
Wilfried Göesgens [Wed, 30 Sep 2009 21:27:10 +0000 (21:27 +0000)]
* by ano; solaris doesn't have that member of dirent.