Commit Graph

156 Commits

Author SHA1 Message Date
Evan Prodromou
c22fb6e569 mixed up OAuthConsumer and Consumer classes
darcs-hash:20080606054549-84dde-9d90611b14fa441873fc4504548d46848dbdf5b4.gz
2008-06-06 01:45:49 -04:00
Evan Prodromou
e25d249a10 seem to be storing tokens with null consumer keys
darcs-hash:20080606053914-84dde-e4bad8da4af7bed3ca8e8e84c5cc82ff2a82ad4c.gz
2008-06-06 01:39:14 -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
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
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
d251e624a9 full interface for userauthorization
darcs-hash:20080604185131-84dde-2ff45e07ebba18c97803ed4a99121a6244ef1158.gz
2008-06-04 14:51:31 -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
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
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
38a621dcf8 fix assignment of omb stuff
darcs-hash:20080602183314-84dde-1f81609b2eb0d628c0e6dfe5fea7e21d799bdb3d.gz
2008-06-02 14:33:14 -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
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
52c7ff9827 start handling fancy URLs
darcs-hash:20080530212555-84dde-213c04b9cf9048f48bf0b0b4234bcdf49546d4d9.gz
2008-05-30 17:25:55 -04:00
Evan Prodromou
0cb0a5ce1d no pid in syslog
darcs-hash:20080530185015-84dde-8b4a2f735a530f20a3fd8a2b07b2cc4f038e3846.gz
2008-05-30 14:50:15 -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
1eb8a82abd fix path for requiring oauthstore
darcs-hash:20080530174616-84dde-8a7c90c83c04cd07d6dcbe2795dde03dbc63c0f2.gz
2008-05-30 13:46:16 -04:00
Evan Prodromou
bf5ae8e69a remotesubscribe form
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30 13:43:10 -04:00
Evan Prodromou
f8a070394f common function for turning a relative path into a full URL
darcs-hash:20080530162429-84dde-12336814d3a01b4937ab574741fa4987484be62d.gz
2008-05-30 12:24:29 -04:00
Evan Prodromou
c501b7b925 interim commit after pull from server
darcs-hash:20080530142324-84dde-782c9f04f551447514f1557b9e80f8461a17771f.gz
2008-05-30 10:23:24 -04:00
Evan Prodromou
9210f95633 don't render content in RSS feeds
darcs-hash:20080529192510-84dde-eedf578cb3cb06dd019b8a613192adb467cfab4a.gz
2008-05-29 15:25:10 -04:00
Evan Prodromou
a63208b3da move linkifying so URL links come first
darcs-hash:20080529190743-84dde-849369c3c48006aaf6fcc523c9a952ea5d5bd999.gz
2008-05-29 15:07:43 -04:00
Evan Prodromou
45efc7b61b linkify URLs
darcs-hash:20080529190702-84dde-ef753ca1864b13e4c2ae0ebbd683c4f593f2f1f0.gz
2008-05-29 15:07:02 -04:00
Evan Prodromou
754303ce9e ar
darcs-hash:20080529182754-84dde-b5b0d1094b586602e62828995d75d8697ea52cbf.gz
2008-05-29 14:27:54 -04:00
Evan Prodromou
317496e979 more regex fun
darcs-hash:20080529182725-84dde-aa343a6ecd3c6ac79adcd96198d1f18b6c56cb79.gz
2008-05-29 14:27:25 -04:00
Evan Prodromou
02132baea5 remove URL check again
darcs-hash:20080529182026-84dde-b4ac5b6326476e6913683149db32f1ff46283127.gz
2008-05-29 14:20:26 -04:00
Evan Prodromou
e6c7135507 one more try on the preg delimiter
darcs-hash:20080529181942-84dde-60f2e659d4d67f085e4f8bc9a1c06753cf4b8924.gz
2008-05-29 14:19:42 -04:00
Evan Prodromou
2acd91f16c bad regex again
darcs-hash:20080529181623-84dde-90c4ce5306cdc9df2696064184aec122083519c8.gz
2008-05-29 14:16:23 -04:00
Evan Prodromou
491960d55a use q's for regex delimiter
darcs-hash:20080529181549-84dde-bd4ce6c6101268a95aa95a8727c7aaa96f96cac3.gz
2008-05-29 14:15:49 -04:00
Evan Prodromou
792eb9ede2 remove url regex
darcs-hash:20080529181321-84dde-ed6ab6e839787cacc82681617b152106150839aa.gz
2008-05-29 14:13:21 -04:00
Evan Prodromou
58219416ca linkify URLs
darcs-hash:20080529181244-84dde-6b51042c5c92581d8aecfbb83630646afc078793.gz
2008-05-29 14:12:44 -04:00
Evan Prodromou
f4b8feec0a keep the ampersand in atlinks
darcs-hash:20080529173635-84dde-8152ddcd07e094f5478a470f5b1a3ea28ce5421e.gz
2008-05-29 13:36:35 -04:00
Evan Prodromou
fb3029d74e special chars for raw links in atlinks
darcs-hash:20080529173400-84dde-f0883200a6dac50a3d9022cef82816339f9dd84c.gz
2008-05-29 13:34:00 -04:00
Evan Prodromou
85aeafe34a better regular expression for atlinks
darcs-hash:20080529173234-84dde-7b1e8fa0af993edd74b11f88bdfbc24e970298a7.gz
2008-05-29 13:32:34 -04:00
Evan Prodromou
fb437aabca don't check for notice in rendering content; just render it!
darcs-hash:20080529172549-84dde-12c79e34baa6a19938350447f5939fb25febea21.gz
2008-05-29 13:25:49 -04:00
Evan Prodromou
a8fa9eb1bd remove debug string
darcs-hash:20080529172258-84dde-5c413413103946838aaeed249019f168e8f5b601.gz
2008-05-29 13:22:58 -04:00
Evan Prodromou
163e396467 more debugging crap
darcs-hash:20080529172205-84dde-7f4fe045ae9bd93b501087a96dea61914f6eb05f.gz
2008-05-29 13:22:05 -04:00