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
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
e36bb0ee18
Adding Berker to the AUTHORS list
2014-04-10 15:27:42 -05:00