aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
| |
| * added a/v submission testingBoris Bobrov2015-02-163-0/+82
| |
| * Port of audio to GStreamer 1.0Boris Bobrov2015-02-164-117/+181
| | | | | | | | | | | | | | Includes: - transcoders - thumbs - tests
| * Porting video to GStreamer 1.0Boris Bobrov2015-02-166-302/+297
| | | | | | | | | | | | | | | | | | | | | | Porting includes: - thumbnailer - transcoder - metadata handling - new common discoverer for media - new tests with in-memory test video generating - handling regardless of audio availability in the file - Pythonic gst pipelines
| * Rewrite thumbnailerBoris Bobrov2015-02-153-330/+143
| | | | | | | | | | | | | | | | | | | | | | | | Previous thumbnailer didn't always work properly. It was also not ready to be ported to GStreamer 1.0 The rewrite makes it shorter, more pythonic and prepares it for porting. - no longer uses playbin2; - is tested - logs some events - previous thumbnailer is removed
* | Fix the token issues in the migrationChristopher Allan Webber2015-02-171-3/+3
| | | | | | | | | | | | There's no .id on access/request token tables, so fixed to use the .token field. Also switched a reference of client_table -> rt_table
* | acess_token->access_tokenChristopher Allan Webber2015-02-171-1/+1
| |
* | Fixing typo: notifiction->notificationChristopher Allan Webber2015-02-171-1/+1
| |
* | This one should be dt_to_utc, not db_to_utc, I believeChristopher Allan Webber2015-02-171-1/+1
| |
* | Fixing symlink to jquery.js in post-bower universeChristopher Allan Webber2015-02-171-1/+1
| | | | | | | | This commit sponsored by Alexander Slovesnik. Thanks!
* | Fixing video-js symlink for new bower based checkoutChristopher Allan Webber2015-02-171-1/+1
| | | | | | | | This commit sponsored by Thorbjørn Lindeijer. Thank you!
* | Fix #1065 - Migrate from native datetimes to UTCJessica Tallon2015-02-152-20/+146
| |
* | Remove deprecated oauth 2 pluginJessica Tallon2015-02-1514-1498/+0
| |
* | Change 'federation' name to 'api' which is more suitableJessica Tallon2015-02-1510-85/+84
| |
* | Remove html5slider Javascript helperAsheesh Laroia2015-02-133-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helper was originally added as a "polyfill" (backward-compatibility shim) for Firefox version 23 and older, so that <input type="range"> that audio.js uses could render nicely in those versions of Firefox. Chromium did not need this shim, and Firefox 23 (released on Aug 6, 2013) added support for this. Therefore, let us remove this dependency. By current metrics at caniuse.com <http://caniuse.com/#feat=input-range>, 88.14% of web users support this attribute. Opera Mini and old versions of Internet Explorer (6-8) are the only holdouts. Note also that the html5slider.js is uninterested in adding this to the npm package manager (or any package manager) repository <https://github.com/fryn/html5slider/issues/5>, meaning that keeping it in the mediagoblin extlib section would mean manual maintenance/updating by the GNU MediaGoblin team. This commit also removes GMG's use of the shim.
* | Fix #1052 - Make activity cascade delete work when deleting a userJessica Tallon2015-01-271-1/+2
|/
* Let parser handle typing for deletuser commandJessica Tallon2015-01-201-3/+3
|