aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | #5416: Fix tests using the FileObjectAwareFileChristopher Allan Webber2016-02-111-7/+7
| |
* | Upgrade sqlalchemy and sa-migrateBoris Bobrov2016-02-111-2/+2
| | | | | | | | Our versions were too old. And not compatible with python3.
* | Move "/usr/bin/env bash" to simply "/bin/sh"Christopher Allan Webber2016-02-111-1/+1
| | | | | | | | This makes working with Guix easier.
* | .iteritems() doesn't exist in Python 3, converted to .items()Christopher Allan Webber2016-02-111-1/+1
| |
* | Switch to #!/bin/sh (don't use "env" unless we have to)Christopher Allan Webber2016-02-101-1/+1
| | | | | | | | env causes problems in GuixSD and maybe even some other places.
* | Committing extracted and compiled translationsChristopher Allan Webber2016-02-0744-672/+3544
| |
* | Fix #5079 - tags unicity is on the slug, not the nameLoic Dachary2016-02-062-6/+10
| | | | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org> Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
* | Do not calculate processing info for anonymous userBoris Bobrov2016-02-051-6/+7
| |
* | removed debug prints, added video iconBoris Bobrov2016-02-054-4/+3
| |
* | Display type icon in thumbnailsBoris Bobrov2016-02-054-11/+25
| |
* | Merge branch 'media_panel'Boris Bobrov2016-02-0511-87/+233
|\ \
| * | Fix occurence of unicode()Boris Bobrov2016-02-011-1/+2
| | | | | | | | | | | | Fix unicode() -> six.text_type()
| * | Change `uploader` to `actor`Boris Bobrov2016-02-012-4/+4
| | | | | | | | | | | | | | | Class User doesn't have field `uploader` any more, instead there `actor`. Fix several uses of `uploader` to `actor`.
| * | changes to BaseProcessingFail arguments usageBoris Bobrov2016-02-011-2/+5
| | |
| * | some fixes to the panel looksBoris Bobrov2016-02-012-5/+16
| | |
| * | added filtering by entry state in processing panelBoris Bobrov2016-02-014-5/+29
| | |
| * | included plugin from previous commit to mediagoblin.iniBoris Bobrov2016-02-011-0/+1
| | |
| * | added a plugin to display information about entries in processingBoris Bobrov2016-02-015-0/+108
| | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/templates/mediagoblin/base.html -- resolved by using the original file and manually adding pieces from my commit
| * | changed the way we save information about exceptionsBoris Bobrov2016-01-281-5/+3
| | |
| * | moved styles to a css file; more fixes to templatesBoris Bobrov2016-01-283-42/+48
| | |
| * | removed h2 from media panelBoris Bobrov2016-01-281-1/+0
| | |
| * | removed querying of unused metrics in media panelBoris Bobrov2016-01-281-20/+0
| | |
| * | processing panel new looksBoris Bobrov2016-01-282-56/+71
| | |
* | | Prevent `dict changed during iteration` in videoBoris Bobrov2016-02-051-1/+1
| | |
* | | Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblinBoris Bobrov2016-02-054-3/+79
|\ \ \ | |/ / |/| |
| * | Issue #5349: Submission tests fail confusingly on missing dependencyChristopher Allan Webber2016-02-041-0/+21
| | | | | | | | | | | | | | | They gave a DetachedInstanceError, despite being totally unrelated to anything in database-land!
| * | Fix #5408 - ignore non-int offset in api feedLoic Dachary2016-01-252-3/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the same fashion limit=BAD fallsback to the default value, fallback to zero when offset=WORSE. Also add test coverage verifying limit/offset do the right thing. Signed-off-by: Loic Dachary <loic@dachary.org>
| * | Fix #947 - media_type configuration files locationLoic Dachary2016-01-221-0/+8
| | | | | | | | | | | | | | | | | | Document the location of the config_spec.ini files for media_types. Signed-off-by: Loic Dachary <loic@dachary.org>
* | | Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblinBoris Bobrov2016-01-223-8/+5
|\| |
| * | Issue #5394: Wrong url for forgot_password in basic_auth pluginChristopher Allan Webber2016-01-211-1/+2
| | | | | | | | | | | | Fix by jerome. Thank you!
| * | Pass filename instead of file object when calling PIL.Image.save()宋文武2016-01-212-7/+3
| | |
* | | Make freesound compatible with python3Boris Bobrov2016-01-221-12/+12
|/ / | | | | | | | | | | | | | | | | | | | | Freesound is a lib used for audio processing. Unfortunately, it doesn't work with python3. It lives in extlib, so we don't own the code. But, since the patch is pretty trivial, it was decided to merge it anyway and propose the fix to upstream. Which was done in https://github.com/MTG/freesound/pull/700 . Also, a bugreport was opened to use upstream version instead of our local, when it gets merged, ticket 5403.
* | Fix an occurence of `print ...` to `print(...)`Boris Bobrov2016-01-211-1/+1
| |
* | Fix #1096 - allow - in usernamesLoic Dachary2016-01-212-3/+25
| | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* | trac#5397: Allow decode_request to parse content-type headers with extra ↵Ben Sturmfels2016-01-212-2/+66
| | | | | | | | | | | | options. It previously parsed "Content-Type: application/x-www-form-urlencoded", but not "Content-Type: application/x-www-form-urlencoded; charset=utf-8".
* | Fix #5398 and #5395 - Fix tests failing due to problem creating connection ↵Jessica Tallon2016-01-202-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for alembic For some reason the alembic connection wasn't seeing any tables that existed however the existing connection works well and we shouldn't be creating a brand new one when we have one ready to use. I've used a little bit of a hack due to our old version of alembic. After 0.7.5 of alembic it offers a `Config.attributes` dictionary which is designed to allow you to pass your connection/engine/whatever to the env.py config script so you're not required to create new ones. As we're on an older version I just create a dictionary with the same name and use it as otherwise documented. It seems this is the suggested fix for #5395 and it fixes #5398 too.
* | Fix #5390 - Create migration to delete Notifications and fix ReportJessica Tallon2016-01-203-4/+81
| | | | | | | | | | | | | | When a user deleted media or other objects any notificationn objects or reports would cause errors as the object doesn't exist anymore. This now removes them or sets them to None as expected by the code. This also adds some code to the base deletion code to make sure this happens when an object is deleted.
* | Fix #1099 - remove x mode from ini fileLoic Dachary2016-01-191-0/+0
| | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* | Fix #5359 - unpriviledged -> unprivilegedLoic Dachary2016-01-191-3/+3
| |
* | Use inspect_table inplace of redefining them allJessica Tallon2016-01-181-38/+12
| | | | | | | | | | | | Just like we would have in sqlalchemy-migration inspect_table works and is better than constantly redefining a table in the migration. This switches the migration to use that method.
* | Fix #5391 - Alembic migrations would only work for SQLiteJessica Tallon2016-01-182-3/+1
| | | | | | | | | | | | The database connection was being set in a alembic.ini config file, if the user had specified postgres the "sqlite" connection URL in alembic.ini would override that. We probably should look into this more so i've opened #5395.
* | 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