Dave West [Sun, 11 May 2008 20:52:19 +0000 (20:52 +0000)]
Now the POP3 server also handles messages that contain lines consisting of just a <dot>
Wilfried Göesgens [Sun, 11 May 2008 20:21:07 +0000 (20:21 +0000)]
* this doesn't look smart, but the CPP doesn't offer a better way: we need to have #else cases for all possible preconditions.
Art Cancro [Sun, 11 May 2008 05:07:27 +0000 (05:07 +0000)]
Added code to activate color selection in javascript.
Now we just need the back end code.
Art Cancro [Sun, 11 May 2008 04:52:22 +0000 (04:52 +0000)]
Color selector for sticky notes is now opaque instead
of translucent; it no longer gets covered up by the in-place editor when the mouse
moves into the div, and it disappears when the palette icon is clicked a second
time. Now all that's left to do is write the selector.
Wilfried Göesgens [Sat, 10 May 2008 09:55:43 +0000 (09:55 +0000)]
* use $(EXEEXT) all over the place.
Wilfried Göesgens [Sat, 10 May 2008 08:42:41 +0000 (08:42 +0000)]
* made GetCount NULL pointer aware since its safe to say that a non existant hash has 0 entries.
Art Cancro [Fri, 9 May 2008 04:13:20 +0000 (04:13 +0000)]
New and imported notes are now rendered in pastel
yellow instead of saturated yellow.
Wilfried Göesgens [Thu, 8 May 2008 22:27:39 +0000 (22:27 +0000)]
* removed path segment from the templates, as the expanded replacer already contains them.
Wilfried Göesgens [Thu, 8 May 2008 20:55:32 +0000 (20:55 +0000)]
* keys in subst aren't case insensitive anymore. Uppercase seems to be the way to go.
Art Cancro [Wed, 7 May 2008 21:34:13 +0000 (21:34 +0000)]
Palette pop up div type thing. Hmm
Art Cancro [Wed, 7 May 2008 19:21:50 +0000 (19:21 +0000)]
Add 16x16 paint palette icon for changing the color
of a sticky note. Not yet functional.
Wilfried Göesgens [Wed, 7 May 2008 06:56:27 +0000 (06:56 +0000)]
* require libcitadel 112
Wilfried Göesgens [Wed, 7 May 2008 06:55:17 +0000 (06:55 +0000)]
* hash now can return its number of members.
Wilfried Göesgens [Tue, 6 May 2008 22:19:43 +0000 (22:19 +0000)]
* now hold / sort the ical events in our hashlist.
* use a simplified hash so the start time is the primary key
Art Cancro [Tue, 6 May 2008 21:06:08 +0000 (21:06 +0000)]
ran create-pot.sh
Art Cancro [Tue, 6 May 2008 21:04:59 +0000 (21:04 +0000)]
Completed 'Add New Note'. The new sticky notes view
is now fully operational, although there are still a few
tweaks I still want to make (such as the ability to change a
note's color -- it will display any color it's told to but
there's not yet a button to change it.
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.