citadel.git
15 years ago* make QP encoding of senders optional, so we can flag it if we need it.
Wilfried Göesgens [Sat, 24 May 2008 14:37:02 +0000 (14:37 +0000)]
* make QP encoding of senders optional, so we can flag it if we need it.

15 years ago* depend on curl
Wilfried Göesgens [Sat, 24 May 2008 14:36:28 +0000 (14:36 +0000)]
* depend on curl

15 years ago* add include to libcitadel
Wilfried Göesgens [Sat, 24 May 2008 14:17:27 +0000 (14:17 +0000)]
* add include to libcitadel

15 years agoWe use test instead of [] since not all shells/systems support use of []
Dave West [Sat, 24 May 2008 13:49:47 +0000 (13:49 +0000)]
We use test instead of [] since not all shells/systems support use of []

15 years agoopenid hacks
Art Cancro [Sat, 24 May 2008 06:24:29 +0000 (06:24 +0000)]
openid hacks

15 years agoMore openid hacks
Art Cancro [Sat, 24 May 2008 06:03:54 +0000 (06:03 +0000)]
More openid hacks

15 years agolibcurl is teh r0x0r, it gives us access to the 'effective' URL
Art Cancro [Sat, 24 May 2008 04:14:51 +0000 (04:14 +0000)]
libcurl is teh r0x0r, it gives us access to the 'effective' URL
after normalization and redirects, which happens to be exactly what we need
in order to use the URL as a Claimed ID.  Implemented the code to do this.

15 years agoBegin caching OpenID data in the session; we'll need it later
Art Cancro [Fri, 23 May 2008 22:26:24 +0000 (22:26 +0000)]
Begin caching OpenID data in the session; we'll need it later

15 years agoIn order to circumvent AOL's broken OpenID server, and save
Art Cancro [Fri, 23 May 2008 19:42:42 +0000 (19:42 +0000)]
In order to circumvent AOL's broken OpenID server, and save
some time in the process, we're going to implement stateless mode
instead.  Began implementation...

15 years agoAOL's OpenID implementation sucks.
Art Cancro [Fri, 23 May 2008 03:02:09 +0000 (03:02 +0000)]
AOL's OpenID implementation sucks.

15 years ago* fix handling of post vars
Wilfried Göesgens [Thu, 22 May 2008 21:07:01 +0000 (21:07 +0000)]
* fix handling of post vars

15 years agohmmph. adjusted string lengths again
Art Cancro [Thu, 22 May 2008 20:08:59 +0000 (20:08 +0000)]
hmmph.  adjusted string lengths again

15 years agoMade the assoc_handle field bigger, but we may still have a problem
Art Cancro [Thu, 22 May 2008 19:30:15 +0000 (19:30 +0000)]
Made the assoc_handle field bigger, but we may still have a problem

15 years ago* add more CSS'es to the top
Wilfried Göesgens [Thu, 22 May 2008 19:28:28 +0000 (19:28 +0000)]
* add more CSS'es to the top

15 years ago* add expires: header with 2 days in future, as YSlow sugests
Wilfried Göesgens [Thu, 22 May 2008 19:25:28 +0000 (19:25 +0000)]
* add expires: header with 2 days in future, as YSlow sugests

15 years ago* wait for the right socket, just to be shure.
Wilfried Göesgens [Thu, 22 May 2008 18:00:58 +0000 (18:00 +0000)]
* wait for the right socket, just to be shure.

15 years agoMore work on OpenID 1.1 support
Art Cancro [Thu, 22 May 2008 16:45:07 +0000 (16:45 +0000)]
More work on OpenID 1.1 support

15 years agoFetch assoc_handles and use them in checkid_setup requests
Art Cancro [Thu, 22 May 2008 14:36:37 +0000 (14:36 +0000)]
Fetch assoc_handles and use them in checkid_setup requests

15 years agomore openid 1.1 hacks
Art Cancro [Thu, 22 May 2008 02:58:14 +0000 (02:58 +0000)]
more openid 1.1 hacks

15 years ago* More work on OpenID 1.1 Relying Party support
Art Cancro [Wed, 21 May 2008 21:43:26 +0000 (21:43 +0000)]
* More work on OpenID 1.1 Relying Party support
* Changed the startup order to put the citadel.control lock check happen *before* the databases
  are opened.  Otherwise it can corrupt the databases before the lock check shuts it down.

15 years ago* Commented out the 'PrintFlat' and 'PrintFile' functions
Art Cancro [Wed, 21 May 2008 17:24:41 +0000 (17:24 +0000)]
* Commented out the 'PrintFlat' and 'PrintFile' functions
  because they are only used in debug tests that are also commented
  out.  Silences a compiler warning.
* Removed parse_url() from libcitadel.  No longer necessary because
  libcurl handles all this stuff for us now.

15 years ago* pre-loading the nifty corners CSS makes the jumping of the boxes while rendering...
Wilfried Göesgens [Tue, 20 May 2008 22:00:34 +0000 (22:00 +0000)]
* pre-loading the nifty corners CSS makes the jumping of the boxes while rendering go away.

15 years ago* remove hacked kerboros flag
Wilfried Göesgens [Tue, 20 May 2008 17:55:46 +0000 (17:55 +0000)]
* remove hacked kerboros flag

15 years ago* fixed wrong select() call
Wilfried Göesgens [Tue, 20 May 2008 06:49:02 +0000 (06:49 +0000)]
* fixed wrong select() call

15 years ago* give the server some time to start up before sending the welcome mail.
Wilfried Göesgens [Mon, 19 May 2008 23:01:39 +0000 (23:01 +0000)]
* give the server some time to start up before sending the welcome mail.

15 years agoBegan writing associate request
Art Cancro [Mon, 19 May 2008 22:00:09 +0000 (22:00 +0000)]
Began writing associate request

15 years agoInitial support for Simple Registration Extension
Art Cancro [Mon, 19 May 2008 21:08:56 +0000 (21:08 +0000)]
Initial support for Simple Registration Extension

15 years agoMoved all the OpenID Relying Party code that I've written so far
Art Cancro [Mon, 19 May 2008 03:33:03 +0000 (03:33 +0000)]
Moved all the OpenID Relying Party code that I've written so far
into the Citadel server, with only glue code in WebCit.  This
will allow Relying Party support to be implemented without requiring
a highly trusted webcit client, and it also eliminates the need to
link libcurl into webcit.

15 years agoRSS client now uses libcurl instead of the crappy built-in
Art Cancro [Mon, 19 May 2008 01:36:58 +0000 (01:36 +0000)]
RSS client now uses libcurl instead of the crappy built-in
HTTP client I wrote for this purpose.  Not only is it more robust,
but it should be able to handle HTTPS as well.  Please note that
because of this change, libcurl is now a dependency.

15 years ago* made hash implementation NULL pointer safe.
Wilfried Göesgens [Sun, 18 May 2008 19:29:18 +0000 (19:29 +0000)]
* made hash implementation NULL pointer safe.

15 years agoSome more tinkering with OpenID.
Art Cancro [Sun, 18 May 2008 04:42:58 +0000 (04:42 +0000)]
Some more tinkering with OpenID.
Also changed webcit.c so that if DEBUG_URLSTRINGS is defined,
all urlstrings will be displayed for each transaction, eliminating
the need to uncomment that code.

15 years agomore tinkering with openid
Art Cancro [Sat, 17 May 2008 03:01:42 +0000 (03:01 +0000)]
more tinkering with openid

15 years agoSort address book popup forward, not reverse
Art Cancro [Sat, 17 May 2008 02:47:29 +0000 (02:47 +0000)]
Sort address book popup forward, not reverse

15 years agoAdded code to report Aide messages if there appears to be something
Dave West [Fri, 16 May 2008 23:22:22 +0000 (23:22 +0000)]
Added code to report Aide messages if there appears to be something
wrong with IGNet configuration.
It now reports connection attempts from unknown nodes or bad passwords.

It also attempts to validate the nodename of the node it is attempting
to connect to by checking the greeting message. In this case the
connection will proceed with an Aide warning message if they differ.
Situations such as this WILL result in duplication of messages but at
least we now get a warning.

15 years agoSieve will now only process messages that are newer than its script.
Dave West [Fri, 16 May 2008 22:07:46 +0000 (22:07 +0000)]
Sieve will now only process messages that are newer than its script.
This fixes bug #297

To impliment this I created a new API call CtdlGetCurrentMessageNumber()
this returns the message number currently in use IE the last one
allocated. This is good enough for Sieve in this case and probably good
enough for other things too.

15 years agomore openid setup
Art Cancro [Fri, 16 May 2008 19:17:46 +0000 (19:17 +0000)]
more openid setup

15 years agoRemoved the on_exit from sendcommand.c
Dave West [Fri, 16 May 2008 19:05:30 +0000 (19:05 +0000)]
Removed the on_exit from sendcommand.c
Why didn't I do it properly the first time 8-)

15 years agoNow we have all the data we need to compose the redirect.
Art Cancro [Fri, 16 May 2008 18:33:19 +0000 (18:33 +0000)]
Now we have all the data we need to compose the redirect.

15 years agofinished code to extract link rel tags
Art Cancro [Fri, 16 May 2008 17:27:11 +0000 (17:27 +0000)]
finished code to extract link rel tags

15 years agosome html parsing for link rel tags
Art Cancro [Fri, 16 May 2008 15:00:02 +0000 (15:00 +0000)]
some html parsing for link rel tags

15 years agoFirst try curl and wget, fall back to mini handler if both fail
Art Cancro [Fri, 16 May 2008 14:38:02 +0000 (14:38 +0000)]
First try curl and wget, fall back to mini handler if both fail

15 years agoPrefix 'citmail:' to all error messages generated by citmail
Art Cancro [Fri, 16 May 2008 13:22:44 +0000 (13:22 +0000)]
Prefix 'citmail:' to all error messages generated by citmail

15 years agoFinished the mini http fetcher
Art Cancro [Thu, 15 May 2008 20:49:31 +0000 (20:49 +0000)]
Finished the mini http fetcher

15 years agoAdded a mini http fetcher into webcit
Art Cancro [Thu, 15 May 2008 17:00:35 +0000 (17:00 +0000)]
Added a mini http fetcher into webcit

15 years agoGet the login screen ready for OpenID support
Art Cancro [Thu, 15 May 2008 04:27:24 +0000 (04:27 +0000)]
Get the login screen ready for OpenID support

15 years agoWhen printing a message, the page title is now the user's
Art Cancro [Thu, 15 May 2008 02:54:23 +0000 (02:54 +0000)]
When printing a message, the page title is now the user's
display name instead of 'Printable view'.  This seems to be the
standard practice, presumably to designate the owner of a print
job when using a shared printer.

15 years agoMore logging for split horizon algorithm.
Art Cancro [Wed, 14 May 2008 18:44:04 +0000 (18:44 +0000)]
More logging for split horizon algorithm.
DAVEW PLEASE INSTALL THIS AND HOLD ON TO YOUR LOGS

15 years agoMinor cleanup of comments
Art Cancro [Wed, 14 May 2008 14:59:22 +0000 (14:59 +0000)]
Minor cleanup of comments

15 years ago* ignore content-length headers, since they tend to lie at us
Wilfried Göesgens [Tue, 13 May 2008 22:15:33 +0000 (22:15 +0000)]
* ignore content-length headers, since they tend to lie at us

15 years ago* utf8-strcut the sender too...
Wilfried Göesgens [Tue, 13 May 2008 22:11:36 +0000 (22:11 +0000)]
* utf8-strcut the sender too...

15 years agoInternet Exploder fixes
Art Cancro [Mon, 12 May 2008 17:24:21 +0000 (17:24 +0000)]
Internet Exploder fixes

15 years agoInternet Exploder fixes
Art Cancro [Mon, 12 May 2008 17:21:34 +0000 (17:21 +0000)]
Internet Exploder fixes

15 years agoInternet Exploder fixes
Art Cancro [Mon, 12 May 2008 17:20:26 +0000 (17:20 +0000)]
Internet Exploder fixes

15 years agoMoved parse_url() into libcitadel; I will need it for
Art Cancro [Mon, 12 May 2008 14:50:00 +0000 (14:50 +0000)]
Moved parse_url() into libcitadel; I will need it for
something outside of rssclient soon.

16 years ago* Eliminated the sometimes-wonky resize behavior by changing
Art Cancro [Mon, 12 May 2008 02:36:05 +0000 (02:36 +0000)]
* Eliminated the sometimes-wonky resize behavior by changing
  the resize handle from an <img> tag to a CSS background-image attribute.
* Override the InPlaceEditor hover events in order to eliminate
  that garish highlight effect.

16 years ago* Sticky note color selection is now feature complete,
Art Cancro [Mon, 12 May 2008 02:08:07 +0000 (02:08 +0000)]
* Sticky note color selection is now feature complete,
  including saving the new color to the server.
* Moved the resize handle to be flush with the corner where it belongs.

16 years agoNow the POP3 server also handles messages that contain lines consisting of just a...
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>

16 years ago* this doesn't look smart, but the CPP doesn't offer a better way: we need to have...
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.

16 years agoAdded code to activate color selection in javascript.
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.

16 years agoColor selector for sticky notes is now opaque instead
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.

16 years ago* use $(EXEEXT) all over the place.
Wilfried Göesgens [Sat, 10 May 2008 09:55:43 +0000 (09:55 +0000)]
* use $(EXEEXT) all over the place.

16 years ago* made GetCount NULL pointer aware since its safe to say that a non existant hash...
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.

16 years agoNew and imported notes are now rendered in pastel
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.

16 years ago* removed path segment from the templates, as the expanded replacer already contains...
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.

16 years ago* keys in subst aren't case insensitive anymore. Uppercase seems to be the way to go.
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.

16 years agoPalette pop up div type thing. Hmm
Art Cancro [Wed, 7 May 2008 21:34:13 +0000 (21:34 +0000)]
Palette pop up div type thing.   Hmm

16 years agoAdd 16x16 paint palette icon for changing the color
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.

16 years ago* require libcitadel 112
Wilfried Göesgens [Wed, 7 May 2008 06:56:27 +0000 (06:56 +0000)]
* require libcitadel 112

16 years ago* hash now can return its number of members.
Wilfried Göesgens [Wed, 7 May 2008 06:55:17 +0000 (06:55 +0000)]
* hash now can return its number of members.

16 years ago* now hold / sort the ical events in our hashlist.
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

16 years agoran create-pot.sh
Art Cancro [Tue, 6 May 2008 21:06:08 +0000 (21:06 +0000)]
ran create-pot.sh

16 years agoCompleted 'Add New Note'. The new sticky notes view
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.

16 years ago* The 'delete' button on sticky notes now works.
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.

16 years ago* sanitize cookie stuff
Wilfried Göesgens [Mon, 5 May 2008 21:23:10 +0000 (21:23 +0000)]
* sanitize cookie stuff

16 years ago* applied matts datepicker patches
Wilfried Göesgens [Sun, 4 May 2008 20:37:10 +0000 (20:37 +0000)]
* applied matts datepicker patches

16 years ago* files view now returns to default sort order if pressed a third time.
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.

16 years agoConvert legacy format sticky notes to vNote format
Art Cancro [Sun, 4 May 2008 04:51:24 +0000 (04:51 +0000)]
Convert legacy format sticky notes to vNote format

16 years ago* revert the getutc stuff, since we now have a _tz version in libical with the new...
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.

16 years ago* revert the getutc stuff, since we now have a _tz version in libical with the new...
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.

16 years ago* migrated SUBST stuff to hash
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

16 years ago* init time with NOW in our default timezone.
Wilfried Göesgens [Thu, 1 May 2008 23:31:04 +0000 (23:31 +0000)]
* init time with NOW in our default timezone.

16 years ago* if built with non-threaded locale, we need to sanitize the getenv("LANG")
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")

16 years ago* added matts date picker widget
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

16 years ago* sanitize input
Wilfried Göesgens [Wed, 30 Apr 2008 14:59:57 +0000 (14:59 +0000)]
* sanitize input
* use sorting properly.

16 years ago* updated listsorts to have '0' as sort order in all places that used SortByHashKey
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

16 years ago* added more usefull print hash function, so one can now use the list to render UI...
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

16 years agoMore sticky-notes work. Click-to-edit now
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.

16 years agoSticky notes can now be moved and resized by dragging
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.

16 years agoImplemented the ajax call for updating notes.
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.

16 years agoIdentify sticky-notes divs by vnote uid, not by msgnum.
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.

16 years agoFixed a syntax error in the previous commit.
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.

16 years agoImplemented drag and drop for the new sticky notes view.
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.

16 years agoModified the SMTP client to escape lines within the message that consist
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!!!

16 years agoAdded (non-functional) drag bars and delete buttons
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

16 years ago* some more work on the DSPAM module; unfinished; disabled.
Wilfried Göesgens [Sat, 26 Apr 2008 14:11:49 +0000 (14:11 +0000)]
* some more work on the DSPAM module; unfinished; disabled.

16 years ago* default to UTC while comparing
Wilfried Göesgens [Sat, 26 Apr 2008 13:37:22 +0000 (13:37 +0000)]
* default to UTC while comparing

16 years ago* fix memleak in calendar_view.c
Wilfried Göesgens [Sat, 26 Apr 2008 13:08:58 +0000 (13:08 +0000)]
* fix memleak in calendar_view.c
* init our handler hash

16 years ago* bump version to 110 NOW for real.
Wilfried Göesgens [Sat, 26 Apr 2008 09:37:02 +0000 (09:37 +0000)]
* bump version to 110 NOW for real.

16 years ago* migrated to new hash create signature
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

16 years ago* bugfix in the hash implementation; expanding the hash wasn't done properly
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.