Art Cancro [Wed, 4 Jan 2012 15:17:17 +0000 (10:17 -0500)]
extern int DisableGzip declaration moved to webcit.h
Art Cancro [Wed, 4 Jan 2012 14:50:19 +0000 (09:50 -0500)]
It's 2012.
Wilfried Goesgens [Wed, 4 Jan 2012 08:00:42 +0000 (09:00 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Wed, 4 Jan 2012 07:59:59 +0000 (08:59 +0100)]
SafeTimer: check the IPC struct before trying to send a kill to the server in the timer.
Art Cancro [Tue, 3 Jan 2012 23:13:57 +0000 (18:13 -0500)]
Created stub for REPORT method
Art Cancro [Tue, 3 Jan 2012 20:28:59 +0000 (15:28 -0500)]
silenced some needless compiler warnings
Wilfried Goesgens [Sat, 31 Dec 2011 12:57:02 +0000 (13:57 +0100)]
Add original To: instead of replacing it with the roomname if its non-empty.
Wilfried Goesgens [Fri, 30 Dec 2011 18:31:58 +0000 (19:31 +0100)]
Style cleanup
Wilfried Goesgens [Thu, 29 Dec 2011 18:02:19 +0000 (19:02 +0100)]
oops, add -lev again
Wilfried Goesgens [Thu, 29 Dec 2011 17:49:06 +0000 (18:49 +0100)]
use AC_TRY_COMPILE to determine the right libev version; AC_CHECK_LIB dosen't work.
Wilfried Goesgens [Thu, 29 Dec 2011 14:51:13 +0000 (15:51 +0100)]
FreeBSD Compatibility (as proposed by acardenas)
Wilfried Goesgens [Thu, 29 Dec 2011 12:02:48 +0000 (13:02 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 29 Dec 2011 11:53:36 +0000 (12:53 +0100)]
Cleanup of shutdown of event contexts
- centraly mark citcontexts connected to AsyncIO structs for deletion
- free AsyncIO members in FreeAsyncIOContents() and make shure its called all over the place
- sort stopping of contexts by type
- close our DB/event - add pipes on exit
- reshuffle RSS Aggregator; all parsing etc. to rss_atom_parser.c, all free/start/stop to serv_rssclient.c
- remove unused stuff now discarded from the rss header
- rename all instances of the rss aggregator struct to RSSAggr
Art Cancro [Tue, 27 Dec 2011 19:11:18 +0000 (14:11 -0500)]
zlib is now mandatory.
Art Cancro [Tue, 27 Dec 2011 18:58:16 +0000 (13:58 -0500)]
autoconf check for ev_cleanup_start() instead of a test program
Wilfried Goesgens [Sun, 25 Dec 2011 19:29:57 +0000 (20:29 +0100)]
Straightn http client generation
- split CtdlFreeMessage into CtdlFreeMessageContents for places where CtdlMessage isn't kept as independent memory
- move stuff about setting function pointers over to event_client.c
- move stuff from evcurl_init over to evcurl_handle_start that depend on write by the client
- call InitcURLIOStruct() way up than we did with evcurl_init ()
Wilfried Goesgens [Sun, 25 Dec 2011 16:45:57 +0000 (17:45 +0100)]
Refactoring: create central place to init AsyncIO
- set the CC in the Queue Runners, so InitIOStruct() can use that
- call InitIOStruct() to reduce duplicate code
- InitIOStruct(): a central place knowing whats needed to be inside of AsyncIO.
Wilfried Goesgens [Sun, 25 Dec 2011 15:57:29 +0000 (16:57 +0100)]
rename InitEventIO to EvConnectSock, since this suits better what this function does. Join it with ev_connect_sock
Wilfried Goesgens [Sun, 25 Dec 2011 15:51:17 +0000 (16:51 +0100)]
Move c-ares related data into its own Sub-Struct
Wilfried Goesgens [Fri, 23 Dec 2011 19:04:13 +0000 (20:04 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Fri, 23 Dec 2011 19:02:30 +0000 (20:02 +0100)]
Fix memleaks
- properly cleanup pop3 client hashes
- properly hook in the event cleanup stuff
- move all cleanup into serv_eventclient.c
Art Cancro [Thu, 22 Dec 2011 23:12:34 +0000 (18:12 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Thu, 22 Dec 2011 23:12:20 +0000 (18:12 -0500)]
Check for ares_parse_mx_reply() instead of ares_init() during configure; this ensures we have a new enough version
Wilfried Goesgens [Thu, 22 Dec 2011 20:17:50 +0000 (21:17 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 22 Dec 2011 20:11:49 +0000 (21:11 +0100)]
Add configure option to enable debugging in our c-ares wrapper
Wilfried Goesgens [Thu, 22 Dec 2011 20:07:17 +0000 (21:07 +0100)]
Implement Ares Timeouts & error messages
- if an error occurs in ares, put the message over into the IO->ErrMsg so the following logic can use that
- cleanup unused code
Wilfried Goesgens [Thu, 22 Dec 2011 19:22:26 +0000 (20:22 +0100)]
Log the different abort/retry scenarios
Art Cancro [Thu, 22 Dec 2011 17:35:16 +0000 (12:35 -0500)]
If no URL handler is found, try it as a room name. This will allow friendly URLs such as foo.example.com/MyRoomName
Wilfried Goesgens [Wed, 21 Dec 2011 22:18:33 +0000 (23:18 +0100)]
disable cURL redirects, it doesn't send us a deregister on close.
Wilfried Goesgens [Wed, 21 Dec 2011 22:15:53 +0000 (23:15 +0100)]
when failing the DDNS-Request and no more connection attempt is available, kill the context.
Art Cancro [Wed, 21 Dec 2011 21:17:42 +0000 (16:17 -0500)]
Began some of the PROPFIND mods needed for CalDAV. Mike Shaver is a self-righteous asshole.
Wilfried Goesgens [Wed, 21 Dec 2011 19:24:55 +0000 (20:24 +0100)]
Follow ctdllprintf change for debug printfs too.
Art Cancro [Wed, 21 Dec 2011 17:44:59 +0000 (12:44 -0500)]
configure script for WebCit now requires expat
Art Cancro [Tue, 20 Dec 2011 20:38:21 +0000 (15:38 -0500)]
Fixed an indentation
Art Cancro [Tue, 20 Dec 2011 20:30:26 +0000 (15:30 -0500)]
Found some more instances of the phrase 'free software' and changed them to 'open source' to piss off Richard Stallman
Art Cancro [Tue, 20 Dec 2011 20:29:24 +0000 (15:29 -0500)]
configure script check for libev version 4 or greater
Wilfried Goesgens [Tue, 20 Dec 2011 18:49:30 +0000 (19:49 +0100)]
add more information to the system contexts, so one can use RWHO to find out what they're actulay doing
Wilfried Goesgens [Tue, 20 Dec 2011 18:47:33 +0000 (19:47 +0100)]
improve logging output of event clients & opnional DNS lookup
- when compiling -DDEBUG_CARES a verbose trace of nameserver lookup is done
- the log-line 'C-ARES: %s %d|%d Sock %d port %hu' can be used to identify requests in tcpdump pcap files: tcpdump -r out.pcap -w /tmp/filtered.pcap port <%hu output>
- we log the session context, so outputs of rwho can be connected to loglines
Art Cancro [Thu, 15 Dec 2011 22:11:47 +0000 (17:11 -0500)]
Began tweaking out some calendar stuff in preparation for CalDAV. Mike Shaver is an arrogant, self-important asshole.
Art Cancro [Thu, 15 Dec 2011 17:53:21 +0000 (12:53 -0500)]
Added a shutdown command to ctdlsh
Art Cancro [Thu, 15 Dec 2011 20:38:39 +0000 (15:38 -0500)]
Offer the 'calendar-access' option when an OPTIONS command is performed on a calendar room. This officially opens development of CalDAV. Don't expect it to work yet. And I still think the people who pushed CalDAV instead of GroupDAV are completely wrong. Especially Mike Shaver, who is an arrogant asshole.
Art Cancro [Wed, 7 Dec 2011 18:04:37 +0000 (13:04 -0500)]
Detect screen dimensions _before_ attaching to the server.
Also moved check_screen_dims() to screen.c where it belongs.
Wilfried Goesgens [Sun, 11 Dec 2011 18:53:39 +0000 (19:53 +0100)]
this needs to be a pointer, not a constant. why doesn't GCC tell us?
Wilfried Goesgens [Sun, 11 Dec 2011 18:52:35 +0000 (19:52 +0100)]
re-enable waiting between mail resending attempts
Wilfried Goesgens [Tue, 6 Dec 2011 08:17:32 +0000 (09:17 +0100)]
webcit now is also 8.03
Art Cancro [Tue, 6 Dec 2011 05:25:37 +0000 (00:25 -0500)]
IMPORTANT FIX TO VCARD / GLOBAL ADDRESS BOOK ROOM. VERSION UPDATE TO 8.03. DEPLOY IMMEDIATELY.
Art Cancro [Tue, 6 Dec 2011 04:42:01 +0000 (23:42 -0500)]
added some temporary logging
Art Cancro [Tue, 6 Dec 2011 03:44:06 +0000 (22:44 -0500)]
setup.c only calls setlocale() et al if ENABLE_NLS is defined
Wilfried Goesgens [Mon, 5 Dec 2011 23:16:52 +0000 (00:16 +0100)]
Harden against Iceweasel bug: read until we find a newline.
Wilfried Goesgens [Mon, 5 Dec 2011 22:21:15 +0000 (23:21 +0100)]
fix typo
Wilfried Goesgens [Mon, 5 Dec 2011 22:21:08 +0000 (23:21 +0100)]
fix typo
Art Cancro [Fri, 2 Dec 2011 05:05:12 +0000 (00:05 -0500)]
If possible, Citadel username is derived from Attribute Exchange allowing one-click login.
Art Cancro [Thu, 1 Dec 2011 21:57:06 +0000 (16:57 -0500)]
Added the AOL/AIM logo button
Art Cancro [Thu, 1 Dec 2011 20:59:26 +0000 (15:59 -0500)]
Login icons for Google and Yahoo
Art Cancro [Thu, 1 Dec 2011 20:58:46 +0000 (15:58 -0500)]
add icons
Art Cancro [Thu, 1 Dec 2011 20:24:35 +0000 (15:24 -0500)]
Now we can log in with AOL too
Art Cancro [Thu, 1 Dec 2011 20:16:24 +0000 (15:16 -0500)]
Support Google and Yahoo login without the user needing to know that OpenID is in use.
Art Cancro [Thu, 1 Dec 2011 19:14:04 +0000 (14:14 -0500)]
handler fix to previous commit
Art Cancro [Thu, 1 Dec 2011 19:05:21 +0000 (14:05 -0500)]
Pressing enter/return in the openid url box submits the form
Art Cancro [Thu, 1 Dec 2011 18:05:30 +0000 (13:05 -0500)]
Remove the populate code entirely, we're not going to do this anymore
Art Cancro [Thu, 1 Dec 2011 17:44:04 +0000 (12:44 -0500)]
Temporarily disabling the simple registration code. We will rewrite using the attribute exchange data.
Art Cancro [Thu, 1 Dec 2011 17:09:42 +0000 (12:09 -0500)]
document where we got the schema from
Art Cancro [Thu, 1 Dec 2011 17:07:57 +0000 (12:07 -0500)]
Implementation of attribute exchange by trial and error
Art Cancro [Wed, 30 Nov 2011 21:51:30 +0000 (16:51 -0500)]
Validation of OpenID 2.0 authentication is now complete.
Art Cancro [Wed, 30 Nov 2011 18:02:21 +0000 (13:02 -0500)]
Ripped out the OpenID 1.1 signature validation code. OpenID 2.0 does this differently.
Art Cancro [Wed, 30 Nov 2011 17:59:26 +0000 (12:59 -0500)]
Ripped out the OpenID 1.1 signature validation code. OpenID 2.0 does this differently.
Art Cancro [Wed, 30 Nov 2011 16:56:55 +0000 (11:56 -0500)]
OpenID 2.0 authentication is working, but not validated
Art Cancro [Wed, 30 Nov 2011 03:56:38 +0000 (22:56 -0500)]
Normalize our Claimed ID if necessary
Art Cancro [Tue, 29 Nov 2011 16:56:35 +0000 (11:56 -0500)]
Fleshed out the openid 2.0 setup request. Some of it is correct.
Art Cancro [Tue, 29 Nov 2011 04:15:01 +0000 (23:15 -0500)]
Finished the code for XRDS/Yadis discovery of OP URL
Art Cancro [Tue, 29 Nov 2011 03:29:10 +0000 (22:29 -0500)]
More logging for Global Address Book saves, for debugging
Wilfried Goesgens [Mon, 28 Nov 2011 23:12:34 +0000 (00:12 +0100)]
resync with launchpad translations; add new translations
Art Cancro [Mon, 28 Nov 2011 23:09:00 +0000 (18:09 -0500)]
begin handling chardata in XRDS documents
Art Cancro [Mon, 28 Nov 2011 21:57:56 +0000 (16:57 -0500)]
Unified the code path for OP discovery.
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.
Art Cancro [Mon, 28 Nov 2011 21:27:52 +0000 (16:27 -0500)]
Test of branch
Art Cancro [Mon, 28 Nov 2011 20:45:12 +0000 (15:45 -0500)]
shuffle some code around -- no effect yet
Art Cancro [Mon, 28 Nov 2011 16:44:19 +0000 (11:44 -0500)]
Re-enabled OpenID 1.1 while I work on other things
Art Cancro [Mon, 28 Nov 2011 16:38:55 +0000 (11:38 -0500)]
New branch 'openid2' due to breaking the build from here
Art Cancro [Sun, 27 Nov 2011 22:54:32 +0000 (17:54 -0500)]
note documentation sections of openid 2.0 spec in comments
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.
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[]
Art Cancro [Fri, 25 Nov 2011 21:58:11 +0000 (16:58 -0500)]
Move some of this code around
Art Cancro [Fri, 25 Nov 2011 21:48:46 +0000 (16:48 -0500)]
Parse HTTP headers to reveal X-XRDS-Location
Art Cancro [Fri, 25 Nov 2011 21:38:35 +0000 (16:38 -0500)]
Cleanup of above
Art Cancro [Fri, 25 Nov 2011 21:19:08 +0000 (16:19 -0500)]
Yadis discovery now passes Accept: application/xrds+xml
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
Art Cancro [Fri, 25 Nov 2011 20:50:27 +0000 (15:50 -0500)]
Cleanup of previous commit
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.
Art Cancro [Fri, 25 Nov 2011 18:31:42 +0000 (13:31 -0500)]
Begin separating YADIS handling from XRDS parsing
Art Cancro [Fri, 25 Nov 2011 17:36:16 +0000 (12:36 -0500)]
Initialize 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
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.
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
Wilfried Goesgens [Thu, 24 Nov 2011 23:24:24 +0000 (00:24 +0100)]
fix typo
Wilfried Goesgens [Thu, 24 Nov 2011 22:26:33 +0000 (23:26 +0100)]
unempty files intended to be empty so OBS STFU
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.
Wilfried Goesgens [Thu, 24 Nov 2011 21:54:13 +0000 (22:54 +0100)]
exclude git specific files from the distribution tarballs
Art Cancro [Wed, 23 Nov 2011 18:09:27 +0000 (13:09 -0500)]
Removed unneeded newlines from syslog() calls in openid_rp.c
Art Cancro [Wed, 23 Nov 2011 17:20:21 +0000 (12:20 -0500)]
Removed the -t option as it does nothing anymore