aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Media type refractors, pep8, lintJoar Wandborg2012-03-267-32/+34
| | | | | | - Removed THUMB_SIZE, MEDIUM_SIZE constants, depend on configuration values instead. - pep8 refractoring
* Faster sniffingJoar Wandborg2012-03-226-25/+255
| | | | | | | | | | | | - Sniffing now goes through the old extension-based filter before doing it the bitsniffing way. - Refractored get_media_type_and_manager(filename). - Removed ogg extension from video accepted extensions, audio will take care of that. - Added custom audio player, still WIP,but working. - Added test for sniffing. This only tests for the mediagoblin.media_types.image type, as that is the only one enabled from start.
* Replaced 'not foo == None' with 'foo is not None' in ascii sniffing tooJoar Wandborg2012-03-081-1/+1
|
* Clean up the workbench after audio processingJoar Wandborg2012-03-081-0/+3
|
* Changed `not foo == None` to `foo is not None` in image sniff handlerJoar Wandborg2012-03-081-1/+1
| | | | | | | | | | | | | | >>> class foo(object): def __eq__(self, other): return True >>> f = foo() >>> f == None True >>> f is None False -- <http://stackoverflow.com/questions/26595/is-there-any-difference-between-foo-is-none-and-foo-none>
* Added a notice about mgg.global_config perhaps sometime notJoar Wandborg2012-03-081-0/+2
| | | | being loaded before mediagoblin.processing is imported.
* Removed diaper patterns from audio/video sniffers, video preload set to ↵Joar Wandborg2012-03-078-22/+40
| | | | | | | | 'metadata' * mediagoblin.processing THUMB_/MEDIUM_ constants are now based on the ini settings * Removed diaper patterns from audio and video sniffing * Changed HTML5 video preload to 'metadata'
* Audio thumbnailing & spectrograms, media plugins use sniffingJoar Wandborg2012-02-2811-28/+844
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Added extlib/freesound/audioprocessing.py * config_spec * Added create_spectrogram setting * Added media:medium and media:thumb max_{width,height} settings * Added sniffing logic to - audio.processing:sniff_handler - video.processing:sniff_handler * Changed audio.processing:sniff_handler logic * Added audio thumbnailing functionality to audio.processing (works only with create_spectrogram enabled) * Refractored contexts in audio.processing * Added audio.transcoders:AudioThumbnailer Used for creating spectrograms and spectrogram thumbnails - Wadsworth's Constant, we meet again :) * audio.transcoders:AudioTranscoder - Added mux_string kwarg - Delete self.pipeline on self.halt() * Changed str.format formatting in image.processing:sniff_handler Had {1} without an {0}, changed to {0} * Refractored VideoTranscoder to use transcode() for transcoding instead of __init__() * Added discover() method to video.transcoders:VideoTranscoder * Added spectrogram display to media_displays/audio.html * Updated test_submission to reflect changes in media plugin delegation
* Removed old audio.transcoder file (the real one is audio.transcoders)Joar Wandborg2012-02-161-18/+0
|
* Added sniffing logic for image media typeJoar Wandborg2012-02-161-0/+24
| | | | | For now, it's a re-implementation of the old file-extension checking logic, as I have not found a GStreamer-like "discoverer" in PIL.
* Changed media processing delegation to a 'sniffing' methodJoar Wandborg2012-02-1510-12/+55
| | | | | | - Added sniff handlers to all media plugins All of them except audio returning False for ANYTHING at the moment.
* Audio media handler, media sniffing, video fixesJoar Wandborg2012-02-149-16/+334
| | | | | | | * Added audio processing code * Added audio display template * Added audio configuration setting * Changed video docstring
* Fix docs versionWill Kahn-Greene2012-02-091-1/+1
|
* Update version to 0.3.0-devWill Kahn-Greene2012-02-092-3/+3
|
* Update version numbersWill Kahn-Greene2012-02-092-4/+4
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-02-091-1/+1
|
* Removing youcanhelp stuffWill Kahn-Greene2012-02-094-47/+1
| | | | | This was never used. It doesn't support Texinfo files. It was only half completed. Best to remove it.
* Update copyright headers for shell scriptsWill Kahn-Greene2012-02-092-2/+2
|
* Added info on how to enable ascii artChristopher Allan Webber2012-02-091-0/+19
|
* Updating codebase.rst to reflect the modern mediagoblin worldChristopher Allan Webber2012-02-091-11/+42
| | | | | | - adding/removing libraries listed as appropriate - buildout->virtualenv references - Updating directory structure description to reflect current reality
* Minor rewordingWill Kahn-Greene2012-02-081-6/+13
| | | | | Tried to address confusion I had when I read the document and tweaked some formatting.
* Fix copyright statements; add LICENSE for EXIF.pyWill Kahn-Greene2012-02-0815-14/+14
|
* Fully qualify the import of asciitoimageChristopher Allan Webber2012-02-081-1/+1
|
* Added CC0 header to all MediaGoblin docs in docs/source/Christopher Allan Webber2012-02-0710-0/+130
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-02-055-1/+1
|
* Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-02-051-2/+2
|
* Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-02-054-71/+114
|
* Fix EXIF based image rotation testElrond2012-02-041-2/+13
| | | | | | | | The test checks for a pixel value after rotation (good idea!). But the value seems to be a bit different on some platforms, so use a list of seen values. Not the perfect solution, but it works.
* ASCII media support - FixesJoar Wandborg2012-02-043-6/+18
| | | | | | | - Added debug logging in - mediagoblin.processing - mediagoblin.media_types.ascii.processing - mediagoblin.media_types.ascii.asciitoimage
* ASCII art support - FixesJoar Wandborg2012-02-022-23/+25
| | | | | | | | - Improved(?) character set detection, chardet will not win over UTF-8 unless it is >= 90% sure. - Changed the unicode.txt to ascii-portable.txt, since there is no unicode in the file. - etc.
* Added extensions 'asc' and 'nfo' to ASCII media typeJoar Wandborg2012-02-021-1/+1
|
* It's 2012 all up in hereChristopher Allan Webber2012-02-02142-142/+142
|
* Updating deployment guide so that it can handle the current virtualenv ↵Christopher Allan Webber2012-02-021-1/+1
| | | | | | | site-packages changes Now it should try using --system-site-packages and if that fails (older version) it tries it without the argument.
* Some small SQL model improvementsElrond2012-01-292-4/+11
| | | | | | | | - Add default for User.email_verified - Add default for MediaEntry.state - Let PathTupleWithSlashes store [] as "NULL", but not handling the reverse properly yet! - Add _id alias field to MediaEntry and MediaComment
* Committing extracted and compiled translationsChristopher Allan Webber2012-01-292-1/+1
|
* Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-01-291-3/+3
|
* Adding a line reminding user to push up commitsChristopher Allan Webber2012-01-291-0/+2
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-01-2941-1449/+1953
|
* Hm, maybe this is better... that didn't fix the stop-in-the-middle issue.Christopher Allan Webber2012-01-291-6/+7
|
* Update update_translations script to consider several things conditionallyChristopher Allan Webber2012-01-291-4/+6
| | | | Specifically, previously if there was nothing to git add, whole script would just die
* Nearly complete support for TagsElrond2012-01-284-6/+54
| | | | | | | | | | | These changes allow all of the rest of the code to use tags in sql as they were used on mongo. It's not efficient at all, as changing tags usually means to remove all old tags and adding all new. The only problem here is: Old slugs for tags are not removed, because they're shared across all MediaTags and dropping orphans is not always easy.
* Resized a test_exif test image. 1.9M is unnecessarily large.Joar Wandborg2012-01-281-0/+0
|
* Merge remote-tracking branch 'joar/exif-rebase'Joar Wandborg2012-01-28134-39/+12382
|\
| * JavaScript fixes - AGPL headers, etcJoar Wandborg2012-01-283-3/+56
| | | | | | | | | | | | - Added AGPL header to comment_show.js, show_password.js and geolocation-map.js - Removed console.log from geolocation-map.js
| * Scripts and styleshets for geolocation map - ConditionalJoar Wandborg2012-01-271-6/+10
| | | | | | | | | | Scripts and stylesheets for the geolocation map are now switched on/off with the geolocation map itself.
| * Adding previously erroneously gitignored extlib/leaflet/{lib,dist,build}/ filesJoar Wandborg2012-01-2718-0/+4231
| |
| * Updated .gitignore due to it blacking out the extlib/leaflet/dist/ directoryJoar Wandborg2012-01-271-15/+22
| |
| * Refractored media.html template and related includesJoar Wandborg2012-01-254-45/+86
| | | | | | | | | | | | | | - Added <p> around license part to separate it properly from other sidebar content - Moved exif part to mediagoblin/utils/exif.html - Moved geolocation map to mediagoblin/utils/geolocation_map.html
| * Acts on feedback from ChrisJoar Wandborg2012-01-257-11/+217
| | | | | | | | | | | | | | - Added EXIF tests - Removed pdb from image processing "ifmain" - Fixed comment typo in image processing - Removed unused import in tools.exif
| * Moved EXIF to sidebar, added conditions for visibility configuration settingsJoar Wandborg2012-01-251-17/+20
| |