citadel.git
12 years agoFinished the code for XRDS/Yadis discovery of OP URL
Art Cancro [Tue, 29 Nov 2011 04:15:01 +0000 (23:15 -0500)]
Finished the code for XRDS/Yadis discovery of OP URL

12 years agoMore logging for Global Address Book saves, for debugging
Art Cancro [Tue, 29 Nov 2011 03:29:10 +0000 (22:29 -0500)]
More logging for Global Address Book saves, for debugging

12 years agoresync with launchpad translations; add new translations
Wilfried Goesgens [Mon, 28 Nov 2011 23:12:34 +0000 (00:12 +0100)]
resync with launchpad translations; add new translations

12 years agobegin handling chardata in XRDS documents
Art Cancro [Mon, 28 Nov 2011 23:09:00 +0000 (18:09 -0500)]
begin handling chardata in XRDS documents

12 years agoUnified the code path for OP discovery.
Art Cancro [Mon, 28 Nov 2011 21:57:56 +0000 (16:57 -0500)]
Unified the code path for OP discovery.

12 years agoRemove fetch_http() and the OpenID 1.1 support that called it.
Art Cancro [Mon, 28 Nov 2011 21:45:44 +0000 (16:45 -0500)]
Remove fetch_http() and the OpenID 1.1 support that called it.
Note: OpenID 1.1 is now broken in this branch.
Users will not be able to authenticate using OpenID until 2.0 support is complete.
Do not merge yet.

12 years agoTest of branch
Art Cancro [Mon, 28 Nov 2011 21:27:52 +0000 (16:27 -0500)]
Test of branch

12 years agoshuffle some code around -- no effect yet
Art Cancro [Mon, 28 Nov 2011 20:45:12 +0000 (15:45 -0500)]
shuffle some code around -- no effect yet

12 years agoRe-enabled OpenID 1.1 while I work on other things
Art Cancro [Mon, 28 Nov 2011 16:44:19 +0000 (11:44 -0500)]
Re-enabled OpenID 1.1 while I work on other things

12 years agoNew branch 'openid2' due to breaking the build from here
Art Cancro [Mon, 28 Nov 2011 16:38:55 +0000 (11:38 -0500)]
New branch 'openid2' due to breaking the build from here

12 years agonote documentation sections of openid 2.0 spec in comments
Art Cancro [Sun, 27 Nov 2011 22:54:32 +0000 (17:54 -0500)]
note documentation sections of openid 2.0 spec in comments

12 years agoLots of progress on Yadis discovery today. We are now at a point where we are retrie...
Art Cancro [Fri, 25 Nov 2011 22:44:05 +0000 (17:44 -0500)]
Lots of progress on Yadis discovery today.  We are now at a point where we are retrieving and beginning to parse an XRDS document, regardless of whether the user supplied the name of a web site which supports discovery, or the direct URL of an XRDS document.  Protection against infinite recursion is in place as well.  Next time I will begin working on extracting some data from that XRDS document.

12 years agoIf the X-XRDS-Location header is found, put it into a StrBuf instead of a char[]
Art Cancro [Fri, 25 Nov 2011 22:31:00 +0000 (17:31 -0500)]
If the X-XRDS-Location header is found, put it into a StrBuf instead of a char[]

12 years agoMove some of this code around
Art Cancro [Fri, 25 Nov 2011 21:58:11 +0000 (16:58 -0500)]
Move some of this code around

12 years agoParse HTTP headers to reveal X-XRDS-Location
Art Cancro [Fri, 25 Nov 2011 21:48:46 +0000 (16:48 -0500)]
Parse HTTP headers to reveal X-XRDS-Location

12 years agoCleanup of above
Art Cancro [Fri, 25 Nov 2011 21:38:35 +0000 (16:38 -0500)]
Cleanup of above

12 years agoYadis discovery now passes Accept: application/xrds+xml
Art Cancro [Fri, 25 Nov 2011 21:19:08 +0000 (16:19 -0500)]
Yadis discovery now passes Accept: application/xrds+xml

12 years agoYadis discovery no longer uses fetch_http() because we will need to add custom header...
Art Cancro [Fri, 25 Nov 2011 21:08:17 +0000 (16:08 -0500)]
Yadis discovery no longer uses fetch_http() because we will need to add custom header handling etc

12 years agoCleanup of previous commit
Art Cancro [Fri, 25 Nov 2011 20:50:27 +0000 (15:50 -0500)]
Cleanup of previous commit

12 years agoctdl_openid_curl_easy_init() is a wrapper around curl_easy_init() that also performs...
Art Cancro [Fri, 25 Nov 2011 20:43:48 +0000 (15:43 -0500)]
ctdl_openid_curl_easy_init() is a wrapper around curl_easy_init() that also performs all of the settings common to our openID implementation.  This may also help us to move to an asynchronous wrapper later on.

12 years agoBegin separating YADIS handling from XRDS parsing
Art Cancro [Fri, 25 Nov 2011 18:31:42 +0000 (13:31 -0500)]
Begin separating YADIS handling from XRDS parsing

12 years agoInitialize XML parser when parsing an XRDS document
Art Cancro [Fri, 25 Nov 2011 17:36:16 +0000 (12:36 -0500)]
Initialize XML parser when parsing an XRDS document

12 years agoInitialize XML parser when parsing an XRDS document
Art Cancro [Fri, 25 Nov 2011 17:19:10 +0000 (12:19 -0500)]
Initialize XML parser when parsing an XRDS document

12 years agoBegan implementation of OpenID 2.0 relying party support.
Art Cancro [Fri, 25 Nov 2011 16:34:14 +0000 (11:34 -0500)]
Began implementation of OpenID 2.0 relying party support.
So far we have declared that we will ignore XRI, and attempt Yadis.
We fetch the XRDS document, but we are not yet doing anything with it.
So far, OpenID 1.1 functionality has been preserved and will still work.

12 years agoBegan replacing the FSF's street address with their
Art Cancro [Fri, 25 Nov 2011 15:31:52 +0000 (10:31 -0500)]
Began replacing the FSF's street address with their
web address in order to satisfy OBS complaints

12 years agofix typo
Wilfried Goesgens [Thu, 24 Nov 2011 23:24:24 +0000 (00:24 +0100)]
fix typo

12 years agounempty files intended to be empty so OBS STFU
Wilfried Goesgens [Thu, 24 Nov 2011 22:26:33 +0000 (23:26 +0100)]
unempty files intended to be empty so OBS STFU

12 years agofix warnings about the arabic translation.
Wilfried Goesgens [Thu, 24 Nov 2011 21:56:22 +0000 (22:56 +0100)]
fix warnings about the arabic translation.
thanks to stefan for this patch.

12 years agoexclude git specific files from the distribution tarballs
Wilfried Goesgens [Thu, 24 Nov 2011 21:54:13 +0000 (22:54 +0100)]
exclude git specific files from the distribution tarballs

12 years agoRemoved unneeded newlines from syslog() calls in openid_rp.c
Art Cancro [Wed, 23 Nov 2011 18:09:27 +0000 (13:09 -0500)]
Removed unneeded newlines from syslog() calls in openid_rp.c

12 years agoRemoved the -t option as it does nothing anymore
Art Cancro [Wed, 23 Nov 2011 17:20:21 +0000 (12:20 -0500)]
Removed the -t option as it does nothing anymore

12 years agoif0 an unused function
Art Cancro [Tue, 22 Nov 2011 20:44:52 +0000 (15:44 -0500)]
if0 an unused function

12 years agoRepaired other cases of auth mode failure. ICS calendar sync works better now.
Art Cancro [Tue, 22 Nov 2011 19:46:36 +0000 (14:46 -0500)]
Repaired other cases of auth mode failure.  ICS calendar sync works better now.

12 years agoMake a note where we need to clear the cookie
Art Cancro [Mon, 21 Nov 2011 20:20:24 +0000 (15:20 -0500)]
Make a note where we need to clear the cookie

12 years agoImportant fixes to session matching and reuse logic.
Art Cancro [Mon, 21 Nov 2011 20:17:43 +0000 (15:17 -0500)]
Important fixes to session matching and reuse logic.

12 years agosneaking up on that bug like a cat prowling in the jungle
Art Cancro [Thu, 17 Nov 2011 17:54:59 +0000 (12:54 -0500)]
sneaking up on that bug like a cat prowling in the jungle

12 years agoclosing in on the dav problem ... not quite there yet
Art Cancro [Mon, 14 Nov 2011 21:25:41 +0000 (16:25 -0500)]
closing in on the dav problem ... not quite there yet

12 years agoRemoved trailing newlines from syslog format screens, since they are not needed.
Art Cancro [Mon, 14 Nov 2011 19:24:02 +0000 (14:24 -0500)]
Removed trailing newlines from syslog format screens, since they are not needed.

12 years agoRichard Stallman is a communist.
Art Cancro [Mon, 14 Nov 2011 19:17:39 +0000 (14:17 -0500)]
Richard Stallman is a communist.

12 years agoIdle cosmetic cleanup while I hunt for a real problem
Art Cancro [Mon, 14 Nov 2011 19:16:15 +0000 (14:16 -0500)]
Idle cosmetic cleanup while I hunt for a real problem

12 years agocalendar.ics auth tweaks
Art Cancro [Mon, 14 Nov 2011 16:40:28 +0000 (11:40 -0500)]
calendar.ics auth tweaks

12 years agoRenamed all groupdav_() functions to dav_()
Art Cancro [Mon, 14 Nov 2011 16:05:21 +0000 (11:05 -0500)]
Renamed all groupdav_() functions to dav_()

12 years agoIMAP FETCH Command: IAPuts immediately outputs the content; we need to go via the...
Wilfried Goesgens [Sun, 6 Nov 2011 20:01:56 +0000 (21:01 +0100)]
IMAP FETCH Command: IAPuts immediately outputs the content; we need to go via the CC->redirect_buffer; else message content and imap grammer mixes.

12 years agoVersion number to 8.02 for upcoming release
Art Cancro [Fri, 11 Nov 2011 22:26:39 +0000 (17:26 -0500)]
Version number to 8.02 for upcoming release

12 years agoSmall fix to above
Art Cancro [Thu, 3 Nov 2011 02:40:51 +0000 (22:40 -0400)]
Small fix to above

12 years agoRenamed 'groupdav' to 'dav' in filenames
Art Cancro [Thu, 3 Nov 2011 02:37:11 +0000 (22:37 -0400)]
Renamed 'groupdav' to 'dav' in filenames

12 years agoexport the vars, so they make their way from rules into configure.
Wilfried Goesgens [Mon, 5 Dec 2011 21:39:44 +0000 (22:39 +0100)]
export the vars, so they make their way from rules into configure.

12 years agooutput a list with status numbers & terminate them with 000 as we do elsewhere.
Wilfried Goesgens [Mon, 5 Dec 2011 21:38:15 +0000 (22:38 +0100)]
output a list with status numbers & terminate them with 000 as we do elsewhere.

12 years agoMemleaksearch
Wilfried Goesgens [Sat, 3 Dec 2011 10:07:16 +0000 (11:07 +0100)]
Memleaksearch

  - malloc a length in every case by adding a bonus byte
  - check for whether we have a pointer or not.

12 years agodon't buffer underrun if string is empty
Wilfried Goesgens [Sat, 3 Dec 2011 10:02:30 +0000 (11:02 +0100)]
don't buffer underrun if string is empty

12 years agoadd changes from ubuntu launchpad
Wilfried Goesgens [Mon, 28 Nov 2011 23:18:29 +0000 (00:18 +0100)]
add changes from ubuntu launchpad

12 years agoremove the duplicate for 'allheaders'
Wilfried Goesgens [Sun, 27 Nov 2011 13:13:59 +0000 (14:13 +0100)]
remove the duplicate for 'allheaders'

  - once via 'setheaders'
  - once via calback fetched by them

this fixes a memory leak.

12 years agoproperly iterate over the linked list.
Wilfried Goesgens [Sun, 27 Nov 2011 11:27:20 +0000 (12:27 +0100)]
properly iterate over the linked list.

12 years agowork on a way to output the success / failure state for editing a user vcard to the...
Wilfried Goesgens [Tue, 22 Nov 2011 11:13:11 +0000 (12:13 +0100)]
work on a way to output the success / failure state for editing a user vcard to the user editing his personal vcard.

12 years agoadd email address to start command
Wilfried Goesgens [Tue, 22 Nov 2011 11:12:48 +0000 (12:12 +0100)]
add email address to start command

12 years agojust adjust the refcounts in one place.
Wilfried Goesgens [Tue, 22 Nov 2011 00:00:13 +0000 (01:00 +0100)]
just adjust the refcounts in one place.

12 years agobefore removing an entry from an hash, revalidate whether we actualy found it
Wilfried Goesgens [Mon, 21 Nov 2011 18:54:35 +0000 (19:54 +0100)]
before removing an entry from an hash, revalidate whether we actualy found it

12 years agofix removal from Queu
Wilfried Goesgens [Mon, 21 Nov 2011 18:41:29 +0000 (19:41 +0100)]
fix removal from Queu

  - we use a long value, use LKEY everywhere
  - if the lookup of the HashPos failed, don't delete the first entry
  - use the payload message ID as persistant identifier; the QueueMessageID is subject to be changed after each successfull delivery.
  - add some more logging

12 years agoexport our vars so configure can read them; this is to follow a debian change.
Wilfried Goesgens [Mon, 21 Nov 2011 18:38:02 +0000 (19:38 +0100)]
export our vars so configure can read them; this is to follow a debian change.

12 years agoFix lookup of of hashitem to hashpos: we have to use the indirect position not the...
Wilfried Goesgens [Mon, 21 Nov 2011 18:23:42 +0000 (19:23 +0100)]
Fix lookup of of hashitem to hashpos: we have to use the indirect position not the index of values array.

12 years agoalways serialize our queue item
Wilfried Goesgens [Sun, 20 Nov 2011 18:50:42 +0000 (19:50 +0100)]
always serialize our queue item

  - improve logging
  - after delivering / failing serialise our queue items to the mailq room, so we don't try again without reason.

12 years agoincrease array of error messages
Wilfried Goesgens [Thu, 17 Nov 2011 19:00:48 +0000 (20:00 +0100)]
increase array of error messages

12 years agodon't use a tempfile to store the config use a strbuf. libc will decide when to do...
Wilfried Goesgens [Mon, 14 Nov 2011 00:16:18 +0000 (01:16 +0100)]
don't use a tempfile to store the config use a strbuf. libc will decide when to do a tempfile.

12 years agoSmall fix to above
Art Cancro [Thu, 3 Nov 2011 02:40:51 +0000 (22:40 -0400)]
Small fix to above

12 years agoRenamed 'groupdav' to 'dav' in filenames
Art Cancro [Thu, 3 Nov 2011 02:37:11 +0000 (22:37 -0400)]
Renamed 'groupdav' to 'dav' in filenames

12 years agoVersion number to 8.02 for upcoming release
Art Cancro [Fri, 11 Nov 2011 22:26:39 +0000 (17:26 -0500)]
Version number to 8.02 for upcoming release

12 years agofix escaper of roomnames in sieve editor.
Wilfried Goesgens [Sat, 12 Nov 2011 15:47:06 +0000 (16:47 +0100)]
fix escaper of roomnames in sieve editor.

12 years agoadd shutdown handlers for libcurl wrapper
Wilfried Goesgens [Sun, 6 Nov 2011 20:05:46 +0000 (21:05 +0100)]
add shutdown handlers for libcurl wrapper

12 years agoIMAP FETCH Command: IAPuts immediately outputs the content; we need to go via the...
Wilfried Goesgens [Sun, 6 Nov 2011 20:01:56 +0000 (21:01 +0100)]
IMAP FETCH Command: IAPuts immediately outputs the content; we need to go via the CC->redirect_buffer; else message content and imap grammer mixes.

12 years agoMimeparser: skip all empty lines between mimeparts not just one.
Wilfried Goesgens [Sun, 6 Nov 2011 19:46:42 +0000 (20:46 +0100)]
Mimeparser: skip all empty lines between mimeparts not just one.

  - this makes us more robust.

12 years agoWork on evented RSS client & libev+libcurl integration
Wilfried Goesgens [Thu, 3 Nov 2011 23:23:27 +0000 (00:23 +0100)]
Work on evented RSS client & libev+libcurl integration

  - finalize simplification of when to delete what
  - add more logging

12 years agoWork on RSS Feed
Wilfried Goesgens [Wed, 2 Nov 2011 07:27:58 +0000 (08:27 +0100)]
Work on RSS Feed

  - when finalizing an http request, evaluate the reply of IO->SendDone() for what to do.
  - flip start/stop on cURL IO events *argl*
  - don't fork per message DB I/O contexts, but remember messages on parsing and save them sequential
    -> simpler & better controleable.

12 years agofix viewing of bio
Wilfried Goesgens [Sat, 29 Oct 2011 18:52:50 +0000 (20:52 +0200)]
fix viewing of bio

12 years agoremoved duplicate entry on old version of the sieve interface.
Wilfried Goesgens [Sat, 29 Oct 2011 18:45:10 +0000 (20:45 +0200)]
removed duplicate entry on old version of the sieve interface.

12 years agoRemoved the obsolete -t and -x options in webcit and their documentation
Art Cancro [Thu, 27 Oct 2011 03:14:31 +0000 (23:14 -0400)]
Removed the obsolete -t and -x options in webcit and their documentation

12 years agoLogging enhancement & SMTP client fixes
Wilfried Goesgens [Sun, 30 Oct 2011 11:40:56 +0000 (12:40 +0100)]
Logging enhancement & SMTP client fixes

  - generate & log out the event requestid
  - once we successfully delivered a message, we don't care about problems in the further flow.

12 years agofinalize RSS/curlev implementation
Wilfried Goesgens [Mon, 24 Oct 2011 22:19:58 +0000 (00:19 +0200)]
finalize RSS/curlev implementation

  - properly adjust the refcount to RSS Configs, so we delete it in time...
  - split in & out handlers
  - correctly detect 30x and stop/reinit/start the evio handlers

12 years agofree curl resources in the proper sequence.
Wilfried Goesgens [Sun, 23 Oct 2011 13:29:01 +0000 (15:29 +0200)]
free curl resources in the proper sequence.

12 years agoadd eSendFile/eReadfile in the switchs where they are still missing.
Wilfried Goesgens [Sat, 22 Oct 2011 17:55:32 +0000 (19:55 +0200)]
add eSendFile/eReadfile in the switchs where they are still missing.

12 years agowe need to create the rules hash regardles of the server reply; this fixes the broken...
Wilfried Goesgens [Sat, 22 Oct 2011 16:46:03 +0000 (18:46 +0200)]
we need to create the rules hash regardles of the server reply; this fixes the broken sieve rules editor.

12 years agodon't call curl_multi_add_handle() from outside of the event queue
Wilfried Goesgens [Thu, 20 Oct 2011 21:22:41 +0000 (23:22 +0200)]
don't call curl_multi_add_handle() from outside of the event queue

12 years agoinitialize 'tag' - value as valgrind tells us
Wilfried Goesgens [Wed, 19 Oct 2011 22:13:33 +0000 (00:13 +0200)]
initialize 'tag' - value as valgrind tells us

12 years agoMark our session as deleteable when we exit.
Wilfried Goesgens [Wed, 19 Oct 2011 06:53:10 +0000 (08:53 +0200)]
Mark our session as deleteable when we exit.

12 years agoremove debug output.
Wilfried Goesgens [Tue, 18 Oct 2011 19:54:48 +0000 (21:54 +0200)]
remove debug output.

12 years agoRemove double include; fcnctl seems to be around in several locations.
Wilfried Goesgens [Tue, 18 Oct 2011 19:46:12 +0000 (21:46 +0200)]
Remove double include; fcnctl seems to be around in several locations.

12 years agoups, more places to reset the time we ran last time.
Wilfried Goesgens [Tue, 18 Oct 2011 19:35:16 +0000 (21:35 +0200)]
ups, more places to reset the time we ran last time.

12 years agoJust try to delete the Pos, if we realy found the entry.
Wilfried Goesgens [Tue, 18 Oct 2011 19:30:10 +0000 (21:30 +0200)]
Just try to delete the Pos, if we realy found the entry.

12 years agoRe-add the blockage to just run once per quarter hour.
Wilfried Goesgens [Tue, 18 Oct 2011 19:23:17 +0000 (21:23 +0200)]
Re-add the blockage to just run once per quarter hour.

12 years agoDisable ldap referrals so Craptastic Directory does not break, thanks beto for the...
Art Cancro [Mon, 17 Oct 2011 02:30:27 +0000 (22:30 -0400)]
Disable ldap referrals so Craptastic Directory does not break, thanks beto for the patch

12 years agoInternal version number to 8.01 for imminent release
Art Cancro [Wed, 12 Oct 2011 20:52:55 +0000 (16:52 -0400)]
Internal version number to 8.01 for imminent release

12 years agoKILL THE ENTIRE IE9 DEVELOPMENT TEAM NOW
Art Cancro [Tue, 11 Oct 2011 21:48:19 +0000 (17:48 -0400)]
KILL THE ENTIRE IE9 DEVELOPMENT TEAM NOW

12 years agoDIE MICROSOFT DIE IE9 STILL EATING SHIFT AND CTRL
Art Cancro [Tue, 11 Oct 2011 21:31:51 +0000 (17:31 -0400)]
DIE MICROSOFT DIE IE9 STILL EATING SHIFT AND CTRL

12 years agoChanged the way shift/ctrl are observed by the message view and it STILL doesn't...
Art Cancro [Tue, 11 Oct 2011 21:18:59 +0000 (17:18 -0400)]
Changed the way shift/ctrl are observed by the message view and it STILL doesn't work with IE9.

12 years agoChanged the way shift/ctrl are observed by the message view and it STILL doesn't...
Art Cancro [Tue, 11 Oct 2011 20:47:49 +0000 (16:47 -0400)]
Changed the way shift/ctrl are observed by the message view and it STILL doesn't work with IE9.

12 years agounfucked the delete key in IE9
Art Cancro [Tue, 11 Oct 2011 20:32:43 +0000 (16:32 -0400)]
unfucked the delete key in IE9

12 years agoImplemented and documented a '-g' option for WebCit to enable a default landing page...
Art Cancro [Tue, 11 Oct 2011 02:17:24 +0000 (22:17 -0400)]
Implemented and documented a '-g' option for WebCit to enable a default landing page for guests.

12 years agoRemoved the arbitrary redirectors file.
Art Cancro [Tue, 11 Oct 2011 02:04:09 +0000 (22:04 -0400)]
Removed the arbitrary redirectors file.
This was a half-baked feature and I don't want it anymore.

12 years agoFix editing of ignet node configs; needed to specify the proper post action.
Wilfried Goesgens [Sat, 8 Oct 2011 18:28:31 +0000 (18:28 +0000)]
Fix editing of ignet node configs; needed to specify the proper post action.

12 years agoRemoved PIE.htc in places where it makes IE fuck up even more than it usually does...
Art Cancro [Wed, 5 Oct 2011 21:00:25 +0000 (17:00 -0400)]
Removed PIE.htc in places where it makes IE fuck up even more than it usually does.  Die, Microsoft, Die.

12 years agofixed the link to the summary page too
Art Cancro [Thu, 29 Sep 2011 17:50:00 +0000 (13:50 -0400)]
fixed the link to the summary page too