mediagoblin.git
8 years agoAdd kesara to list of AUTHORS
Andrew Browning [Sun, 23 Oct 2016 19:41:40 +0000 (15:41 -0400)]
Add kesara to list of AUTHORS

The changes applied in 7ee8e6b were written by kesara.

8 years agoFix #664 - Text overflow in media headings
Andrew Browning [Sun, 23 Oct 2016 19:32:25 +0000 (12:32 -0700)]
Fix #664 - Text overflow in media headings

Merge in kesara's changes to fix the media heading overflows on edit
and delete pages for ticket #664.

Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
8 years agoFix typo in user processing panel
Andrew Browning [Mon, 17 Oct 2016 00:11:56 +0000 (20:11 -0400)]
Fix typo in user processing panel

Thanks to Storm_dragon for reporting this typo.

8 years agoUpdate maps copyright notice to OSM
Olivier Mehani [Fri, 16 Sep 2016 12:32:51 +0000 (22:32 +1000)]
Update maps copyright notice to OSM

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
8 years agoUse OSM tiles in Geolocation plugin #5466
Olivier Mehani [Wed, 31 Aug 2016 12:20:53 +0000 (22:20 +1000)]
Use OSM tiles in Geolocation plugin #5466

MapQuest recently disabled free-as-in-beer access to their map tiles, so let's
switch to free-as-in-speech images.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
8 years agoSpell-check the entire documentation.
Ben Sturmfels [Sat, 17 Sep 2016 14:48:32 +0000 (00:48 +1000)]
Spell-check the entire documentation.

8 years agoMerge branch 'panel'
Boris Bobrov [Fri, 16 Sep 2016 06:47:54 +0000 (09:47 +0300)]
Merge branch 'panel'

8 years agoAdd Dealsy to core reviewers
Boris Bobrov [Fri, 16 Sep 2016 06:46:59 +0000 (09:46 +0300)]
Add Dealsy to core reviewers

8 years agoAdded Josh Crompton to authors list
Boris Bobrov [Fri, 16 Sep 2016 06:30:58 +0000 (09:30 +0300)]
Added Josh Crompton to authors list

8 years agoAdd padding around form field labels
Josh Crompton [Mon, 15 Aug 2016 01:34:52 +0000 (11:34 +1000)]
Add padding around form field labels

Fixes #5468

8 years agoExtend Paginator tests to satisfy #55.
Ben Sturmfels [Thu, 15 Sep 2016 09:34:12 +0000 (21:34 +1200)]
Extend Paginator tests to satisfy #55.

8 years agoAdd Python 3 support in pagination.
Ben Sturmfels [Sun, 7 Aug 2016 11:48:52 +0000 (21:48 +1000)]
Add Python 3 support in pagination.

This issue was visible when attempting to view the home page of a MediaGoblin site with more than a single page worth of items, under Python 3.

8 years agoAdd documentation for header drop-down open/closed.
Ben Sturmfels [Sun, 11 Sep 2016 23:57:43 +0000 (11:57 +1200)]
Add documentation for header drop-down open/closed.

8 years agoModify setup.py version syntax to address #5464
Andrew Browning [Fri, 26 Aug 2016 15:34:18 +0000 (11:34 -0400)]
Modify setup.py version syntax to address #5464

Some users report that even with version <4.0 specified in setup.py,
the 4.0-rc builds of kombu and celery were still being downloaded.
This patch uses a different version syntax as suggested in a Stack
Overflow thread.

https://stackoverflow.com/a/14405269

8 years agoMake the panel default to open and remember preference in local storage.
Matt [Tue, 16 Aug 2016 04:56:39 +0000 (14:56 +1000)]
Make the panel default to open and remember preference in local storage.

8 years agoRevert "fixed bug #728"
Boris Bobrov [Tue, 16 Aug 2016 00:45:20 +0000 (03:45 +0300)]
Revert "fixed bug #728"

This reverts commit dbb86ffbbf25651330266435752a6a0422cfb6e5.

It caused bug 5469

8 years agoDo not try to get private attributes for comments
Boris Bobrov [Sun, 7 Aug 2016 23:26:25 +0000 (02:26 +0300)]
Do not try to get private attributes for comments

Most probably, they are sqlalchemy's!

8 years agoPass test paths to py.test via tox
Boris Bobrov [Sun, 7 Aug 2016 21:34:08 +0000 (00:34 +0300)]
Pass test paths to py.test via tox

Py.test has an ability to run only tests which match the given
substring expression.

Add an ability to do it via tox.

8 years agoAdding compatibility stuff for themes
Boris Bobrov [Sun, 31 Jul 2016 04:17:03 +0000 (07:17 +0300)]
Adding compatibility stuff for themes

During our migration to federation some interfaces were changed. We
should not have done that so fast.

Provide a compatibility layer so that old themes work

8 years agoFixing themes
Boris Bobrov [Sun, 31 Jul 2016 04:16:48 +0000 (07:16 +0300)]
Fixing themes

8 years agoCap kombu and celery
Boris Bobrov [Mon, 25 Jul 2016 02:23:16 +0000 (05:23 +0300)]
Cap kombu and celery

See issue 5464 for details

8 years agofixed bug #728
Boris Bobrov [Fri, 20 Jun 2014 04:03:29 +0000 (08:03 +0400)]
fixed bug #728

8 years agoMerge branch 'fix-unhelpful-smtp-error-5081'
Boris Bobrov [Mon, 25 Jul 2016 00:59:49 +0000 (03:59 +0300)]
Merge branch 'fix-unhelpful-smtp-error-5081'

8 years agoFix #928 - cleanup to avoid duplicated get_upload_file_limits
Loic Dachary [Thu, 28 Jan 2016 08:10:03 +0000 (15:10 +0700)]
Fix #928 - cleanup to avoid duplicated get_upload_file_limits

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoFix #822 - doc typo s/Plugin/PluginManager/
Loic Dachary [Tue, 12 Jan 2016 22:05:43 +0000 (23:05 +0100)]
Fix #822 - doc typo s/Plugin/PluginManager/

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoAdd one more contributor
Boris Bobrov [Mon, 25 Jul 2016 00:40:19 +0000 (03:40 +0300)]
Add one more contributor

Thanks, Jonathan Sandoval!

8 years agoUse GLib instead of GObject
Boris Bobrov [Mon, 25 Jul 2016 00:39:23 +0000 (03:39 +0300)]
Use GLib instead of GObject

Thanks mi!

Fixes bug 5399

8 years agoMerge branch 'login-validator-5414'
Boris Bobrov [Mon, 25 Jul 2016 00:23:25 +0000 (03:23 +0300)]
Merge branch 'login-validator-5414'

8 years agoFix #5462 - attempt to change email without login
Andrew Browning [Tue, 19 Jul 2016 04:16:48 +0000 (00:16 -0400)]
Fix #5462 - attempt to change email without login

Require an active login when accessing the form to change an email
address associated with an account. This prevents a server crash when
a user is assumed to be part of the request.

8 years agoPrevent erroring out in some cases of checking video metadata
Christopher Allan Webber [Thu, 14 Jul 2016 15:48:28 +0000 (10:48 -0500)]
Prevent erroring out in some cases of checking video metadata

8 years agoA bit of a documentation update around celery systemd init files
Christopher Allan Webber [Wed, 13 Jul 2016 14:11:40 +0000 (09:11 -0500)]
A bit of a documentation update around celery systemd init files

8 years agouse is_rtl variable to detect rtl locales
Leah Velleman [Tue, 21 Jun 2016 02:08:55 +0000 (22:08 -0400)]
use is_rtl variable to detect rtl locales

8 years agofixed 'older' and 'newer' arrows for rtl locales
Leah Velleman [Mon, 20 Jun 2016 21:06:41 +0000 (17:06 -0400)]
fixed 'older' and 'newer' arrows for rtl locales

8 years agoInclude original error in debug log
Jonathan Sandoval [Fri, 8 Apr 2016 18:21:31 +0000 (13:21 -0500)]
Include original error in debug log

8 years agosquash! Custom exception in mail.
Jonathan Sandoval [Fri, 8 Apr 2016 18:17:26 +0000 (13:17 -0500)]
squash! Custom exception in mail.

8 years agoCustom exception in mail.
Jonathan Sandoval [Fri, 8 Apr 2016 18:12:21 +0000 (13:12 -0500)]
Custom exception in mail.

8 years agoMail tests with no mail server configured.
Jonathan Sandoval [Fri, 8 Apr 2016 18:07:06 +0000 (13:07 -0500)]
Mail tests with no mail server configured.

8 years agoNo length check for login form
Jonathan Sandoval [Thu, 7 Apr 2016 21:34:00 +0000 (16:34 -0500)]
No length check for login form

8 years agoTests for short and long usernames.
Jonathan Sandoval [Thu, 7 Apr 2016 21:29:15 +0000 (16:29 -0500)]
Tests for short and long usernames.

8 years agoTest with short and long username
Jonathan Sandoval [Thu, 7 Apr 2016 16:55:45 +0000 (11:55 -0500)]
Test with short and long username

8 years agoImport messages in blog views
Andrew Browning [Sun, 3 Apr 2016 05:10:22 +0000 (01:10 -0400)]
Import messages in blog views

8 years agoFix #5451 - add_message inconsistencies
Andrew Browning [Sat, 2 Apr 2016 01:14:40 +0000 (21:14 -0400)]
Fix #5451 - add_message inconsistencies

Reformat add_message function calls for consistency and PEP8 line
continuations.

8 years agoReplace raw_input with six.moves.input
Berker Peksag [Sat, 2 Apr 2016 17:48:04 +0000 (20:48 +0300)]
Replace raw_input with six.moves.input

Fixes #5441

8 years agoFix the blog_delete page for admins.
宋文武 [Sat, 2 Apr 2016 03:45:25 +0000 (11:45 +0800)]
Fix the blog_delete page for admins.

* mediagoblin/media_types/blog/views.py: Import WARNING from mediagoblin.messages.

8 years agotests: Fix migration tests; foundations are now installed separately
Christopher Allan Webber [Tue, 29 Mar 2016 21:41:57 +0000 (14:41 -0700)]
tests: Fix migration tests; foundations are now installed separately

* mediagoblin/tests/test_sql_migrations.py: Import migration.changeset
  even in python 3.
  (FOUNDATIONS): Removed.
  (test_set1_to_set3): Removed foundations checks.

8 years agotests: importorskip migration tests on "migrate" rather than on Python 3
Christopher Allan Webber [Tue, 29 Mar 2016 21:24:59 +0000 (14:24 -0700)]
tests: importorskip migration tests on "migrate" rather than on Python 3

Previously we assumed we wouldn't run migration tests if we're on
Python 3, but now that we support sqlalchemy-migrate with Python 3,
switch to checking based on "migrate" importability.

* mediagoblin/tests/test_sql_migrations.py: Update test skipping to
  rely on "migrate" module presence rather than Python 3 check.

8 years agoNow on MediaGoblin 1.0 development cycle!
Christopher Allan Webber [Tue, 29 Mar 2016 21:26:03 +0000 (14:26 -0700)]
Now on MediaGoblin 1.0 development cycle!

* configure.ac (AC_INIT):
* mediagoblin/_version.py (__version__): Update version to 1.0.dev.

8 years agodevtools: Update maketarball.sh to use #!/bin/sh as shebang
Christopher Allan Webber [Tue, 29 Mar 2016 19:06:44 +0000 (12:06 -0700)]
devtools: Update maketarball.sh to use #!/bin/sh as shebang

* devtools/maketarball.sh: Updated shebang.

8 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Tue, 29 Mar 2016 19:04:37 +0000 (19:04 +0000)]
Committing extracted and compiled translations

8 years agodevtools: Use pybabel in virtualenv or on path depending on which is present.
Christopher Allan Webber [Tue, 29 Mar 2016 19:00:28 +0000 (12:00 -0700)]
devtools: Use pybabel in virtualenv or on path depending on which is present.

* devtools/update_translations.sh (PYBABEL): New variable, points to
  whichever pybabel we should use.

8 years agoguix: Add additional useful packages for development
Christopher Allan Webber [Tue, 29 Mar 2016 18:59:31 +0000 (11:59 -0700)]
guix: Add additional useful packages for development

* guix-env.scm: Added openssh, git, and rsync in the development package.

8 years agodevtools: Switching "#!/usr/bin/env bash" -> "#!/bin/sh" again
Christopher Allan Webber [Tue, 29 Mar 2016 18:47:02 +0000 (11:47 -0700)]
devtools: Switching "#!/usr/bin/env bash" -> "#!/bin/sh" again

This makes things easier on Guix and etc.  We don't need Bash
specifically, just something Bourne-compatible, which all Posix
machines should theoretically provide.

* devtools/update_translations.sh: Updated shebang.

8 years agoOn MediaGoblin 0.9.0!
Christopher Allan Webber [Tue, 29 Mar 2016 18:42:20 +0000 (11:42 -0700)]
On MediaGoblin 0.9.0!

* configure.ac (AC_INIT):
* mediagoblin/_version.py (__version__): Update to 0.9.0.

8 years agodoc: 0.9.0 release notes
Christopher Allan Webber [Tue, 29 Mar 2016 18:30:26 +0000 (11:30 -0700)]
doc: 0.9.0 release notes

* doc/source/siteadmin/relnotes.rst: Add release notes for 0.9.0.

8 years agoAUTHORS: Adding new 0.9.0 contributors.
Christopher Allan Webber [Tue, 29 Mar 2016 17:11:11 +0000 (10:11 -0700)]
AUTHORS: Adding new 0.9.0 contributors.

* AUTHORS: Adding new contributors

8 years agomigrations: Only don't import "migrate" if it's not available
Christopher Allan Webber [Tue, 29 Mar 2016 16:44:34 +0000 (09:44 -0700)]
migrations: Only don't import "migrate" if it's not available

* mediagoblin/db/migrations.py: Import migrate if available; if not
  print a warning.

8 years agodoc: Update developer migration docs for Alembic as primary migration system
Christopher Allan Webber [Sat, 26 Mar 2016 18:37:52 +0000 (11:37 -0700)]
doc: Update developer migration docs for Alembic as primary migration system

* docs/source/devel/migrations.rst: Update to reflect sqlalchemy-migrate
  as being deprecated and Alembic as being the new way of doing
  migrations.

8 years agoUpdate make_example_database.sh to use #!/bin/sh instead of #!/usr/bin/env
Christopher Allan Webber [Fri, 25 Mar 2016 23:21:58 +0000 (16:21 -0700)]
Update make_example_database.sh to use #!/bin/sh instead of #!/usr/bin/env

* devtools/make_example_database.sh: Update shebang.

8 years agodoc: Update plugins documentation in light of alembic branching usage
Christopher Allan Webber [Fri, 25 Mar 2016 22:47:19 +0000 (15:47 -0700)]
doc: Update plugins documentation in light of alembic branching usage

* docs/source/siteadmin/plugins.rst:
  Added a reminder to run "./bin/gmg dbupdate" after installing a plugin.
  Added a new "Deactivating plugins" section.
  Renamed "Removing plugins" to "Removing plugin packages".

8 years agodbupdate: Correctly handle plugin foundations
Christopher Allan Webber [Fri, 25 Mar 2016 22:26:07 +0000 (15:26 -0700)]
dbupdate: Correctly handle plugin foundations

* mediagoblin/gmg_commands/dbupdate.py (run_foundations):
  When adding a plugin's foundations, correctly append both
  the name and the foundations in a tuple to the list.
  This prevents errors.

8 years agodoc: Note that plugin authors must NEVER modify tables they don't control
Christopher Allan Webber [Fri, 25 Mar 2016 22:07:36 +0000 (15:07 -0700)]
doc: Note that plugin authors must NEVER modify tables they don't control

* docs/source/pluginwriter/database.rst: New paragraph.

8 years agoUpdate database docs for plugin authors for new alembic branching world
Christopher Allan Webber [Fri, 25 Mar 2016 20:38:58 +0000 (13:38 -0700)]
Update database docs for plugin authors for new alembic branching world

Things have gotten both easier and more complex in the branching world
view.  Plugins branch off of main with their own migrations.
Generating these has become a bit easier, but the steps for doing this
are a bit wordy to explain.

* docs/source/pluginwriter/database.rst: Update both the
  "Creating new Tables" and "Changing the Database Schema Later"
  sections accordingly.

8 years agoAdd comment questioning why run_dbupdate is needed in get_app test utility
Christopher Allan Webber [Fri, 25 Mar 2016 00:13:34 +0000 (17:13 -0700)]
Add comment questioning why run_dbupdate is needed in get_app test utility

* mediagoblin/tests/tools.py (get_app): Add comment

8 years agoFix tests post-alembic-migration-changes.
Christopher Allan Webber [Fri, 25 Mar 2016 00:12:16 +0000 (17:12 -0700)]
Fix tests post-alembic-migration-changes.

* mediagoblin/init/__init__.py (setup_database): Update to run alembic
  migrations, skip the old legacy migrations.

8 years agoOnly run archivalook migration if the tables aren't there.
Christopher Allan Webber [Sat, 12 Mar 2016 23:46:02 +0000 (15:46 -0800)]
Only run archivalook migration if the tables aren't there.

Standard for anything existing before the Alembic move-over, but I
forgot this one.

* mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py
  (upgrade): Add has_table check, skip if such a table already exists.

8 years agoArchivalook plugin initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 23:39:41 +0000 (15:39 -0800)]
Archivalook plugin initial migration.

* mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py:
  New file.

8 years agoOpenID plugin initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 23:36:41 +0000 (15:36 -0800)]
OpenID plugin initial migration.

* mediagoblin/plugins/openid/migrations/071abb33d1da_openid_plugin_initial_migration.py:
  New file.

8 years agoPersona plugin initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 23:35:38 +0000 (15:35 -0800)]
Persona plugin initial migration.

* mediagoblin/plugins/persona/migrations/c7d4840a5592_persona_plugin_initial_migration.py:
  New file.

8 years agoBlog media type initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 23:22:52 +0000 (15:22 -0800)]
Blog media type initial migration.

* mediagoblin/media_types/blog/migrations/562bc42a8fff_blog_media_type_initial_migration.py:
  New file.

8 years agoPDF media type initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 23:14:24 +0000 (15:14 -0800)]
PDF media type initial migration.

* mediagoblin/media_types/pdf/migrations/faa209f143b5_pdf_media_type_initial_migration.py:
  New file.

8 years agoSTL media type initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 23:04:22 +0000 (15:04 -0800)]
STL media type initial migration.

* mediagoblin/media_types/stl/migrations/16134ed134ad_stl_media_type_initial_migration.py:
  New file.

8 years agoAscii media type initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 22:53:20 +0000 (14:53 -0800)]
Ascii media type initial migration.

* mediagoblin/db/migrations/versions/72bd70f7eefd_ascii_media_type_initial_migration.py:
  New file.

8 years agoVideo media type initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 22:52:09 +0000 (14:52 -0800)]
Video media type initial migration.

* mediagoblin/media_types/video/migrations/38feb829c545_video_media_type_initial_migration.py:
  New file.

8 years agoAudio media type initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 22:51:20 +0000 (14:51 -0800)]
Audio media type initial migration.

* mediagoblin/media_types/audio/migrations/e9212d3a12d3_adding_audio_media_type_initial_.py:
  New file.

8 years agoImage media type initial migration.
Christopher Allan Webber [Sat, 12 Mar 2016 22:36:23 +0000 (14:36 -0800)]
Image media type initial migration.

* mediagoblin/media_types/image/migrations/a98c1a320e88_image_media_type_initial.py:
  New file.

8 years agoRemoving erronously installed print statement.
Christopher Allan Webber [Sat, 12 Mar 2016 22:38:43 +0000 (14:38 -0800)]
Removing erronously installed print statement.

* mediagoblin/gmg_commands/alembic_commands.py (FudgedCommandLine.main):
  Removed call to print.

8 years agoAllow for passing in --with-plugins to the alembic gmg subcommand.
Christopher Allan Webber [Sat, 12 Mar 2016 19:30:08 +0000 (11:30 -0800)]
Allow for passing in --with-plugins to the alembic gmg subcommand.

This allows plugin writers to easily take advantage off alembic's migration
autogeneration support.

* mediagoblin/gmg_commands/alembic_commands.py: Adjusted imports.
  (FudgedCommandLine.main, parser_setup): Add support for importing
  plugins when --with-plugins is passed in.

8 years agoOnly run sqlalchemy-migrate migrations if we have to; separate foundations
Christopher Allan Webber [Sat, 12 Mar 2016 17:45:28 +0000 (09:45 -0800)]
Only run sqlalchemy-migrate migrations if we have to; separate foundations

The goal is to get things to the point where Alembic can run on its own
for new databases and initialize the whole database on its own.  There
are risks to not doing so, see #5413 for details.

There's a lot more here that could removed or cleaned up once
sqlalchemy-migrate is *completely* removed in the future.

* mediagoblin/db/migration_tools.py (MigrationManager.foundations):
  Removed attribute.
  (MigrationManager.populate_table_foundations): Removed method.
  (MigrationManager.init_or_migrate): Removed call to deprecated method.
  (populate_table_foundations): New function, refactored from former
  MigrationManager method of same name.

* mediagoblin/gmg_commands/dbupdate.py: Import populate_table_foundations.
  (DatabaseData.foundations): Remove attribute.
  (DatabaseData.make_migration_manager): Adjust instantiation of
  MigrationManager.
  (gather_database_data): Move out the work of building up foundations data.
  (run_foundations): New method, incorporating logic for gathering and
  running foundations which was previously spread across other
  functions and methods.
  (run_alembic_migrations): Remove deprecated comment.
  (run_dbupdate): Only run sqlalchemy migrations if we have to.
  Also run run_foundations if we are setting up this database for the
  first time.
  (sqam_migrations_to_run): New method.

8 years agoSwitch initial_revision alembic migration to make tables if they aren't there
Christopher Allan Webber [Sat, 12 Mar 2016 17:32:56 +0000 (09:32 -0800)]
Switch initial_revision alembic migration to make tables if they aren't there

This is a necessary step towards deprecating sqlalchemy-migrate.

* mediagoblin/db/migrations/versions/52bf0ccbedc1_initial_revision.py
  (upgrade): Update for adding tables.  Mostly generated via Alembic's
  autogenerate tools.
  (downgrade): Added a comment.

8 years agoSet target_metadata in alembic's env.py to Base.metadata
Christopher Allan Webber [Fri, 11 Mar 2016 19:54:12 +0000 (11:54 -0800)]
Set target_metadata in alembic's env.py to Base.metadata

This allows us to make use of automatically generated migrations, at
least for core.

* mediagoblin/db/migrations/env.py (target_metadata): Switch to gmg's
  Base.metadata.

8 years agoUpdate out script.py mako template to support branch_labels
Christopher Allan Webber [Wed, 9 Mar 2016 23:16:17 +0000 (15:16 -0800)]
Update out script.py mako template to support branch_labels

This is important (probably) for long-running plugin branches.

* mediagoblin/db/migrations/script.py.mako: Updated to upstream
  Alembic version of this file.

8 years agodbupdate updates to use plugin migrations if available
Christopher Allan Webber [Wed, 9 Mar 2016 21:31:39 +0000 (13:31 -0800)]
dbupdate updates to use plugin migrations if available

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.

8 years agoIgnore .eggs/ directory
Christopher Allan Webber [Wed, 9 Mar 2016 20:20:36 +0000 (12:20 -0800)]
Ignore .eggs/ directory

8 years agoAdd build_alembic_config, use it to add plugin migrations to alembic config
Christopher Allan Webber [Sun, 6 Mar 2016 01:37:58 +0000 (17:37 -0800)]
Add build_alembic_config, use it to add plugin migrations to alembic config

8 years agoguix-env.scm: Comment on python-numpy pulling in texlive
Christopher Allan Webber [Thu, 24 Mar 2016 21:23:49 +0000 (14:23 -0700)]
guix-env.scm: Comment on python-numpy pulling in texlive

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.

8 years agoRemove requirement that audio/video dependencies must be installed for tests
Christopher Allan Webber [Tue, 23 Feb 2016 23:14:29 +0000 (15:14 -0800)]
Remove requirement that audio/video dependencies must be installed for tests

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.

8 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin
Boris Bobrov [Fri, 11 Mar 2016 21:34:15 +0000 (00:34 +0300)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin

8 years agoAdd python-gst to guix-env.scm
Christopher Allan Webber [Wed, 9 Mar 2016 20:05:31 +0000 (12:05 -0800)]
Add python-gst to guix-env.scm

8 years agoCheck all tags for existence before using them
Boris Bobrov [Wed, 9 Mar 2016 09:28:14 +0000 (12:28 +0300)]
Check all tags for existence before using them

Fix bug 5401

8 years agoFix module name for `gmg alembic` command
Boris Bobrov [Tue, 8 Mar 2016 14:12:49 +0000 (17:12 +0300)]
Fix module name for `gmg alembic` command

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.

8 years agoCheck tags for existence before using them
Boris Bobrov [Tue, 8 Mar 2016 14:23:15 +0000 (17:23 +0300)]
Check tags for existence before using them

Closes bug 5401

8 years agoFix #5440 - Typo in blog views
Andrew Browning [Mon, 7 Mar 2016 00:47:17 +0000 (19:47 -0500)]
Fix #5440 - Typo in blog views

8 years agoCommentary on where this hack on detecting no subcommand to Alembic comes from
Christopher Allan Webber [Sun, 6 Mar 2016 00:28:30 +0000 (16:28 -0800)]
Commentary on where this hack on detecting no subcommand to Alembic comes from

8 years agoFix comment ID links on blog media page
Andrew Browning [Sat, 5 Mar 2016 16:58:23 +0000 (11:58 -0500)]
Fix comment ID links on blog media page

Change the comment ID behaviour and source of
user_pages/blog_media.html to match user_pages/media.html as of #5376.

8 years agoFix comment ID links on media comment report page
Andrew Browning [Wed, 2 Mar 2016 18:37:36 +0000 (13:37 -0500)]
Fix comment ID links on media comment report page

Change the comment ID behaviour and source of user_pages/report.html
to match user_pages/media.html as of #5376.

8 years agoAdd "gmg raw_alembic" command.
Christopher Allan Webber [Thu, 3 Mar 2016 01:03:04 +0000 (17:03 -0800)]
Add "gmg raw_alembic" command.

This allows you to dispatch to the "alembic" command line tool properly,
but properly respecting MediaGoblin's own configuration.

8 years agotypo fix: Set sqlalchemy.url, not qlalchemy.url
Christopher Allan Webber [Thu, 3 Mar 2016 00:08:12 +0000 (16:08 -0800)]
typo fix: Set sqlalchemy.url, not qlalchemy.url

8 years agoRemove old hack to support pre-0.7.5 Alembic versions
Christopher Allan Webber [Wed, 2 Mar 2016 19:18:25 +0000 (11:18 -0800)]
Remove old hack to support pre-0.7.5 Alembic versions

Thanks to Jessica Tallon for pointing out this TODO and its associated
hack could be removed.

8 years agoRemove version caps on sqlalchemy and alembic.
Christopher Allan Webber [Wed, 2 Mar 2016 19:13:42 +0000 (11:13 -0800)]
Remove version caps on sqlalchemy and alembic.

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.

8 years agoFix #5432 - Comment report link doens't work
Andrew Browning [Wed, 2 Mar 2016 17:43:53 +0000 (12:43 -0500)]
Fix #5432 - Comment report link doens't work

This builds on work done for #5376 and associates the correct comment
ID with comment report links.