summaryrefslogtreecommitdiff
path: root/actions/remotesubscribe.php
AgeCommit message (Collapse)Author
2008-08-29CSRF protection in remotesubscribeZach Copley
darcs-hash:20080829054038-7b5ce-d0503a8eb7f89a9d2de4aadd4550f4342b943b09.gz
2008-08-23be a little more liberal for sites that accidentally put whitespace before ↵Evan Prodromou
the xml decl darcs-hash:20080824013803-84dde-9c5d9ce9c588cfb9baddae64366e3417f0a5fee9.gz
2008-07-24ensure that there's a session before redirecting the userEvan Prodromou
darcs-hash:20080724231833-84dde-965c41484ecf9b85b1979e8ac76314a6b0d951ee.gz
2008-07-13Colapse a lot of strings to make like easier for translators and more ↵Mike Cochrane
consisitant for users darcs-hash:20080713053748-533db-1cdb0cf3a9e4102eb139b74a7a9d4f97dadb20b8.gz
2008-07-09Merge conflicts and kill a whole lot of trailing whitespace on lines.Mike Cochrane
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
2008-07-08Convert _t() to _() for gettext.Mike Cochrane
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-08name of form on remote subscribe changedEvan Prodromou
darcs-hash:20080709005342-84dde-de6e2ce487c54ac53ea60757f216e4ba6379f196.gz
2008-07-08p.instructions -> div.instructionsEvan Prodromou
darcs-hash:20080709002242-84dde-1d7a2107079ab5d84592d280a19a253663f84b4f.gz
2008-07-02methodEvan Prodromou
darcs-hash:20080702131507-84dde-507a6380fcab66c1fbcbaad6d1399c8a2f210acf.gz
2008-07-01add documentation for OpenMicroBloggingEvan Prodromou
darcs-hash:20080701165717-84dde-084a3dfe99e58e57c4bb9cf5dcbd6b1ffeff00bb.gz
2008-07-01add instructions to remotesubscribeEvan Prodromou
darcs-hash:20080701163705-84dde-ee039de84a45080962671d15891f3f7f685a73a6.gz
2008-06-12broadcast profile and change subscription input idEvan Prodromou
darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz
2008-06-12add instructions to each form entry in formsEvan Prodromou
darcs-hash:20080612165201-84dde-1abc45a0b2fd24002bc6f3449e9fc521d4f02eac.gz
2008-06-10undo fancy URLs for omb endpointsEvan Prodromou
The OAuth library uses the $_GET and $_POST arrays for checking signatures on requests. So, we need to make sure that the client sees the same request parameters as the server (or callback). These don't have to be particularly readable URLs, anyways, since they're mostly "behind the scenes". darcs-hash:20080610123002-84dde-0bce005b77d053d22cfbba8e0743af1b49f151bb.gz
2008-06-06push yadis requirement into omb.phpEvan Prodromou
darcs-hash:20080606162659-84dde-fd7d5e030aa6aeebf61d0ea7b143aa7cafce7c45.gz
2008-06-06stash URLs for return and check all values for profilesEvan Prodromou
darcs-hash:20080606065027-84dde-a4ac215010b76ef296976fdf8a94473bd80c7ffa.gz
2008-06-06store URL rather than service in $omb for bounce backEvan Prodromou
darcs-hash:20080606063721-84dde-a843ac9ef5b48aa25d15125d4f0be3f0c2e6bfb1.gz
2008-06-03clear out lots of debugging code, add require to userauthorizationEvan Prodromou
darcs-hash:20080603115218-84dde-f333d4541e1112487a5da1e3ad71064513e2228f.gz
2008-06-03fix service discovery (I think)Evan Prodromou
darcs-hash:20080603114317-84dde-04fe2734003fa8023708b6dbda6243d9fd15e9d8.gz
2008-06-03typo in use of omb_service_uri()Evan Prodromou
darcs-hash:20080603110749-84dde-e278a8ccf17e68735f6d5699dee5bb0e7444ec29.gz
2008-06-03more debugging, don't reuse variableEvan Prodromou
darcs-hash:20080603104859-84dde-3ed15e61feb0cef1a1d0d2dc8723951ac41b00d8.gz
2008-06-02move debugging code for checking URIs of XRDEvan Prodromou
darcs-hash:20080602205921-84dde-26945a4fb66489120115576ce1cb57a46c532e92.gz
2008-06-02trying to find out why auth request is going to requesttokenEvan Prodromou
darcs-hash:20080602205534-84dde-fc7d85d50b758bc73721a6aaa87c16c41237d14f.gz
2008-06-02get rid of callback nonceEvan Prodromou
darcs-hash:20080602201707-84dde-400855b57fcf01e597494143cc78092351043b91.gz
2008-06-02fix consumer fetching, nonce makingEvan Prodromou
darcs-hash:20080602200645-84dde-c72e2e98a955bdd7768fa39da30660dfcffd0f15.gz
2008-06-02correct server error outputEvan Prodromou
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
2008-06-02add some debugging output to request token requestEvan Prodromou
darcs-hash:20080602192018-84dde-11f3092598ecd0d521e0243b5683eeb484180cbd.gz
2008-06-02minor corrections for OMB discoveryEvan Prodromou
darcs-hash:20080602185137-84dde-0a3db0833eaf9361447559a6366e3820ae1f0694.gz
2008-06-02debug infoEvan Prodromou
darcs-hash:20080602183911-84dde-9b5629cd97b894875b33888195eacffabb2ebe54.gz
2008-06-02fix assignment of omb stuffEvan Prodromou
darcs-hash:20080602183314-84dde-1f81609b2eb0d628c0e6dfe5fea7e21d799bdb3d.gz
2008-06-02make a nodes variable to pass nodes by referenceEvan Prodromou
darcs-hash:20080602182153-84dde-4e5ac1c02e8e7a408d251ffa0aa2bbff190d1631.gz
2008-06-02trim whitespaceEvan Prodromou
darcs-hash:20080602181857-84dde-846a8899f9db1b244c946c94373c60058b48774e.gz
2008-06-02services() returns an arrayEvan Prodromou
darcs-hash:20080602181759-84dde-97355611da9635d40f41eb9324731cfaa3c584e0.gz
2008-06-02add some debugging stuff for problems with remote subscribeEvan Prodromou
darcs-hash:20080602181254-84dde-ac7f4a362754a66facfb06a7b41f9160a0eb5caf.gz
2008-06-02use omb_service_filter() rather than omb_match_service()Evan Prodromou
darcs-hash:20080602175936-84dde-d21c8236ef5ffd788edc81d9d7a932b2eae0ec7d.gz
2008-06-02move service-matching callbacks to libraryEvan Prodromou
darcs-hash:20080602175725-84dde-c8b3abaedcb8667130da2a080a09630d91969b5c.gz
2008-06-02better handling of XRDS filesEvan Prodromou
Our generated XRDS files contain 3 XRD elements: one for OAuth, one for OMB, and one to point to the other two. Auth_Yadis only gives us the last one, so we have to use it to find the other two, and then extract service URLs from them. Kind of fragile code, probably won't hold up under complicated topologies, and won't work at all if the XRDs are in another XRDS container. I tried to use XRDS filtering to get the top-priority version of XRDs, services, and URIs, but Laconica's output doesn't use any of that stuff and I don't particularly want to test it. darcs-hash:20080602174249-84dde-b7ffdf7f21afb5b734def70530fc305689da471d.gz
2008-05-30parse the XRDS resultsEvan Prodromou
Apparently you have to parse the XRDS results from the discovery result object. Who knew? darcs-hash:20080530190446-84dde-52e5220aa5b76bc443ed20a1d0e07e509a5522f8.gz
2008-05-30check xrds objectEvan Prodromou
darcs-hash:20080530185343-84dde-90c12188656a29b0f34d8ffa27927f0f664fbd74.gz
2008-05-30debug message for when services returns nullEvan Prodromou
darcs-hash:20080530184925-84dde-5888985ad083a6cff49c2efe1679e1246735608a.gz
2008-05-30better debug messagesEvan Prodromou
darcs-hash:20080530184712-84dde-bcea123d79aff11585eacee8b85932543acfe072.gz
2008-05-30typo in checking for YADIS failureEvan Prodromou
darcs-hash:20080530184105-84dde-6d55e2bf320ea5b71d657edb756c4ea330bd438f.gz
2008-05-30add debug logging and do some from the remotesubscribe pageEvan Prodromou
darcs-hash:20080530182230-84dde-b9b6f515affcd245abb5e199de02a8891138ff2a.gz
2008-05-30check to see if XRDS discovery failedEvan Prodromou
darcs-hash:20080530181103-84dde-55eb7fce80ae6a11639ec9748c0d02f7f72cbc4d.gz
2008-05-30correct content-type on XRDS documentEvan Prodromou
darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz
2008-05-30add a print_r for the yadis doc returnedEvan Prodromou
darcs-hash:20080530175436-84dde-e55601349cf83ea504924ea3d3733cccf75838e4.gz
2008-05-30show footer for remotesubscribe formEvan Prodromou
darcs-hash:20080530175235-84dde-0eda227cdd5a8c3b5e20ba12dbedbfc9aba269f3.gz
2008-05-30check that services are null in yadis checkEvan Prodromou
darcs-hash:20080530175055-84dde-f0e231b4efc30a59d6111b749eb8340116be9f92.gz
2008-05-30remotesubscribe formEvan Prodromou
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-27client side of distributed subscription almost completeEvan Prodromou
darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz