mediagoblin.git
10 years agoRevert "Add JPope's sandy 70s speedboat theme"
Jessica Tallon [Sun, 20 Jul 2014 08:28:30 +0000 (09:28 +0100)]
Revert "Add JPope's sandy 70s speedboat theme"

The theme is in the wrong place. Elrond suggested in IRC
that actually it should go in mediagoblin/themes.

This reverts commit 58432bcb8cf1795b90bc08b1a9615c64d77e1e3a.

10 years agoAdd JPope's sandy 70s speedboat theme
Jessica Tallon [Fri, 18 Jul 2014 17:01:58 +0000 (18:01 +0100)]
Add JPope's sandy 70s speedboat theme

10 years agoUse unicode for logging comments
Tryggvi Bjorgvinsson [Fri, 28 Feb 2014 23:25:02 +0000 (23:25 +0000)]
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.

10 years agoExplicitly *do not* handle NEF files via the video media type.
Christopher Allan Webber [Thu, 17 Jul 2014 20:04:03 +0000 (15:04 -0500)]
Explicitly *do not* handle NEF files via the video media type.

Gstreamer might think it's a good idea, but it isn't.

10 years agoFix #894 - index User.username field
Jessica Tallon [Thu, 17 Jul 2014 13:58:24 +0000 (14:58 +0100)]
Fix #894 - index User.username field

This commit sponsored by Emily O'Leary.  Thank you!

10 years agoImplement Raw Image media type plugin
Odin Hørthe Omdal [Mon, 12 May 2014 21:41:03 +0000 (23:41 +0200)]
Implement Raw Image media type plugin

10 years agoAs Elrond points out, git submodule should come first!
Christopher Allan Webber [Sat, 12 Jul 2014 13:59:55 +0000 (08:59 -0500)]
As Elrond points out, git submodule should come first!

This commit sponsored by Sebastien Hut.  Thanks Sebastien!

10 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Thu, 10 Jul 2014 17:33:32 +0000 (12:33 -0500)]
Committing extracted and compiled translations

10 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Thu, 10 Jul 2014 17:32:36 +0000 (12:32 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

10 years agoTags can now be passed in for media entries submitted via the api plugin
Tryggvi Bjorgvinsson [Thu, 5 Dec 2013 22:56:53 +0000 (22:56 +0000)]
Tags can now be passed in for media entries submitted via the api plugin

10 years agoFix bad copy/paste in skip_transcoding code (Fix by Beuc, Brett Smith)
Christopher Allan Webber [Thu, 10 Jul 2014 15:58:38 +0000 (10:58 -0500)]
Fix bad copy/paste in skip_transcoding code (Fix by Beuc, Brett Smith)

10 years agoMoving the quotation.
Christopher Allan Webber [Thu, 10 Jul 2014 15:32:49 +0000 (10:32 -0500)]
Moving the quotation.

This commit sponsored by Max Lupo.  Thanks Max!

10 years agoruntests.sh was asking to install nose instead of pytest
Amirouche Boubekki [Thu, 8 Aug 2013 18:51:20 +0000 (20:51 +0200)]
runtests.sh was asking to install nose instead of pytest

10 years agoThis was a very simple update. The gmg command `adduser` was generating an
tilly-Q [Sun, 29 Sep 2013 18:34:41 +0000 (14:34 -0400)]
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.

10 years agoAdding WAI-ARIA attributes to the header dropdown (Fix by Aleksej Serdjukov)
Christopher Allan Webber [Thu, 10 Jul 2014 15:22:33 +0000 (10:22 -0500)]
Adding WAI-ARIA attributes to the header dropdown (Fix by Aleksej Serdjukov)

This fixes issue #754

Thanks Aleksej!

10 years agoWrapping things to not exceed column 80 in test_ldap
Christopher Allan Webber [Thu, 10 Jul 2014 15:05:23 +0000 (10:05 -0500)]
Wrapping things to not exceed column 80 in test_ldap

10 years agoAllow crypto.random_string to take optional alphabet param
Jessica Tallon [Mon, 7 Jul 2014 23:02:16 +0000 (00:02 +0100)]
Allow crypto.random_string to take optional alphabet param

10 years agoRemoving legacy mongo-related docstring
Christopher Allan Webber [Mon, 23 Jun 2014 18:45:00 +0000 (13:45 -0500)]
Removing legacy mongo-related docstring

10 years agoAdd a modify_request hook
Christopher Allan Webber [Mon, 23 Jun 2014 03:21:42 +0000 (22:21 -0500)]
Add a modify_request hook

10 years agoUsed the codecs library to read the csv file in batchaddmedia as unicode.
Natalie Foust-Pilcher [Sat, 21 Jun 2014 19:26:23 +0000 (15:26 -0400)]
Used the codecs library to read the csv file in batchaddmedia as unicode.

10 years agoIssue #837: Moderation report page: offender's name linked to the reporter's profile.
Aleksej [Mon, 5 May 2014 12:34:47 +0000 (16:34 +0400)]
Issue #837: Moderation report page: offender's name linked to the reporter's profile.

10 years agoIssue 839: move attribution from some icons' alt into title.
Aleksej [Mon, 5 May 2014 14:05:34 +0000 (18:05 +0400)]
Issue 839: move attribution from some icons' alt into title.

10 years agoConvert media_ids to int safely.
Berker Peksag [Fri, 9 May 2014 20:37:49 +0000 (23:37 +0300)]
Convert media_ids to int safely.

With this commit, "gmg deletemedia spam,12" will not raise
ValueError anymore.

10 years agoProperly exit when "gmg deletemedia" succeed.
Berker Peksag [Fri, 9 May 2014 13:02:24 +0000 (16:02 +0300)]
Properly exit when "gmg deletemedia" succeed.

Also, fixed a typo: "to will be" -> "will be"

10 years agoMerge remote-tracking branch 'remotes/berker/remove-pkginfo'
Christopher Allan Webber [Fri, 13 Jun 2014 15:25:33 +0000 (10:25 -0500)]
Merge remote-tracking branch 'remotes/berker/remove-pkginfo'

10 years agoFixes #899 : DeprecationWarning about Required going away in WTForms 3.0. Replaced...
Loïc Le Ninan [Mon, 9 Jun 2014 13:14:23 +0000 (15:14 +0200)]
Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. Replaced Required with InputRequired.

10 years agoFixed another error created by my last fix
Natalie Foust-Pilcher [Thu, 12 Jun 2014 18:48:15 +0000 (14:48 -0400)]
Fixed another error created by my last fix

10 years agoFixed a fatal error causing mediagoblin to crash when certain types of media
Natalie Foust-Pilcher [Thu, 12 Jun 2014 18:12:34 +0000 (14:12 -0400)]
Fixed a fatal error causing mediagoblin to crash when certain types of media
were uploaded

10 years agoAdding Loïc Le Ninan to the contributor list
Christopher Allan Webber [Wed, 11 Jun 2014 22:06:11 +0000 (17:06 -0500)]
Adding Loïc Le Ninan to the contributor list

10 years ago#303 : enhancement : add a command to delete users
Loïc Le Ninan [Sat, 7 Jun 2014 21:45:50 +0000 (23:45 +0200)]
#303 : enhancement : add a command to delete users

10 years agoPut block mediagoblin_sidebar back in user_pages/media.html. Fixes issue #906.
Rodrigo Rodrigues da Silva [Mon, 9 Jun 2014 17:40:21 +0000 (14:40 -0300)]
Put block mediagoblin_sidebar back in user_pages/media.html. Fixes issue #906.

10 years agoAdding comments in the migration explaining a bit what's going on.
Christopher Allan Webber [Wed, 11 Jun 2014 16:09:28 +0000 (11:09 -0500)]
Adding comments in the migration explaining a bit what's going on.

This commit sponsored by Philip Horger.  Thank you!

10 years agoExplicitly set the column names to "user" and "privilege"
Christopher Allan Webber [Wed, 11 Jun 2014 16:01:17 +0000 (11:01 -0500)]
Explicitly set the column names to "user" and "privilege"

10 years agoSwitch "user_id" to "privilege" and "privilege_id" to "user".
Christopher Allan Webber [Tue, 10 Jun 2014 23:02:34 +0000 (18:02 -0500)]
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.)

10 years agoMerge remote-tracking branch 'refs/remotes/tilly-q/ticket-874' into mergetest
Christopher Allan Webber [Tue, 10 Jun 2014 21:48:45 +0000 (16:48 -0500)]
Merge remote-tracking branch 'refs/remotes/tilly-q/ticket-874' into mergetest

Conflicts:
mediagoblin/db/migrations.py

10 years agoAdding Rodrigo to AUTHORS
Christopher Allan Webber [Tue, 10 Jun 2014 16:51:12 +0000 (11:51 -0500)]
Adding Rodrigo to AUTHORS

10 years agoAdding a template hook to the dropdown header
Rodrigo Rodrigues da Silva [Thu, 5 Jun 2014 20:07:25 +0000 (17:07 -0300)]
Adding a template hook to the dropdown header

10 years agometadata here should really be stored_metadata.
Christopher Allan Webber [Fri, 6 Jun 2014 14:57:27 +0000 (09:57 -0500)]
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! :)

10 years agopsql, not postgres, in configure.ac
Christopher Allan Webber [Thu, 5 Jun 2014 16:01:21 +0000 (11:01 -0500)]
psql, not postgres, in configure.ac

10 years agoFix a typo in babel.ini.
Berker Peksag [Fri, 9 May 2014 13:26:09 +0000 (16:26 +0300)]
Fix a typo in babel.ini.

10 years agoremoving zh and ja from RTL list. medicalwei reports they are not RTL languages.
Christopher Allan Webber [Mon, 2 Jun 2014 15:39:23 +0000 (10:39 -0500)]
removing zh and ja from RTL list.  medicalwei reports they are not RTL languages.

This commit sponsored by Philipp Edelmann.  Thanks!

10 years agogit submodule fetch -> git submodule update
Christopher Allan Webber [Mon, 2 Jun 2014 15:31:49 +0000 (10:31 -0500)]
git submodule fetch -> git submodule update

10 years agoAdded pyld to the mediagoblin dependencies because it is necessary with the new
tilly-Q [Thu, 29 May 2014 16:57:40 +0000 (12:57 -0400)]
Added pyld to the mediagoblin dependencies because it is necessary with the new
metadata functionality.

10 years agoMerge branch 'metadata'
tilly-Q [Wed, 14 May 2014 17:02:30 +0000 (13:02 -0400)]
Merge branch 'metadata'

10 years agoFixed a small error relating to the default value of media_metadata
tilly-Q [Wed, 14 May 2014 16:34:13 +0000 (12:34 -0400)]
Fixed a small error relating to the default value of media_metadata

10 years agoAdded some tests for metadata.
tilly-Q [Wed, 14 May 2014 16:16:03 +0000 (12:16 -0400)]
Added some tests for metadata.

10 years agoCleaned up the code a little bit
tilly-Q [Wed, 14 May 2014 16:03:58 +0000 (12:03 -0400)]
Cleaned up the code a little bit

10 years agoFixed small error in the edit.metadata javascript
tilly-Q [Wed, 14 May 2014 16:02:54 +0000 (12:02 -0400)]
Fixed small error in the edit.metadata javascript

10 years agoSet a default value to MediaEntry.media_metadata
tilly-Q [Wed, 14 May 2014 15:56:59 +0000 (11:56 -0400)]
Set a default value to MediaEntry.media_metadata

10 years agoTweaked the metadata edit screen to run jsonschema validators against the data.
tilly-Q [Wed, 14 May 2014 15:51:13 +0000 (11:51 -0400)]
Tweaked the metadata edit screen to run jsonschema validators against the data.

10 years agoAdjusted batchaddmedia to make use of more internal nodes. Added to the docs.
tilly-Q [Tue, 13 May 2014 22:15:28 +0000 (18:15 -0400)]
Adjusted batchaddmedia to make use of more internal nodes. Added to the docs.

10 years agoWrote a test for the compact_and_validate metadata function.
tilly-Q [Tue, 13 May 2014 21:45:29 +0000 (17:45 -0400)]
Wrote a test for the compact_and_validate metadata function.

10 years agoAdded 'dc:created' to the list of metadata columns being validated by
tilly-Q [Tue, 13 May 2014 21:44:10 +0000 (17:44 -0400)]
Added 'dc:created' to the list of metadata columns being validated by
jsonschema.

10 years agoRemoved unused imports.
tilly-Q [Tue, 13 May 2014 20:59:02 +0000 (16:59 -0400)]
Removed unused imports.

10 years agoPrepared for input without an 'id' column and made all of the internal nodes
tilly-Q [Tue, 13 May 2014 20:53:28 +0000 (16:53 -0400)]
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.

10 years agoMade it so that admins or moderators only would see the feature_management_panel
tilly-Q [Tue, 13 May 2014 20:26:00 +0000 (16:26 -0400)]
Made it so that admins or moderators only would see the feature_management_panel
link if they have the featurer privilege

10 years agoAdded a line to the readme
tilly-Q [Tue, 13 May 2014 19:45:50 +0000 (15:45 -0400)]
Added a line to the readme

10 years agoRemoved unused imports and removed development only migrations fromc
tilly-Q [Tue, 13 May 2014 19:34:06 +0000 (15:34 -0400)]
Removed unused imports and removed development only migrations fromc
archivalook plugin

10 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadata
tilly-Q [Tue, 13 May 2014 19:24:59 +0000 (15:24 -0400)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadata

Conflicts:
mediagoblin/gmg_commands/__init__.py

10 years agoAdded a link to the manage feature screen in the dropdown menu for
tilly-Q [Tue, 13 May 2014 18:58:04 +0000 (14:58 -0400)]
Added a link to the manage feature screen in the dropdown menu for
those that have the appropriate privilege. Added a readme.

10 years agoAdded the new plugin I've been working at all summer at this link:
tilly-Q [Tue, 13 May 2014 15:47:41 +0000 (11:47 -0400)]
Added the new plugin I've been working at all summer at this link:
https://gitorious.org/npigeons-mediagoblin/archivalook/source/6dbd68dab85650792456b8e24bbbd36a323c2018:

10 years agoMerge branch 'template_hooks_for_moderation'
tilly-Q [Tue, 13 May 2014 18:49:54 +0000 (14:49 -0400)]
Merge branch 'template_hooks_for_moderation'

10 years agoMerge branch 'permission_scheme'
tilly-Q [Tue, 13 May 2014 18:47:19 +0000 (14:47 -0400)]
Merge branch 'permission_scheme'

10 years agoMade the metadata table functional within the new metadata_display plugin and
tilly-Q [Mon, 12 May 2014 22:07:31 +0000 (18:07 -0400)]
Made the metadata table functional within the new metadata_display plugin and
removed all traces of it from core.

10 years agoMerge branch 'metadata' of gitorious.org:mediagoblin/cwebbers-mediagoblin into metadata
tilly-Q [Mon, 12 May 2014 21:14:55 +0000 (17:14 -0400)]
Merge branch 'metadata' of gitorious.org:mediagoblin/cwebbers-mediagoblin into metadata

Conflicts:
mediagoblin/plugins/metadata_display/templates/mediagoblin/plugins/metadata_display/metadata_table.html

10 years agoAdded documentation for the batchaddmedia gmg tool to the mediagoblin docs.
tilly-Q [Mon, 12 May 2014 21:02:12 +0000 (17:02 -0400)]
Added documentation for the batchaddmedia gmg tool to the mediagoblin docs.

10 years agoMove the metadata display table over to being contained in a plugin
Christopher Allan Webber [Mon, 12 May 2014 19:50:58 +0000 (14:50 -0500)]
Move the metadata display table over to being contained in a plugin

10 years agoCorrected the rdfa in the metadata table.
tilly-Q [Mon, 12 May 2014 18:48:46 +0000 (14:48 -0400)]
Corrected the rdfa in the metadata table.

10 years agoMade the metadata table look pretty
tilly-Q [Mon, 12 May 2014 18:27:26 +0000 (14:27 -0400)]
Made the metadata table look pretty

10 years agoModified the batchaddmedia script so that it only looks for one csv file instead
tilly-Q [Mon, 12 May 2014 17:59:28 +0000 (13:59 -0400)]
Modified the batchaddmedia script so that it only looks for one csv file instead
of the previous method which looked for two files.

10 years agoCleaned up the 'batchaddmedia' command a bit
tilly-Q [Mon, 12 May 2014 17:19:03 +0000 (13:19 -0400)]
Cleaned up the 'batchaddmedia' command a bit

10 years agoMade some changes so that the metadata editing page works well with the updated
tilly-Q [Mon, 12 May 2014 17:07:11 +0000 (13:07 -0400)]
Made some changes so that the metadata editing page works well with the updated
metadata tools.

10 years agoMerge branch 'metadata-editor' into metadata
tilly-Q [Mon, 12 May 2014 16:26:07 +0000 (12:26 -0400)]
Merge branch 'metadata-editor' into metadata

10 years agoChanged the format of the wtforms table slightly
tilly-Q [Mon, 12 May 2014 16:20:03 +0000 (12:20 -0400)]
Changed the format of the wtforms table slightly

10 years agoRemoving the prefix stuff
Christopher Allan Webber [Sun, 11 May 2014 23:47:55 +0000 (18:47 -0500)]
Removing the prefix stuff

10 years agoSplitting up compact_json from compact_and_validate
Christopher Allan Webber [Fri, 9 May 2014 22:33:58 +0000 (17:33 -0500)]
Splitting up compact_json from compact_and_validate

This commit sponsored by Harry Rogoff.  Thank you!

10 years agoexpand_json utility... yet another convenience function :)
Christopher Allan Webber [Fri, 9 May 2014 21:49:42 +0000 (16:49 -0500)]
expand_json utility... yet another convenience function :)

This commit sponsored by Benjamin Lebsanft.  Thank you!

10 years agoRemoving the mediagoblin.jsonld file, which really was just the RDFa 1.1 file.
Christopher Allan Webber [Fri, 9 May 2014 19:32:46 +0000 (14:32 -0500)]
Removing the mediagoblin.jsonld file, which really was just the RDFa 1.1 file.

This commit sponsored by Matthew Cope.  Thanks!

10 years agoCompact and validate tools, loading internal json tools, much more
Christopher Allan Webber [Fri, 9 May 2014 19:10:27 +0000 (14:10 -0500)]
Compact and validate tools, loading internal json tools, much more

This commit sponsored by Caleb Nidey.  Thank you!

10 years agoRemove outdated PKGINFO.
Berker Peksag [Fri, 9 May 2014 13:21:31 +0000 (16:21 +0300)]
Remove outdated PKGINFO.

PKGINFO is created by the "python setup.py {sdist, bdist_egg}"
command and not useful to add the codebase. It is mainly used
by PyPI to display the package information.

10 years agoUpdating batchaddmedia to use new metadata tools
Christopher Allan Webber [Wed, 7 May 2014 23:50:48 +0000 (18:50 -0500)]
Updating batchaddmedia to use new metadata tools

10 years agoStarting to add metadata tools, as well as mediagoblin's schema
Christopher Allan Webber [Wed, 7 May 2014 23:41:34 +0000 (18:41 -0500)]
Starting to add metadata tools, as well as mediagoblin's schema

10 years agoRemoving unused variables
Christopher Allan Webber [Wed, 7 May 2014 20:21:58 +0000 (15:21 -0500)]
Removing unused variables

10 years agoRemoving build_json_ld_metadata
Christopher Allan Webber [Wed, 7 May 2014 20:21:10 +0000 (15:21 -0500)]
Removing build_json_ld_metadata

10 years agoThe URL format checker now works correctly
Christopher Allan Webber [Wed, 7 May 2014 18:36:52 +0000 (13:36 -0500)]
The URL format checker now works correctly

...though it isn't checking the right thing

10 years agoAdded in a few blank lines when a user edits the metadata of a file that has
tilly-Q [Tue, 6 May 2014 21:45:43 +0000 (17:45 -0400)]
Added in a few blank lines when a user edits the metadata of a file that has
none.

10 years agoFixed a slight css error.
tilly-Q [Tue, 6 May 2014 21:23:22 +0000 (17:23 -0400)]
Fixed a slight css error.

10 years agoMade it so the metadata editting page is only one step away from functioning
tilly-Q [Tue, 6 May 2014 21:19:30 +0000 (17:19 -0400)]
Made it so the metadata editting page is only one step away from functioning
correctly.

10 years agoCreated a UI for editting a media's metadata. Had to add a new macro to
tilly-Q [Tue, 6 May 2014 21:00:25 +0000 (17:00 -0400)]
Created a UI for editting a media's metadata. Had to add a new macro to
wtforms.html in the process.

10 years agoSet up the metadata editor forms
tilly-Q [Tue, 6 May 2014 16:54:08 +0000 (12:54 -0400)]
Set up the metadata editor forms

10 years agoCreated the media metadata editor page
tilly-Q [Tue, 6 May 2014 16:39:23 +0000 (12:39 -0400)]
Created the media metadata editor page

10 years agoAdd lib64/ directory to .gitignore file.
Jessica Tallon [Mon, 5 May 2014 16:24:32 +0000 (17:24 +0100)]
Add lib64/ directory to .gitignore file.

10 years agoMerge branch 'permission_scheme' of gitorious.org:mediagoblin/npigeons-mediagoblin...
tilly-Q [Thu, 1 May 2014 18:28:11 +0000 (14:28 -0400)]
Merge branch 'permission_scheme' of gitorious.org:mediagoblin/npigeons-mediagoblin into permission_scheme

Conflicts:
mediagoblin.ini
mediagoblin/auth/tools.py
mediagoblin/config_spec.ini

10 years agoChanged the default permission scheme to be the same as the scheme we use in
tilly-Q [Thu, 1 May 2014 18:21:25 +0000 (14:21 -0400)]
Changed the default permission scheme to be the same as the scheme we use in
master so that if admins have not set their mediagoblin_local.ini to include
this new option, they will notice no difference in use.

10 years agoAdded new template hooks to allow for plugin-added moderation powers
tilly-Q [Tue, 29 Apr 2014 16:44:21 +0000 (12:44 -0400)]
Added new template hooks to allow for plugin-added moderation powers

10 years agoFixed some minor whitespace issues
tilly-Q [Mon, 28 Apr 2014 20:40:02 +0000 (16:40 -0400)]
Fixed some minor whitespace issues

10 years agoIn this commit I made it so that each deployment can have custom settings for
tilly-Q [Fri, 29 Nov 2013 19:29:56 +0000 (14:29 -0500)]
In this commit I made it so that each deployment can have custom settings for
which privileges are given to users when they are intiated. These settings are
modified in mediagoblin.ini.

10 years agoMade the columns properly referenced in models and migrations.
tilly-Q [Wed, 23 Apr 2014 18:59:53 +0000 (14:59 -0400)]
Made the columns properly referenced in models and migrations.

10 years agoRenamed the columns on core__privileges_users table so that they are unique and
tilly-Q [Tue, 22 Apr 2014 17:32:47 +0000 (13:32 -0400)]
Renamed the columns on core__privileges_users table so that they are unique and
will not cause any more problems.

10 years agoIn the middle of some major changes
tilly-Q [Mon, 21 Apr 2014 23:07:28 +0000 (19:07 -0400)]
In the middle of some major changes