3380 Commits

Author SHA1 Message Date
Christopher Allan Webber
2a2c534e51 Removing build_json_ld_metadata 2014-05-07 15:21:10 -05:00
Christopher Allan Webber
af3a9107a9 The URL format checker now works correctly
...though it isn't checking the right thing
2014-05-07 13:39:03 -05: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
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
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
6d27a79271 EXIF returns less data than it used to... 2014-03-26 12:07:42 -05:00
Christopher Allan Webber
023cda0974 Fix Babel version restriction. Onward and upward!
(Fix suggested by simonft... thanks!)
2014-03-22 11:02:24 -05:00
Boris Bobrov
36990574cf fixes to blog url generation 2014-03-11 11:29:09 -05:00
Christopher Allan Webber
002da63bce The default failures are just way too verbose. Quieting them down a bit.
This commit sponsored by Chad Glendenin.  Thanks!
2014-03-11 11:28:46 -05:00
Boris Bobrov
2636dddfa6 added new slugify with unidecode 2014-03-11 11:01:04 -05:00
Alon Levy
5e262d8bf5 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>
2014-03-02 01:07:13 +02:00
Christopher Allan Webber
de7d9d71df robogoblins.xcf 2014-02-09 13:40:59 -06:00
Christopher Allan Webber
34bc913aba robogoblins source 2014-02-09 13:33:57 -06:00
Christopher Allan Webber
67830b6b5b updated COPYING file for current data in this directory 2014-02-09 12:56:16 -06:00
Christopher Allan Webber
f56b81a0df Source files for some of the test submission artwork. 2014-02-06 19:00:12 -06:00
Christopher Allan Webber
f6e9aa8aa2 Fixing the STL media page for post-skeleton merge 2014-01-26 13:08:01 -06:00
Christopher Allan Webber
c5b8ff2c75 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.
2014-01-14 12:13:36 -06:00
Christopher Allan Webber
cb76655ce2 Merge remote-tracking branch 'refs/remotes/tilly-q/variable-front-page' 2014-01-14 12:03:07 -06:00
jpope
9589346c8f fixes #829 plus a little more that was somewhat related 2014-01-13 15:04:02 -06:00
jpope
a19c00c1e3 adjust exif info alignment 2014-01-13 11:37:36 -06:00
jpope
27fc8ef26f adjust exif to match other sections and remove extra css 2014-01-13 08:14:00 -06:00
jpope
12c42bd6d8 another airy update 2014-01-10 23:46:32 -06:00
jpope
2edeb960f3 minor updates for airy 2014-01-10 23:38:34 -06:00
tilly-Q
b1f996d7b5 This is a very minor change that makes it possible for plugins to provide an
alternative to the default root_view.
2014-01-10 13:01:19 -05:00
jpope
5cdf3a0a14 move "wide" view to seperate branch 2014-01-08 00:08:11 -06:00
jpope
4a9a796a7f rename couple of css classes 2014-01-07 23:23:53 -06:00
jpope
1469f432fc adjust thumbnails 2014-01-07 20:39:33 -06:00