summaryrefslogtreecommitdiffabout
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-12-04save a couple of ticks and make a bit more senseMichael Krelin1-3/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-02more robust discoveryMichael Krelin1-7/+11
if no service found in yadis document, but it is found in html, use html-discovered service. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-02first cut on XRI resolverMichael Krelin3-5/+308
This commit adds openid service resolver that does discovery using XRI (proxy only), Yadis protocol and html-based discovery. It uses expat as xml parsing engine, which makes it a bit more strict about html it receives, but I think failing to discover links in *severely* broken html is better than misdetecting links, hidden in comments or such. This is highly experimental code and needs more thoughts and testing. Thanks everyone pushing me towards this development. Namely Joseph, John, Gen. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28added a trivial expat wrapperMichael Krelin2-3/+100
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28keep keeping compilers happyMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28added header and progress callbacks to curl wrapperMichael Krelin1-0/+25
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28removed meaningless conditionMichael Krelin1-1/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-26encapsulated write functionality into curl_tMichael Krelin2-22/+40
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24more curl wrapper cosmeticsMichael Krelin3-62/+88
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24moved curl_t wrapper to util namespaceMichael Krelin1-20/+5
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24added URI normalization procedure to opkele::utilMichael Krelin1-0/+131
as specified in RFC3896, section 6 Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21keep compiler happy about shadowed variableMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21further calming compiler downMichael Krelin3-7/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21added some missing includes for gcc 4.3Michael Krelin3-0/+3
According to Marcus Rueckert gcc 4.3 wants these. Thanks, Marcus! Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21Fix exception constructionMichael Krelin1-9/+6
Thanks to Marcus Rueckert for pointing this out. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21keep compiler happy and check more error conditionsMichael Krelin1-3/+4
Thanks Marcus Rueckert for pointing this out Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21Keep compiler happyMichael Krelin1-2/+2
Thanks Marcus Rueckert for pointing this out. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-20added more precise source tree version detectionMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-10-31allow whitespace separated list in @rel when doing links discovery.Michael Krelin1-9/+31
Thanks to Joseph Smarr and Chris Messina for bringing it to my attention! Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-22save a couple of ticksMichael Krelin1-3/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-22got rid of all pcre wrappers altogetherMichael Krelin2-61/+67
although all claims against pcre++ make absolutely no sense. But for now I'll live with no wrappers at all. I may reconsider it when implementing more sophisticated discovery mechanisms for upcoming extensions. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-14robustness improvements in link descovery mechanismsMichael Krelin1-4/+4
accept stray spaces in link tags and inside relevant attribute values. Thanks, Gen, for pointing it out. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-11added support for crappy libpcre c++ bindingsMichael Krelin1-6/+47
Added optional support for crappy google's c++ bindings. The bindings are ridiculously googley, so I think, taking into account the amount of pcre involved, I'll soon drop requirement for any bindings and will use libpcre directly. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-08-09libopkele: prepared 0.3 release0.3Michael Krelin1-1/+1
- bumped package version - bumped library version - sumarized news
2007-08-09fix to previous commitMichael Krelin1-2/+0
2007-08-09associations robustness improvements and documentation updatesMichael Krelin1-0/+4
2007-08-09make canonicalize follow redirectsMichael Krelin1-1/+25
- renamed old consumer_t::canonicalize to consumer_t::normalize - made the real canonicalize virtual to allow caching layer
2007-06-24yet another signature bugfixMichael Krelin1-1/+1
2007-06-18reworked zero-padding machinery and added one more instance of zero-paddingMichael Krelin3-14/+20
2007-06-18Adhere to Postel's Law.Michael Krelin1-0/+16
That is, be liberal when parsing key/value parameters from remote. Along with configure switch to disable it.
2007-06-16adjusted LDADD in lib's Makefile.amMichael Krelin1-1/+1
2007-06-16remove catch-all nop handlerMichael Krelin1-8/+6
2007-01-15fixed a typoMichael Krelin1-1/+1
2007-01-15--disable-ssl-verify-{host,peer} options addedMichael Krelin1-0/+6
2007-01-12fixed curl exception constructorMichael Krelin1-1/+1
2007-01-12Be a bit more liberal in what we accept as key-value pairsMichael Krelin1-1/+2
2007-01-12eliminated mimetic dependency and made use of openssl base64 encoder insteadMichael Krelin6-55/+65
2007-01-11extension chainMichael Krelin2-1/+18
2007-01-11Simple Registration extensionMichael Krelin2-1/+128
2007-01-11a fixMichael Krelin1-1/+1
2007-01-11a fix for missing class qualifiersMichael Krelin1-2/+2
2007-01-11introduced extension hooks frameworkMichael Krelin4-13/+35
2007-01-09canonicalization bug - do not add '/' after '?', add it right after hostname ↵Michael Krelin1-2/+9
if needed.
2005-07-20moved util::canonicalize_url to consumer classMichael Krelin2-27/+27
2005-07-20invalidate invalid handles.Michael Krelin1-1/+3
2005-07-19still finalizing stuff with eliminating konforka requirementMichael Krelin1-0/+10
2005-07-19initial commit of libopkele - OpenID support libraryMichael Krelin9-0/+844