| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- Removed THUMB_SIZE, MEDIUM_SIZE constants, depend on
configuration values instead.
- pep8 refractoring
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
>>> 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>
|
|
|
|
| |
being loaded before mediagoblin.processing is imported.
|
|
|
|
|
|
|
|
| |
'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'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- Added sniff handlers to all media plugins
All of them except audio returning False for ANYTHING
at the moment.
|
|
|
|
|
|
|
| |
* Added audio processing code
* Added audio display template
* Added audio configuration setting
* Changed video docstring
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This was never used. It doesn't support Texinfo files. It was only half
completed. Best to remove it.
|
| |
|
| |
|
|
|
|
|
|
| |
- adding/removing libraries listed as appropriate
- buildout->virtualenv references
- Updating directory structure description to reflect current reality
|
|
|
|
|
| |
Tried to address confusion I had when I read the document and tweaked
some formatting.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
- Added debug logging in
- mediagoblin.processing
- mediagoblin.media_types.ascii.processing
- mediagoblin.media_types.ascii.asciitoimage
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
site-packages changes
Now it should try using --system-site-packages and if that
fails (older version) it tries it without the argument.
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Specifically, previously if there was nothing to git add, whole script would just die
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
- Added AGPL header to comment_show.js, show_password.js
and geolocation-map.js
- Removed console.log from geolocation-map.js
|
| |
| |
| |
| |
| | |
Scripts and stylesheets for the geolocation map are now
switched on/off with the geolocation map itself.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| |
| |
| |
| | |
- Added EXIF tests
- Removed pdb from image processing "ifmain"
- Fixed comment typo in image processing
- Removed unused import in tools.exif
|
| | |
|