| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
gmg_commands.alembic attempted to import from `alembic`. On python2.7
it resulted in import from itself.
Rename alembic.py to alembic_commands.py and fix references to
gmg_commands.alembic.
|
|
|
|
|
| |
This allows you to dispatch to the "alembic" command line tool properly,
but properly respecting MediaGoblin's own configuration.
|
|
|
|
| |
This commit sponsored by Ray Redd. Thanks!
|
|
|
|
|
| |
This is to prevent our docs from confusing people in this
transitionary time period...
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
mediagoblin/gmg_commands/__init__.py
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
the code to read csv files into a usable dictionary.
|
| | |
| | |
| | |
| | | |
The CLI is similar to "paster serve".
|
| |/
|/| |
|
|/ |
|
| |
|
|
|
|
| |
This commit sponsored by Elizabeth Webber. Thanks, sis!
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
plugins
We've moved the module... probably I'll re-add theme just to give a
warning that this is deprecated.
This commit sponsored by Kevin Williams. Thank you!
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Mostly works but doesn't handle all the places it could break.
|
|
|
|
|
| |
Keeping it around just in case someone manually wants to migrate
before running the convert thing or... something. Probably silly.
|
|
|
|
|
|
| |
None of these tools really work anymore in the SQL world, and possibly
aren't as necessary either. In the meanwhile, just disabling them to
reduce confusion.
|
|
|
|
|
|
|
|
|
| |
Finally, to make testing of sql a bit easier, create a
bin/gmg command to do the conversion from mongo to sql.
It's currently named "convert_mongo_to_sql".
The most important option is the gmg -cf option to give a
configfile with the appropiate sql_engine definition.
|
|
|
|
|
|
| |
- Various fixes to dbupdate itself
- Switching db/sql/migrations.py to use a dict instead of a list
- Registering the function
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
| |
Conflicts:
mediagoblin/util.py
|
| |
|
|
|
|
|
| |
* Added command hooks for gmg_commands.import_export
* Added (DANGEROUSLY BLEEDING EDGE) gmg_commands.import_export
|
| |
|
| |
|
| |
|
|
|
|
| |
setup yet)
|
| |
|
| |
|
|
suspect :)
|