Evan Prodromou
a14833284b
typo in use of omb_service_uri()
...
darcs-hash:20080603110749-84dde-e278a8ccf17e68735f6d5699dee5bb0e7444ec29.gz
2008-06-03 07:07:49 -04:00
Evan Prodromou
65736dc402
more debugging, don't reuse variable
...
darcs-hash:20080603104859-84dde-3ed15e61feb0cef1a1d0d2dc8723951ac41b00d8.gz
2008-06-03 06:48:59 -04:00
Evan Prodromou
8b9d675b30
move debugging code for checking URIs of XRD
...
darcs-hash:20080602205921-84dde-26945a4fb66489120115576ce1cb57a46c532e92.gz
2008-06-02 16:59:21 -04:00
Evan Prodromou
7e82a6fcb1
trying to find out why auth request is going to requesttoken
...
darcs-hash:20080602205534-84dde-fc7d85d50b758bc73721a6aaa87c16c41237d14f.gz
2008-06-02 16:55:34 -04:00
Evan Prodromou
e103c8b6ea
get rid of callback nonce
...
darcs-hash:20080602201707-84dde-400855b57fcf01e597494143cc78092351043b91.gz
2008-06-02 16:17:07 -04:00
Evan Prodromou
7b24d101c0
fix consumer fetching, nonce making
...
darcs-hash:20080602200645-84dde-c72e2e98a955bdd7768fa39da30660dfcffd0f15.gz
2008-06-02 16:06:45 -04:00
Evan Prodromou
1de5328c49
correct server error output
...
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
2008-06-02 15:38:51 -04:00
Evan Prodromou
68242de9ef
add some debugging output to request token request
...
darcs-hash:20080602192018-84dde-11f3092598ecd0d521e0243b5683eeb484180cbd.gz
2008-06-02 15:20:18 -04:00
Evan Prodromou
0f374fb944
minor corrections for OMB discovery
...
darcs-hash:20080602185137-84dde-0a3db0833eaf9361447559a6366e3820ae1f0694.gz
2008-06-02 14:51:37 -04:00
Evan Prodromou
823b79366f
debug info
...
darcs-hash:20080602183911-84dde-9b5629cd97b894875b33888195eacffabb2ebe54.gz
2008-06-02 14:39:11 -04:00
Evan Prodromou
38a621dcf8
fix assignment of omb stuff
...
darcs-hash:20080602183314-84dde-1f81609b2eb0d628c0e6dfe5fea7e21d799bdb3d.gz
2008-06-02 14:33:14 -04:00
Evan Prodromou
98437f21f9
make a nodes variable to pass nodes by reference
...
darcs-hash:20080602182153-84dde-4e5ac1c02e8e7a408d251ffa0aa2bbff190d1631.gz
2008-06-02 14:21:53 -04:00
Evan Prodromou
44058fe50a
trim whitespace
...
darcs-hash:20080602181857-84dde-846a8899f9db1b244c946c94373c60058b48774e.gz
2008-06-02 14:18:57 -04:00
Evan Prodromou
2364c7c2fe
services() returns an array
...
darcs-hash:20080602181759-84dde-97355611da9635d40f41eb9324731cfaa3c584e0.gz
2008-06-02 14:17:59 -04:00
Evan Prodromou
3b9f0e3867
add some debugging stuff for problems with remote subscribe
...
darcs-hash:20080602181254-84dde-ac7f4a362754a66facfb06a7b41f9160a0eb5caf.gz
2008-06-02 14:12:54 -04:00
Evan Prodromou
3abe0290b7
use omb_service_filter() rather than omb_match_service()
...
darcs-hash:20080602175936-84dde-d21c8236ef5ffd788edc81d9d7a932b2eae0ec7d.gz
2008-06-02 13:59:36 -04:00
Evan Prodromou
326def1965
move service-matching callbacks to library
...
darcs-hash:20080602175725-84dde-c8b3abaedcb8667130da2a080a09630d91969b5c.gz
2008-06-02 13:57:25 -04:00
Evan Prodromou
03677f1a81
better handling of XRDS files
...
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-06-02 13:42:49 -04:00
Evan Prodromou
2a2992b102
parse the XRDS results
...
Apparently you have to parse the XRDS results from the discovery
result object. Who knew?
darcs-hash:20080530190446-84dde-52e5220aa5b76bc443ed20a1d0e07e509a5522f8.gz
2008-05-30 15:04:46 -04:00
Evan Prodromou
a0928778ba
check xrds object
...
darcs-hash:20080530185343-84dde-90c12188656a29b0f34d8ffa27927f0f664fbd74.gz
2008-05-30 14:53:43 -04:00
Evan Prodromou
67c1b399b4
debug message for when services returns null
...
darcs-hash:20080530184925-84dde-5888985ad083a6cff49c2efe1679e1246735608a.gz
2008-05-30 14:49:25 -04:00
Evan Prodromou
3cb7562659
better debug messages
...
darcs-hash:20080530184712-84dde-bcea123d79aff11585eacee8b85932543acfe072.gz
2008-05-30 14:47:12 -04:00
Evan Prodromou
ba334c2c66
typo in checking for YADIS failure
...
darcs-hash:20080530184105-84dde-6d55e2bf320ea5b71d657edb756c4ea330bd438f.gz
2008-05-30 14:41:05 -04:00
Evan Prodromou
a73a63758f
add debug logging and do some from the remotesubscribe page
...
darcs-hash:20080530182230-84dde-b9b6f515affcd245abb5e199de02a8891138ff2a.gz
2008-05-30 14:22:30 -04:00
Evan Prodromou
d3dd804ddf
check to see if XRDS discovery failed
...
darcs-hash:20080530181103-84dde-55eb7fce80ae6a11639ec9748c0d02f7f72cbc4d.gz
2008-05-30 14:11:03 -04:00
Evan Prodromou
3a20f1202b
correct content-type on XRDS document
...
darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz
2008-05-30 14:10:29 -04:00
Evan Prodromou
b899ff617f
add a print_r for the yadis doc returned
...
darcs-hash:20080530175436-84dde-e55601349cf83ea504924ea3d3733cccf75838e4.gz
2008-05-30 13:54:36 -04:00
Evan Prodromou
cfd367f4cf
show footer for remotesubscribe form
...
darcs-hash:20080530175235-84dde-0eda227cdd5a8c3b5e20ba12dbedbfc9aba269f3.gz
2008-05-30 13:52:35 -04:00
Evan Prodromou
5e61931a2d
check that services are null in yadis check
...
darcs-hash:20080530175055-84dde-f0e231b4efc30a59d6111b749eb8340116be9f92.gz
2008-05-30 13:50:55 -04:00
Evan Prodromou
bf5ae8e69a
remotesubscribe form
...
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30 13:43:10 -04:00
Evan Prodromou
90b4873a00
client side of distributed subscription almost complete
...
darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz
2008-05-27 07:42:19 -04:00