aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue 5366 Update blog viewsayleph2016-01-155-14/+14
| | | | | | | This commit updates blog views to be compatible with recent database migrations. Signed-off-by: Jessica Tallon <tsyesika@tsyesika.se>
* Fix #5382 - Add migration and fix so tombstones are removed from collectionsJessica Tallon2016-01-152-0/+110
| | | | | | | | | | | | When an item is deleted it should be removed from all collections, this commit makes that happen. It's got two changes: 1. Adds the code so when an object is soft deleted, it's automatically removed from all collection items 2. Add a migration to fix this issue for those who have tombstones (Graveyard objects) in their collections because of this bug. This commit requires you to run a migration
* Fix #5315 - use `env` in shebangsLoic Dachary2016-01-146-6/+6
|
* Use six.itervalues() in delete_media_files宋文武2016-01-141-1/+3
|
* Adding Tom Fay to the AUTHORS fileChristopher Allan Webber2016-01-141-0/+1
|
* Add a TODO to rename run_all_migrations to run_legacy_migrationsChristopher Allan Webber2016-01-111-0/+1
|
* Initial alembic migration to base other migrations onBoris Bobrov2016-01-111-0/+22
| | | | Use this migration as a parent for yours.
* Enable alembic as the main tool for migrationsBoris Bobrov2016-01-112-8/+9
| | | | | | Enable alembic for all migrations and limit the max number of sqlalchemy-migration migration. All new migrations must now be in Alembic!
* Fix various style issuesBoris Bobrov2016-01-111-11/+13
| | | | Sorry, cannot look at them without urge to fix
* Add a comment when we do / don't add collections dropdownChristopher Allan Webber2016-01-071-0/+2
| | | | Otherwise that "del submit_form.collection" might be confusing :)
* Add test to check that an activity is created when a collection was chosen.tom2016-01-071-4/+11
|
* Add collection drop down to submit page.tom2016-01-073-4/+83
|
* Do not require python3.3 explicitelyBoris Bobrov2016-01-071-2/+2
| | | | | It's easier to say "use python3.3+" rather than prevent usage of earlier versions programmatically in autoconf.
* Uncap PasteBoris Bobrov2016-01-071-1/+1
| | | | | Paste was capped to 1.9.9 because 2.0 broke us. Now Paste 2.0.x was released and it doesn't break us any more. Closes bug 5317.
* Add workaround for incompilable Interlingua localeBoris Bobrov2016-01-071-1/+4
| | | | | For now we cannot compile Interlingua (ia) locale; please see issue 1070 for details.
* Fix issue 5367 Edit view updatesayleph2016-01-061-1/+1
| | | | | | | This commit fixes issue 5367 by updating the edit view to be compatible with recent db migrations. Signed-off-by: Jessica Tallon <tsyesika@tsyesika.se>
* Fix issue 5371 broken collection atom feedsayleph2016-01-061-2/+2
| | | | Signed-off-by: Jessica Tallon <tsyesika@tsyesika.se>
* Fix #5369 - Broken activities cause issues in migrationsJessica Tallon2016-01-062-7/+86
| | | | | | | | | | | This fixes a few bugs in previous migrations and then also introduces a new migration for those who had run the previous migrations without encountering the bugs to ensure that the database is in the same state as those who ran it after the bug fixes introduced in this commit. The commit also ensures that all activities are valid, they should be but they might not be so checks, from now on we should be able to assume that all activities will always be valid.
* Point to the "Libre Browsers Libre Formats" page on the LibrePlanet wikiChristopher Allan Webber2015-12-291-3/+3
|
* Remove .tx/config as we're no longer using TransifexJessica Tallon2015-12-291-8/+0
|
* Fix a exception db closed exception in migrationsJessica Tallon2015-12-292-6/+27
| | | | | | | Some sqlite migrations were failing due to some problems with sqlite. A work around has been created for these however it does involve loading lots of data into memory. If you have a large database you should consider trying to move to postgres.
* Fix migrations of activity intermediatorsJessica Tallon2015-12-291-11/+11
| | | | | | | There was a problem where it was assuming the tablenames are the same in master as they always were and that isn't the case. This would cause it to raise an exception when trying to look up a table which didn't exist. This fixes that by hardcoding the old tablenames in for this migration.
* Fix #5368 - Improve test efficiancyJessica Tallon2015-12-291-4/+5
| | | | | | | | There were a number of tests where lots of models where being iterated through and then at the end committing them. The problem is all the changes had to be kept in memory or on disk somewhere before they were commit to the database. This fix commits each change as it's being made, allowing resources to be freed and fixing some of the inefficiencies
* Merge branch 'stable'Boris Bobrov2015-12-213-2/+59
|\
| * Work around pbutils import warning bug (5066)Boris Bobrov2015-12-212-2/+6
| |
| * Fixing typo (thanks breton)Christopher Allan Webber2015-12-201-1/+1
| |
| * 0.8.1 release notesChristopher Allan Webber2015-12-201-0/+53
| |
* | Fix typo in VideoData docstringBoris Bobrov2015-12-201-1/+1
| |
* | Setting 0.8.2.dev in configure.ac as wellChristopher Allan Webber2015-12-201-1/+1
| |
* | Setting version to v0.8.2.devChristopher Allan Webber2015-12-201-1/+1
| |
* | Merge branch 'stable'Christopher Allan Webber2015-12-202-0/+21
|\|
| * Fix security issue in OAuth verifier validationJessica Tallon2015-12-192-0/+21
| |
* | Merge branch 'stable'Christopher Allan Webber2015-12-191-1/+0
|\| | | | | | | | | | | Conflicts: mediagoblin/i18n/templates/en/mediagoblin.po mediagoblin/plugins/archivalook/tools.py
| * Fix Issue 5375 Deprecated function in video thumbayleph2015-12-201-1/+1
| | | | | | | | | | | | | | | | This patch fixes issue 5375 by replacing a function call that has been removed in recent versions of PIL with the recommended replacement. (cherry picked from commit 564a48e018bcd786aa32b232cb7216be3ef3fb5e)
| * Fix urlparse import in tools/routing.pyBerker Peksag2015-08-011-1/+1
| | | | | | | | | | | | | | urlparse is already a function, so we don't need to specify a module name. Refs #5339
| * Regenerate po file after 8e832f84597bd1505f23f4abd4eef96ce12d3822Berker Peksag2015-07-221-111/+44
| |
| * Fix typos reported in #1102Berker Peksag2015-07-221-2/+2
| |
| * Pin mock 1.0.1 in Python 2 for now.Berker Peksag2015-07-221-1/+1
| | | | | | | | | | | | | | | | | | mock recently dropped Python 2.6 support and then re-introduced it in its latest release (however, it's a bit unstable right now). I think at this point, we can be more cautious and just use mock==1.0.1.
| * Change all unicode() calls with six.text_type().Berker Peksag2015-06-256-10/+18
| | | | | | | | Fixes #5329.
| * Fix typo.Berker Peksag2015-06-251-1/+1
| |
| * Fix more print statements. Refs #5331Berker Peksag2015-06-252-3/+7
| |
| * Fix print statements to be python3 compatible. Refs #5331Sebastian Spaeth2015-06-251-2/+2
| |
| * Import urlparse from six.moves to work on both Python 2 and 3.Berker Peksag2015-06-051-1/+3
| |
* | Fix bug on the OAuth client deauthorization pageJessica Tallon2015-12-201-1/+1
| | | | | | | | | | | | An exception was raised when a user tried to go to the authroization page this occured when we changed the field names on the models from "user" to actor. This patch corrects the query and resolves the error.
* | Fix Issue 5375 Deprecated function in video thumbayleph2015-12-201-1/+1
| | | | | | | | | | | | This patch fixes issue 5375 by replacing a function call that has been removed in recent versions of PIL with the recommended replacement.
* | Kludgey documentation fix so that python 2 does not break with flupChristopher Allan Webber2015-12-141-0/+5
| | | | | | | | See also Issue #5373
* | Add "Add media" button on home page when no media is present.Ben Sturmfels2015-12-101-0/+5
| | | | | | | | This is an addition to the button hidden in the top toolbar.
* | Fix issue #5372: test_comment_notification fails with werkzeug 0.11 or newerChristopher Allan Webber2015-12-101-4/+18
| | | | | | | | | | | | | | | | | | | | Formerly like: chris commented on your post (​http://localhost:80/u/otherperson/m/some-title/c/1/#comment) at GNU MediaGoblin With werkzeug 0.11.0 or higher: chris commented on your post (​http://localhost/u/otherperson/m/some-title/c/1/#comment) at GNU MediaGoblin Easy enough just to be flexible.
* | Fix issue 983 PDF UnicodeDecodeErrorayleph2015-12-101-1/+1
| | | | | | | | | | Parse PDF lines as unicode to prevent UnicodeDecodeError when a non-ASCII character is encountered.
* | Fix #5363 - Collections don't serialize correctlyJessica Tallon2015-11-251-1/+1
| |