Граф коммитов

61 Коммитов

Автор SHA1 Сообщение Дата
Rob Miller dfff2ba06e Merge branch 'develop' into bug/642855-pylons-removal
Conflicts:
	linkdrop/controllers/contacts.py
	linkdrop/tests/services/test_playback.py
2011-04-27 11:56:41 -07:00
Mark Hammond c80fc0d746 merge branch 'develop' 2011-04-27 15:54:03 +10:00
Rob Miller c7f1614da5 pass the config to the shorten_link call 2011-04-26 17:46:36 -07:00
Rob Miller 3cace63512 explicitly pass the config object in to the `get_services` function 2011-04-25 18:49:18 -07:00
Rob Miller 1c175729fe explicitly pass the request object instead of using pylons' magic import 2011-04-25 12:44:32 -07:00
Mark Hammond 0e6d9b2980 pass accept-language header to the apis + tests 2011-04-21 14:22:08 +10:00
Rob Miller ac0ee4ffb0 don't try to initialize the services config at module scope, and change the
controllers to use get_services() instead of just importing services.
2011-04-20 14:19:09 -07:00
Rob Miller 012cd9ff29 a bit of clean-up after the develop merge 2011-04-14 14:26:56 -07:00
Rob Miller d9ee00c3ce Merge branch 'develop' into bug/642873
Conflicts:
	Makefile
	build.py
	linkdrop/controllers/contacts.py
	linkdrop/controllers/send.py
	linkdrop/tests/services/test_playback.py
2011-04-14 13:56:06 -07:00
Tarek Ziadé 7639980dc3 exception classes have moved 2011-04-13 12:01:05 +02:00
Tarek Ziadé 70c32cc00f now using the Services class everywhere 2011-04-13 11:15:57 +02:00
Rob Miller 4767a9d1d7 a bunch of pep8 changes 2011-04-12 18:19:45 -07:00
Rob Miller fae1f3ac62 whitespace, line breaks, remove unused imports 2011-03-31 12:09:24 -07:00
Shane Caraveo fba6d3e465 Merge https://github.com/tarekziade/f1 into bug/645148
Conflicts:
	Makefile
	linkdrop/controllers/account.py
	linkdrop/controllers/contacts.py
	linkdrop/controllers/send.py
	linkdrop/lib/oauth/base.py
	linkdrop/lib/oauth/facebook_.py
	linkdrop/lib/oauth/google_.py
	linkdrop/lib/oauth/linkedin_.py
	linkdrop/lib/oauth/openidconsumer.py
	linkdrop/lib/oauth/twitter_.py
	linkdrop/lib/oauth/yahoo_.py
	linkdrop/tests/__init__.py
	test.ini
2011-03-25 15:23:37 -07:00
Shane Caraveo 1db31efac4 fixes for handling a no-account request against the api 2011-03-24 14:25:46 -07:00
Shane Caraveo 4f4b125ca4 Merge branch 'develop' of github.com:mozilla/f1 into feature/testing
Conflicts:
	.gitignore
	linkdrop/controllers/send.py
2011-03-24 14:14:16 -07:00
Tarek Ziadé cc737b9344 now using the linkoauth lib 2011-03-24 13:55:49 +01:00
Shane Caraveo 32e7bc42d6 remove code support for old addons
This removes support for pre-oauth-token-in-client addons, which essentially means no more fx3 support
2011-03-23 15:39:21 -07:00
Mark Hammond 03b3c165a6 better handling of missing or invalid parameters 2011-03-22 14:38:54 +11:00
Mark Hammond b5de885c09 add new ServiceUnavailableException 2011-03-21 12:14:57 +11:00
Mark Hammond 1270056acc fix problem with account ID has then userid or username is None 2011-03-04 10:00:38 +11:00
Shane Caraveo 4fff6f97e3 add better exception handling for cases where oauth keys are missing, add metrics tracking for that 2011-03-03 11:37:24 -08:00
Shane Caraveo 922fb07494 final fix for unicode strings going to sha1 2011-03-02 11:07:32 -08:00
Shane Caraveo f01ee3707a another fix of unicode encoding for metrics 2011-03-02 10:46:28 -08:00
jrburke a65555838a allow new oauth-based requests to work as the csrf protection, allowing them to work since they no longer get a csrf value via an account/get call. Patch from Shane. 2011-02-23 16:45:16 -08:00
Mark Hammond 1665984973 add a hash of the account name and id in metrics 2011-02-23 12:23:43 +11:00
Shane Caraveo 7a9390b760 remove this exception 2011-02-18 15:00:31 -08:00
Shane Caraveo e12bfc2e16 make contacts and send api work without server side session. pass account objet back with each api call from client 2011-02-17 16:06:46 -08:00
Mark Hammond bfca89d3a2 fix link shortening 2011-02-18 09:56:42 +11:00
Mark Hammond 05e374fd51 remove sql db 2011-02-18 09:27:03 +11:00
Mark Hammond ed6997f96a Merge branch 'develop' into feature/metrics 2011-02-14 16:58:31 +11:00
Mark Hammond 2cf99032a5 simple metrics framework 2011-02-11 14:39:38 +11:00
Mark Hammond 80500bdc4e update bare excepts and traceback.print_exc with log.exception() 2011-02-09 16:49:00 +11:00
Bryan Clark 4c36b34b5f adding preliminary thumbnail support for email messages. if a picture_base64 option (comprised of an image encoded in base64) is provided to the email send then we will attach the image as an inline attachment. If picture_base64 is not provided (or like Yahoo is not supported) we send the message as we normally would with both html and text versions ignoring the MIME related encapsulation. Next step is to base64 encode the provided image urls using Canvas as the only base64 images currently available are the screenshots. 2011-01-18 11:00:42 -08:00
Shane Caraveo 00ee8b792f upgrade error logging for send errors 2010-12-14 10:51:24 -08:00
Shane Caraveo 3a9a50911a rdapi support for send api 2010-11-26 10:59:06 -08:00
Shane Caraveo c414dc3300 in this situation, log the exception 2010-11-09 14:16:42 -08:00
Shane Caraveo 5913d0e649 revert last change 2010-11-09 14:01:24 -08:00
Shane Caraveo b04d776238 fix posting unicode to facebook 2010-11-09 14:00:40 -08:00
Shane Caraveo 9c38361333 fix errors resulting from null keys 2010-11-05 14:36:35 -07:00
jrburke 331076bba6 Adding license info. 2010-11-03 16:18:18 -07:00
mixedpuppy 3f8d225a3e improve speed of json mixin, add alternate for inserting to history 2010-10-20 13:03:58 -07:00
mixedpuppy 0a40f07a3e add ability to disable inserting to history table
add delayed insert to history table
2010-10-18 13:58:21 -07:00
mixedpuppy b6dc0e97cd fix shorturl generation 2010-10-15 15:17:43 -07:00
mixedpuppy 930850faa6 require a request to shorten the url 2010-10-15 13:55:52 -07:00
mixedpuppy ae33f14f45 create and append the short url if it is not in the message 2010-10-14 15:23:16 -07:00
mixedpuppy 00465147bc add constants so an error condition works 2010-10-04 14:44:15 -07:00
mixedpuppy 036e256c08 change error object to be like json-rpc error objects
code is reserved for error codes, not http status
status is added for http status
use only 401 and 535 for now to indicate reauth
2010-09-30 17:36:12 -07:00
Mark Hammond c6dc6d2bbb allow 'message' to be optional, leaving it to the service to reject if it so chooses 2010-09-30 16:37:46 +10: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