3515 Commits

Author SHA1 Message Date
Jessica Tallon
59ff4790c9 Add JPope's sandy 70s speedboat theme 2014-07-20 09:51:04 +01:00
Tryggvi Bjorgvinsson
09bed9a732 Use unicode for logging comments
The comment problems detailed in issue 791 are related to logging
of comments creation. The log tries to format unicode comments into
an ascii string (that is the unicode comment content).

This also creates problems with mark seen functionality since that
also logs the comments which breaks and you end up with a lot of
international comments in your message queue.

This commit makes both log messages unicode as well as the
representation of the comment.
2014-07-18 15:27:35 +01:00
Christopher Allan Webber
8c311def96 Explicitly *do not* handle NEF files via the video media type.
Gstreamer might think it's a good idea, but it isn't.
2014-07-17 15:04:03 -05:00
Jessica Tallon
892eed590f Fix #894 - index User.username field
This commit sponsored by Emily O'Leary.  Thank you!
2014-07-17 10:21:29 -05:00
Odin Hørthe Omdal
ffbf9c8b43 Implement Raw Image media type plugin 2014-07-16 14:29:58 -05:00
Christopher Allan Webber
1c0293898c Committing extracted and compiled translations 2014-07-10 12:33:32 -05:00
Christopher Allan Webber
e9f75d75a0 Committing present MediaGoblin translations before pushing extracted messages 2014-07-10 12:32:36 -05:00
Tryggvi Bjorgvinsson
71d31dda07 Tags can now be passed in for media entries submitted via the api plugin 2014-07-10 11:05:29 -05:00
Christopher Allan Webber
ccd4f984c2 Fix bad copy/paste in skip_transcoding code (Fix by Beuc, Brett Smith) 2014-07-10 10:58:38 -05:00
tilly-Q
4285fc67b3 This was a very simple update. The gmg command adduser was generating an
unncessary error because we were searching for a non-unicode string value in a
Unicode column of the core__users table.
2014-07-10 10:28:34 -05:00
Christopher Allan Webber
4b24678a1f Adding WAI-ARIA attributes to the header dropdown (Fix by Aleksej Serdjukov)
This fixes issue #754

Thanks Aleksej!
2014-07-10 10:24:37 -05:00
Christopher Allan Webber
a433775536 Wrapping things to not exceed column 80 in test_ldap 2014-07-10 10:24:37 -05:00
Jessica Tallon
c5eb24b834 Allow crypto.random_string to take optional alphabet param 2014-07-08 21:32:31 +01:00
Christopher Allan Webber
27f9932731 Removing legacy mongo-related docstring 2014-06-23 13:45:00 -05:00
Christopher Allan Webber
b1fbf67ec4 Add a modify_request hook 2014-06-22 22:22:16 -05:00
Natalie Foust-Pilcher
446cece470 Used the codecs library to read the csv file in batchaddmedia as unicode. 2014-06-21 15:26:23 -04:00
Aleksej
daf47b3890 Issue #837: Moderation report page: offender's name linked to the reporter's profile. 2014-06-13 10:41:55 -05:00
Aleksej
88542a8c1f Issue 839: move attribution from some icons' alt into title. 2014-06-13 10:37:47 -05:00
Berker Peksag
9da03b739f Convert media_ids to int safely.
With this commit, "gmg deletemedia spam,12" will not raise
ValueError anymore.
2014-06-13 10:30:46 -05:00
Berker Peksag
25b1296ded Properly exit when "gmg deletemedia" succeed.
Also, fixed a typo: "to will be" -> "will be"
2014-06-13 10:30:46 -05:00
Loïc Le Ninan
0742e11dff Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. Replaced Required with InputRequired. 2014-06-13 10:23:07 -05:00
Natalie Foust-Pilcher
b9d990ac6a Fixed another error created by my last fix 2014-06-12 14:48:15 -04:00
Natalie Foust-Pilcher
32ba7efcfc Fixed a fatal error causing mediagoblin to crash when certain types of media
were uploaded
2014-06-12 14:12:34 -04:00
Loïc Le Ninan
8c7ba963af #303 : enhancement : add a command to delete users 2014-06-11 16:42:26 -05:00
Rodrigo Rodrigues da Silva
8db3277cd7 Put block mediagoblin_sidebar back in user_pages/media.html. Fixes issue #906. 2014-06-11 11:37:03 -05:00
Christopher Allan Webber
713dde5b9d Adding comments in the migration explaining a bit what's going on.
This commit sponsored by Philip Horger.  Thank you!
2014-06-11 11:09:28 -05:00
Christopher Allan Webber
987a63514f Explicitly set the column names to "user" and "privilege" 2014-06-11 11:01:17 -05:00
Christopher Allan Webber
c56a88b43e Switch "user_id" to "privilege" and "privilege_id" to "user".
This builds on the previous code Natalie wrote, but makes some changes:
 - More direct alterations for non-sqlite code
 - In both cases, I've made it so that we switched the field names from
   privilege_id and user_id to user and privilege respectively.  This
   way we can do the name swap, but in one case it's "easy": just
   changing the name.  (In the sqlite case it's still tricky though.)
2014-06-10 18:02:34 -05:00
Christopher Allan Webber
70bceff85f Merge remote-tracking branch 'refs/remotes/tilly-q/ticket-874' into mergetest
Conflicts:
	mediagoblin/db/migrations.py
2014-06-10 16:48:45 -05:00
Rodrigo Rodrigues da Silva
33ee70f9b0 Adding a template hook to the dropdown header 2014-06-10 11:49:41 -05: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
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
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