summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-27reverse order of activity parse test argumentsEvan Prodromou
2010-03-22Some initial media parsingZach Copley
- Activity now returns a list of activity objects - Processing of photo objects
2010-03-21Fix broken assertionZach Copley
2010-03-20test posterous author useEvan Prodromou
2010-03-19Parse RSS items as activitiesEvan Prodromou
First steps to parsing RSS items as activities. RSS feeds don't seem to have enough data to make good remote profiles, but this may work with some "hints".
2010-03-03Test a small user feed to ensure we're taking the activity actor from the ↵Zach Copley
subject
2010-02-25Fix test to account for new way avatars are stored in ActivityObjectZach Copley
2010-02-24Populate more profile information when doing a remote subscribeZach Copley
2010-02-23- Move ActivityParseTests to coreZach Copley
- Add test for Portable Contacts stuff
2010-02-20Add a library to mint tag URIsEvan Prodromou
We've been making pretty crummy tag: URIs for a while. We should continue to favor HTTP URIs, since it's nice to be able to discover things about an object you've shared the ID of. Where that's not possible, this makes nicer tag URIs.
2010-01-27Test script to update your status via OAuthZach Copley
2010-01-24Fixed some spelling mistakes in the READMEZach Copley
2010-01-24Some rough test scripts for poking at the OAuth systemZach Copley
2009-12-16Fix UserRightsTest unit testsBrion Vibber
2009-12-16PHP 5.3 closure-based implementation of curry(); old implementation used as ↵Brion Vibber
fallback for older PHP versions. Added unit tests to confirm they both work!
2009-11-17Renaming GeonamesPlugin::NAMESPACE to GeonamesPlugin::LOCATION_NS to avoid ↵Brion Vibber
parse errors; 'namespace' is a reserved keyword in PHP 5.3 and later.
2009-11-02fix the [] unit testsCraig Andrews
2009-10-24Merge branch '0.9.x' into locationEvan Prodromou
2009-10-23Fix an incorrectly passing URL test case and add two a related test case:Brion Vibber
URLs with paths followed by a double-quote character are incorrectly including the quote in the URL. The double-quote character is in fact not a legal URL char and must be URL-escaped; more importantly it just causes oddities when you quote a message ending in a URL -- such as when using the redent-button experimental feature.
2009-10-22beginning of a test for location servicesEvan Prodromou
2009-09-27Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2009-09-27user rightsEvan Prodromou
2009-09-27Fix some bugs in the URL linkification, and fixed the unit test.Craig Andrews
2009-09-27Fix URL linkification test cases for addition of 'title' attribution with ↵Brion Vibber
long URL in f3c8fccc After removing 103 false positives, this leaves 4 actually broken tests, showing two failure modes for mail links: * 'mail without mailto' formatting shortcut in common_linkify didn't get the 'title' attribute added with the other URLs * links including mailto: protocol are being incorrectly expanded to http: protocol in the long URL
2009-09-10Allow @ signs in the path, querystring, and fragment parts of URLsCraig Andrews
2009-09-09:: isn't a valid IPv6 address for our purposesCraig Andrews
2009-09-04Added additional characters as allowed in URLs.Craig Andrews
2009-08-31Allow :'s in the path, query string, and fragment parts of the url ↵Craig Andrews
(Mediawiki URLs often do this)
2009-08-28Add % and ~ as valid characters in the path, querystring, and fragment parts ↵Craig Andrews
of URLs
2009-08-27Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-26Merge commit 'mainline-write/0.8.x' into 0.8.xBrenda Wallace
2009-08-26renamed to plural, for consitencyBrenda Wallace
2009-08-25Allow ({['" to preceded #tagsCraig Andrews
2009-08-25Correct the hash tag testCraig Andrews
2009-08-25All tests pass except for those that require matching parens or bracketsCraig Andrews
2009-08-25Improved the URL tests, and improve the matcher so more tests are passed. ↵Craig Andrews
The remaining failing tests I believe are incorrect.
2009-08-25Merge commit 'mainline/0.8.x' into 0.8.xBrenda Wallace
2009-08-25beginning of hashtag testsBrenda Wallace
2009-08-24ftps protocol should be handled the same way as ftpCraig Andrews
Canon urls that have a protocol followed by a host (and no path) automatcally get a trailing slash by the canon function - make the unit test match that
2009-08-24change class to rel in unit tests for URL checkEvan Prodromou
2009-08-24Add unit test directory and first testEvan Prodromou