aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-164-3/+242
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has some issues, will iteratively fix! Conflicts: mediagoblin/gmg_commands/__init__.py mediagoblin/gmg_commands/deletemedia.py mediagoblin/gmg_commands/users.py mediagoblin/oauth/views.py mediagoblin/plugins/api/views.py mediagoblin/tests/test_api.py mediagoblin/tests/test_edit.py mediagoblin/tests/test_oauth1.py mediagoblin/tests/test_util.py mediagoblin/tools/mail.py mediagoblin/webfinger/views.py setup.py
| * This was a very simple update. The gmg command `adduser` was generating antilly-Q2014-07-101-2/+2
| | | | | | | | | | unncessary error because we were searching for a non-unicode string value in a Unicode column of the core__users table.
| * Used the codecs library to read the csv file in batchaddmedia as unicode.Natalie Foust-Pilcher2014-06-211-5/+18
| |
| * Convert media_ids to int safely.Berker Peksag2014-06-131-1/+4
| | | | | | | | | | With this commit, "gmg deletemedia spam,12" will not raise ValueError anymore.
| * Properly exit when "gmg deletemedia" succeed.Berker Peksag2014-06-131-1/+4
| | | | | | | | Also, fixed a typo: "to will be" -> "will be"
| * #303 : enhancement : add a command to delete usersLoïc Le Ninan2014-06-112-0/+24
| |
| * Adjusted batchaddmedia to make use of more internal nodes. Added to the docs.tilly-Q2014-05-131-8/+9
| |
| * Removed unused imports.tilly-Q2014-05-131-2/+1
| |
| * Prepared for input without an 'id' column and made all of the internal nodestilly-Q2014-05-131-7/+4
| | | | | | | | into free floating nodes so that compact_and_validate will remove them.
| * Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadatatilly-Q2014-05-132-1/+43
| |\ | | | | | | | | | | | | Conflicts: mediagoblin/gmg_commands/__init__.py
| * | Added documentation for the batchaddmedia gmg tool to the mediagoblin docs.tilly-Q2014-05-121-3/+9
| | |
| * | Modified the batchaddmedia script so that it only looks for one csv file insteadtilly-Q2014-05-121-77/+46
| | | | | | | | | | | | of the previous method which looked for two files.
| * | Cleaned up the 'batchaddmedia' command a bittilly-Q2014-05-121-3/+11
| | |
| * | Updating batchaddmedia to use new metadata toolsChristopher Allan Webber2014-05-071-87/+12
| | |
| * | Removing unused variablesChristopher Allan Webber2014-05-071-3/+0
| | |
| * | Removing build_json_ld_metadataChristopher Allan Webber2014-05-071-16/+1
| | |
| * | The URL format checker now works correctlyChristopher Allan Webber2014-05-071-33/+44
| | | | | | | | | | | | ...though it isn't checking the right thing
| * | In the middle of some major changestilly-Q2014-04-211-5/+21
| | |
| * | Fixed a problem that was causing errors in batch uploading remote files.tilly-Q2014-04-211-1/+1
| | |
| * | I had imported requests twicetilly-Q2014-04-211-1/+0
| | |
| * | Made it possible to submit media with the metadata providedtilly-Q2014-04-211-0/+1
| | |
| * | Added the 'requests' library as a dependency and switched over to using it totilly-Q2014-04-211-5/+4
| | | | | | | | | | | | fetch remote pieces of media in the batchupload script
| * | Fixed incorrectly coded references to filesystem pathstilly-Q2014-04-211-7/+3
| | |
| * | Fixed a bad get of 'dcterms:rights' and am throwing away the idea of an externaltilly-Q2014-04-211-10/+11
| | | | | | | | | | | | | | | context file for the json-ld because it feels unnecessary seeing as we are just using the dc core terms
| * | Wrote more comprehensive error messages.tilly-Q2014-04-211-7/+21
| | |
| * | Fixed a minor error in the batch upload script and modified the json-ld context.tilly-Q2014-04-211-4/+5
| | |
| * | Fixed up some fatal errors. Is still not ready.tilly-Q2014-04-211-22/+24
| | |
| * | Added exception handling into the metadata format checking function.tilly-Q2014-04-211-2/+18
| | |
| * | Began work on metadata validationtilly-Q2014-04-211-0/+33
| | |
| * | Changed some of the print messages as well as tweaked the order oftilly-Q2014-04-211-13/+17
| | | | | | | | | | | | | | | the commands attempts to figure out what type of file the target file is.
| * | I made it so the command no longer requires the "Target type" to be provided,tilly-Q2014-04-212-23/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Minor change in the wording of argparsing.tilly-Q2014-04-211-2/+2
| | |
| * | The script now officially works! It works in many different situations, whethertilly-Q2014-04-211-19/+111
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | This branch will create a commandline bulk-upload script. So far, I have writtentilly-Q2014-04-212-0/+114
| | | | | | | | | | | | the code to read csv files into a usable dictionary.
* | | Implement ServeCommand.{loadserver, loadapp}.Berker Peksag2014-08-151-4/+7
| | | | | | | | | | | | This is partly port from PasteScript.
* | | Add an initial "gmg serve" implementation.Berker Peksag2014-08-152-0/+67
| | | | | | | | | | | | The CLI is similar to "paster serve".
* | | Move the AlembicMigrationManager to top of the module.Berker Peksag2014-08-151-2/+2
| | | | | | | | | | | | Also, add a simple docstring.
* | | Add initial Alembic migrations.Berker Peksag2014-08-131-0/+8
| | |
* | | Fix dict.keys() in Python 3.Berker Peksag2014-08-131-1/+1
| | |
* | | Fix a comment.Berker Peksag2014-08-131-1/+1
| | |
* | | Fix print statements.Berker Peksag2014-06-293-29/+36
| | |
* | | The file() builtin has been removed in Python 3. Use open() instead.Berker Peksag2014-06-071-1/+1
| | |
* | | Use six.text_type instead of unicode().Berker Peksag2014-06-022-10/+16
| | | | | | | | | | | | I will be switch to use ``from __future__ import unicode_literals`` later.
* | | Use six.iteritems() instead of dict.iteritems().Berker Peksag2014-05-261-1/+3
| |/ |/|
* | Issue #824: Add gmg deletemedia command.Berker Peksag2014-04-102-0/+42
|/
* Merge remote-tracking branch 'refs/remotes/rodney757/dbupdate'Christopher Allan Webber2014-01-021-0/+1
|\ | | | | | | | | | | Conflicts: mediagoblin/db/util.py mediagoblin/gmg_commands/dbupdate.py
| * don't set logging level to debugRodney Ewing2013-09-021-2/+0
| |
* | Removing the "logging is debug by default in dbupdate"Christopher Allan Webber2013-11-251-1/+2
| | | | | | | | This commit sponsored by David Neudorfer. Thank you!
* | This is a tiny change. I took out the warnings that were displayed when a plugintilly-Q2013-11-211-6/+0
| | | | | | | | didn't have a FOUNDATIONS dictionary because people found them annoying.
* | Switching the addmedia tool over to using the get_upload_file_limits tool also.Christopher Allan Webber2013-11-141-7/+2
| | | | | | | | This commit sponsored by Damien Radtke. Thanks!