aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Customizing Subs using Wtformssaksham11152016-07-195-3/+63
|
* Working for firefoxsaksham11152016-07-191-6/+9
|
* Loading subtitle files [Not working]saksham11152016-07-192-3/+37
|
* Path decoded and sent to html pagesaksham11152016-07-191-1/+9
|
* Made decorators views for Customize Interfacesaksham11152016-07-193-3/+35
|
* Customize Interface in progresssaksham11152016-07-193-2/+14
|
* Starting Customize Interfacesaksham11152016-07-191-0/+16
|
* Minor Changesaksham11152016-07-192-4/+4
|
* Subtitle built over attachments : workingsaksham11152016-07-199-5/+203
|
* Subtitle interface using attachmentssaksham11152016-07-192-1/+5
|
* Lightbox effect for imagessaksham11152016-07-193-1/+96
|
* Revert "Import messages in blog views"saksham11152016-07-191-1/+1
| | | | This reverts commit 41302ad2b622b340caeb13339338ab3a5d0f7e6b.
* Import messages in blog viewsAndrew Browning2016-04-031-1/+1
|
* Fix #5451 - add_message inconsistenciesAndrew Browning2016-04-027-83/+147
| | | | | Reformat add_message function calls for consistency and PEP8 line continuations.
* Replace raw_input with six.moves.inputBerker Peksag2016-04-021-1/+3
| | | | Fixes #5441
* Fix the blog_delete page for admins.宋文武2016-04-021-1/+1
| | | | * mediagoblin/media_types/blog/views.py: Import WARNING from mediagoblin.messages.
* tests: Fix migration tests; foundations are now installed separatelyChristopher Allan Webber2016-03-291-29/+9
| | | | | | | * mediagoblin/tests/test_sql_migrations.py: Import migration.changeset even in python 3. (FOUNDATIONS): Removed. (test_set1_to_set3): Removed foundations checks.
* tests: importorskip migration tests on "migrate" rather than on Python 3Christopher Allan Webber2016-03-291-1/+1
| | | | | | | | | 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.
* Now on MediaGoblin 1.0 development cycle!Christopher Allan Webber2016-03-292-2/+2
| | | | | * configure.ac (AC_INIT): * mediagoblin/_version.py (__version__): Update version to 1.0.dev.
* devtools: Update maketarball.sh to use #!/bin/sh as shebangChristopher Allan Webber2016-03-291-1/+1
| | | | * devtools/maketarball.sh: Updated shebang.
* Committing extracted and compiled translationsChristopher Allan Webber2016-03-295-890/+1038
|
* devtools: Use pybabel in virtualenv or on path depending on which is present.Christopher Allan Webber2016-03-291-1/+7
| | | | | * devtools/update_translations.sh (PYBABEL): New variable, points to whichever pybabel we should use.
* guix: Add additional useful packages for developmentChristopher Allan Webber2016-03-291-0/+6
| | | | * guix-env.scm: Added openssh, git, and rsync in the development package.
* devtools: Switching "#!/usr/bin/env bash" -> "#!/bin/sh" againChristopher Allan Webber2016-03-291-1/+1
| | | | | | | | 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.
* On MediaGoblin 0.9.0!Christopher Allan Webber2016-03-292-2/+2
| | | | | * configure.ac (AC_INIT): * mediagoblin/_version.py (__version__): Update to 0.9.0.
* doc: 0.9.0 release notesChristopher Allan Webber2016-03-291-0/+41
| | | | * doc/source/siteadmin/relnotes.rst: Add release notes for 0.9.0.
* AUTHORS: Adding new 0.9.0 contributors.Christopher Allan Webber2016-03-291-0/+4
| | | | * AUTHORS: Adding new contributors
* migrations: Only don't import "migrate" if it's not availableChristopher Allan Webber2016-03-291-1/+9
| | | | | * mediagoblin/db/migrations.py: Import migrate if available; if not print a warning.
* doc: Update developer migration docs for Alembic as primary migration systemChristopher Allan Webber2016-03-261-22/+22
| | | | | | * docs/source/devel/migrations.rst: Update to reflect sqlalchemy-migrate as being deprecated and Alembic as being the new way of doing migrations.
* Update make_example_database.sh to use #!/bin/sh instead of #!/usr/bin/envChristopher Allan Webber2016-03-261-1/+1
| | | | * devtools/make_example_database.sh: Update shebang.
* doc: Update plugins documentation in light of alembic branching usageChristopher Allan Webber2016-03-261-3/+24
| | | | | | | * 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".
* dbupdate: Correctly handle plugin foundationsChristopher Allan Webber2016-03-261-1/+1
| | | | | | | * 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.
* doc: Note that plugin authors must NEVER modify tables they don't controlChristopher Allan Webber2016-03-261-0/+5
| | | | * docs/source/pluginwriter/database.rst: New paragraph.
* Update database docs for plugin authors for new alembic branching worldChristopher Allan Webber2016-03-261-27/+58
| | | | | | | | | | | 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.
* Add comment questioning why run_dbupdate is needed in get_app test utilityChristopher Allan Webber2016-03-261-0/+2
| | | | * mediagoblin/tests/tools.py (get_app): Add comment
* Fix tests post-alembic-migration-changes.Christopher Allan Webber2016-03-261-3/+9
| | | | | * mediagoblin/init/__init__.py (setup_database): Update to run alembic migrations, skip the old legacy migrations.
* Only run archivalook migration if the tables aren't there.Christopher Allan Webber2016-03-261-0/+5
| | | | | | | | 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.
* Archivalook plugin initial migration.Christopher Allan Webber2016-03-261-0/+32
| | | | | * mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py: New file.
* OpenID plugin initial migration.Christopher Allan Webber2016-03-261-0/+54
| | | | | * mediagoblin/plugins/openid/migrations/071abb33d1da_openid_plugin_initial_migration.py: New file.
* Persona plugin initial migration.Christopher Allan Webber2016-03-261-0/+35
| | | | | * mediagoblin/plugins/persona/migrations/c7d4840a5592_persona_plugin_initial_migration.py: New file.
* Blog media type initial migration.Christopher Allan Webber2016-03-261-0/+59
| | | | | * mediagoblin/media_types/blog/migrations/562bc42a8fff_blog_media_type_initial_migration.py: New file.
* PDF media type initial migration.Christopher Allan Webber2016-03-261-0/+46
| | | | | * mediagoblin/media_types/pdf/migrations/faa209f143b5_pdf_media_type_initial_migration.py: New file.
* STL media type initial migration.Christopher Allan Webber2016-03-261-0/+40
| | | | | * mediagoblin/media_types/stl/migrations/16134ed134ad_stl_media_type_initial_migration.py: New file.
* Ascii media type initial migration.Christopher Allan Webber2016-03-261-0/+33
| | | | | * mediagoblin/db/migrations/versions/72bd70f7eefd_ascii_media_type_initial_migration.py: New file.
* Video media type initial migration.Christopher Allan Webber2016-03-261-0/+36
| | | | | * mediagoblin/media_types/video/migrations/38feb829c545_video_media_type_initial_migration.py: New file.
* Audio media type initial migration.Christopher Allan Webber2016-03-261-0/+32
| | | | | * mediagoblin/media_types/audio/migrations/e9212d3a12d3_adding_audio_media_type_initial_.py: New file.
* Image media type initial migration.Christopher Allan Webber2016-03-261-0/+36
| | | | | * mediagoblin/media_types/image/migrations/a98c1a320e88_image_media_type_initial.py: New file.
* Removing erronously installed print statement.Christopher Allan Webber2016-03-261-1/+0
| | | | | * mediagoblin/gmg_commands/alembic_commands.py (FudgedCommandLine.main): Removed call to print.
* Allow for passing in --with-plugins to the alembic gmg subcommand.Christopher Allan Webber2016-03-261-0/+19
| | | | | | | | | 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.
* Only run sqlalchemy-migrate migrations if we have to; separate foundationsChristopher Allan Webber2016-03-262-37/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.