| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This commit sponsored by Ray Redd. Thanks!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 029e779c468ba1a6bfd893679cfaae7f418f45dd.
(and a bit more!)
This wasn't needed anymore because we did a "rest" capture and passed
that over to the reprocess run command.
Conflicts:
mediagoblin/gmg_commands/assetlink.py
mediagoblin/gmg_commands/dbupdate.py
mediagoblin/gmg_commands/import_export.py
mediagoblin/gmg_commands/users.py
|
| |
|
| |
|
|
|
|
| |
.one calls over to SQLAlchemy queries
|
|
|
|
|
|
|
|
|
| |
Since sqlalchemy is providing our database abstraction and we have
moved away from Mongo as the underlying database, it is now time to
simplify things and rip out mongo. This provides the bulk of the
changes, and can stand on its own. There are some followup tasks
that can be done, such as removing now unneeded abstraction layers,
e.g. db.sql.fake.py
|
| |
|
|
|
|
| |
characters in media titles
|
| |
|
| |
|
|
|
|
|
| |
- Mongokit instead of pymongo
- db.MediaEntry instead of db.media_entry (pymongo style)
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
mediagoblin/db/migrations.py
mediagoblin/submit/views.py
|
| |
| |
| |
| | |
We still want to be able to do an export if a file can't be read
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
log("ascii %s" % unicode_string) tries to convert unicode
to ascii, which might fail.
Better use log(u"unicode format %s" % unicode_string) and
let the logging framework handle the conversion. This works
much better and the exceptions still happening aren't
stopping the main app.
Also remove one useless import.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/user_pages/views.py
mediagoblin/util.py
|
| |/
| |
| |
| |
| |
| |
| | |
* Removed trailing whitespace
* Line length < 80 where possible
* Honor conventions on number of blank lines
* Honor conventions about spaces around :, =
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
All gmg's subcommands used to have a -cf option to set the
config file. Instead make this a gmg global option.
This means:
bin/gmg migrate -cf mediagoblin_2.ini
gets
bin/gmg -cf mediagoblin_2.ini migrate
|
|/
|
|
|
|
|
| |
Many (all?) gmg subcommands take a -cf option to change the
used config file. This options used to be created in each
subcommand's parse_setup. Add a helper function and use it
around.
|
|
|
|
| |
./bin/gmg would throw an error no matter what command you tried to run.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* Reviewed the code and fixed some bugs
|
|
|
|
|
|
|
|
| |
* It's now possible to import/export your environment from/to a tarball.
./bin/gmg env_export [ -c mediagoblin_local.ini ] test.tar
and
./bin/gmg env_import [ -c mediagoblin_local.ini ] test.tar
|
|
|
|
| |
Saving changes.
|
| |
|
|
|
|
| |
* Added some minor things to gmg_commands.import_export
|
|
* Added command hooks for gmg_commands.import_export
* Added (DANGEROUSLY BLEEDING EDGE) gmg_commands.import_export
|