Wilfried Göesgens [Sun, 25 Oct 2009 13:31:57 +0000 (13:31 +0000)]
* add outfunction to MSGS that just outputs ID|EUID
Wilfried Göesgens [Sun, 25 Oct 2009 11:07:25 +0000 (11:07 +0000)]
* by Feivel: check for day when highlighting weekday
Wilfried Göesgens [Sun, 25 Oct 2009 09:33:23 +0000 (09:33 +0000)]
* use macro for templateparam custom parameters
Dave West [Sun, 25 Oct 2009 01:07:14 +0000 (01:07 +0000)]
And a few more things comply with the coding style.
Dave West [Sun, 25 Oct 2009 00:26:06 +0000 (00:26 +0000)]
A few more API clean ups. Mainly revolving around user_ops.c
Dave West [Sat, 24 Oct 2009 23:30:34 +0000 (23:30 +0000)]
Fix that annoying warning about signedness.
Dave West [Sat, 24 Oct 2009 23:23:27 +0000 (23:23 +0000)]
Cleaning the API a bit more.
serv_autocompletion no longer needs to include anything but ctdl_module.h
Dave West [Sat, 24 Oct 2009 22:45:21 +0000 (22:45 +0000)]
Removed the artv_*.h files, they arent used any more.
Cleaned the API a bit, moved prototype of CtdlAccessCheck and the enum it uses
into ctdl_module.h which is where the API is defined.
Cleaned some unused includes from serv_autocompletion.c
Dave West [Sat, 24 Oct 2009 22:19:41 +0000 (22:19 +0000)]
quieten a few messages from configure when usin VPATH things.
Wilfried Göesgens [Sat, 24 Oct 2009 21:15:00 +0000 (21:15 +0000)]
* check for the PAM lib in every case, since if we detect the functions we need to link it
* check for user modules before referencing them in the VDIR build
Dave West [Sat, 24 Oct 2009 20:32:36 +0000 (20:32 +0000)]
Fix the VPATH build.
Dave West [Sat, 24 Oct 2009 16:52:18 +0000 (16:52 +0000)]
Fix a warning in serv_smtp.c
Dave West [Sat, 24 Oct 2009 16:36:58 +0000 (16:36 +0000)]
SVN lost this file so I re-added it.
Dave West [Sat, 24 Oct 2009 16:16:03 +0000 (16:16 +0000)]
Makefile now knows how to regenerate the svn_revision.c file
EVERYONE BOOTSTRAP!!!!!!
needed for previous alterations.
Dave West [Sat, 24 Oct 2009 15:47:01 +0000 (15:47 +0000)]
Moved the scripts that create svn_revision.c and modules_init.* into a scripts
directory to clean the base dir a bit more.
Dave West [Sat, 24 Oct 2009 15:35:16 +0000 (15:35 +0000)]
Moved some files around into sub dirs to clean up the base dir a litle.
Dave West [Sat, 24 Oct 2009 13:16:55 +0000 (13:16 +0000)]
Create some directories to hold the source files for the utility
programmes and the text client.
Basically I'm fed up trying to remember which files are for what tool.
Art Cancro [Sat, 24 Oct 2009 05:50:19 +0000 (05:50 +0000)]
* History template
Dave West [Fri, 23 Oct 2009 16:22:11 +0000 (16:22 +0000)]
Fix the Makefile.in to properly clean the user_modules tree.
marked aide_message as deprecated. Use CtdlAideMessage instead
Wilfried Göesgens [Fri, 23 Oct 2009 12:51:53 +0000 (12:51 +0000)]
rename wprintf to wc_printf; wchar.h also has a wprintf
Art Cancro [Fri, 23 Oct 2009 03:55:29 +0000 (03:55 +0000)]
* Set up links and templates for the history page, along with a nice set of toggles in the nav bar
Art Cancro [Fri, 23 Oct 2009 00:26:29 +0000 (00:26 +0000)]
* Stub functions for wiki history display
Wilfried Göesgens [Thu, 22 Oct 2009 23:04:31 +0000 (23:04 +0000)]
* add stdin for decoding tests
Wilfried Göesgens [Thu, 22 Oct 2009 18:21:35 +0000 (18:21 +0000)]
* new token to put in the actual filename (just works when debugging enabled)
* catch possible access to not set token parameter; off by one. usualy requester should check if the token is there in advance.
* check for presence of token in preferences before accessing it
Art Cancro [Wed, 21 Oct 2009 17:30:28 +0000 (17:30 +0000)]
* New command 'WIKI history|<pagename>' to list the revision history for a wiki page.
* History format has changed again -- delete any experimental wiki rooms you have created. The memo field now contains a UUID for each edit, which we will use for identifying revisions because the MIME part numbers will change with each edit. Also moved the timestamp into the second field position, followed by the username and nodename. No longer saving the user's Internet email address.
Art Cancro [Wed, 21 Oct 2009 16:42:59 +0000 (16:42 +0000)]
* New API function CtdlDoIHavePermissionToReadMessagesInThisRoom()
Art Cancro [Tue, 20 Oct 2009 21:48:55 +0000 (21:48 +0000)]
* New server command WIKI for subcommands relating to wiki page management
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.