17 Commits

Author SHA1 Message Date
Manuel Urbano Santos
9382221fe2 Fix the text "Seperate tags by commas and spaces" since spaces are not used to seperate anymore. 2011-11-27 14:31:20 +01:00
Jef van Schendel
cee794a8f7 Fix for bug #467, "Add explanatory copy to add/edit picture pages saying that tags are comma-separated" 2011-11-20 15:34:40 +01:00
Aaron Williamson
152a3bfaa3 Finished splitting util.py into separate files. 2011-10-01 18:05:44 -04:00
Aaron Williamson
ae3bc7fabf Moved common, translation, template, and url code out of util.py and into tools/[file].py 2011-10-01 09:31:42 -04:00
Christopher Allan Webber
a237735a70 Mark description field's label for translation 2011-09-05 18:19:24 -05:00
Will Kahn-Greene
12a100e4d8 508. Updates copyright/license information 2011-09-01 20:50:19 -04:00
Caleb Forbes Davis V
f6bf68cae5 Feature #446 - Render the submission form using the render_divs macro
- 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
2011-08-11 00:50:16 -05:00
Christopher Allan Webber
7960ac985f Converting all forms to use the "fake/null" gettext conversion function
Gettext doesn't actually get run right in the form but we do need to
wrap the strings in _() so stuff extracts :)
2011-08-10 12:07:59 -05:00
Christopher Allan Webber
4b1adc132c Marked relevant strings in python views/forms for translation via ugettext 2011-08-08 22:53:39 -05:00
Christopher Allan Webber
3539dc8fb6 TOO_LONG_TAG_WARNING isn't needed in this module 2011-07-30 21:44:36 -05:00
Caleb Forbes Davis V
909371cdce raises tag length error in form context instead of in message queue 2011-07-21 00:02:57 -05:00
Caleb Forbes Davis V
6f2e4585cc uses standard functions instead of form filters and fixes taglist default
- 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
2011-07-12 22:43:26 -05:00
Caleb Forbes Davis V
cdf538bd61 adds filter function to parse and clean tags field input
- for some reason the tags are showing up in the media edit form
  with u'..' and surrounded with []. I don't know why, grr
2011-07-12 20:06:17 -05:00
Caleb Forbes Davis V
04a9515064 F360(tagging) - adds tag fields for submission, edit and display 2011-07-08 01:59:44 -05:00
Christopher Allan Webber
a8e2812b05 min=0 makes more sense than min=-1 2011-05-12 23:40:47 -05:00
Aaron Williamson
bb49e56f8c On image submission, do not require title. If none entered, default to filename. 2011-05-12 23:38:02 -05:00
Christopher Allan Webber
e323a06851 Start of the submit view, but not much there quite yet. 2011-04-19 19:05:46 -05:00