summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-10-20Fix option settings on oauth_post_notice.phpBrion Vibber
2010-10-20Fix --oauth-token-secret on oauth_verify_creds.phpBrion Vibber
2010-10-18Update URLDetectionTest.php for rel="nofollow external". There are still ↵Brion Vibber
some broken tests due to bad quote splitting, which is unrelated.
2010-10-12Default to ssl in oauth tests examples configZach Copley
2010-10-07Update OAuth test script READMEZach Copley
2010-10-07Rename oauth.ini example to oauth.ini.sampleZach Copley
2010-10-07Rename OAuth status update scriptZach Copley
2010-10-07Some fixupsZach Copley
2010-10-07Renamed the OAuth verify credentials test scriptZach Copley
2010-10-07Some fixups to this the OAuth verify credentials test scriptZach Copley
2010-10-07Rename OAuth token credential fetching scriptZach Copley
2010-10-07Update access token fetching test script to 1.0aZach Copley
2010-10-07Make the verifier pin display a little nicerZach Copley
2010-10-07More OAuthy name for temp credentials fetching test scriptZach Copley
2010-10-07Change temp credential test script to use POST instead of GET (moreZach Copley
useful for testing in general)
2010-10-06Some more cleanupZach Copley
2010-10-06- Update getrequesttoken test script to use 1.0aZach Copley
- Some cleanup
2010-10-06A bit more work on the request token fetching test scriptZach Copley
2010-10-06Somewhat improved test script for fetching an OAuth request tokenZach Copley
2010-08-03update tests to include 'mentioned' linksEvan Prodromou
2010-08-03add actor info to testsEvan Prodromou
2010-08-03more tests for activity generationEvan Prodromou
2010-08-03add some more tests for replies and group postsEvan Prodromou
2010-08-03initial unit tests for activity generationEvan Prodromou
2010-06-28Enhanced upload file type detection. If given an original filename, we'll ↵Brion Vibber
attempt to detect type from the extension if we were unable to make a definitive match from content. Generic octet-stream, zip, and MS Office type are explicitly singled out for re-checks, which fixes OpenOffice and MS Office documents to come up with the proper types when misdetected. File extensions can also be added to the upload type whitelist; they'll be normalized to types for the actual comparison, so only known extensions will work.
2010-06-28Test cases for MediaFile::getUploadedFileType() with OpenOffice, MS Office, ↵Brion Vibber
and PDF sample files (as saved from OpenOffice 3.2) Only 3 of 16 cases pass on my dev box with default config. Ouch!
2010-04-29Merge branch 'master' into testingBrion Vibber
2010-04-23Test cases and fixes for Atom and RSS content decoding.Brion Vibber
Fix extraction of Atom <content type="text"> and <content type="html">; we were failing to escape plaintext source data to HTML, and doing an extraneous double-deescape on HTML source resulting in breakage of notices containing text that looks like HTML. Only <content type="xhtml"> was working correctly previously. Fixes for RSS2 content processing: we were failing to load <content:encoded> at all due to using wrong element name, and were applying an extraneous de-escape for <description> rather than the escaping that is required to turn plaintext into HTML. (Per spec, <description> must be plaintext.)
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