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

47 Коммитов

Автор SHA1 Сообщение Дата
Piotr Zalewa 9559179409 Refactoring: Info about sdk is not needed to create a valid manifest
Backend for downloading a zip file

model is exporting source and creating a zip file
views for prepare, check and provide zip file are created

front-end added based on download XPI
2012-09-04 15:15:12 +02:00
Piotr Zalewa b584511980 some more debugging 2012-05-17 08:44:30 +02:00
Piotr Zalewa 587fc36f94 checking if the server is updating 2012-05-17 08:36:15 +02:00
Piotr Zalewa 518e7ae144 loosy attempt to have some logging 2012-05-17 08:31:34 +02:00
Piotr Zalewa 3cf6930c26 logging send and sign request 2012-05-15 14:27:26 +02:00
Piotr Zalewa 028981e218 * mocking only httplib2.Http instead of full request
* receiving no logs from amo.py 123 - adding "I'm actually called debug
* removed unnecessary strdata variable
2012-05-15 14:15:24 +02:00
Piotr Zalewa 5338a284bd more dubugging 2012-05-11 02:29:12 +02:00
Piotr Zalewa d7320da468 mocking _response except of _send
logging response
2012-05-10 15:26:42 +02:00
Piotr Zalewa eb353af7a4 logging response 2012-05-10 14:48:44 +02:00
Sean McArthur 23a4bdcbf6 log email when making AMO API user request, and fail better if BrowserID doesn't give an email 2012-04-27 12:11:03 -07:00
Piotr Zalewa a16483b23e raise Http404 if no API URL
debug the API URL
2012-04-03 16:07:15 +02:00
Piotr Zalewa 8dde3e87cd * Add AMOOAuth.get_user_by_email which uses new API
* Call above in AMOAuthentication.fetch_user_data
* Fix AMOOAuth._send mock in tests
2012-03-07 18:59:44 +01:00
Piotr Zalewa f1777c1901 Add ability to provide a replacement string for removed characters 2012-03-07 17:51:03 +01:00
Piotr Zalewa c341a037e7 Add a method to save utf8 safely to XML
Change the sanitize method for package description
2012-03-06 15:06:01 +01:00
Arron Schaar 84c385cf29 Only show user.pk and user.username in error middleware 2012-02-23 10:11:42 -08:00
Arron Schaar dddaa74b86 make sure user is authenticated before adding to exception META dict 2012-02-21 14:03:59 -08:00
Arron Schaar b9901d3252 added response.META['CURRENT_USER'] to exceptions 2012-02-21 13:25:36 -08:00
Piotr Zalewa ae8d6659e6 fixed a mock in attachment tests 2011-12-13 13:11:10 +01:00
Piotr Zalewa bb93574a30 Normalize ValidoationError messages.
* create parse_validation_messages and return them as a string
* unified validation messages in jetpack app

Replave \n to <br/> in eror notifications
2011-12-12 11:43:37 +01:00
Piotr Zalewa 4a8c45a1ba Repackage Builder Add-on feature
* Use specific revision to build xpi and return download URL in pingback
* Add --harness-option builderVersion=PackageRevision.pk to xpi command

* add ability to override manifest attributes with package_overrides
* add option to change sdk used to rebuild an existing PackageRevision

* api_builder doc added

branch repackage_builder_addons
bug https://bugzilla.mozilla.org/show_bug.cgi?id=699509
2011-11-07 16:37:32 +01:00
Piotr Zalewa effe33fd3f fixes bug 659400
* makes alpahnum_plus less restrictive by addin few more allowed characters
2011-09-07 11:52:16 +01:00
Piotr Zalewa c3e26ebfb4 * amo_version_name contains revision number if needed
* logging amo_version_name

* logging every AMO request
2011-08-25 12:00:58 +01:00
Piotr Zalewa 009595e37d do not check for the valid SSL 2011-08-22 23:14:23 +01:00
Piotr Zalewa e1c456e39b do not save storage by default 2011-08-22 22:58:57 +01:00
Sean McArthur 32b620309e adding admin_log email handler for errors 2011-08-19 12:03:42 -07:00
Piotr Zalewa da08dd0ead * amo upload with Spinner
* setting amo_version_name together with amo_status UPLOAD_SCHEDULED
  for better logic
* print removed
* logging with more sense
2011-08-16 12:35:20 +01:00
Piotr Zalewa 8536e1fc1b Updating add-ons created on AMO with Builder
* create_version added to AMOOAuth
* amo_upload_url updates after revision changes
2011-08-12 18:43:08 +01:00
Piotr Zalewa 371db4c1be * upload_to_amo view accepts forced hashtag
* frontend sends the order to schedule uploading via Ajax
  (it would be good to implement another messaging system)
2011-08-09 15:26:25 +01:00
Piotr Zalewa 6eeaa28d7a AMOOAuth added, not working 2011-08-08 18:43:43 +01:00
Piotr Zalewa 03266a985f refactoring
https://bugzilla.mozilla.org/show_bug.cgi?id=617993

* 'package_{name} -> '{name}
* def package_{name} -> def {name}
* r -> request
* render (render_to_response with RequestContext)
* render_json (render with json mimetype)
2011-07-06 14:19:29 +01:00
Dave Dash 994ea3a3bb bug 656510, Using Text queries instead
Text queries don't do any interpretation of the query the way
query_string was doing.

So searching for <script> really just searches for script... and the
parse engine doesn't try to figure out something crazy.
2011-06-10 16:58:40 -07:00
Sean McArthur ec89b1abf9 use only alphanumeric and spaces 2011-05-17 16:52:29 -07:00
Piotr Zalewa f1f93664ec bug 633085
* alphanum validator added
* checking if hashtag is alphanum
2011-03-15 12:50:27 +00:00
Piotr Zalewa 1105601f64 TEST_SDK setting forces the SDK choice in tests 2011-03-08 23:20:24 +00:00
Sean acd72e4102 sanitize user input for EmptyDirs and Packages prior to save 2011-02-16 17:33:30 -08:00
Sean 3a236eab11 setting Module and Attachment cleaning 2011-02-14 21:06:29 -08:00
Sean McArthur c3be501318 sanitization of user inputed file names 2011-02-10 10:19:14 -08:00
Piotr Zalewa 6d620b7981 beta2 and 3 compatibility 2011-02-09 11:14:43 -08:00
Piotr Zalewa 46e23b3055 fake sdk for docs import tests created 2011-02-03 12:28:10 +00:00
Piotr Zalewa 188813161e forgotten file 2011-02-03 11:03:01 +00:00
Piotr Zalewa 29db9a0eff sean/tree merged 2011-02-01 18:45:10 +00:00
Piotr Zalewa 08f01c71bc check.py refactoring 2011-02-01 15:23:39 +00:00
Sean 9016c23574 adding empty folders 2011-01-28 12:01:45 -08:00
Piotr Zalewa 0372b909bf Test is using celery 2011-01-13 12:59:12 +00:00
Piotr Zalewa c578515134 log added to os_utils 2011-01-03 07:54:10 +00:00
Piotr Zalewa 423fe04c54 create subdirs for attachments 2011-01-03 07:48:43 +00:00
Piotr Zalewa 389ba5dc0a Logging added
Utils moved out from apps directory
dictconfig lib copied to utils
2010-11-09 14:58:52 +00:00