Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Capture and properly handle errors. | Christopher Allan Webber | 2011-08-13 | 1 | -4/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -8/+18 | |
| | | | | | | | | | | | | 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. | |||||
| * | Merge branch 'master' into processing | Christopher Allan Webber | 2011-08-11 | 1 | -1/+1 | |
| |\ | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py | |||||
| | * | Feature #446 - Render the submission form using the render_divs macro | Caleb Forbes Davis V | 2011-08-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | |||||
| * | | 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 | 3 | -6/+36 | |
| |\| | ||||||
| | * | Converting all forms to use the "fake/null" gettext conversion function | Christopher Allan Webber | 2011-08-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Gettext doesn't actually get run right in the form but we do need to wrap the strings in _() so stuff extracts :) | |||||
| | * | Marked relevant strings in python views/forms for translation via ugettext | Christopher Allan Webber | 2011-08-08 | 2 | -6/+9 | |
| | | | ||||||
| * | | Store the task id of a processing action in the database. | Christopher Allan Webber | 2011-07-24 | 1 | -1/+2 | |
| | | | ||||||
* | | | Feature #482 - Media attachments - | Joar Wandborg | 2011-08-22 | 2 | -28/+0 | |
| | | | | | | | | | | | | | | | * Moved attachment uploading to separate view * Support for multiple attachments! | |||||
* | | | Feature #482 - Media attachments | Joar Wandborg | 2011-08-05 | 2 | -1/+34 | |
| |/ |/| | ||||||
* | | TOO_LONG_TAG_WARNING isn't needed in this module | Christopher Allan Webber | 2011-07-30 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetags | Christopher Allan Webber | 2011-07-30 | 2 | -1/+11 | |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/views.py mediagoblin/util.py | |||||
| * | | changes tags to a list of dicts in the db, adding tag slugs | Caleb Forbes Davis V | 2011-07-27 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - adds a function to convert the tag list of dicts to a text string properly delimited for loading into forms - tag string conversion function updated to generate list of dicts - updates all mentions of the conversion of the string to the tags db object - adds a tags template utility and updates the media template accordingly | |||||
| * | | on submission, use inline error messaging instead of message queue | Caleb Forbes Davis V | 2011-07-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | - the function that converts the user's tag string into a list of tags now accepts a string, but the media submit view was still submitting the request object, like we were going to add any errors to the session. Now the submit view passes the tag string | |||||
| * | | raises tag length error in form context instead of in message queue | Caleb Forbes Davis V | 2011-07-21 | 1 | -1/+4 | |
| | | | ||||||
| * | | enforces maximum tag length with (in)appropriate messaging | Caleb Forbes Davis V | 2011-07-13 | 1 | -1/+3 | |
| | | | ||||||
| * | | uses standard functions instead of form filters and fixes taglist default | Caleb Forbes Davis V | 2011-07-12 | 2 | -5/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - seems simpler to use the same tag field processing procedures on media submit and edit, so now processing with a regular function instead of a form filter. Filters run on form load and post by default. - moved tags to sidebar - taglist defaults to [] instead of None - adds case sensitivity toggle | |||||
| * | | adds filter function to parse and clean tags field input | Caleb Forbes Davis V | 2011-07-12 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | - for some reason the tags are showing up in the media edit form with u'..' and surrounded with []. I don't know why, grr | |||||
| * | | F360(tagging) - adds tag fields for submission, edit and display | Caleb Forbes Davis V | 2011-07-08 | 2 | -0/+3 | |
| | | | ||||||
* | | | Adds license header | Will Kahn-Greene | 2011-07-30 | 1 | -0/+17 | |
| |/ |/| | ||||||
* | | Removed route, view and template file for "Submit Success" page | Rasmus Larsson | 2011-07-09 | 2 | -9/+1 | |
|/ | ||||||
* | Feature #409 - Submitting an image should redirect you back to user's | Joar Wandborg | 2011-07-03 | 1 | -1/+5 | |
| | | | | | | | | | | | page w/ a message * Successful submission redirects to the logged in user's page (your own, presumably). * "Woohoo! Submitted!" is launched into the tube of session messages to appear on next pageload. If you're not aborting in the window of 210ms it takes for the client to respond to the 302 and load the logged in user's/your page that is, YMMV. | |||||
* | Adds util.cleaned_markdown_conversion() and uses it in the submission process | Christopher Allan Webber | 2011-06-19 | 1 | -10/+8 | |
| | | | | | | This simplifies the markdown processing & html cleaning of descritions and etc by providing a wrapper function that we can use in multiple locations. | |||||
* | Made changes according to http://bugs.foocorp.net/issues/363#note-5 | Joar Wandborg | 2011-06-15 | 1 | -4/+6 | |
| | ||||||
* | Added Markdown rendering for `media_entry` | Joar Wandborg | 2011-06-12 | 1 | -0/+7 | |
| | ||||||
* | Fixing check_filetype... | Christopher Allan Webber | 2011-06-07 | 1 | -9/+1 | |
| | | | | | We need to check the first part of the guess_type returned tuple, and also this try: except: doesn't belong here, so killing. | |||||
* | Added a comment to clarify that this shouldn't stay here. | Christopher Allan Webber | 2011-06-06 | 1 | -0/+2 | |
| | ||||||
* | Merge remote branch 'remotes/gandaro/324-bad-media-types' | Christopher Allan Webber | 2011-06-06 | 2 | -1/+36 | |
|\ | ||||||
| * | add changes in mediagoblin/submit/views.py | Jakob Kramer | 2011-06-02 | 1 | -1/+4 | |
| | | ||||||
| * | should fix #324 | Jakob Kramer | 2011-06-02 | 1 | -0/+32 | |
| | | ||||||
* | | Made a simple template rendering view and switched a bunch of code over to ↵ | Christopher Allan Webber | 2011-06-05 | 1 | -2/+2 | |
| | | | | | | | | using it | |||||
* | | I have a strong preference for aligning all parameters in a function call. | Christopher Allan Webber | 2011-06-05 | 1 | -3/+4 | |
| | | ||||||
* | | Create redirect shortcut and use it around | Elrond | 2011-06-05 | 1 | -5/+2 | |
| | | | | | | | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic. | |||||
* | | Reformat render_to_response calls | Elrond | 2011-06-05 | 1 | -7/+5 | |
| | | | | | | | | | | Just a simple indentation and ordering change, no functional change. | |||||
* | | Create render_to_reponse and use it everywhere. | Elrond | 2011-06-05 | 1 | -8/+6 | |
| | | | | | | | | Just a shortcut for Response(render_template(...)) | |||||
* | | Moving all views over to using util.render_template()! | Christopher Allan Webber | 2011-06-04 | 1 | -9/+6 | |
|/ | ||||||
* | Update all the views so that they use the uploader reference instead | Christopher Allan Webber | 2011-05-22 | 1 | -1/+1 | |
| | | | | of uploader embedding | |||||
* | Generate unique slugs for newly submitted images. | Aaron Williamson | 2011-05-13 | 1 | -0/+3 | |
| | ||||||
* | min=0 makes more sense than min=-1 | Christopher Allan Webber | 2011-05-12 | 1 | -1/+1 | |
| | ||||||
* | On image submission, do not require title. If none entered, default to filename. | Aaron Williamson | 2011-05-12 | 2 | -4/+6 | |
| | ||||||
* | Fix description submission in form handling | Sebastian Spaeth | 2011-05-09 | 1 | -1/+1 | |
| | | | | | | | | | When we submitted an image the description would remain empty. THis was because of some weird typo in form handling. Get an attribute with .get('description') and not with .get(['description']). With this patch, descriptions actually go into the database. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | |||||
* | Process media! Successfully! | Christopher Allan Webber | 2011-05-06 | 1 | -2/+5 | |
| | ||||||
* | Properly require files when users submit | Christopher Allan Webber | 2011-04-23 | 1 | -32/+40 | |
| | ||||||
* | Submission of image works :) | Christopher Allan Webber | 2011-04-23 | 2 | -5/+4 | |
| | | | | /me pours some sparkling grape juice | |||||
* | Enclose queue_file writing in with statement so that it's closed correctly. | Christopher Allan Webber | 2011-04-23 | 1 | -1/+2 | |
| | ||||||
* | A stupid success view. | Christopher Allan Webber | 2011-04-23 | 1 | -0/+2 | |
| |