aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit
Commit message (Collapse)AuthorAgeFilesLines
* + 'confirm' section for confirmation dialoguesMark Holmquist2011-08-221-5/+8
| | | | | + implemented delete functionality * fixed several instances of 'must be an instance of unicode, not str'
* Converting all forms to use the "fake/null" gettext conversion functionChristopher Allan Webber2011-08-101-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 ugettextChristopher Allan Webber2011-08-082-10/+14
|
* Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetagsChristopher Allan Webber2011-07-302-3/+13
|\ | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/views.py mediagoblin/util.py
| * changes tags to a list of dicts in the db, adding tag slugsCaleb Forbes Davis V2011-07-271-3/+5
| | | | | | | | | | | | | | | | | | - 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
| * use config_spec.ini to store tag parsing directivesCaleb Forbes Davis V2011-07-251-3/+3
| |
| * raises tag length error in form context instead of in message queueCaleb Forbes Davis V2011-07-212-4/+5
| |
| * enforces maximum tag length with (in)appropriate messagingCaleb Forbes Davis V2011-07-131-1/+3
| |
| * uses standard functions instead of form filters and fixes taglist defaultCaleb Forbes Davis V2011-07-122-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
| * displays the tags on edit correctly nowCaleb Forbes Davis V2011-07-122-2/+2
| | | | | | | | | | | | | | | | -before it was running the tags field through the submit filter. that was kind of dumb -removes the filter function from the edit form -adds unicode syntax in the filter function -uses split correctly when saving the edited tags to mongodb
| * adds filter function to parse and clean tags field inputCaleb Forbes Davis V2011-07-122-4/+6
| | | | | | | | | | - 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 displayCaleb Forbes Davis V2011-07-082-1/+6
| |
* | Adds license headerWill Kahn-Greene2011-07-301-0/+17
| |
* | Use cleaned_markdown_conversion in both cases in edit/views.pyChristopher Allan Webber2011-07-141-11/+6
| |
* | Markdown-enable user bio (Feature 410)Aaron Williamson2011-07-101-0/+4
| |
* | Sorry, that OptionalField belonged there.Christopher Allan Webber2011-07-091-1/+2
| | | | | | | | I am a bad person and am not allowed to commit anything else today.
* | <Elrond> Oh well... Did I really have this wtforms cruft in my setup_workbenchChristopher Allan Webber2011-07-091-2/+1
| | | | | | | | commit. :-( I don't know even, how it got in there. :-|
* | Merge remote branch 'remotes/gullydwarf-cfdv/b404_v3_edit_profile_submit_fail'Christopher Allan Webber2011-07-091-1/+1
|\ \
| * | bug #404 - corrects querystring variable name in redirectCaleb Forbes Davis V2011-07-071-1/+1
| |/
* / Bug #437 - adds required validator to slug field for media edit'Caleb Forbes Davis V2011-07-071-1/+2
|/ | | | otherwise we get a 404 because we navigate to blank slug
* Merge remote branch ↵Christopher Allan Webber2011-07-061-2/+2
|\ | | | | | | | | | | | | 'remotes/gullydwarf-cfdv/b404_v2_redirect_after_profile_edit' Conflicts: mediagoblin/edit/views.py
| * edit profile submit redirects to user home pageCaleb Forbes Davis V2011-07-061-1/+3
| |
* | B #429 - form validation allows blank profile urlCaleb Forbes Davis V2011-07-051-1/+2
| |
* | Switching single-quoted strings to double-quote to avoid escaping the ↵Christopher Allan Webber2011-07-031-2/+2
| | | | | | | | apostrophe.. :)
* | Caution an admin when they're editing someone else's media.Christopher Allan Webber2011-07-031-0/+8
| |
* | uses new 'username' variable in querystring to specify the user to editCaleb Forbes Davis V2011-07-031-2/+15
|/ | | | | | | | | Previously, this view only allowed editing of the logged-in user. Now you can specify the user to edit in the querystring. If you are an admin the view allows you to edit any user's profile, with a warning message. The warning only shows up if the admin is editing another user's profile. Make sure to pass the username to this view at every step in the process
* Bug #404 - Successful profile edit is successful!Caleb Forbes Davis V2011-07-011-1/+5
| | | | user is notified of successful profile edit w/o extra navigation
* Several small UI changes to edit profile page: moved header, changed form ↵Jef van Schendel2011-06-221-3/+3
| | | | wording, changed css class
* I don't think we need the username to be part of the profile editing URLChristopher Allan Webber2011-06-211-1/+1
|
* Adding an extra space between function definitionsChristopher Allan Webber2011-06-211-0/+1
|
* Merge remote-tracking branch 'origin/master' into is315cfdv2011-06-201-2/+11
|\
| * Made changes according to http://bugs.foocorp.net/issues/363#note-5Joar Wandborg2011-06-151-4/+6
| |
| * Added Markdown rendering for `media_entry`Joar Wandborg2011-06-121-1/+8
| |
* | enables entering user details including website url and biocfdv2011-06-182-5/+5
| | | | | | | | fixes usage of objects. still need to display the data on user page
* | baby step towards enabling profile editscfdv2011-06-183-0/+29
|/ | | | | | | | | | | | | | | adds * url and bio fields to database * form for editing the user profile * route to the edit profile controller * view for the profile editing page * template for the profile editing page * link to edit profile in the welcome page still needs * thorough inspection to see if it makes sense * tests * ?
* I have a strong preference for aligning all parameters in a function call.Christopher Allan Webber2011-06-051-1/+2
|
* Create redirect shortcut and use it aroundElrond2011-06-051-5/+3
| | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic.
* Reformat render_to_response callsElrond2011-06-051-5/+4
| | | | | Just a simple indentation and ordering change, no functional change.
* Create render_to_reponse and use it everywhere.Elrond2011-06-051-5/+4
| | | | Just a shortcut for Response(render_template(...))
* Moving all views over to using util.render_template()!Christopher Allan Webber2011-06-041-5/+4
|
* Mount media editing under /u/{username}/m/{media}/edit/Christopher Allan Webber2011-06-041-2/+2
|
* Let's redirect back to the media homepage using the slug instead of the idChristopher Allan Webber2011-06-041-1/+1
|
* I shouldn't have removed the .save() entirely :)Christopher Allan Webber2011-06-041-0/+1
|
* Find out if such a slug exists via a query instead of via a .save() callChristopher Allan Webber2011-06-031-12/+19
|
* Add GNU headers to new *.pyElrond2011-06-022-0/+31
|
* Handle Exceptions from save(); Move may_edit_mediaElrond2011-06-022-10/+13
| | | | | | | | Turn .save() excpetions into a HTTPConflict. Not nice, but at least the user gets the error. Until there is a proper way to validate things and get nice errors. Move may_edit_media() to lib.py, as it's not a view.
* Prepare for moving /edit/ under /u/.../edit/Elrond2011-06-022-3/+3
| | | | | To make moving the whole thing under /u/ easier, prepare to pass in the {user} needed for that.
* Check for edit permission.Elrond2011-06-021-0/+13
| | | | | You need to own the media, or be an admin to use the edit form. As simple as that, for now.
* "edit": Finally implement saving.Elrond2011-05-271-1/+12
| | | | | | Currently no checks. Probably not so good. And especially, every logged in user currently can edit the data for any other user's media.
* Starting "edit" functionality.Elrond2011-05-264-0/+72
This adds a link to the "edit" form, the form, the view for displaying the form and that's about it.