aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/views.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Attachment support in the SQL backendElrond2012-02-281-1/+1
| | | | | | | | | attachments working with the sql backend. - SQL Schema for attachment files, ordering attachments by their name, not by the submission order (as earlier). - Dot-Notation for attachments, where missing. - convert existing attachments over from mongo -> sql
* Drop pre-rendered html: MediaEntry.description_htmlElrond2012-02-181-4/+1
| | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the MediaEntry.description_html part.
* Drop pre-rendered html: User.bio_htmlElrond2012-02-181-2/+0
| | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the User.bio_html part.
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Nearly complete support for TagsElrond2012-01-281-1/+1
| | | | | | | | | | | These changes allow all of the rest of the code to use tags in sql as they were used on mongo. It's not efficient at all, as changing tags usually means to remove all old tags and adding all new. The only problem here is: Old slugs for tags are not removed, because they're shared across all MediaTags and dropping orphans is not always easy.
* Oops, I broke teh all rights reserved ;)Christopher Allan Webber2012-01-211-1/+1
|
* License "all rights reserved" default should be None/NULL, not empty stringChristopher Allan Webber2012-01-211-1/+1
|
* Fix unit tests with new license supportElrond2012-01-211-3/+1
| | | | | Make the license field in the forms optional and let them properly be defaulted to "".
* Minor formatting and syntax fix.Aaron Williamson2012-01-181-1/+2
|
* Fixed a syntax error in edit/views and added back in some missing license ↵Aaron Williamson2012-01-171-2/+2
| | | | stuff from models
* Merged changes with upstreamAaron Williamson2012-01-171-28/+72
|\
| * Dot-Notation: Some random placesElrond2012-01-111-5/+5
| |
| * Create edit_account.htmlJef van Schendel2012-01-051-8/+32
| |
| * Dot-Notation for MediaEntry.description(_html)Elrond2011-12-051-4/+4
| |
| * Dot-Notation for MediaEntry.slugElrond2011-12-051-2/+2
| |
| * Dot-Notation for MediaEntry.titleElrond2011-12-051-2/+2
| |
| * Dot-Notation for MediaEntry.uploaderElrond2011-12-051-2/+2
| |
| * 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
|/