aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/views.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Dot-Notation for Users.bio and .bio_htmlElrond2011-12-051-2/+2
| |
| * Dot-Notation for Users.urlElrond2011-12-051-1/+1
| |
| * Dot-Notation for Users.is_adminElrond2011-12-051-2/+2
| |
| * Dot-Notation for Users.usernameElrond2011-12-051-1/+1
| |
| * added unittests, now using form errors and fixed bug when no GET parameter ↵Jakob Kramer2011-11-201-9/+14
| | | | | | | | is given for /edit/profile/
| * added support for changing the password, issue #643Jakob Kramer2011-11-201-10/+24
| |
| * Dot-Notation for "_id"Elrond2011-11-151-3/+3
| | | | | | | | | | | | | | | | | | Note: Migrations can't use "Dot Notation"! Migrations run on pymongo, not mongokit. So they can't use the "Dot Notation". This isn't really a big issue, as migrations are anyway quite mongo specific.
| * Merge remote-tracking branch 'remotes/nyergler/pep8-ification'Christopher Allan Webber2011-11-131-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py
| | * Whitespace and formatting cleanup.Nathan Yergler2011-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
| * | Mark two strings for translationElrond2011-11-131-1/+1
| | |
* | | First crack at basic license support.Aaron Williamson2012-01-171-1/+7
|/ /
* / Finished splitting util.py into separate files.Aaron Williamson2011-10-011-5/+6
|/
* Use media.url_for_self() instead of generating itElrond2011-09-091-5/+4
| | | | | | Some places used to generate the URL for a media entry on their own instead of calling media.url_for_self() to do that. The later handles missing slugs better.
* #i536: Removing attachments stuff from edit_media(), in its own method nowChristopher Allan Webber2011-09-041-11/+0
|
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|
* Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'Christopher Allan Webber2011-08-281-5/+6
|\ | | | | | | | | | | | | Conflicts: mediagoblin/edit/views.py mediagoblin/templates/mediagoblin/user_pages/media.html mediagoblin/user_pages/routing.py
| * + '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'
* | Merge branch 'master' into jwandborg-f482_media_attachmentsChristopher Allan Webber2011-08-221-3/+4
|\| | | | | | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/forms.py mediagoblin/edit/views.py mediagoblin/submit/views.py mediagoblin/templates/mediagoblin/user_pages/media.html
| * Marked relevant strings in python views/forms for translation via ugettextChristopher Allan Webber2011-08-081-3/+4
| |
* | Feature #482 - Media attachments -Joar Wandborg2011-08-221-19/+73
| | | | | | | | | | * Moved attachment uploading to separate view * Support for multiple attachments!
* | Feature #482 - Media attachmentsJoar Wandborg2011-08-051-1/+16
|/
* Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetagsChristopher Allan Webber2011-07-301-3/+9
|\ | | | | | | | | | | | | 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-211-3/+1
| |
| * 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-121-3/+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-121-1/+1
| | | | | | | | | | | | | | | | -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-121-2/+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 displayCaleb Forbes Davis V2011-07-081-1/+4
| |
* | 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
| |
* | bug #404 - corrects querystring variable name in redirectCaleb Forbes Davis V2011-07-071-1/+1
|/
* 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
| |
* | 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
* 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-181-3/+4
| | | | | | | | fixes usage of objects. still need to display the data on user page
* | baby step towards enabling profile editscfdv2011-06-181-0/+20
|/ | | | | | | | | | | | | | | 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
|