mediagoblin.git
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 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 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 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

10 years agoMade it so that the metadata table only shows terms with filled values
tilly-Q [Mon, 21 Apr 2014 19:46:02 +0000 (15:46 -0400)]
Made it so that the metadata table only shows terms with filled values

10 years agoCreated the basic structure of the metadata display table in rdfa lite
tilly-Q [Mon, 21 Apr 2014 19:42:57 +0000 (15:42 -0400)]
Created the  basic structure of the metadata display table in rdfa lite

10 years agoFixed a problem that was causing errors in batch uploading remote files.
tilly-Q [Mon, 21 Apr 2014 16:29:00 +0000 (12:29 -0400)]
Fixed a problem that was causing errors in batch uploading remote files.

10 years agoI had imported requests twice
tilly-Q [Mon, 21 Apr 2014 16:18:29 +0000 (12:18 -0400)]
I had imported requests twice

10 years agoMerge branch 'metadata' of gitorious.org:mediagoblin/npigeons-mediagoblin into metadata
tilly-Q [Mon, 21 Apr 2014 16:17:39 +0000 (12:17 -0400)]
Merge branch 'metadata' of gitorious.org:mediagoblin/npigeons-mediagoblin into metadata

Conflicts:
mediagoblin/gmg_commands/batchaddmedia.py
setup.py

10 years agoMade it possible to submit media with the metadata provided
tilly-Q [Mon, 21 Apr 2014 16:07:33 +0000 (12:07 -0400)]
Made it possible to submit media with the metadata provided

10 years agoChanged the name of the metadata column
tilly-Q [Tue, 15 Apr 2014 18:17:43 +0000 (14:17 -0400)]
Changed the name of the metadata column

10 years agoMoved the metadata column to MediaEntry rather than MediaFile
tilly-Q [Tue, 15 Apr 2014 17:51:27 +0000 (13:51 -0400)]
Moved the metadata column to MediaEntry rather than MediaFile

10 years agoAdded the 'requests' library as a dependency and switched over to using it to
tilly-Q [Tue, 15 Apr 2014 17:35:22 +0000 (13:35 -0400)]
Added the 'requests' library as a dependency and switched over to using it to
fetch remote pieces of media in the batchupload script

10 years agoFixed incorrectly coded references to filesystem paths
tilly-Q [Fri, 11 Apr 2014 17:06:09 +0000 (13:06 -0400)]
Fixed incorrectly coded references to filesystem paths

10 years agoTook out all of the references to the temporary url I was using
tilly-Q [Thu, 3 Apr 2014 16:20:30 +0000 (12:20 -0400)]
Took out all of the references to the temporary url I was using
/metadata_context/v1

10 years agoFixed a bad get of 'dcterms:rights' and am throwing away the idea of an external
tilly-Q [Thu, 3 Apr 2014 16:18:17 +0000 (12:18 -0400)]
Fixed a bad get of 'dcterms:rights' and am throwing away the idea of an external
context file for the json-ld because it feels unnecessary seeing as we are just
using the dc core terms

10 years agoWrote more comprehensive error messages.
tilly-Q [Thu, 27 Mar 2014 21:29:34 +0000 (17:29 -0400)]
Wrote more comprehensive error messages.

10 years agoFixed a minor error in the batch upload script and modified the json-ld context.
tilly-Q [Thu, 27 Mar 2014 21:10:31 +0000 (17:10 -0400)]
Fixed a minor error in the batch upload script and modified the json-ld context.

10 years agoFixed up some fatal errors. Is still not ready.
tilly-Q [Thu, 27 Mar 2014 18:11:12 +0000 (14:11 -0400)]
Fixed up some fatal errors. Is still not ready.

10 years agoAdded exception handling into the metadata format checking function.
tilly-Q [Thu, 27 Mar 2014 17:55:15 +0000 (13:55 -0400)]
Added exception handling into the metadata format checking function.

10 years agoBegan work on metadata validation
tilly-Q [Thu, 27 Mar 2014 17:31:04 +0000 (13:31 -0400)]
Began work on metadata validation

10 years agoChanged some of the print messages as well as tweaked the order of
tilly-Q [Fri, 21 Feb 2014 17:38:02 +0000 (12:38 -0500)]
Changed some of the print messages as well as tweaked the order of
the commands attempts to figure out what type of file the target file
is.

10 years agoI made it so the command no longer requires the "Target type" to be provided,
tilly-Q [Wed, 19 Feb 2014 19:27:14 +0000 (14:27 -0500)]
I made it so the command no longer requires the "Target type" to be provided,
it now recognizes whether the target is a directory or an archive on its own.

I added in a help message, which is still incomplete, but should make it easier
for admins to know how to use this new command. I believe we should also provi-
-de an example of the location.csv and metadata.csv files, so there is no conf-
-usion. Also, I made it possible for the command to recognize zip files as a
valid archive. I also made some minor changes to the commands description w/i
the larger gmg command help menu.

10 years agoMinor change in the wording of argparsing.
tilly-Q [Thu, 13 Feb 2014 18:57:10 +0000 (13:57 -0500)]
Minor change in the wording of argparsing.

10 years agoThe script now officially works! It works in many different situations, whether
tilly-Q [Wed, 12 Feb 2014 19:37:00 +0000 (14:37 -0500)]
The script now officially works! It works in many different situations, whether
the media is to be uploaded is stored locally or on the web. Still have to clean
up the code and look for errors. I may also refactor some of this into a functi-
on to be used with a GUI frontend in another project. Lastly, I need to merge
this with the metadata branch I've been working on, and convert the metadata.csv
information into the proper format for the new metadata column.

10 years agoThis branch will create a commandline bulk-upload script. So far, I have written
tilly-Q [Thu, 6 Feb 2014 20:17:06 +0000 (15:17 -0500)]
This branch will create a commandline bulk-upload script. So far, I have written
the code to read csv files into a usable dictionary.

10 years agoBig update. I added in a json-ld context file which will be used in all our
tilly-Q [Tue, 18 Mar 2014 20:49:48 +0000 (16:49 -0400)]
Big update. I added in a json-ld context file which will be used in all our
metadata columns in the future. The context describes the dublin core elements.
It still has not been finalized however.

10 years agoIn this commit, I added a new column which will be used for RDFa metadata of
tilly-Q [Thu, 6 Feb 2014 20:15:57 +0000 (15:15 -0500)]
In this commit, I added a new column which will be used for RDFa metadata of
media.

10 years agoChanged the name of the metadata column
tilly-Q [Tue, 15 Apr 2014 18:17:43 +0000 (14:17 -0400)]
Changed the name of the metadata column

10 years agoMoved the metadata column to MediaEntry rather than MediaFile
tilly-Q [Tue, 15 Apr 2014 17:51:27 +0000 (13:51 -0400)]
Moved the metadata column to MediaEntry rather than MediaFile

10 years agoAdded the 'requests' library as a dependency and switched over to using it to
tilly-Q [Tue, 15 Apr 2014 17:35:22 +0000 (13:35 -0400)]
Added the 'requests' library as a dependency and switched over to using it to
fetch remote pieces of media in the batchupload script

10 years agoFixed incorrectly coded references to filesystem paths
tilly-Q [Fri, 11 Apr 2014 17:06:09 +0000 (13:06 -0400)]
Fixed incorrectly coded references to filesystem paths

10 years agoAdding a general purpose context hook for the media display page.
Christopher Allan Webber [Mon, 7 Apr 2014 21:58:54 +0000 (16:58 -0500)]
Adding a general purpose context hook for the media display page.

Since the media template name gets swapped out for each media
type, normal context hooks don't work if you want to affect all
media displays.  This gives a general purpose hook.

This commit sponsored by Kẏra.  Thanks! :)

10 years agoNo more EXIF, for real. Use exifread. This should fix recent import EXIF failures.
Christopher Allan Webber [Sun, 6 Apr 2014 18:58:47 +0000 (13:58 -0500)]
No more EXIF, for real.  Use exifread.  This should fix recent import EXIF failures.

This commit sponsored by Aaron Whitehouse.  Thank you!

10 years agospecify older sqlalchemy-migrate because pbr ruins everything.
Christopher Allan Webber [Thu, 3 Apr 2014 19:20:44 +0000 (14:20 -0500)]
specify older sqlalchemy-migrate because pbr ruins everything.

10 years agoTook out all of the references to the temporary url I was using
tilly-Q [Thu, 3 Apr 2014 16:20:30 +0000 (12:20 -0400)]
Took out all of the references to the temporary url I was using
/metadata_context/v1

10 years agoFixed a bad get of 'dcterms:rights' and am throwing away the idea of an external
tilly-Q [Thu, 3 Apr 2014 16:18:17 +0000 (12:18 -0400)]
Fixed a bad get of 'dcterms:rights' and am throwing away the idea of an external
context file for the json-ld because it feels unnecessary seeing as we are just
using the dc core terms

10 years agoMove ./bootstrap.sh to experimental-bootstrap.sh
Christopher Allan Webber [Thu, 3 Apr 2014 15:13:02 +0000 (10:13 -0500)]
Move ./bootstrap.sh to experimental-bootstrap.sh

10 years agoMake the MediaGoblin databse user creation more deterministic.
Christopher Allan Webber [Sat, 29 Mar 2014 17:28:19 +0000 (12:28 -0500)]
Make the MediaGoblin databse user creation more deterministic.

Thanks RuiSeabra for the suggestion!

This commit sponsored by Chad Glendenin.  Thanks, Chad!

10 years agoWrote more comprehensive error messages.
tilly-Q [Thu, 27 Mar 2014 21:29:34 +0000 (17:29 -0400)]
Wrote more comprehensive error messages.

10 years agoFixed a minor error in the batch upload script and modified the json-ld context.
tilly-Q [Thu, 27 Mar 2014 21:10:31 +0000 (17:10 -0400)]
Fixed a minor error in the batch upload script and modified the json-ld context.

10 years agoRemoving extlib submodule and switching it to being a package.
Christopher Allan Webber [Thu, 27 Mar 2014 20:04:18 +0000 (15:04 -0500)]
Removing extlib submodule and switching it to being a package.

Much nicer!

This commit sponsored by Cameron Merkel.  Thanks Cameron!  Good luck
with yer projects!

10 years agoFixed up some fatal errors. Is still not ready.
tilly-Q [Thu, 27 Mar 2014 18:11:12 +0000 (14:11 -0400)]
Fixed up some fatal errors. Is still not ready.

10 years agoAdded exception handling into the metadata format checking function.
tilly-Q [Thu, 27 Mar 2014 17:55:15 +0000 (13:55 -0400)]
Added exception handling into the metadata format checking function.

10 years agoBegan work on metadata validation
tilly-Q [Thu, 27 Mar 2014 17:31:04 +0000 (13:31 -0400)]
Began work on metadata validation

10 years agoOkay, nm, that didn't fix it. Setting it back. Sigh.
Christopher Allan Webber [Wed, 26 Mar 2014 21:41:56 +0000 (16:41 -0500)]
Okay, nm, that didn't fix it.  Setting it back.  Sigh.

10 years agoI guess this also fixes it and is nicer
Christopher Allan Webber [Wed, 26 Mar 2014 21:35:46 +0000 (16:35 -0500)]
I guess this also fixes it and is nicer

10 years agosix==1.5.2
Christopher Allan Webber [Wed, 26 Mar 2014 21:17:29 +0000 (16:17 -0500)]
six==1.5.2

10 years agoBabel now requires >= 1.0
Christopher Allan Webber [Wed, 26 Mar 2014 19:17:18 +0000 (14:17 -0500)]
Babel now requires >= 1.0

10 years agoEXIF returns less data than it used to...
Christopher Allan Webber [Wed, 26 Mar 2014 17:07:42 +0000 (12:07 -0500)]
EXIF returns less data than it used to...

10 years agoMerge branch 'bulk-upload' into metadata
tilly-Q [Sun, 23 Mar 2014 20:43:20 +0000 (16:43 -0400)]
Merge branch 'bulk-upload' into metadata

10 years agoChanged some of the print messages as well as tweaked the order of
tilly-Q [Fri, 21 Feb 2014 17:38:02 +0000 (12:38 -0500)]
Changed some of the print messages as well as tweaked the order of
the commands attempts to figure out what type of file the target file
is.

10 years agoI made it so the command no longer requires the "Target type" to be provided,
tilly-Q [Wed, 19 Feb 2014 19:27:14 +0000 (14:27 -0500)]
I made it so the command no longer requires the "Target type" to be provided,
it now recognizes whether the target is a directory or an archive on its own.

I added in a help message, which is still incomplete, but should make it easier
for admins to know how to use this new command. I believe we should also provi-
-de an example of the location.csv and metadata.csv files, so there is no conf-
-usion. Also, I made it possible for the command to recognize zip files as a
valid archive. I also made some minor changes to the commands description w/i
the larger gmg command help menu.

10 years agoMinor change in the wording of argparsing.
tilly-Q [Thu, 13 Feb 2014 18:57:10 +0000 (13:57 -0500)]
Minor change in the wording of argparsing.

10 years agoThe script now officially works! It works in many different situations, whether
tilly-Q [Wed, 12 Feb 2014 19:37:00 +0000 (14:37 -0500)]
The script now officially works! It works in many different situations, whether
the media is to be uploaded is stored locally or on the web. Still have to clean
up the code and look for errors. I may also refactor some of this into a functi-
on to be used with a GUI frontend in another project. Lastly, I need to merge
this with the metadata branch I've been working on, and convert the metadata.csv
information into the proper format for the new metadata column.

10 years agoThis branch will create a commandline bulk-upload script. So far, I have written
tilly-Q [Thu, 6 Feb 2014 20:17:06 +0000 (15:17 -0500)]
This branch will create a commandline bulk-upload script. So far, I have written
the code to read csv files into a usable dictionary.

10 years agoBig update. I added in a json-ld context file which will be used in all our
tilly-Q [Tue, 18 Mar 2014 20:49:48 +0000 (16:49 -0400)]
Big update. I added in a json-ld context file which will be used in all our
metadata columns in the future. The context describes the dublin core elements.
It still has not been finalized however.

10 years agoIn this commit, I added a new column which will be used for RDFa metadata of
tilly-Q [Thu, 6 Feb 2014 20:15:57 +0000 (15:15 -0500)]
In this commit, I added a new column which will be used for RDFa metadata of
media.

10 years agoFix Babel version restriction. Onward and upward!
Christopher Allan Webber [Sat, 22 Mar 2014 16:00:10 +0000 (11:00 -0500)]
Fix Babel version restriction.  Onward and upward!

(Fix suggested by simonft... thanks!)

10 years agoFix version conflicts we were hitting with six
Christopher Allan Webber [Fri, 21 Mar 2014 04:25:25 +0000 (23:25 -0500)]
Fix version conflicts we were hitting with six

10 years agofixes to blog url generation
Boris Bobrov [Tue, 11 Mar 2014 11:23:58 +0000 (16:23 +0500)]
fixes to blog url generation

10 years agoThe default failures are just way too verbose. Quieting them down a bit.
Christopher Allan Webber [Tue, 11 Mar 2014 16:28:46 +0000 (11:28 -0500)]
The default failures are just way too verbose.  Quieting them down a bit.

This commit sponsored by Chad Glendenin.  Thanks!

10 years agoAdding Boris to AUTHORS
Christopher Allan Webber [Tue, 11 Mar 2014 16:07:35 +0000 (11:07 -0500)]
Adding Boris to AUTHORS

10 years agoadded new slugify with unidecode
Boris Bobrov [Tue, 11 Mar 2014 10:50:01 +0000 (15:50 +0500)]
added new slugify with unidecode

10 years agoRemove mention of blog plugin in config
Christopher Allan Webber [Sun, 9 Mar 2014 19:13:04 +0000 (14:13 -0500)]
Remove mention of blog plugin in config

10 years agoExplicitly use /bin/bash even if shell is /bin/false
Christopher Allan Webber [Sat, 8 Mar 2014 18:38:41 +0000 (12:38 -0600)]
Explicitly use /bin/bash even if shell is /bin/false

10 years agoChanging "su -" to just "su"... considerably simpler.
Christopher Allan Webber [Sat, 8 Mar 2014 18:28:23 +0000 (12:28 -0600)]
Changing "su -" to just "su"... considerably simpler.

I don't think inheriting environment stuff is a serious issue.

10 years agomake exif a submodule
Alon Levy [Sat, 1 Mar 2014 19:52:14 +0000 (21:52 +0200)]
make exif a submodule

Updates it to latest which includes a fix for a 100% hang on a jpg without any EXIF data:
https://www.dropbox.com/s/m5l185qxq9w5mzk/raspberry-pi-gpio-cheat-sheet.jpg

Signed-off-by: Alon Levy <alon@pobox.com>
10 years agoTyops in deployment docs as pointed out by @latchkeyed@identi.ca.
Christopher Allan Webber [Thu, 20 Feb 2014 20:06:36 +0000 (14:06 -0600)]
Tyops in deployment docs as pointed out by @latchkeyed@identi.ca.

Thanks for noticing and correcting!

10 years agomediagoblin -> mediagoblin
Christopher Allan Webber [Wed, 19 Feb 2014 23:30:07 +0000 (17:30 -0600)]
mediagoblin -> mediagoblin

Thanks Luismi for pointing this out!

10 years agofixed my mistaken use of => from last commit >__<
tilly-Q [Thu, 13 Feb 2014 19:10:11 +0000 (14:10 -0500)]
fixed my mistaken use of => from last commit >__<

10 years agoChanged setup.py install_requirements to require sqlalchemy at least of version
tilly-Q [Thu, 13 Feb 2014 19:00:09 +0000 (14:00 -0500)]
Changed setup.py install_requirements to require sqlalchemy at least of version
0.8.0. Our code was crashing when running with sqlalchemy 0.7.4 because of
imports like sqlalchemy.orm.with_polymorphic

10 years agorobogoblins.xcf
Christopher Allan Webber [Sun, 9 Feb 2014 19:40:59 +0000 (13:40 -0600)]
robogoblins.xcf

10 years agorobogoblins source
Christopher Allan Webber [Sun, 9 Feb 2014 19:33:57 +0000 (13:33 -0600)]
robogoblins source

10 years agoupdated COPYING file for current data in this directory
Christopher Allan Webber [Sun, 9 Feb 2014 18:56:16 +0000 (12:56 -0600)]
updated COPYING file for current data in this directory

10 years agoSource files for some of the test submission artwork.
Christopher Allan Webber [Fri, 7 Feb 2014 01:00:12 +0000 (19:00 -0600)]
Source files for some of the test submission artwork.

10 years agojpope's been helping a bunch, so of course we need to put him in AUTHORS!
Christopher Allan Webber [Mon, 27 Jan 2014 19:48:56 +0000 (13:48 -0600)]
jpope's been helping a bunch, so of course we need to put him in AUTHORS!

10 years agoFixing the STL media page for post-skeleton merge
Christopher Allan Webber [Sun, 26 Jan 2014 19:08:01 +0000 (13:08 -0600)]
Fixing the STL media page for post-skeleton merge

10 years agoOkay that broke the build process(?), testing if this fixes it
Christopher Allan Webber [Thu, 23 Jan 2014 15:32:54 +0000 (09:32 -0600)]
Okay that broke the build process(?), testing if this fixes it

10 years agoOnce we can, that is.
Christopher Allan Webber [Thu, 23 Jan 2014 15:23:51 +0000 (09:23 -0600)]
Once we can, that is.

10 years agoSetting a specific pbr version in setup.py
Christopher Allan Webber [Thu, 23 Jan 2014 15:23:38 +0000 (09:23 -0600)]
Setting a specific pbr version in setup.py

10 years agoHave the hook handle happen in the root_view proxy view itself
Christopher Allan Webber [Tue, 14 Jan 2014 18:13:36 +0000 (12:13 -0600)]
Have the hook handle happen in the root_view proxy view itself

This way it isn't set in stone at a module level, especially if this
gets imported before the whole application inits, or if run during
tests and possibly imported multiple times.

10 years agoMerge remote-tracking branch 'refs/remotes/tilly-q/variable-front-page'
Christopher Allan Webber [Tue, 14 Jan 2014 18:03:07 +0000 (12:03 -0600)]
Merge remote-tracking branch 'refs/remotes/tilly-q/variable-front-page'

10 years agofixes #829 plus a little more that was somewhat related
jpope [Mon, 13 Jan 2014 21:04:02 +0000 (15:04 -0600)]
fixes #829 plus a little more that was somewhat related

10 years agoadjust exif info alignment
jpope [Mon, 13 Jan 2014 17:37:36 +0000 (11:37 -0600)]
adjust exif info alignment