Art Cancro [Tue, 6 May 2008 16:44:46 +0000 (16:44 +0000)]
* The 'delete' button on sticky notes now works.
* Removed old-style notes interface. The new one is now required.
Wilfried Göesgens [Mon, 5 May 2008 21:23:10 +0000 (21:23 +0000)]
* sanitize cookie stuff
Wilfried Göesgens [Sun, 4 May 2008 20:37:10 +0000 (20:37 +0000)]
* applied matts datepicker patches
Wilfried Göesgens [Sun, 4 May 2008 20:31:17 +0000 (20:31 +0000)]
* files view now returns to default sort order if pressed a third time.
Art Cancro [Sun, 4 May 2008 04:51:24 +0000 (04:51 +0000)]
Convert legacy format sticky notes to vNote format
Wilfried Göesgens [Sat, 3 May 2008 08:54:34 +0000 (08:54 +0000)]
* revert the getutc stuff, since we now have a _tz version in libical with the new syntax plus the classic one.
Wilfried Göesgens [Sat, 3 May 2008 08:54:16 +0000 (08:54 +0000)]
* revert the getutc stuff, since we now have a _tz version in libical with the new syntax plus the classic one.
Wilfried Göesgens [Fri, 2 May 2008 12:10:49 +0000 (12:10 +0000)]
* migrated SUBST stuff to hash
* created cheaper variations of svprintf and applied them where appropriate
Wilfried Göesgens [Thu, 1 May 2008 23:31:04 +0000 (23:31 +0000)]
* init time with NOW in our default timezone.
Wilfried Göesgens [Thu, 1 May 2008 22:38:37 +0000 (22:38 +0000)]
* if built with non-threaded locale, we need to sanitize the getenv("LANG")
Wilfried Göesgens [Thu, 1 May 2008 21:32:45 +0000 (21:32 +0000)]
* added matts date picker widget
* added matts vcard inline picture display
* added matts html fixups
* corrected BSTR to bstr
* removed unneded modifications (blanks)
* corrected coding style
Wilfried Göesgens [Wed, 30 Apr 2008 14:59:57 +0000 (14:59 +0000)]
* sanitize input
* use sorting properly.
Wilfried Göesgens [Wed, 30 Apr 2008 14:23:48 +0000 (14:23 +0000)]
* updated listsorts to have '0' as sort order in all places that used SortByHashKey
* made files sortable by name/size/type/comment
Wilfried Göesgens [Wed, 30 Apr 2008 14:21:31 +0000 (14:21 +0000)]
* added more usefull print hash function, so one can now use the list to render UI stuff
* added sortorder to SortByHashKey so one can switch upward/downward sorting
Art Cancro [Wed, 30 Apr 2008 03:45:15 +0000 (03:45 +0000)]
More sticky-notes work. Click-to-edit now
invokes the InPlaceEditor, which saves the updated text
to the server. All strings are localized.
Art Cancro [Tue, 29 Apr 2008 21:56:11 +0000 (21:56 +0000)]
Sticky notes can now be moved and resized by dragging
and their size/position are now updated on the server.
Art Cancro [Tue, 29 Apr 2008 16:46:41 +0000 (16:46 +0000)]
Implemented the ajax call for updating notes.
So far it just returns without actually talking to the server.
Art Cancro [Tue, 29 Apr 2008 14:51:50 +0000 (14:51 +0000)]
Identify sticky-notes divs by vnote uid, not by msgnum.
This will make the ajax calls easier to implement.
Art Cancro [Mon, 28 Apr 2008 21:48:10 +0000 (21:48 +0000)]
Fixed a syntax error in the previous commit.
Also added socket error checking.
Art Cancro [Mon, 28 Apr 2008 20:32:09 +0000 (20:32 +0000)]
Implemented drag and drop for the new sticky notes view.
CSS and JavaScript are done; all that is left is to add the
ajax call to send the new coordinates to the server.
Dave West [Sun, 27 Apr 2008 11:53:31 +0000 (11:53 +0000)]
Modified the SMTP client to escape lines within the message that consist
of a single dot as per RFC 821
I'm unable to build citserver because it needs libical to be updated and
I can't build that either 8-(
So I've committed this for peer review. ITS NOT TESTED AT ALL!!!
Art Cancro [Sun, 27 Apr 2008 03:54:48 +0000 (03:54 +0000)]
Added (non-functional) drag bars and delete buttons
to the new sticky notes
Wilfried Göesgens [Sat, 26 Apr 2008 14:11:49 +0000 (14:11 +0000)]
* some more work on the DSPAM module; unfinished; disabled.
Wilfried Göesgens [Sat, 26 Apr 2008 13:37:22 +0000 (13:37 +0000)]
* default to UTC while comparing
Wilfried Göesgens [Sat, 26 Apr 2008 13:08:58 +0000 (13:08 +0000)]
* fix memleak in calendar_view.c
* init our handler hash
Wilfried Göesgens [Sat, 26 Apr 2008 09:37:02 +0000 (09:37 +0000)]
* bump version to 110 NOW for real.
Wilfried Göesgens [Sat, 26 Apr 2008 09:01:37 +0000 (09:01 +0000)]
* migrated to new hash create signature
* bumped min libcitadel version to 1.10
* first starts for hashing url-handlers
Wilfried Göesgens [Sat, 26 Apr 2008 09:00:15 +0000 (09:00 +0000)]
* bugfix in the hash implementation; expanding the hash wasn't done properly
* added possibility to have list with duplicate primary keys
* added ability to specify custom "hashing" algorithm
* bumped version number to 1.10 since the newhash function has a different signature now.
Wilfried Göesgens [Fri, 25 Apr 2008 20:59:26 +0000 (20:59 +0000)]
* fix URL termination bug
Art Cancro [Thu, 24 Apr 2008 21:01:28 +0000 (21:01 +0000)]
Began work on vNote based display for sticky notes
Art Cancro [Thu, 24 Apr 2008 19:43:31 +0000 (19:43 +0000)]
Fix '@AUTOCONF@ command not found' build problem
Wilfried Göesgens [Wed, 23 Apr 2008 06:25:21 +0000 (06:25 +0000)]
* busting the prototype package isn't that easy as its swapping places.
Wilfried Göesgens [Wed, 23 Apr 2008 06:24:10 +0000 (06:24 +0000)]
* added brazillian portuguese update
Wilfried Göesgens [Tue, 22 Apr 2008 17:18:18 +0000 (17:18 +0000)]
* THIS IS 7.35
Wilfried Göesgens [Tue, 22 Apr 2008 17:16:01 +0000 (17:16 +0000)]
* THIS IS 7.35
Wilfried Göesgens [Tue, 22 Apr 2008 17:13:16 +0000 (17:13 +0000)]
* THIS IS 7.35 / 1.09
Wilfried Göesgens [Tue, 22 Apr 2008 11:20:57 +0000 (11:20 +0000)]
* move utility binaries to /usr/lib/citadel-server/ so we don't get name clashes with other software.
Wilfried Göesgens [Mon, 21 Apr 2008 21:42:12 +0000 (21:42 +0000)]
* added Portoguese Brazillian translation done by Marco Goncalves
Wilfried Göesgens [Mon, 21 Apr 2008 19:23:27 +0000 (19:23 +0000)]
* more carefully render urls
Art Cancro [Mon, 21 Apr 2008 15:39:38 +0000 (15:39 +0000)]
Minor formatting cleanup
Wilfried Göesgens [Sun, 20 Apr 2008 20:55:17 +0000 (20:55 +0000)]
* regulary shut down libcitadel, so we don't leak the icondir hash on shutdown.
Wilfried Göesgens [Sun, 20 Apr 2008 20:29:15 +0000 (20:29 +0000)]
* init vars before using them.
Wilfried Göesgens [Sun, 20 Apr 2008 19:23:25 +0000 (19:23 +0000)]
* fixed several compiler warnings.
Wilfried Göesgens [Sun, 20 Apr 2008 11:44:04 +0000 (11:44 +0000)]
* removed possibly dangerous code
Wilfried Göesgens [Sun, 20 Apr 2008 11:38:05 +0000 (11:38 +0000)]
* implemented realloc
* just encode emailaddresses that actually contain umlauts
Art Cancro [Sun, 20 Apr 2008 03:41:45 +0000 (03:41 +0000)]
vnote.c is now (for the most part) complete.
However, I will not be touching WebCit until after the next release.
Art Cancro [Sun, 20 Apr 2008 03:09:19 +0000 (03:09 +0000)]
more vnote work
Art Cancro [Sat, 19 Apr 2008 04:28:45 +0000 (04:28 +0000)]
vnote_serialize() is now (probably) complete.
Art Cancro [Sat, 19 Apr 2008 04:04:10 +0000 (04:04 +0000)]
propset on vnote.c
Art Cancro [Fri, 18 Apr 2008 15:28:43 +0000 (15:28 +0000)]
vnote serialization
Art Cancro [Fri, 18 Apr 2008 03:02:12 +0000 (03:02 +0000)]
In the text client, <Q>uote is now reply<Q>uoted
Art Cancro [Fri, 18 Apr 2008 02:36:34 +0000 (02:36 +0000)]
more vnote hacking
Wilfried Göesgens [Thu, 17 Apr 2008 21:52:46 +0000 (21:52 +0000)]
* QP encode Realnames if they are non-ascii
Wilfried Göesgens [Thu, 17 Apr 2008 21:50:49 +0000 (21:50 +0000)]
Art Cancro [Thu, 17 Apr 2008 21:00:21 +0000 (21:00 +0000)]
more vnote skeleton code
Art Cancro [Thu, 17 Apr 2008 17:04:42 +0000 (17:04 +0000)]
Added a skeleton 'vnote.c' module to libcitadel
Art Cancro [Thu, 17 Apr 2008 14:32:29 +0000 (14:32 +0000)]
When assembling lists of thread references, if the list
exceeds 10 messages or 900 bytes, eliminate the second reference
in the list. See http://cr.yp.to/immhf/thread.html for more info.
Art Cancro [Wed, 16 Apr 2008 15:34:52 +0000 (15:34 +0000)]
Doh! Thread references read left-to-right, not right-to-left.
Wilfried Göesgens [Mon, 14 Apr 2008 21:06:07 +0000 (21:06 +0000)]
* just modify /etc/services in batch mode if we are told so by the environment variable ALTER_ETC_SERVICES
* make our debs do this.
Wilfried Göesgens [Mon, 14 Apr 2008 21:01:18 +0000 (21:01 +0000)]
* don't deliver stress in the debs.
Wilfried Göesgens [Mon, 14 Apr 2008 20:44:39 +0000 (20:44 +0000)]
* commented out debug url parsing
Wilfried Göesgens [Mon, 14 Apr 2008 14:57:49 +0000 (14:57 +0000)]
* use the debian prototypejs package
Wilfried Göesgens [Mon, 14 Apr 2008 09:41:38 +0000 (09:41 +0000)]
* remove stress binary from the install target, since its just a developer tool.
Art Cancro [Fri, 11 Apr 2008 14:26:13 +0000 (14:26 +0000)]
Version number to 7.35 in preparation for an upcoming release.
Art Cancro [Thu, 10 Apr 2008 18:48:21 +0000 (18:48 +0000)]
Added the words 'SMTP client:' to some of the log messages
in serv_smtp.c so I can grep for them.
Art Cancro [Mon, 7 Apr 2008 04:01:04 +0000 (04:01 +0000)]
Removed the 'Gateway Domain' function from the entire Citadel system. This function has long since been superseded by the Global Address Book. Absolutely no one is using it. In fact, as far as I can tell, its implementation does not even exist anymore -- I couldn't find the back end code to remove. So instead of confusing site administrators with a superfluous configuration option, we are removing it.
Dave West [Sun, 6 Apr 2008 21:15:40 +0000 (21:15 +0000)]
A minor fix to some cosmetics in ARTV.
This does NOT, repeat NOT affect the operation of ARTV at all.
Dave West [Sun, 6 Apr 2008 21:14:34 +0000 (21:14 +0000)]
Give the user contained within masterCC a name.
Its not a real user but it is stored in the DB and does contain info
like how many messages the system has created.
We call it Citadel.
This make "citadel" an illegal user name.
Now this user has a name we need to make sure the auto purger doesn't
purge it and make sure no one can login by that name.
Dave West [Sat, 5 Apr 2008 21:40:46 +0000 (21:40 +0000)]
Added some CtdlThreadCheckStop() calls to exit rbl checks and stop the
SMTP negotiation if we are shutting down.
Also added a bit of code to log the time it takes to do an RBL check. If
it takes a long time maybe we can cache the results in a hash with
something like a 30 second life span.
Dave West [Sat, 5 Apr 2008 19:51:53 +0000 (19:51 +0000)]
Quieten the user 0 message to the Aide room.
User 0 is created as a side effect of the system posting messages from
the masterCC. This side effect has the benefit of recording the number
of messages the system has generated.
Should we make use of this somewhere?
The actual code that creates the user 0 is in CtdlSubmitMsg() and reads
as
/* Bump this user's messages posted counter. */
CtdlLogPrintf(CTDL_DEBUG, "Updating user\n");
lgetuser(&CCC->user, CCC->curr_user);
CCC->user.posted = CCC->user.posted + 1;
lputuser(&CCC->user);
Its around msgbase.c:2624
Wilfried Göesgens [Sat, 5 Apr 2008 18:23:11 +0000 (18:23 +0000)]
* fixed some hickups in the urlencode function.
Art Cancro [Fri, 4 Apr 2008 16:51:23 +0000 (16:51 +0000)]
Reduced the output of the SMTP HELP command.
Now it just points to http://www.ietf.org/rfc/rfc2821.txt
Wilfried Göesgens [Fri, 4 Apr 2008 14:02:28 +0000 (14:02 +0000)]
* we should send the buffer we printed the command into to the server.
Wilfried Göesgens [Fri, 4 Apr 2008 10:44:32 +0000 (10:44 +0000)]
* we have now several bstrs:
* bstr: simply gives the string
* xbstr: gives string and its length
* lbstr: gives the long value of the item
* ibstr: gives the int value of the item
* havebstr: whether this bstr and if it wasn't set empty
* yesbstr: returns true if the value equals "yes"
there also is a CAPITAL version of each, for dynamicaly calculated keys.
* replaced all atol(bstr()), strcmp(bstr(), "yes") IsEmptyStr(bstr()) by the above.
Wilfried Göesgens [Fri, 4 Apr 2008 10:39:25 +0000 (10:39 +0000)]
* as its rather noisy, the dezonify logging is #ifdef DBG_ICAL now.
Art Cancro [Fri, 4 Apr 2008 03:52:55 +0000 (03:52 +0000)]
Fixed a memory allocation problem
Art Cancro [Fri, 4 Apr 2008 02:37:42 +0000 (02:37 +0000)]
* Restore the ability of addurls() to delimit on '?' as well as '&'
* Handle thread references when posting message replies.
Art Cancro [Thu, 3 Apr 2008 21:54:42 +0000 (21:54 +0000)]
webcit - generate Reply/ReplyAll/ReplyQuoted URL's that contain thread references
Art Cancro [Thu, 3 Apr 2008 20:37:33 +0000 (20:37 +0000)]
Keep track of thread references, in the server and in the text client. This required amending the ENT0 protocol command.
Wilfried Göesgens [Thu, 3 Apr 2008 19:43:00 +0000 (19:43 +0000)]
* due to demand of debian, we rename the webcit binary from webserver to webcit.
* for migration make install wil create a symlink.
Wilfried Göesgens [Thu, 3 Apr 2008 18:51:32 +0000 (18:51 +0000)]
* xbstr now will give the length of the value to its key, so working with it is more easy.
Wilfried Göesgens [Wed, 2 Apr 2008 23:45:08 +0000 (23:45 +0000)]
* moved url argument list to hash.
* carry length of parameter value in the hash for later use
* added Bstr, BSTR and bstr. bstr mustn't be used for dynamic keys, use BSTR instead.
* use BSTR where apropriate.
* fixed crash condition with message posting Mrs. Foobar found out
Wilfried Göesgens [Wed, 2 Apr 2008 23:41:47 +0000 (23:41 +0000)]
* add convenience macro for constant hashkeys, as the compiler can do sizeof instead of the program doing strlen.
Wilfried Göesgens [Tue, 1 Apr 2008 22:35:35 +0000 (22:35 +0000)]
* rather trunkate data then letting escape chars through.
Wilfried Göesgens [Tue, 1 Apr 2008 22:02:58 +0000 (22:02 +0000)]
* rewrote urlstring tokenizer
* fixed crash condition in de-escaper
Wilfried Göesgens [Mon, 31 Mar 2008 21:48:52 +0000 (21:48 +0000)]
* removed nonfree component.
Art Cancro [Mon, 31 Mar 2008 21:43:41 +0000 (21:43 +0000)]
ICAL 'putics' should NOT do server-generated invitations.
Wilfried Göesgens [Mon, 31 Mar 2008 21:28:54 +0000 (21:28 +0000)]
* we need to find ?Q? or ?B? before searching for the end. else we might catch the wrong location and struggle.
Art Cancro [Mon, 31 Mar 2008 20:59:09 +0000 (20:59 +0000)]
Refrain from transmitting untagged IMAP responses when the
command in progress is FETCH, STORE, or SEARCH. RFC3501 requires this.
Fixes bug #355.
Wilfried Göesgens [Sun, 30 Mar 2008 23:33:28 +0000 (23:33 +0000)]
* lengthen the subject buffer so it can take utf8 glyphs
Wilfried Göesgens [Sun, 30 Mar 2008 23:18:01 +0000 (23:18 +0000)]
ENABLE_NLS must wrap HAVE_USELOCALE, else configure will make us produce compile errors in certain situations.
Dave West [Sun, 30 Mar 2008 02:13:56 +0000 (02:13 +0000)]
Fix the artv export bug that crept in while I was fixing artv import.
Dave West [Sat, 29 Mar 2008 14:19:05 +0000 (14:19 +0000)]
No code changes, just cleaned some warnings and some comments.
Dave West [Sat, 29 Mar 2008 01:15:32 +0000 (01:15 +0000)]
Fix up ARTV import so that imports actually work.
Fixed various client_getln loops so that they don't go endless if the
client disappears.
ARTV import now makes use of the internal base64 decoder so it should be
quicker.
ARTV import now sends lots of dots to the client. This is to kick the
watchdog timer in sendcommand so that it doesn't expire while we process
a big message.
Changes in threads.* are in preperation for cancelling threads and using
signals to interrupt threads. They are #ifdef excluded.
Dave West [Fri, 28 Mar 2008 15:09:19 +0000 (15:09 +0000)]
Importing REALLY BIG messages can also cause the watchdog in sendcommand
to expire. So now we walk the dots for each line of a message as well.
Dave West [Fri, 28 Mar 2008 13:03:37 +0000 (13:03 +0000)]
Fix the artv import.
It couldn't handle the blank lines between sections and now it does.
Also added code to send dots during the room import to keep the user
informed that something is happening if we are importing a BIG room.
This has the added advantage of kicking the watchdog in sendcommand so
it doesn't time out unexpectedly.
Also added code to exit the artv early if we are shutting down.
Dave West [Fri, 28 Mar 2008 12:59:05 +0000 (12:59 +0000)]
On my slow system a watch dog time out of 5 seconds is not always
enough.
I added a command line arg to increase it if needed.
Watchdog defaults to 5 seconds but you can use -w to extend it if you
need to.
Art Cancro [Thu, 27 Mar 2008 02:55:57 +0000 (02:55 +0000)]
Fixed a potential infinite-loop condition in previous commit
Art Cancro [Wed, 26 Mar 2008 21:15:32 +0000 (21:15 +0000)]
Handle RFC822 'References:' field and Citadel W (Wefewences) field
Art Cancro [Wed, 26 Mar 2008 04:30:19 +0000 (04:30 +0000)]
Thread log was too verbose when writing to disk