tilly-Q [Wed, 14 May 2014 16:03:58 +0000 (12:03 -0400)]
Cleaned up the code a little bit
tilly-Q [Wed, 14 May 2014 16:02:54 +0000 (12:02 -0400)]
Fixed small error in the edit.metadata javascript
tilly-Q [Wed, 14 May 2014 15:56:59 +0000 (11:56 -0400)]
Set a default value to MediaEntry.media_metadata
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.
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.
tilly-Q [Tue, 13 May 2014 21:45:29 +0000 (17:45 -0400)]
Wrote a test for the compact_and_validate metadata function.
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.
tilly-Q [Tue, 13 May 2014 20:59:02 +0000 (16:59 -0400)]
Removed unused imports.
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.
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
tilly-Q [Tue, 13 May 2014 18:49:54 +0000 (14:49 -0400)]
Merge branch 'template_hooks_for_moderation'
tilly-Q [Tue, 13 May 2014 18:47:19 +0000 (14:47 -0400)]
Merge branch 'permission_scheme'
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.
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
tilly-Q [Mon, 12 May 2014 21:02:12 +0000 (17:02 -0400)]
Added documentation for the batchaddmedia gmg tool to the mediagoblin docs.
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
tilly-Q [Mon, 12 May 2014 18:48:46 +0000 (14:48 -0400)]
Corrected the rdfa in the metadata table.
tilly-Q [Mon, 12 May 2014 18:27:26 +0000 (14:27 -0400)]
Made the metadata table look pretty
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.
tilly-Q [Mon, 12 May 2014 17:19:03 +0000 (13:19 -0400)]
Cleaned up the 'batchaddmedia' command a bit
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.
tilly-Q [Mon, 12 May 2014 16:26:07 +0000 (12:26 -0400)]
Merge branch 'metadata-editor' into metadata
tilly-Q [Mon, 12 May 2014 16:20:03 +0000 (12:20 -0400)]
Changed the format of the wtforms table slightly
Christopher Allan Webber [Sun, 11 May 2014 23:47:55 +0000 (18:47 -0500)]
Removing the prefix stuff
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!
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!
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!
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!
Christopher Allan Webber [Wed, 7 May 2014 23:50:48 +0000 (18:50 -0500)]
Updating batchaddmedia to use new metadata tools
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
Christopher Allan Webber [Wed, 7 May 2014 20:21:58 +0000 (15:21 -0500)]
Removing unused variables
Christopher Allan Webber [Wed, 7 May 2014 20:21:10 +0000 (15:21 -0500)]
Removing build_json_ld_metadata
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
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.
tilly-Q [Tue, 6 May 2014 21:23:22 +0000 (17:23 -0400)]
Fixed a slight css error.
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.
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.
tilly-Q [Tue, 6 May 2014 16:54:08 +0000 (12:54 -0400)]
Set up the metadata editor forms
tilly-Q [Tue, 6 May 2014 16:39:23 +0000 (12:39 -0400)]
Created the media metadata editor page
Jessica Tallon [Mon, 5 May 2014 16:24:32 +0000 (17:24 +0100)]
Add lib64/ directory to .gitignore file.
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
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.
tilly-Q [Tue, 29 Apr 2014 16:44:21 +0000 (12:44 -0400)]
Added new template hooks to allow for plugin-added moderation powers
tilly-Q [Mon, 28 Apr 2014 20:40:02 +0000 (16:40 -0400)]
Fixed some minor whitespace issues
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.
tilly-Q [Mon, 21 Apr 2014 23:07:28 +0000 (19:07 -0400)]
In the middle of some major changes
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
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
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.
tilly-Q [Mon, 21 Apr 2014 16:18:29 +0000 (12:18 -0400)]
I had imported requests twice
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
tilly-Q [Mon, 21 Apr 2014 16:07:33 +0000 (12:07 -0400)]
Made it possible to submit media with the metadata provided
tilly-Q [Tue, 15 Apr 2014 18:17:43 +0000 (14:17 -0400)]
Changed the name of the metadata column
tilly-Q [Tue, 15 Apr 2014 17:51:27 +0000 (13:51 -0400)]
Moved the metadata column to MediaEntry rather than MediaFile
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
tilly-Q [Fri, 11 Apr 2014 17:06:09 +0000 (13:06 -0400)]
Fixed incorrectly coded references to filesystem paths
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
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
tilly-Q [Thu, 27 Mar 2014 21:29:34 +0000 (17:29 -0400)]
Wrote more comprehensive error messages.
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.
tilly-Q [Thu, 27 Mar 2014 18:11:12 +0000 (14:11 -0400)]
Fixed up some fatal errors. Is still not ready.
tilly-Q [Thu, 27 Mar 2014 17:55:15 +0000 (13:55 -0400)]
Added exception handling into the metadata format checking function.
tilly-Q [Thu, 27 Mar 2014 17:31:04 +0000 (13:31 -0400)]
Began work on metadata validation
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.
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.
tilly-Q [Thu, 13 Feb 2014 18:57:10 +0000 (13:57 -0500)]
Minor change in the wording of argparsing.
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.
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.
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.
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.
tilly-Q [Tue, 15 Apr 2014 18:17:43 +0000 (14:17 -0400)]
Changed the name of the metadata column
tilly-Q [Tue, 15 Apr 2014 17:51:27 +0000 (13:51 -0400)]
Moved the metadata column to MediaEntry rather than MediaFile
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
tilly-Q [Fri, 11 Apr 2014 17:06:09 +0000 (13:06 -0400)]
Fixed incorrectly coded references to filesystem paths
Christopher Allan Webber [Thu, 10 Apr 2014 20:27:42 +0000 (15:27 -0500)]
Adding Berker to the AUTHORS list
Berker Peksag [Sun, 23 Feb 2014 12:47:09 +0000 (14:47 +0200)]
Issue #686: Create User.url_for_self() method.
*Note from cwebber on merge of this branch:*
Thanks also to Sturm who provided an early version of this patch.
Berker Peksag [Sun, 23 Feb 2014 14:20:03 +0000 (16:20 +0200)]
Issue #824: Add gmg deletemedia command.
Berker Peksag [Fri, 21 Feb 2014 08:20:03 +0000 (10:20 +0200)]
Tweak the trim whitespace plugin documentation.
- Fix code highlighting
- Wrap all lines to 80 chars
- Add more markup (eg. Response() to ``Response()``)
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! :)
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!
Christopher Allan Webber [Thu, 3 Apr 2014 19:20:44 +0000 (14:20 -0500)]
specify older sqlalchemy-migrate because pbr ruins everything.
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
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
Christopher Allan Webber [Thu, 3 Apr 2014 15:13:02 +0000 (10:13 -0500)]
Move ./bootstrap.sh to experimental-bootstrap.sh
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!
tilly-Q [Thu, 27 Mar 2014 21:29:34 +0000 (17:29 -0400)]
Wrote more comprehensive error messages.
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.
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!
tilly-Q [Thu, 27 Mar 2014 18:11:12 +0000 (14:11 -0400)]
Fixed up some fatal errors. Is still not ready.
tilly-Q [Thu, 27 Mar 2014 17:55:15 +0000 (13:55 -0400)]
Added exception handling into the metadata format checking function.
tilly-Q [Thu, 27 Mar 2014 17:31:04 +0000 (13:31 -0400)]
Began work on metadata validation
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.
Christopher Allan Webber [Wed, 26 Mar 2014 21:35:46 +0000 (16:35 -0500)]
I guess this also fixes it and is nicer
Christopher Allan Webber [Wed, 26 Mar 2014 21:17:29 +0000 (16:17 -0500)]
six==1.5.2
Christopher Allan Webber [Wed, 26 Mar 2014 19:17:18 +0000 (14:17 -0500)]
Babel now requires >= 1.0
Christopher Allan Webber [Wed, 26 Mar 2014 17:07:42 +0000 (12:07 -0500)]
EXIF returns less data than it used to...
tilly-Q [Sun, 23 Mar 2014 20:43:20 +0000 (16:43 -0400)]
Merge branch 'bulk-upload' into metadata
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.
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.
tilly-Q [Thu, 13 Feb 2014 18:57:10 +0000 (13:57 -0500)]
Minor change in the wording of argparsing.