Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | @task decorator no longer used! Removing that import. | Christopher Allan Webber | 2011-08-13 | 1 | -1/+13 |
| | |||||
* | Capture and properly handle errors. | Christopher Allan Webber | 2011-08-13 | 2 | -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 Webber | 2011-08-13 | 2 | -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 migration | Christopher Allan Webber | 2011-08-13 | 2 | -1/+26 |
| | |||||
* | Create processing errors and raise BadMediaFail on failure to load the image | Christopher Allan Webber | 2011-08-12 | 2 | -1/+61 |
| | |||||
* | Missing multi=True closing this migration, oops :) | Christopher Allan Webber | 2011-08-12 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into processing | Christopher Allan Webber | 2011-08-11 | 8 | -47/+50 |
|\ | | | | | | | | | Conflicts: mediagoblin/db/migrations.py | ||||
| * | PEP-8ing the keyword argument passing here | Christopher Allan Webber | 2011-08-11 | 1 | -1/+1 |
| | | |||||
| * | Merge remote branch ↵ | Christopher Allan Webber | 2011-08-11 | 1 | -1/+1 |
| |\ | | | | | | | | | | 'remotes/gullydwarf-cfdv/b488_email_validation_assumes_active_login' | ||||
| | * | Bug #488 - email validation assumes active login | Caleb Forbes Davis V | 2011-08-08 | 1 | -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 Webber | 2011-08-11 | 2 | -6/+11 |
| |\ \ | |||||
| | * | | Bug #372 - MediaEntry.thumbnail_file not used | Caleb Forbes Davis V | 2011-08-10 | 2 | -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 time | Christopher Allan Webber | 2011-08-11 | 1 | -2/+6 |
| | | | | |||||
| * | | | Also normalize user's emails to .lower() when we accept the user. | Christopher Allan Webber | 2011-08-11 | 1 | -1/+1 |
| | | | | |||||
| * | | | Checks if the email(lowercase) have been used before to register a user | Alejandro Villanueva | 2011-08-11 | 1 | -0/+5 |
| | | | | |||||
| * | | | Making the users_with_username function call in the register view slightly ↵ | Christopher Allan Webber | 2011-08-11 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | cleaner | ||||
| * | | | Merge remote branch 'remotes/gullydwarf-cfdv/f446_use_render_divs_once_per_form' | Christopher Allan Webber | 2011-08-11 | 4 | -25/+3 |
| |\ \ \ | |||||
| | * | | | uses render_divs for the comments form in media.html for completeness | Caleb Forbes Davis V | 2011-08-11 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | eliminates textarea handling since rows cols not required in HTML5 | Caleb Forbes Davis V | 2011-08-11 | 1 | -24/+1 |
| | | | | | |||||
| | * | | | Feature #446 - Render the submission form using the render_divs macro | Caleb Forbes Davis V | 2011-08-11 | 3 | -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 Webber | 2011-08-11 | 1 | -9/+22 |
| |/ / / | |||||
* | | | | Moving things around a bit/commenting in the submit view to make the ↵ | Christopher Allan Webber | 2011-08-11 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | workflow clearer | ||||
* | | | | Merge branch 'master' into processing | Christopher Allan Webber | 2011-08-10 | 1 | -4/+2 |
|\| | | | |||||
| * | | | Generate the ObjectId() manually instead of via .save() | Christopher Allan Webber | 2011-08-10 | 1 | -4/+2 |
| | | | | |||||
* | | | | We should save the entry *after* we add the queued_task_id. | Christopher Allan Webber | 2011-08-10 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'master' into processing | Christopher Allan Webber | 2011-08-10 | 119 | -1161/+5317 |
|\| | | | |||||
| * | | | Updating translations | Christopher Allan Webber | 2011-08-10 | 14 | -115/+1399 |
| | | | | |||||
| * | | | Updating translations | Christopher Allan Webber | 2011-08-10 | 6 | -24/+620 |
| | | | | |||||
| * | | | Minor change to indentation | Christopher Allan Webber | 2011-08-10 | 1 | -2/+2 |
| | | | | |||||
| * | | | Ooops! We should do a fake ugettext passthrough here also. | Christopher Allan Webber | 2011-08-10 | 1 | -1/+1 |
| |/ / | |||||
| * | | Removing a tab. This is a tab-free zone! | Christopher Allan Webber | 2011-08-10 | 1 | -1/+1 |
| | | | |||||
| * | | Converting all forms to use the "fake/null" gettext conversion function | Christopher Allan Webber | 2011-08-10 | 4 | -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 Webber | 2011-08-10 | 2 | -6/+52 |
| |\ \ | |||||
| | * | | Make it so that form fields and descriptions are actually translated | Christopher Allan Webber | 2011-08-10 | 1 | -5/+5 |
| | | | | |||||
| | * | | Utilities to lazily translate strings and also fake a translation for extraction | Christopher Allan Webber | 2011-08-10 | 1 | -1/+47 |
| | | | | |||||
| * | | | Joar updating a typo in the Swedish translations :) | Christopher Allan Webber | 2011-08-09 | 2 | -3/+3 |
| | | | | |||||
| * | | | Compiling the translations files again | Christopher Allan Webber | 2011-08-09 | 3 | -0/+0 |
| |/ / | |||||
| * | | New translations including Swedish at 100% (again! now with python strings) | Christopher Allan Webber | 2011-08-09 | 3 | -19/+306 |
| | | | |||||
| * | | Extracted translatable strings from python files. | Christopher Allan Webber | 2011-08-08 | 1 | -5/+100 |
| | | | |||||
| * | | Marked relevant strings in python views/forms for translation via ugettext | Christopher Allan Webber | 2011-08-08 | 6 | -31/+42 |
| | | | |||||
| * | | Provide a pass_to_ugettext method and set up gettext to default to English. | Christopher Allan Webber | 2011-08-08 | 1 | -0/+16 |
| | | | |||||
| * | | mediagoblin/translations/ directory not used, mediagoblin/i18n/ is; removing ↵ | Christopher Allan Webber | 2011-08-08 | 2 | -23/+0 |
| | | | | | | | | | | | | former | ||||
| * | | We should pass ugettext instead of gettext into the jinja template env | Christopher Allan Webber | 2011-08-08 | 1 | -1/+1 |
| | | | | | | | | | | | | Otherwise we might get UnicodeDecodeErrors :) | ||||
| * | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Christopher Allan Webber | 2011-08-08 | 1 | -0/+126 |
| |\ \ | |||||
| | * \ | Merge remote branch 'remotes/elrond/dev/mount_storage' | Christopher Allan Webber | 2011-08-08 | 1 | -0/+126 |
| | |\ \ | |||||
| | | * | | MountStorage: Improve mounting asserts | Elrond | 2011-08-08 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The asserts now differentiate between mounting on the same path and mounting over a shorter path. | ||||
| | | * | | MountStorage: Add docs. | Elrond | 2011-08-08 | 1 | -0/+15 |
| | | | | | |||||
| | | * | | Merge remote branch 'upstream/master' into dev/mount_storage | Elrond | 2011-08-08 | 24 | -88/+440 |
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/storage.py | ||||
| | | * | | | MountStorage: Better error reporting | Elrond | 2011-08-03 | 1 | -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 method | Elrond | 2011-08-03 | 1 | -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. |