4049 Commits

Author SHA1 Message Date
tilly-Q
e8d64d453b Cleaned up the 'batchaddmedia' command a bit 2014-05-12 13:19:03 -04:00
tilly-Q
6b6b1b076b Made some changes so that the metadata editing page works well with the updated
metadata tools.
2014-05-12 13:13:46 -04:00
tilly-Q
7bcb3e100c Merge branch 'metadata-editor' into metadata 2014-05-12 12:26:07 -04:00
tilly-Q
494bce47f9 Changed the format of the wtforms table slightly 2014-05-12 12:20:03 -04:00
Christopher Allan Webber
fbea284aeb Removing the prefix stuff 2014-05-11 18:47:55 -05:00
Christopher Allan Webber
fd7069632b Splitting up compact_json from compact_and_validate
This commit sponsored by Harry Rogoff.  Thank you!
2014-05-09 17:34:11 -05:00
Christopher Allan Webber
a468db099c expand_json utility... yet another convenience function :)
This commit sponsored by Benjamin Lebsanft.  Thank you!
2014-05-09 16:49:42 -05:00
Christopher Allan Webber
3850b3fb56 Removing the mediagoblin.jsonld file, which really was just the RDFa 1.1 file.
This commit sponsored by Matthew Cope.  Thanks!
2014-05-09 14:32:46 -05:00
Christopher Allan Webber
96afe1b268 Compact and validate tools, loading internal json tools, much more
This commit sponsored by Caleb Nidey.  Thank you!
2014-05-09 14:10:51 -05:00
Berker Peksag
6d9a632e79 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.
2014-05-09 16:21:31 +03:00
Christopher Allan Webber
6fab7734d6 Updating batchaddmedia to use new metadata tools 2014-05-07 18:50:48 -05:00
Christopher Allan Webber
e5e2cc2f16 Starting to add metadata tools, as well as mediagoblin's schema 2014-05-07 18:41:34 -05:00
Christopher Allan Webber
a448628636 Removing unused variables 2014-05-07 15:21:58 -05:00
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
d015e4a84d Added in a few blank lines when a user edits the metadata of a file that has
none.
2014-05-06 17:45:43 -04:00
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
Jessica Tallon
cabbd95a0d Add lib64/ directory to .gitignore file. 2014-05-05 17:25:14 +01:00
tilly-Q
79a97f6bc3 Merge branch 'permission_scheme' of gitorious.org:mediagoblin/npigeons-mediagoblin into permission_scheme
Conflicts:
	mediagoblin.ini
	mediagoblin/auth/tools.py
	mediagoblin/config_spec.ini
2014-05-01 14:28:11 -04:00
tilly-Q
ce26346a4c 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.
2014-05-01 14:21:25 -04:00
tilly-Q
b55b1ad4ad Added new template hooks to allow for plugin-added moderation powers 2014-04-29 12:44:21 -04:00
tilly-Q
f59d8bbef1 Fixed some minor whitespace issues 2014-04-28 16:40:02 -04:00
tilly-Q
1c7875a18d 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.
2014-04-28 16:37:46 -04:00
tilly-Q
9adef07e8f Made the columns properly referenced in models and migrations. 2014-04-23 14:59:53 -04:00
tilly-Q
7918f86ac0 Renamed the columns on core__privileges_users table so that they are unique and
will not cause any more problems.
2014-04-22 14:36: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