Christopher Allan Webber
2788e6a164
License "all rights reserved" default should be None/NULL, not empty string
2012-01-21 16:40:39 -06:00
Elrond
3c351460e1
Fix unit tests with new license support
...
Make the license field in the forms optional and let them
properly be defaulted to "".
2012-01-21 19:24:36 +01:00
Aaron Williamson
97ec97dbc7
Minor formatting and syntax fix.
2012-01-18 21:21:49 -05:00
Aaron Williamson
a6c49d49dc
Fixed a syntax error in edit/views and added back in some missing license stuff from models
2012-01-17 01:22:02 -05:00
Aaron Williamson
99a270e952
Merged changes with upstream
2012-01-17 00:59:21 -05:00
Aaron Williamson
25b48323a8
First crack at basic license support.
2012-01-17 00:33:55 -05:00
Elrond
0ab21f981a
Dot-Notation: Some random places
2012-01-11 11:42:26 +01:00
Jef van Schendel
c8071fa591
Create edit_account.html
2012-01-05 00:17:45 +01:00
Elrond
1d93996604
Dot-Notation for MediaEntry.description(_html)
2011-12-05 21:08:58 +01:00
Elrond
5da0bf901b
Dot-Notation for MediaEntry.slug
2011-12-05 21:08:58 +01:00
Elrond
ec82fbd85c
Dot-Notation for MediaEntry.title
2011-12-05 21:08:58 +01:00
Elrond
1ceb4fc868
Dot-Notation for MediaEntry.uploader
2011-12-05 21:08:58 +01:00
Elrond
4b77f86ab4
Dot-Notation for Users.bio and .bio_html
2011-12-05 21:08:58 +01:00
Elrond
a24e5133ed
Dot-Notation for Users.url
2011-12-05 21:08:58 +01:00
Elrond
bec591d85b
Dot-Notation for Users.is_admin
2011-12-05 21:08:57 +01:00
Elrond
5a4e3ff1e2
Dot-Notation for Users.username
2011-12-05 21:08:57 +01:00
Jakob Kramer
c8ccd23e8e
added unittests, now using form errors and fixed bug when no GET parameter is given for /edit/profile/
2011-11-20 00:37:19 +01:00
Jakob Kramer
4837b2f253
added support for changing the password, issue #643
2011-11-20 00:37:19 +01:00
Elrond
eabe6b678a
Dot-Notation for "_id"
...
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.
2011-11-15 11:32:13 +01:00
Christopher Allan Webber
ee91c2b88d
Merge remote-tracking branch 'remotes/nyergler/pep8-ification'
...
Conflicts:
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/user_pages/views.py
mediagoblin/util.py
2011-11-13 20:23:26 -06:00
Elrond
efd0a42ca1
Mark two strings for translation
2011-11-13 19:51:11 +01:00
Nathan Yergler
243c3843bd
Whitespace and formatting cleanup.
...
* Removed trailing whitespace
* Line length < 80 where possible
* Honor conventions on number of blank lines
* Honor conventions about spaces around :, =
2011-10-01 15:10:02 -07:00
Aaron Williamson
152a3bfaa3
Finished splitting util.py into separate files.
2011-10-01 18:05:44 -04:00
Elrond
8d7b549bb6
Use media.url_for_self() instead of generating it
...
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.
2011-09-09 23:59:32 +02:00
Christopher Allan Webber
7084661d5b
#i536: Removing attachments stuff from edit_media(), in its own method now
2011-09-04 18:22:22 -05:00
Will Kahn-Greene
12a100e4d8
508. Updates copyright/license information
2011-09-01 20:50:19 -04:00
Christopher Allan Webber
7dc3a66f92
Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'
...
Conflicts:
mediagoblin/edit/views.py
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/user_pages/routing.py
2011-08-28 22:05:54 -05:00
Christopher Allan Webber
894fa564e7
Merge branch 'master' into jwandborg-f482_media_attachments
...
Conflicts:
mediagoblin/config_spec.ini
mediagoblin/edit/forms.py
mediagoblin/edit/views.py
mediagoblin/submit/views.py
mediagoblin/templates/mediagoblin/user_pages/media.html
2011-08-22 21:48:45 -05:00
Joar Wandborg
3a8c3a3855
Feature #482 - Media attachments -
...
* Moved attachment uploading to separate view
* Support for multiple attachments!
2011-08-22 18:06:28 +02:00
Mark Holmquist
08750772ea
+ 'confirm' section for confirmation dialogues
...
+ implemented delete functionality
* fixed several instances of 'must be an instance of unicode, not str'
2011-08-22 02:57:40 -07:00
Christopher Allan Webber
4b1adc132c
Marked relevant strings in python views/forms for translation via ugettext
2011-08-08 22:53:39 -05:00
Joar Wandborg
2c4374938f
Feature #482 - Media attachments
2011-08-05 22:08:29 +02:00
Christopher Allan Webber
3cdf366acf
Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetags
...
Conflicts:
mediagoblin/config_spec.ini
mediagoblin/edit/views.py
mediagoblin/util.py
2011-07-30 13:09:01 -05:00
Caleb Forbes Davis V
0712a06dc6
changes tags to a list of dicts in the db, adding tag slugs
...
- 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
2011-07-27 14:51:57 -05:00
Caleb Forbes Davis V
10d7496da2
use config_spec.ini to store tag parsing directives
2011-07-25 23:46: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
Christopher Allan Webber
0d91af09d2
Use cleaned_markdown_conversion in both cases in edit/views.py
2011-07-14 00:40:16 -05:00
Caleb Forbes Davis V
cc7ff3c505
enforces maximum tag length with (in)appropriate messaging
2011-07-13 00:03:49 -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
93e3468a2a
displays the tags on edit correctly now
...
-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
2011-07-12 20:43:16 -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
Aaron Williamson
4c465852d1
Markdown-enable user bio (Feature 410)
2011-07-10 22:28:48 -04:00
Caleb Forbes Davis V
04a9515064
F360(tagging) - adds tag fields for submission, edit and display
2011-07-08 01:59:44 -05:00
Caleb Forbes Davis V
4924d6a50c
bug #404 - corrects querystring variable name in redirect
2011-07-07 10:45:23 -05:00
Christopher Allan Webber
1f69672478
Merge remote branch 'remotes/gullydwarf-cfdv/b404_v2_redirect_after_profile_edit'
...
Conflicts:
mediagoblin/edit/views.py
2011-07-06 22:38:19 -05:00
Caleb Forbes Davis V
02542d54e1
edit profile submit redirects to user home page
2011-07-06 17:14:07 -05:00
Christopher Allan Webber
b86bedf9ea
Switching single-quoted strings to double-quote to avoid escaping the apostrophe.. :)
2011-07-03 09:29:09 -05:00
Christopher Allan Webber
96a2c36642
Caution an admin when they're editing someone else's media.
2011-07-03 09:26:40 -05:00
Caleb Forbes Davis V
a0cf14fe7c
uses new 'username' variable in querystring to specify the user to edit
...
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
2011-07-03 02:56:00 -05:00
Caleb Forbes Davis V
d9ed098e74
Bug #404 - Successful profile edit is successful!
...
user is notified of successful profile edit w/o extra navigation
2011-07-01 22:33:54 -05:00