3970 Commits

Author SHA1 Message Date
tilly-Q
f73585be47 Fixed a slight css error. 2014-05-06 17:23:22 -04:00
tilly-Q
9919fb08a4 Made it so the metadata editting page is only one step away from functioning
correctly.
2014-05-06 17:19:30 -04:00
tilly-Q
e80596c80e Created a UI for editting a media's metadata. Had to add a new macro to
wtforms.html in the process.
2014-05-06 17:00:25 -04:00
tilly-Q
f0cfd3396e Set up the metadata editor forms 2014-05-06 12:54:08 -04:00
tilly-Q
fffc5dcfe0 Created the media metadata editor page 2014-05-06 12:39:23 -04:00
tilly-Q
9f5d388ec0 In the middle of some major changes 2014-04-21 19:07:28 -04:00
tilly-Q
0656de6795 Made it so that the metadata table only shows terms with filled values 2014-04-21 15:46:02 -04:00
tilly-Q
8ccd560ca2 Created the basic structure of the metadata display table in rdfa lite 2014-04-21 15:42:57 -04:00
tilly-Q
7ff99dabfb Fixed a problem that was causing errors in batch uploading remote files. 2014-04-21 12:29:00 -04:00
tilly-Q
e00ce53ef6 I had imported requests twice 2014-04-21 12:18:29 -04:00
tilly-Q
77a19712c3 Merge branch 'metadata' of gitorious.org:mediagoblin/npigeons-mediagoblin into metadata
Conflicts:
	mediagoblin/gmg_commands/batchaddmedia.py
	setup.py
2014-04-21 12:17:39 -04:00
tilly-Q
45f426ddee Made it possible to submit media with the metadata provided 2014-04-21 12:11:12 -04:00
tilly-Q
0bfb4089cc Changed the name of the metadata column 2014-04-21 12:11:11 -04:00
tilly-Q
9f3dc83a6c Moved the metadata column to MediaEntry rather than MediaFile 2014-04-21 12:11:11 -04:00
tilly-Q
ecea4847e8 Added the 'requests' library as a dependency and switched over to using it to
fetch remote pieces of media in the batchupload script
2014-04-21 12:11:11 -04:00
tilly-Q
18a9c50db6 Fixed incorrectly coded references to filesystem paths 2014-04-21 12:10:20 -04:00
tilly-Q
7b1ee4711c Took out all of the references to the temporary url I was using
/metadata_context/v1
2014-04-21 12:10:20 -04:00
tilly-Q
77d51d4f33 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
2014-04-21 12:10:20 -04:00
tilly-Q
907d9626e3 Wrote more comprehensive error messages. 2014-04-21 12:10:19 -04:00
tilly-Q
e46760d315 Fixed a minor error in the batch upload script and modified the json-ld context. 2014-04-21 12:10:19 -04:00
tilly-Q
8c7cccf6cc Fixed up some fatal errors. Is still not ready. 2014-04-21 12:10:19 -04:00
tilly-Q
26b3d6cf27 Added exception handling into the metadata format checking function. 2014-04-21 12:10:19 -04:00
tilly-Q
3e76b2bc77 Began work on metadata validation 2014-04-21 12:10:19 -04:00
tilly-Q
5c14f62d19 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.
2014-04-21 12:10:19 -04:00
tilly-Q
28ecc53a5a 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.
2014-04-21 12:10:19 -04:00
tilly-Q
6c37aeaa33 Minor change in the wording of argparsing. 2014-04-21 12:10:19 -04:00
tilly-Q
268f243074 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.
2014-04-21 12:10:18 -04:00
tilly-Q
8aa015978c This branch will create a commandline bulk-upload script. So far, I have written
the code to read csv files into a usable dictionary.
2014-04-21 12:10:18 -04:00
tilly-Q
ec5a385ada 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.
2014-04-21 12:10:18 -04:00
tilly-Q
2dd966b5e2 In this commit, I added a new column which will be used for RDFa metadata of
media.
2014-04-21 12:07:59 -04:00
tilly-Q
89b6b55766 Changed the name of the metadata column 2014-04-15 14:17:43 -04:00
tilly-Q
b91df79041 Moved the metadata column to MediaEntry rather than MediaFile 2014-04-15 13:51:27 -04:00
tilly-Q
fbb13abe9a Added the 'requests' library as a dependency and switched over to using it to
fetch remote pieces of media in the batchupload script
2014-04-15 13:35:22 -04:00
tilly-Q
6fa9b06f9a Fixed incorrectly coded references to filesystem paths 2014-04-11 13:06:09 -04:00
Christopher Allan Webber
2edd6b0b91 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! :)
2014-04-07 16:58:54 -05:00
Christopher Allan Webber
bfb99d65f4 No more EXIF, for real. Use exifread. This should fix recent import EXIF failures.
This commit sponsored by Aaron Whitehouse.  Thank you!
2014-04-06 13:58:47 -05:00
Christopher Allan Webber
b19491c535 specify older sqlalchemy-migrate because pbr ruins everything. 2014-04-03 14:20:44 -05:00
tilly-Q
fb60426ed1 Took out all of the references to the temporary url I was using
/metadata_context/v1
2014-04-03 12:20:30 -04:00
tilly-Q
8e33666813 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
2014-04-03 12:18:17 -04:00
Christopher Allan Webber
4a0778b3c1 Move ./bootstrap.sh to experimental-bootstrap.sh 2014-04-03 10:13:02 -05:00
Christopher Allan Webber
5526150e1a Make the MediaGoblin databse user creation more deterministic.
Thanks RuiSeabra for the suggestion!

This commit sponsored by Chad Glendenin.  Thanks, Chad!
2014-03-29 12:28:19 -05:00
tilly-Q
0e4144abaf Wrote more comprehensive error messages. 2014-03-27 17:29:34 -04:00
tilly-Q
32aec1e533 Fixed a minor error in the batch upload script and modified the json-ld context. 2014-03-27 17:10:31 -04:00
Christopher Allan Webber
052d3d985a 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!
2014-03-27 15:05:25 -05:00
tilly-Q
8f054a6b99 Fixed up some fatal errors. Is still not ready. 2014-03-27 14:12:50 -04:00
tilly-Q
680faaaa85 Added exception handling into the metadata format checking function. 2014-03-27 13:55:15 -04:00
tilly-Q
6b43a6f432 Began work on metadata validation 2014-03-27 13:31:04 -04:00
Christopher Allan Webber
9caaff48af Okay, nm, that didn't fix it. Setting it back. Sigh. 2014-03-26 16:41:56 -05:00
Christopher Allan Webber
a946908d0f I guess this also fixes it and is nicer 2014-03-26 16:35:46 -05:00
Christopher Allan Webber
0b3b9a291f six==1.5.2 2014-03-26 16:17:29 -05:00