aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* @task decorator no longer used! Removing that import.Christopher Allan Webber2011-08-131-1/+13
|
* Capture and properly handle errors.Christopher Allan Webber2011-08-132-26/+49
| | | | | | | | | | | | | | Handled in several places: - In the run() of the ProcessMedia itself for handled (BaseProcessingFail derived) errors (best to do these not in on_failure because the errors are highlighted in celeryd in a way that looks inappropriate for when the errors are well handled) - In ProcessMedia.on_failure() for all other errors - In the submit view where all exceptions are caught, media is marked at having failed, then the error is re-raised. (The reason for this is that users running in "lazy" mode will get errors propagated by celery and so on_failure won't run for them.)
* Proper handling of processor failures, working as hoped!Christopher Allan Webber2011-08-132-19/+83
| | | | | | BaseProcessingFail based exceptions recorded and marked appropriately in the database. Other exceptions also caught and marked (or rather not marked) appropriately in the database as well.
* Add fail_error and fail_metadata fields to MediaEntry and relevant migrationChristopher Allan Webber2011-08-132-1/+26
|
* Create processing errors and raise BadMediaFail on failure to load the imageChristopher Allan Webber2011-08-122-1/+61
|
* Missing multi=True closing this migration, oops :)Christopher Allan Webber2011-08-121-0/+1
|
* Merge branch 'master' into processingChristopher Allan Webber2011-08-118-47/+50
|\ | | | | | | | | Conflicts: mediagoblin/db/migrations.py
| * PEP-8ing the keyword argument passing hereChristopher Allan Webber2011-08-111-1/+1
| |
| * Merge remote branch ↵Christopher Allan Webber2011-08-111-1/+1
| |\ | | | | | | | | | 'remotes/gullydwarf-cfdv/b488_email_validation_assumes_active_login'
| | * Bug #488 - email validation assumes active loginCaleb Forbes Davis V2011-08-081-1/+1
| | | | | | | | | | | | | | | - loads username from user object instead of session to remove dependency on active login
| * | Merge remote branch 'remotes/gullydwarf-cfdv/b372_rmdbfield_thumbnail_file'Christopher Allan Webber2011-08-112-6/+11
| |\ \
| | * | Bug #372 - MediaEntry.thumbnail_file not usedCaleb Forbes Davis V2011-08-102-6/+11
| | | | | | | | | | | | | | | | | | | | - deleted the thumbnail_file from the media_entries collection - added a migration to remove the field from previous db versions
| * | | If both the username and the email checks fail, warn about both at the same timeChristopher Allan Webber2011-08-111-2/+6
| | | |
| * | | Also normalize user's emails to .lower() when we accept the user.Christopher Allan Webber2011-08-111-1/+1
| | | |
| * | | Checks if the email(lowercase) have been used before to register a userAlejandro Villanueva2011-08-111-0/+5
| | | |
| * | | Making the users_with_username function call in the register view slightly ↵Christopher Allan Webber2011-08-111-4/+2
| | | | | | | | | | | | | | | | cleaner
| * | | Merge remote branch 'remotes/gullydwarf-cfdv/f446_use_render_divs_once_per_form'Christopher Allan Webber2011-08-114-25/+3
| |\ \ \
| | * | | uses render_divs for the comments form in media.html for completenessCaleb Forbes Davis V2011-08-111-1/+1
| | | | |
| | * | | eliminates textarea handling since rows cols not required in HTML5Caleb Forbes Davis V2011-08-111-24/+1
| | | | |
| | * | | Feature #446 - Render the submission form using the render_divs macroCaleb Forbes Davis V2011-08-113-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Currently there are individual calls to wtforms_util.render_field_div for each field in the media submit form, which is too verbose - Matched the field ordering in submit/form.py to the verbose version - hacks the correct textareafield rendering with hard-coded rows and columns. - TODO - figure out how to pass the textarea dimensions with **kwargs
| * | | | Adding slightly clearer docs to MountStorage.Christopher Allan Webber2011-08-111-9/+22
| |/ / /
* | | | Moving things around a bit/commenting in the submit view to make the ↵Christopher Allan Webber2011-08-111-2/+6
| | | | | | | | | | | | | | | | workflow clearer
* | | | Merge branch 'master' into processingChristopher Allan Webber2011-08-101-4/+2
|\| | |
| * | | Generate the ObjectId() manually instead of via .save()Christopher Allan Webber2011-08-101-4/+2
| | | |
* | | | We should save the entry *after* we add the queued_task_id.Christopher Allan Webber2011-08-101-1/+1
| | | |
* | | | Merge branch 'master' into processingChristopher Allan Webber2011-08-10119-1161/+5317
|\| | |
| * | | Updating translationsChristopher Allan Webber2011-08-1014-115/+1399
| | | |
| * | | Updating translationsChristopher Allan Webber2011-08-106-24/+620
| | | |
| * | | Minor change to indentationChristopher Allan Webber2011-08-101-2/+2
| | | |
| * | | Ooops! We should do a fake ugettext passthrough here also.Christopher Allan Webber2011-08-101-1/+1
| |/ /
| * | Removing a tab. This is a tab-free zone!Christopher Allan Webber2011-08-101-1/+1
| | |
| * | Converting all forms to use the "fake/null" gettext conversion functionChristopher Allan Webber2011-08-104-6/+9
| | | | | | | | | | | | | | | Gettext doesn't actually get run right in the form but we do need to wrap the strings in _() so stuff extracts :)
| * | Merge branch 'mergeme'Christopher Allan Webber2011-08-102-6/+52
| |\ \
| | * | Make it so that form fields and descriptions are actually translatedChristopher Allan Webber2011-08-101-5/+5
| | | |
| | * | Utilities to lazily translate strings and also fake a translation for extractionChristopher Allan Webber2011-08-101-1/+47
| | | |
| * | | Joar updating a typo in the Swedish translations :)Christopher Allan Webber2011-08-092-3/+3
| | | |
| * | | Compiling the translations files againChristopher Allan Webber2011-08-093-0/+0
| |/ /
| * | New translations including Swedish at 100% (again! now with python strings)Christopher Allan Webber2011-08-093-19/+306
| | |
| * | Extracted translatable strings from python files.Christopher Allan Webber2011-08-081-5/+100
| | |
| * | Marked relevant strings in python views/forms for translation via ugettextChristopher Allan Webber2011-08-086-31/+42
| | |
| * | Provide a pass_to_ugettext method and set up gettext to default to English.Christopher Allan Webber2011-08-081-0/+16
| | |
| * | mediagoblin/translations/ directory not used, mediagoblin/i18n/ is; removing ↵Christopher Allan Webber2011-08-082-23/+0
| | | | | | | | | | | | former
| * | We should pass ugettext instead of gettext into the jinja template envChristopher Allan Webber2011-08-081-1/+1
| | | | | | | | | | | | Otherwise we might get UnicodeDecodeErrors :)
| * | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinChristopher Allan Webber2011-08-081-0/+126
| |\ \
| | * \ Merge remote branch 'remotes/elrond/dev/mount_storage'Christopher Allan Webber2011-08-081-0/+126
| | |\ \
| | | * | MountStorage: Improve mounting assertsElrond2011-08-081-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | The asserts now differentiate between mounting on the same path and mounting over a shorter path.
| | | * | MountStorage: Add docs.Elrond2011-08-081-0/+15
| | | | |
| | | * | Merge remote branch 'upstream/master' into dev/mount_storageElrond2011-08-0824-88/+440
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/storage.py
| | | * | | MountStorage: Better error reportingElrond2011-08-031-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created a new resolver frontend function, that raises and error, when no backend is found. Useful for all the wrappers.
| | | * | | MountStorage: drop u'' nonsense from mount methodElrond2011-08-031-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My old resolver couldn't handle empty lists, so for the mount resolving I appeneded a u'' as dummy element. Not needed any more.