aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* Return non-zero exit code if the command cannot be completed successfully.Berker Peksag2015-07-221-0/+6
| | | | Fixes #5084
* 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
|
* Merge branch Generic Foreign Key changesJessica Tallon2015-06-245-176/+308
|\
| * Fix removal of ActivityIntermediatory migrationJessica Tallon2015-06-242-2/+23
| | | | | | | | | | | | | | | | | | | | The migration had a problem where other tables still referenced the migration as well as a typo in an earlier migration. They have both been fixed and tested on PostgreSQL and SQLite3. This also fixes a bug where sometimes when creating an activity it'd raise an Exception as the object hadn't got an ID. This has been fixed globally with a fix to the create_activity federation tool.
| * Fix some problems with activity mixins and migrationsJessica Tallon2015-05-265-76/+24
| |
| * Add a more verbose GenericForeignKey implementationJessica Tallon2015-05-262-67/+38
| |
| * Remove deprecated fields and fix activity creation in toolsJessica Tallon2015-05-262-11/+2
| |
| * More fixed recommended by ElrondJessica Tallon2015-05-261-11/+8
| | | | | | | | | | | | | | This fixes the problem where GenericForeignKey could only be used with models that are in the core of Mediagoblin, it now can be used with any model that SQLAlchemy knows about, including plugins. This also fixes some small bugs caused by incorrect ordering of params into a function.
| * Add some fixes Elrond suggested and doc stringsJessica Tallon2015-05-261-14/+41
| |
| * Add migration to remove ActivityIntermediatorJessica Tallon2015-05-262-59/+12
| | | | | | | | | | Migration to drop the table and removal of it from the model as it has now been superseeded by the GenericForeignKey field.
| * Fix the GenericForeignKey implementationJessica Tallon2015-05-261-22/+36
| |
| * Migrate Activity to using the new GenericForeignKeyJessica Tallon2015-05-262-47/+166
| |
| * Add GenericForeignKey field and reference helper modelJessica Tallon2015-05-262-2/+93
| |
* | Import urlparse from six.moves to work on both Python 2 and 3.Berker Peksag2015-06-051-1/+3
| |
* | v0.8.0! Let's get this party started!Christopher Allan Webber2015-06-041-1/+1
| |
* | Committing extracted and compiled translationsChristopher Allan Webber2015-06-034-59/+90
| |
* | readthedocs can't read the version using autotools, so back to _version.py ↵Christopher Allan Webber2015-06-031-1/+1
| | | | | | | | specifying it
* | Fix link from Gitorious -> SavannahChristopher Allan Webber2015-06-011-1/+1
|/
* Use of deprecated frombytes when processing videos causes the task to failChristopher Allan Webber2015-05-221-1/+1
| | | | | | | | | | (Anonymous contribution, not by me) When transcoding a video using a recent version of PIL transcoding a video fails reproducible. The reason for this is an AttributeError: 'module' object has no attribute 'frombytes'gets raised, while a thumbnails is being created. This is because frombytes alias was deprecated in favor of fromstring.
* #5314 Prevent ZeroDivisionError in exif.pyChristopher Allan Webber2015-04-271-3/+8
|
* TinyMCE plugin loading should NOT be here.Christopher Allan Webber2015-04-231-16/+0
| | | | This might break the blog plugin, but it's kind of broken already :\
* Move check that metadata exists earlierBoris Bobrov2015-04-231-4/+4
| | | | | | | | | | | Because of gstreamer-1.0 we need to migrate from old format of storing metadata to new one. It seems that there are cases when original metadata is empty for some reason. The patch adds an earlier check that original metadata exists, skipping everything is it doesn't. Closes bug 5071
* fixed 5068Boris Bobrov2015-04-221-2/+2
|
* Proper handling of tags in skip_transcodeBoris Bobrov2015-03-201-6/+6
| | | | | | | | | The function to retrieve tags was used incorrectly in skip_transcode, assuming that str will be returned. Now the code is aware of the return format of the function. Closes bug 5065
* Prevent exception on transcoding failure (bug 460)Boris Bobrov2015-03-202-15/+22
| | | | | Fix an unhandled exception when video fails to transcode for some reason. Closes bug 460.
* wtforms.fields.TextField was deprecatedJakob Kramer2015-03-129-50/+49
| | | | | | | WTForms documentation: > The TextField alias for StringField is deprecated. Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
* Fix welcome image URL in the front page template (#902)Jaakko Luttinen2015-03-121-1/+1
| | | | | | | The Goblin image URL was hardcoded in the frontpage welcome template. Now it correctly uses the static directory settings. Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
* Use UTC for all timesince comparisonsayleph2015-03-122-14/+2
| | | | Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
* Patch from breton: fix #5053 (gmg addmedia broken in 0.8.0)Christopher Allan Webber2015-03-051-1/+2
|
* Merge remote-tracking branch 'refs/remotes/breton/bug/647'Christopher Allan Webber2015-03-054-28/+19
|\
| * Fix bug 647Boris Bobrov2015-03-023-23/+12
| | | | | | | | | | Reading a file into memory resulted in depletion of memory. Now files are read and written lazily, by chunks.
| * init GStreamer on demand onlyBoris Bobrov2015-02-251-5/+7
| | | | | | | | Closes-Bug: 5024
* | Committing extracted and compiled translationsChristopher Allan Webber2015-03-055-109/+310
| |
* | Not sure why these changes never got pushed up ...Christopher Allan Webber2015-03-0511-1070/+6572
|/
* Let's try setting up the version number via configure.acChristopher Allan Webber2015-02-211-1/+1
| | | | Why not?
* No longer commit .mo files into the repository!Christopher Allan Webber2015-02-2144-0/+0
| | | | | | | | | A stupid thing, really you should never commit binary code into the repository, but... This commit sponsored by Richard Fontana. The last sponsored commit! And one I can imagine Fontana approving of, for he would've disapproved, surely, of committing .mo files in the first place.
* A more reliable test, check against expected keys, rather than receivedChristopher Allan Webber2015-02-211-2/+2
| | | | | | | If we check against expected, if we got more than we expected, that's no problem :) This commit sponsored by Adan Bolte. Thank you!
* Stop looking for exact exif numbersChristopher Allan Webber2015-02-211-2/+2
| | | | | | As the exif library adds data, this keeps breaking, which is silly. Maybe using This commit sponsored by Mikaël Cluseau. Thank you!
* Skip audio tests if scikits.audiolab not installedChristopher Allan Webber2015-02-211-0/+1
|
* Merge remote-tracking branch 'refs/remotes/breton/new_gst10'Christopher Allan Webber2015-02-1819-794/+893
|\
| * Missing codecs processing with gst 1.4Boris Bobrov2015-02-181-3/+14
| | | | | | | | | | | | | | | | | | Gst 1.4 deprecated DiscovererInfo.get_misc in favour of DiscovererInfo.get_missing_elements_installer_details. Something in Python bindings seems to be broken and get_misc seems to be not deprecated but broken. The change makes sniffer use the method if get_misc fails.
| * added missing import to video transcodingBoris Bobrov2015-02-161-0/+2
| |
| * added tests skipping if there is no proper gstreamerBoris Bobrov2015-02-162-2/+3
| |
| * Added multiple a-v streams handlingBoris Bobrov2015-02-165-76/+153
| | | | | | | | | | | | | | | | Before only single video stream files were suported. This patch adds support for files with multiple video streams. Metadata of such files is now correctly stored. This required change of the schema used to store info and the change is done in a migration.
| * a tiny fix to function docBoris Bobrov2015-02-161-2/+2
| |
| * Add new hook for two-step media type checkingBoris Bobrov2015-02-166-75/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before uploaded media files were checked by extension. This led to situations when a plugin can support file with specific extension but doesn't due to lack of codecs, for example. Since the plugin reported that it supports uploaded file type, the upload was being declared successful, but transcoding failed. The failures were not easy to debug. The change adds a new hook that could allow two-step checking of the content. The result of the hook execution returns a tuple with media type name, manager and a callable sniffer, that can be used to perform probably expensive checks of the content. Also the change adds implementation of the hook for video.
| * updated function docsBoris Bobrov2015-02-161-0/+3
| |