aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* Audio thumbnailing & spectrograms, media plugins use sniffingJoar Wandborg2012-02-2810-28/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Update version to 0.3.0-devWill Kahn-Greene2012-02-091-1/+1
|
* Update version numbersWill Kahn-Greene2012-02-091-1/+1
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-02-091-1/+1
|
* Fix copyright statements; add LICENSE for EXIF.pyWill Kahn-Greene2012-02-0812-12/+11
|
* Fully qualify the import of asciitoimageChristopher Allan Webber2012-02-081-1/+1
|
* 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
|
* 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
|
* Committing extracted and compiled translationsChristopher Allan Webber2012-01-2941-1449/+1953
|
* 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-2819-24/+607
|\
| * 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.
| * 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
| |
| * Added exif_visisble and geolocation_map_visible to config_specJoar Wandborg2012-01-251-0/+3
| |
| * EXIF fixesJoar Wandborg2012-01-255-111/+187
| | | | | | | | | | | | | | - Moved exif functions from mediagoblin.media_types.image.processing to mediagoblin.tools.exif - Moved EXIF.py link from mediagoblin.media_types to mediagoblin.tools.extlib - Refractored and updated EXIF exctraction and presentation
| * Removed link to EXIF.py in media_types.imageJoar Wandborg2012-01-251-1/+0
| |
| * EXIF extraction, geolocation map, image rotationJoar Wandborg2012-01-252-19/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Images are now rotated based on EXIF image orientation (in case the image isn't flipped on X or Y axis or correctly oriented, then we do nothing) - *Always* create a medium.jpg in image.processing, for the sake of rotation of display image - Extract EXIF and GPS tags from images and insert them into media_data - Geolocation map display added to media.html - EXIF display added, then removed. It is not in this revision, although some of it is (the "EXIF" h4 header). Need to make it presentable, filtering out purely robotical tags, perhaps.
| * Added code for leaflet geolocation mapJoar Wandborg2012-01-252-0/+30
| |
| * Installed EXIF.py in extlibs/Joar Wandborg2012-01-251-0/+1
| |
| * Installed leaflet in extlibJoar Wandborg2012-01-251-0/+1
| |
* | Add develover sql switchElrond2012-01-282-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you want to play with the current state of sql, you need a switch to turn it on. So here is the super secret developer switch. So you want to know where it is? Here it is: Create a file mediagoblin/db/sql_switch.py and put one line in it: "use_sql = True" (or False to disable again). Right, that's it. If you want to delete it, remember to delete the *.pyc too. Be careful not to "git add" it by accident!
* | We were using translitcodec and I didn't understand how it worked ;)Christopher Allan Webber2012-01-281-0/+1
| | | | | | | | My bad!
* | We aren't using translitcodec anymore. Kill it!Christopher Allan Webber2012-01-281-1/+0
| |
* | Let some code support "media without slug"Elrond2012-01-283-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The upcoming SQL database will allow having media without a slug again. This might especially be useful for API support, where the uploaded image (media) does not have *any* information to generate a slug from. This code change mostly allows the sql backend to have no slug in its model and improves some parts to properly handle that. It specifically does not have any web frontend support to edit/create MediaEntries with no slug.
* | Move declarative_base Base into base.pyElrond2012-01-262-5/+5
| | | | | | | | The base class of all models "Base" should be in base.py.
* | Drop all buildout thingsElrond2012-01-261-50/+0
|/ | | | | virtualenv is working for everyone. No need for the buildout stuff any more.
* Proper url_to_{prev,next} for SQLElrond2012-01-221-0/+21
| | | | Uses complete sqlalchemy syntax now.
* Create a fully functional get_comments for SQLElrond2012-01-221-0/+7
| | | | | Using proper sqlalchemy syntax instead of the emulated mongo one.
* Canonical license URIS for CC stuff should have a trailing slash.Christopher Allan Webber2012-01-211-5/+5
|
* Show the license list in sorted formChristopher Allan Webber2012-01-211-1/+1
|
* Oops, I broke teh all rights reserved ;)Christopher Allan Webber2012-01-211-1/+1
|
* Provided a SORTED_SUPPORTED_LICENSES (but keep the old unsorted dict!)Christopher Allan Webber2012-01-211-38/+31
|
* Convert over the license field, too!Christopher Allan Webber2012-01-211-1/+1
|