summaryrefslogtreecommitdiff
path: root/extlib
AgeCommit message (Collapse)Author
2010-03-31Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-30Ticket #1281: JID validation now more or less follows spec instead of ↵Brion Vibber
calling e-mail validator Basic splitting/validation code submitted via http://status.net/wiki/XMPP/JID_validation -- Copyright 2009 Patrick Georgi <patrick@georgi-clan.de> Licensed under ISC-L, which is compatible with everything else that keeps the copyright notice intact. Added PEAR Net_IDNA package to extlib to handle IDN normalization (also used by Validate's email verifier if present). * added test suite, supplemented my own test cases with JID validation and normalization test cases from libpurple * follows XMPP rules for validation of name part * fixes for normalization with non-ASCII names * will do domain checks if $config['email']['check_domain'] is on, checking for an XMPP-server SRV record or any lookup. (We don't actually need to ping those direct though.) * some more obscure stringprep validation rules aren't quite followed yet, but we err on the side of permissiveness. * we still don't actually let you save your address with a resource on it, as we strip resources when looking up users who've sent us presence or message updates. I would recommend saving the outgoing resource as a separate field if/when we add that..?
2010-03-23Move the bundled Net/LDAP2 library to the LdapCommon directoryCraig Andrews
2010-02-24Drop HTMLPurifier; we don't need its extra capabilities and we're already ↵Brion Vibber
using htmLawed which is lighter-weight.
2010-02-20Add HTMLPurifier to extlibEvan Prodromou
HTMLPurifier defangs arbitrary submitted HTML. We're using it in the OStatus plugin, but it may be valuable for other parts of the codebase (I think OEmbed might benefit, for example).
2010-02-15Temporary debug hack tracking down 'revoked accesstoken' issue with OMB postsBrion Vibber
2010-01-20Revert "DEBUG HACK: error checking for xml_parse in XMPPHP input stream"Evan Prodromou
This reverts commit 906450e2f5b78a1c6f2dec2e21b9b5841df210f4. 1) It was a quick debug hack 2) it doesn't meet the requirements for changing extlib/ libraries
2010-01-20DEBUG HACK: error checking for xml_parse in XMPPHP input streamBrion Vibber
2010-01-02add LGPLEvan Prodromou
2009-12-08include DB_DataObject 1.9.0Evan Prodromou
2009-11-16Cleanup for bug 1813: workaround sometimes-missing dl() in PHP 5.3 by ↵Brion Vibber
defining our own bogus function rather than attempting to patch upstream libs. This keeps our fix across upstream versions (or when loading upstream library from outside extlib) Note that fixes to OpenID libraries in commit fe9473ac7810d317e001a0fec19cbacaafc0c909 were lost in just such an update.
2009-11-16Bump to version 1.0.0Craig Andrews
2009-11-05Revert a OS X-specific change to PEAR MIME_Type that I accidentally commited.Zach Copley
2009-11-04Implement update avatar via API (/api/account/update_profile_image.format)Zach Copley
2009-11-04Added Net_LDAP2 to extlib, and add a skeleton LDAP pluginCraig Andrews
2009-11-02Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, ↵Brion Vibber
adding redirect handling and convenience functions. Caching support will be added in future work after unit tests have been added. * extlib: add PEAR HTTP_Request2 0.4.1 alpha * extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility * moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries * adapted GeonamesPlugin for new HTTPResponse interface Note some plugins haven't been fully tested yet.
2009-11-02Revert "Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 ↵Brion Vibber
package, adding redirect handling and convenience functions." Going to restructure a little more before finalizing this... This reverts commit fa37967858c3c29000797e510e5f98aca8ab558f.
2009-11-02Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, ↵Brion Vibber
adding redirect handling and convenience functions. Caching support will be added in future work after unit tests have been added. * extlib: add PEAR HTTP_Request2 0.4.1 alpha * extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility * moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries Note some plugins haven't been tested yet.
2009-10-31Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2009-10-31merge from testingEvan Prodromou
2009-10-31add a README warning devs from fracking around in extlib/Evan Prodromou
2009-10-30Bump to Auth_OpenID 2.1.3Craig Andrews
2009-10-21Gather all the Facebook stuff together in one placeZach Copley
2009-10-19Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2009-10-19Merge branch 'i18n-work' into i18n-0.9.xBrion Vibber
2009-10-16Fix a logic error in php-gettext's setlocale() check; if setlocale() failed ↵Brion Vibber
to return, we fall back to checking LANG environment variable. Now actually works when doing a setlocale *check* instead of a *set*. Submitting fix upstream, but as the package is currently unmaintained it may not make it in.
2009-10-15Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2009-10-15update DB_DataObject to 1.8.12Evan Prodromou
2009-10-13Commit upstream updates to php-gettext after the 1.0.7 release (but in 2006! :P)Brion Vibber
Fixes file magic checks on 64-bit systems. http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/17 http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/18 http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/19
2009-10-13Commit upstream updates to php-gettext after the 1.0.7 release (but in 2006! :P)Brion Vibber
Fixes file magic checks on 64-bit systems. http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/17 http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/18 http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/19
2009-09-23Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: actions/requesttoken.php classes/File.php install.php lib/noticeform.php
2009-09-15Revert "Several fixes to make RabbitMQ a player."Evan Prodromou
This reverts commit c04987018cd6c845c6da7a92d9857d8c651f7022.
2009-09-13Check that 'dl' function is available and usable before trying to call it ↵Brion Vibber
with error suppression; if it's disabled or unavailable we end up with mysterious failures during installation or loading of libraries. Fixed for StatusNet installer as well as some external libraries that should be fixed upstream if they haven't already been: * PEAR * Auth/OpenID * Auth/Yadis
2009-09-11Several fixes to make RabbitMQ a player.Marcel van der Boom
* extlib/Stomp.php -spaces for tabs (we're on PEAR, right?) - send: initialize the $properties parameter as array() instead of null this prevents unsetting $headers if $properties was not set (besides that, it's the proper way to initialize an array) - subscribe: insert FIXME's on ActiveMQ specifics - ack: make sure the content-length header is set *and* is zero. I have seen the header set to '3' there but could not find where it came from, this is at least safe. - disconnect: typo in $headers variable - readFrame: use fgets() instead of gets() so that RabbitQ, which is more protocol strict can also play * extlib/Stomp/Frame.php - spaces for tabs - add note on possibly protocol violating linefeed * extlib/Stomp/Message.php - space for tabs - add content-length header for message * lib/stompqueuemanager.php - use the notice for logging, not the frame
2009-09-11Silence the NOTICE log messages on port not defined, we deal withMarcel van der Boom
that properly, and most of the time it is indeed not define
2009-09-09Merge remote branch 'laconica/0.8.x' into 0.9.xCraig Andrews
Conflicts: lib/omb.php
2009-09-03Improve OAuth CGI compatibilityCraig Andrews
Fixes http://status.net/trac/ticket/1822 Reported upstream at http://code.google.com/p/oauth/issues/detail?id=118
2009-09-02Merge remote branch 'laconica/0.8.x' into 0.9.xCraig Andrews
Conflicts: lib/common.php lib/twitter.php
2009-09-01Allow whitespace before and after the = and require space before the href in ↵Craig Andrews
<link href="url"> html
2009-08-31Allow the oEmbed <link> tag to be split across linesCraig Andrews
2009-08-31Fix typo in StompCraig Andrews
Thanks Marcel|HSD
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
2009-08-21kill stupid Finder metadata file that made it into my checkin presumably due ↵Brion Vibber
to 'git add php-gettext' deciding to find all hidden files in the directory for me :P
2009-08-21Tweak to php-gettext stream reader; initialize local variable before ↵Brion Vibber
appending data to it to avoid triggering an E_NOTICE message.
2009-08-21Include php-gettext 1.0.7 into extlibs; loading it up if native gettext ↵Brion Vibber
extension is not present. This provides a pure PHP implementation of the gettext functions. This should help get laconica running on shared hosting environments where PHP's gettext module may not be installed. Also gets us one step closer to running on Mac OS X 10.5 with Apple's preinstalled PHP, which doesn't provide an easy way to add modules. Source: http://savannah.nongnu.org/projects/php-gettext Copyright (c) 2005 Steven Armstrong <sa at c-area dot ch> GPLv2 or later
2009-08-21Update libomb, fix some omb handling stuff, improve error handling.Adrian Lang
2009-08-10Replace own OMB stack with libomb.Adrian Lang
2009-07-27Sanitize html returned by oEmbed providers to protect laconica from XSS attacksCraig Andrews
2009-07-17Merge branch 'oembed-provider' into 0.8.xCraig Andrews
2009-07-16Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan Prodromou