| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This makes use of the recently added "build_alembic_config" tool and
removes AlembicMigrationManager.
* mediagoblin/db/migration_tools.py (AlembicMigrationManager): Removed.
* mediagoblin/gmg_commands/dbupdate.py (run_alembic_migrations):
Adjusted to use recently added build_alembic_config tool.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
textlive-texmf is currently a dependency of texlive in Guix, and is
very large. Users may want to know and disable this dependency, if
they can bear limiting the media types they are developing with.
* guix-env.scm: New comment on returned package.
|
|
|
|
|
|
|
| |
Some tests were added for running audio and video submission tests in
test_submission.py. Unfortunately these were not skipped if these
dependencies were not installed. This patch attempts to fix that while
leaving the tests intact.
|
|\ |
|
| | |
|
|/
|
|
| |
Fix bug 5401
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closes bug 5401
|
| |
|
| |
|
|
|
|
|
| |
Change the comment ID behaviour and source of
user_pages/blog_media.html to match user_pages/media.html as of #5376.
|
|
|
|
|
| |
Change the comment ID behaviour and source of user_pages/report.html
to match user_pages/media.html as of #5376.
|
|
|
|
|
| |
This allows you to dispatch to the "alembic" command line tool properly,
but properly respecting MediaGoblin's own configuration.
|
| |
|
|
|
|
|
| |
Thanks to Jessica Tallon for pointing out this TODO and its associated
hack could be removed.
|
|
|
|
|
| |
Code seems to pass fine after the cap is removed. Whatever dependency
issues we were running into before don't seem to be an issue now.
|
|
|
|
|
| |
This builds on work done for #5376 and associates the correct comment
ID with comment report links.
|
|
|
|
|
| |
This patch addresses an issue where a server error is caused by
entering a non-existent comment ID in a media URL.
|
|
|
|
|
|
|
| |
This ensures that links to comments have the correct ID (the
ID of the Comment object) as well as fixing deletion on reports
and fixing a few other little things. I hope this fixes the #5376
issue, though cannot reproduce so unable to confirm.
|
| |
|
|
|
|
| |
Fix a typo in models.py.
|
|
|
|
|
|
|
| |
It seems there was a commit for a while where the migration was
making Report.object_id NOT NULL and this caused an errror when
a report deleted the associated object (media). This migrtion
checks it's nullable and if not, alters it so it is.
|
| |
|
| |
|
|
|
|
|
|
| |
The original wrapper existed and should be been removed, this fix
now ensures the TextComment removes the Comment wrapper to prevent
the deleted (comments which are tombstones) existing.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This shouldn't really effect much but it is a needed change for the future
this changes the Notification.object_id to be the ID of the Comment (the link
table to the comment object) rather than TextComment (the comment object itself).
This is needed as now comments can be other things, other than TextComment.
|
|
|
|
| |
That was *already* upstream in guix!
|
|
|
|
|
|
|
| |
subject body
There's nothing useful about seeing b'foo\nbar\nbaz' printing to
stdout. That's not what the user should get!
|
|
|
|
|
| |
python-paste and python-pastescript are now part of Guix proper.
Working on getting python-chardet there as well.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(Thanks to David Thompson for help on the MediaGoblin packaging, which
went into this a lot!)
|
|
|
|
| |
There is no viewitems in python3
|
|
|
|
|
|
|
|
| |
Gah, the previous patch was not enough! We cannot use text, we can only
use exception with a special attribute.
Lets return safe None for now an resolve this properly later, when we're
not in the freeze.
|
|
|
|
|
|
|
|
| |
fail_error was used in import, but due to some changes text could appear
there and it caused an error.
There is little sense now to remove these text messages because they are
probably in databases already, so just ignore import errors.
|
|
|
|
|
| |
This update changes migrations to wrap db.execute results in a list to
keep the connection from closing for sqlite migrations.
|
|
|
|
|
|
| |
If a user was logged in and already verified, the resend_verification
link would cause a server error. This fix addresses that by using the
correct syntax to query the username from the request.
|
| |
|
|
|
|
| |
Could be better, but "works" for now.
|
|
|
|
|
| |
For more context, see:
http://joeyh.name/blog/entry/trademark_nonsense/
|
| |
|
|
|
|
|
| |
Incredibly, it looks like none of our documentation has to change taking
this route...!
|