Commit Graph

7363 Commits

Author SHA1 Message Date
Evan Prodromou
bd4ec5d147 setOriginal() is an instance method
darcs-hash:20080605195222-84dde-c9e00b0ef0f8fed4ea5d4c088d52e39589b6bb02.gz
2008-06-05 15:52:22 -04:00
Evan Prodromou
56021d9572 move avatar scaling and saving to Avatar and Profile
Extracted the code for setting a new original avatar to the Profile
class, and moved some of it to Avatar, too. This makes it easier to
have the same functionality whether an avatar is set using the profile
settings (for our users), or on a remote subscription. Necessitated
changing the filenaming function to just take an ID.

darcs-hash:20080605193708-84dde-a441cc0474951ce7f1a1da9310b5145c0b7c3070.gz
2008-06-05 15:37:08 -04:00
Evan Prodromou
dcc915bd93 new TODOs
darcs-hash:20080605190614-84dde-4684be45f62623ca4bb69a95b264414af88f2ac2.gz
2008-06-05 15:06:14 -04:00
Evan Prodromou
1cdb7919ef a
darcs-hash:20080605183419-84dde-debe7f18565c960ee6886ac1330833bc8ae1ca5f.gz
2008-06-05 14:34:19 -04:00
Evan Prodromou
356f401986 bad validation of callback URL
darcs-hash:20080605040358-84dde-b2018db43791d1cbed722d3320cd0b62d6da94eb.gz
2008-06-05 00:03:58 -04:00
Evan Prodromou
24ff61d159 decided to validate tag uris rather than not validating any uris
darcs-hash:20080605040153-84dde-5d180f0d8ead2fc7c5eaca3deaf035ba31d3512a.gz
2008-06-05 00:01:53 -04:00
Evan Prodromou
29d9f0ae64 don't validate listenee URI
Validation of the listenee URI was failing for tag: URIs. So,
abandoned validation for now. Maybe in the future I'll add it back in,
with a second check for a valid tag URI if it doesn't work.

darcs-hash:20080605033911-84dde-0cf77fad66198a790450183eba11028e153f43d1.gz
2008-06-04 23:39:11 -04:00
Evan Prodromou
1254761770 clear request doesn't need an argument
darcs-hash:20080605025611-84dde-18fcf515bb9c727cafd3ca44454e7f18d8f8e752.gz
2008-06-04 22:56:11 -04:00
Evan Prodromou
2bf7717ddd correct order of params in get_token
darcs-hash:20080605025152-84dde-54da3eba220432b71d14ef7cfd4a8a7bf664316f.gz
2008-06-04 22:51:52 -04:00
Evan Prodromou
b42c09c66f move stoica schema to laconica
darcs-hash:20080605024807-84dde-b6b112fc71f6337bf2d3605944191454aaeb28e2.gz
2008-06-04 22:48:07 -04:00
Evan Prodromou
ea40a9cd93 move filename stuff to debug function
darcs-hash:20080605024717-84dde-dc897a855af13ea30bb670daf94749e9f14fa7ad.gz
2008-06-04 22:47:17 -04:00
Evan Prodromou
d241352dcc automatically prepend filename to debug output
darcs-hash:20080605024035-84dde-bc3abc4329f3181cffd26e83d37968ee6a02a26e.gz
2008-06-04 22:40:35 -04:00
Evan Prodromou
593f1e5e2c add some debugging code
darcs-hash:20080604201123-84dde-ff9ec8530474e194eee5e6fcc6190f7cd6fc5b5c.gz
2008-06-04 16:11:23 -04:00
Evan Prodromou
9d670d25f8 fix passing request around
darcs-hash:20080604191206-84dde-24d6a80c9e3886352d451ca0993ed0bb6baafd7a.gz
2008-06-04 15:12:06 -04:00
Evan Prodromou
d251e624a9 full interface for userauthorization
darcs-hash:20080604185131-84dde-2ff45e07ebba18c97803ed4a99121a6244ef1158.gz
2008-06-04 14:51:31 -04:00
Evan Prodromou
d266ab8c2d remove call to private get-version() method
darcs-hash:20080603115839-84dde-40da93a70e24274dcdc28ea2f4fd1e492fdb9e24.gz
2008-06-03 07:58:39 -04:00
Evan Prodromou
71c4032273 clear out lots of debugging code, add require to userauthorization
darcs-hash:20080603115218-84dde-f333d4541e1112487a5da1e3ad71064513e2228f.gz
2008-06-03 07:52:18 -04:00
Evan Prodromou
3182984080 fix service discovery (I think)
darcs-hash:20080603114317-84dde-04fe2734003fa8023708b6dbda6243d9fd15e9d8.gz
2008-06-03 07:43:17 -04:00
Evan Prodromou
38b5ad6fd6 one more stab at type matching, plus debug message
darcs-hash:20080603113626-84dde-99a92331e3875d05e68919acea46392a0128938e.gz
2008-06-03 07:36:26 -04:00
Evan Prodromou
efbae69aae restructure filters on services
darcs-hash:20080603111750-84dde-5b3eb37cc05ceaec991951338d55d38a2e0a5f2d.gz
2008-06-03 07:17:50 -04:00
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
67264e038c more debug code
darcs-hash:20080602203802-84dde-f7f237da7c86fe38fd67629d0599c48929dfa619.gz
2008-06-02 16:38:02 -04:00
Evan Prodromou
8d94324851 debugging code for userauthorization
darcs-hash:20080602203142-84dde-6f68b40061d0af776d077be1b24b8adf84ee331b.gz
2008-06-02 16:31:42 -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
10f9a8a125 change names, update
darcs-hash:20080602195138-84dde-d5106000f1496aac729685b65da8bb21c520f0a3.gz
2008-06-02 15:51:38 -04:00
Evan Prodromou
1f8e18d97b add the hmac sha1 signature method to server
darcs-hash:20080602194333-84dde-3ebcd6250184952779a6e6fd7c8561cc6a3733ac.gz
2008-06-02 15:43:33 -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
bde49e2c52 fixup classes
darcs-hash:20080602192820-84dde-6ac58e44cc0fb455e871053ace803194c76ccd00.gz
2008-06-02 15:28:20 -04:00
Evan Prodromou
84e0fcbd7d correct name of data store class
darcs-hash:20080602192526-84dde-f3416449cc8dcfc0ffe85d79d166d419aa2a5b0c.gz
2008-06-02 15:25:26 -04:00
Evan Prodromou
c294c85aba fixup caching problem with server variable
darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz
2008-06-02 15:22:42 -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
53254d36ea get content of element rather than raw element
darcs-hash:20080602191039-84dde-d4a119b5c6a0bff9648ee6a4445e373933f2c199.gz
2008-06-02 15:10:39 -04:00
Evan Prodromou
740460e2ac add a namespace when checking for LocalID element
darcs-hash:20080602190357-84dde-fbfece18db8a6c4c916c1a58dca1b4a7998772f1.gz
2008-06-02 15:03:57 -04:00
Evan Prodromou
5674061f55 fix URLs for OMB endpoints
darcs-hash:20080602185618-84dde-222f44fcdd6d085b9c3ef26f03738e120be55fae.gz
2008-06-02 14:56:18 -04:00
Evan Prodromou
0ed925c590 typo in LocalID generation in xrds
darcs-hash:20080602185452-84dde-f9dc335ca69291d83e2a82ecce6e27055ee9e0e5.gz
2008-06-02 14:54:52 -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
74bec95032 fix dynamically-created code
darcs-hash:20080602180108-84dde-c499dd9734e87081a3d7124c5b6ef885dc346670.gz
2008-06-02 14:01:08 -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