4299 Commits

Author SHA1 Message Date
Berker Peksag
f1d9a62a4b Update a comment. 2014-06-07 14:00:27 +03:00
Berker Peksag
d9aced73f1 The file() builtin has been removed in Python 3. Use open() instead. 2014-06-07 13:51:42 +03:00
Berker Peksag
120fa4ae95 Change urllib and urllib import with six.moves.urllib. 2014-06-07 13:49:39 +03:00
Christopher Allan Webber
eb7f69ac30 metadata here should really be stored_metadata.
We went through all the difficulty of converting the tags and never
saved them!

Thanks to Boris Bobrov for pointing this out.

This commit also sponsored by William Kahn-Greene.  Thanks Will... for
everything! :)
2014-06-06 09:57:27 -05:00
Christopher Allan Webber
d57dd89e98 psql, not postgres, in configure.ac 2014-06-05 11:01:21 -05:00
Berker Peksag
dce76c3ee7 Sync py2_unicode decorator with Django. 2014-06-03 01:41:44 +03:00
Berker Peksag
f9a7201c32 Use mediagoblin._compat.{ugettext, ungettext} on Python 3. 2014-06-02 22:25:27 +03:00
Berker Peksag
5a239cb7b8 Use six.moves.zip instead of itertools.izip. 2014-06-02 21:03:56 +03:00
Berker Peksag
0b2572b9a8 Add py2_unicode helper to mediagoblin._compat. 2014-06-02 21:01:48 +03:00
Berker Peksag
e49b7e02b2 Use six.text_type instead of unicode().
I will be switch to use ``from __future__ import unicode_literals`` later.
2014-06-02 20:59:28 +03:00
Berker Peksag
76bb92dcb4 Fix a typo in babel.ini. 2014-06-02 10:41:26 -05:00
Christopher Allan Webber
b02e37c297 removing zh and ja from RTL list. medicalwei reports they are not RTL languages.
This commit sponsored by Philipp Edelmann.  Thanks!
2014-06-02 10:39:23 -05:00
Christopher Allan Webber
ac7f3b17bf git submodule fetch -> git submodule update 2014-06-02 10:34:16 -05:00
tilly-Q
4ed4908cbd Added pyld to the mediagoblin dependencies because it is necessary with the new
metadata functionality.
2014-05-29 12:57:40 -04:00
Berker Peksag
a80c74bbcc Add ugettext and ungettext helpers to mediagoblin._compat. 2014-05-26 19:53:10 +03:00
Berker Peksag
fd19da346b Use six.moves.urllib.parse instead of the urlparse module. 2014-05-26 19:52:18 +03:00
Berker Peksag
386c9c7c55 Use six.iteritems() instead of dict.iteritems(). 2014-05-26 19:50:38 +03:00
tilly-Q
da537ed44e Merge branch 'metadata' 2014-05-14 13:02:30 -04:00
tilly-Q
2daf8ec000 Fixed a small error relating to the default value of media_metadata 2014-05-14 12:34:13 -04:00
tilly-Q
414c682fb4 Added some tests for metadata. 2014-05-14 12:16:03 -04:00
tilly-Q
1688abbfc4 Cleaned up the code a little bit 2014-05-14 12:03:58 -04:00
tilly-Q
0e69d93295 Fixed small error in the edit.metadata javascript 2014-05-14 12:02:54 -04:00
tilly-Q
c8abeb58af Set a default value to MediaEntry.media_metadata 2014-05-14 11:56:59 -04:00
tilly-Q
0d6550fb05 Tweaked the metadata edit screen to run jsonschema validators against the data. 2014-05-14 11:51:13 -04:00
tilly-Q
65f5714118 Adjusted batchaddmedia to make use of more internal nodes. Added to the docs. 2014-05-13 18:24:26 -04:00
tilly-Q
375db9c9bc Wrote a test for the compact_and_validate metadata function. 2014-05-13 17:45:29 -04:00
tilly-Q
e78472abac Added 'dc:created' to the list of metadata columns being validated by
jsonschema.
2014-05-13 17:44:10 -04:00
tilly-Q
80fefb8514 Removed unused imports. 2014-05-13 16:59:02 -04:00
tilly-Q
c0ea2bad04 Prepared for input without an 'id' column and made all of the internal nodes
into free floating nodes so that compact_and_validate will remove them.
2014-05-13 16:57:12 -04:00
tilly-Q
03766fd870 Made it so that admins or moderators only would see the feature_management_panel
link if they have the featurer privilege
2014-05-13 16:28:38 -04:00
tilly-Q
2e76016c9a Added a line to the readme 2014-05-13 15:45:50 -04:00
tilly-Q
c5667c7300 Removed unused imports and removed development only migrations fromc
archivalook plugin
2014-05-13 15:34:35 -04:00
tilly-Q
1d09e8b4f1 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadata
Conflicts:
	mediagoblin/gmg_commands/__init__.py
2014-05-13 15:24:59 -04:00
tilly-Q
f3ced5db21 Added a link to the manage feature screen in the dropdown menu for
those that have the appropriate privilege. Added a readme.
2014-05-13 15:03:42 -04:00
tilly-Q
b24c27d123 Added the new plugin I've been working at all summer at this link:
6dbd68dab8:
2014-05-13 15:03:42 -04:00
tilly-Q
cc7c9091ac Merge branch 'template_hooks_for_moderation' 2014-05-13 14:49:54 -04:00
tilly-Q
6100f9eef2 Merge branch 'permission_scheme' 2014-05-13 14:47:19 -04:00
tilly-Q
b5dd245989 Made the metadata table functional within the new metadata_display plugin and
removed all traces of it from core.
2014-05-12 18:07:31 -04:00
tilly-Q
f14519c398 Merge branch 'metadata' of gitorious.org:mediagoblin/cwebbers-mediagoblin into metadata
Conflicts:
	mediagoblin/plugins/metadata_display/templates/mediagoblin/plugins/metadata_display/metadata_table.html
2014-05-12 17:14:55 -04:00
tilly-Q
8524a6bdc5 Added documentation for the batchaddmedia gmg tool to the mediagoblin docs. 2014-05-12 17:02:31 -04:00
Christopher Allan Webber
acfcaf6366 Move the metadata display table over to being contained in a plugin 2014-05-12 14:50:58 -05:00
tilly-Q
8f65028ddf Corrected the rdfa in the metadata table. 2014-05-12 14:48:46 -04:00
tilly-Q
9ceea31c5b Made the metadata table look pretty 2014-05-12 14:27:26 -04:00
tilly-Q
7d52eb7705 Modified the batchaddmedia script so that it only looks for one csv file instead
of the previous method which looked for two files.
2014-05-12 14:10:29 -04:00
tilly-Q
e8d64d453b Cleaned up the 'batchaddmedia' command a bit 2014-05-12 13:19:03 -04:00
tilly-Q
6b6b1b076b Made some changes so that the metadata editing page works well with the updated
metadata tools.
2014-05-12 13:13:46 -04:00
tilly-Q
7bcb3e100c Merge branch 'metadata-editor' into metadata 2014-05-12 12:26:07 -04:00
tilly-Q
494bce47f9 Changed the format of the wtforms table slightly 2014-05-12 12:20:03 -04:00
Christopher Allan Webber
fbea284aeb Removing the prefix stuff 2014-05-11 18:47:55 -05:00
Christopher Allan Webber
fd7069632b Splitting up compact_json from compact_and_validate
This commit sponsored by Harry Rogoff.  Thank you!
2014-05-09 17:34:11 -05:00