mixedpuppy
53b7729ade
fix the profile decorator so that it can work with csrf middleware
2010-09-23 11:52:13 -07:00
Mark Hammond
c7f139f124
use 'max-age' instead of 'expires' for cookie lifetime in seconds
2010-09-23 15:57:47 +10:00
mixedpuppy
93b391906c
revert using self in a static method
2010-09-22 17:47:24 -07:00
mixedpuppy
15cd70e65f
avoid querying the accounts table, just rely on the session to store what we need. the accounts table is 'backup' for that.
2010-09-22 17:44:26 -07:00
mixedpuppy
267106debc
remove a print
2010-09-22 17:42:20 -07:00
mixedpuppy
860a5d927c
make an install work until bitly it configured
2010-09-22 15:22:38 -07:00
mixedpuppy
e7fa3e5831
update to test with our own shortener, remove the query to get an id (doesn't work right with multiple threads anyway)
2010-09-22 15:20:46 -07:00
mixedpuppy
8ae3c3cf05
refactor the call signature
2010-09-22 15:15:51 -07:00
Mark Hammond
cddd1bdcd3
move all oauth urls into config; update test.ini to use local test mock server
...
* * *
create .ini specifically for load testing
2010-09-20 16:33:29 +10:00
Mark Hammond
bccd75edf4
remove some stray prints
2010-09-20 16:33:21 +10:00
Mark Hammond
02bd363af6
fix history api
2010-09-17 10:02:16 +10:00
Mark Hammond
8a5cc28796
fix db lookup for short url
2010-09-17 10:02:14 +10:00
mixedpuppy
6ee2554491
fix removing a service from the session
2010-09-16 12:18:04 -07:00
mixedpuppy
c48035c140
proper handling of signing out of a specific account
2010-09-15 13:30:23 -07:00
mixedpuppy
841ffe4a4d
add support for signing out of a specific domain
2010-09-15 13:13:56 -07:00
David Ascher
ed5c4c5c48
adding links.py, forgot to hg add
2010-09-14 14:45:24 -07:00
David Ascher
fefb48792f
merge
2010-09-14 14:19:10 -07:00
David Ascher
97592cfd62
add url shortening service (our own, disabled, bit.ly, enabled)
2010-09-14 14:18:46 -07:00
mixedpuppy
5c4650cdbb
add same origin header
2010-09-14 14:03:16 -07:00
mixedpuppy
134f41a1fa
add a way to clear the server session when the ui performs a logout
2010-09-14 13:45:46 -07:00
mixedpuppy
9e154b9ea5
a working api, though the ui has to bend over backwards for yahoo (and that's with an !)
2010-09-13 19:27:48 -07:00
mixedpuppy
537e10a8e0
add yahoo oauth info to the ini files
2010-09-13 17:51:47 -07:00
mixedpuppy
c0be63caf0
add yahoo openid+oauth support
2010-09-13 17:46:34 -07:00
mixedpuppy
17cdf40434
merge update
2010-09-13 15:19:40 -07:00
mixedpuppy
0d17a56aaf
return the error if one occurs
2010-09-13 15:00:07 -07:00
mixedpuppy
17d68b219e
some basic failure fixes when dealing with openid 2, add support for some options for yahoo
2010-09-13 14:46:40 -07:00
mixedpuppy
82f0254236
use the defaults, but allow post to override
2010-09-13 14:42:56 -07:00
James Burke
0932ab4f30
fix a goof with creating multipart boundary. To be super safe, we should test the boundary for existence in the body data.
2010-09-13 14:05:18 -07:00
James Burke
60ccadc402
some jslint changes to share/index.js, then hooking up sending full facebook data to facebook.
2010-09-13 13:59:13 -07:00
mixedpuppy
496c5c3486
auto migration in dev builds using sqlalchemy-migrate
...
don't forget to run setup.py develop again
2010-09-13 12:58:27 -07:00
mixedpuppy
f7e40604fa
use generated secrete key for sessions
2010-09-10 13:40:21 -07:00
mixedpuppy
466596da04
remove another print
2010-09-10 13:39:07 -07:00
mixedpuppy
f4ecf9ace9
remove debug prints
2010-09-10 13:35:15 -07:00
mixedpuppy
8bd107f1a8
fix set cookie on unprotected paths, fix the unprotected path in config
2010-09-10 11:56:06 -07:00
mixedpuppy
01f78f3278
fix set cookie in one place
2010-09-10 11:54:48 -07:00
mixedpuppy
7d36216f1c
add csrf middleware to config, make rdapi use it
2010-09-09 19:24:28 -07:00
mixedpuppy
708779844d
dont merge accounts, rely on oauth keys for each service/account in the session to join for history
...
add username to example form for sending to more than one twitter account
2010-09-09 17:36:13 -07:00
mixedpuppy
04a369ae1b
fix date format again, be sure to handle +0
2010-09-08 13:55:26 -07:00
mixedpuppy
063f3c0463
if a user has multiple accounts on the same domain, require a username/userid to get the correct account. also, provide a good error message
2010-09-08 13:18:53 -07:00
mixedpuppy
bdeaf4733d
fix scope values for oauth
...
fix login failure values for smtp
fix ini template file for deployment
2010-09-08 11:19:51 -07:00
mixedpuppy
5535136f93
merge update
2010-09-08 10:24:14 -07:00
mixedpuppy
4997045158
fix iso datetime
2010-09-08 10:23:30 -07:00
David Ascher
13a65267c2
make history api return things in most-recent-message-first.
2010-09-08 10:20:09 -07:00
David Ascher
2eed297529
* handle communications from iframe (now <browser>) to chrome using location setting
...
* (specifically, make 'close' button in debug tab work
* remove ff-overlay.js, which we don't need anymore
* move a bit of code in the python side that was misordered (r=shanec)
* add 403 handling in theory (r=shanec, but not working for me so far)
* upgrade overlay.js to javascript 1.8 because why not?
2010-09-07 21:21:26 -07:00
mixedpuppy
206a9d5e36
fix getting the history
2010-09-07 19:31:05 -07:00
mixedpuppy
d207e674d1
make sure we get extra fields (e.g. subject/to)
2010-09-07 19:30:55 -07:00
mixedpuppy
a374ee04b5
add google sendmessage api
2010-09-07 17:54:47 -07:00
mixedpuppy
16eeac92ec
pass through other form elements for the backend to use
2010-09-07 17:48:59 -07:00
mixedpuppy
c4428eb8b0
add the access token to our account profile the right way
2010-09-07 17:48:41 -07:00
mixedpuppy
a0e041e4f4
quick and dirty history api /history/get returns all history for the user
2010-09-07 17:14:00 -07:00