aboutsummaryrefslogtreecommitdiffstats
path: root/extlib
Commit message (Collapse)AuthorAgeFilesLines
* Add plyr as player default and remove NodeJS, npm and videojsJesús2022-02-2818-0/+35805
|
* Fix references to non-existant package.json [trac#5615].Ben Sturmfels2021-09-191-6/+6
|
* Remove extlib/flask-wtf - seems to be unused.Ben Sturmfels2021-04-232-156/+0
| | | | | | This code appears to be unused. I've checked by grepping for "html5" and also by manually adding an `assert` in the file and running the test suite, just in case something particularly weird is going on.
* Say `git submodule update --init` - it's shorter.Ben Sturmfels2021-03-091-2/+1
|
* Reinstate audio spectrograms on Python 3 [#5610].Fernando Gutierrez2021-03-031-616/+0
| | | | | | | | The `audiotospectrogram` module is a complete rewrite of the existing spectrogram code with support for Python 3. This allows us to drop the bundled `freesound` library and Python 2-only `audioprocessing` and `spectrogram` modules. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Fix audio thumbnailing once and for all.Ben Sturmfels2020-04-011-26/+1
| | | | | | | | | | This change adds a Python 3-specific audio thumbnailer that side-steps the bundled Python 2-only `audioprocessing` module. Instead of an audio spectrogram, Python 3 users will get a static image. This also allows me to remove my ineffective customisations to `audioprocessing`, returning it to the upstream version as should always be the case for vendored code in "extlib".
* Work around lack of scikits.audiolab support on Python 3.Ben Sturmfels2019-09-121-0/+25
|
* Make freesound compatible with python3Boris Bobrov2016-01-221-12/+12
| | | | | | | | | | | Freesound is a lib used for audio processing. Unfortunately, it doesn't work with python3. It lives in extlib, so we don't own the code. But, since the patch is pretty trivial, it was decided to merge it anyway and propose the fix to upstream. Which was done in https://github.com/MTG/freesound/pull/700 . Also, a bugreport was opened to use upstream version instead of our local, when it gets merged, ticket 5403.
* Fix an occurence of `print ...` to `print(...)`Boris Bobrov2016-01-211-1/+1
|
* Back to pdf.js from git submodules...Christopher Allan Webber2015-02-171-0/+0
|
* We're now installing through bower, so we can ignore package.jsonChristopher Allan Webber2015-02-171-12/+0
|
* Remove extlib deps moved into bowerChristopher Allan Webber2015-02-17214-20263/+0
|
* wipAsheesh Laroia2015-02-172-4/+48
|
* Add initial package.json file with two dependenciesAsheesh Laroia2015-02-171-0/+10
|
* Remove html5slider Javascript helperAsheesh Laroia2015-02-131-268/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* Fixes navbar for sandyseventiesspeedboatJessica Tallon2014-09-051-0/+0
|
* Add JPope's sandy 70s speedboat themeJessica Tallon2014-07-201-0/+0
|
* Removing extlib submodule and switching it to being a package.Christopher Allan Webber2014-03-271-0/+0
| | | | | | | Much nicer! This commit sponsored by Cameron Merkel. Thanks Cameron! Good luck with yer projects!
* make exif a submoduleAlon Levy2014-03-024-2028/+0
| | | | | | | Updates it to latest which includes a fix for a 100% hang on a jpg without any EXIF data: https://www.dropbox.com/s/m5l185qxq9w5mzk/raspberry-pi-gpio-cheat-sheet.jpg Signed-off-by: Alon Levy <alon@pobox.com>
* initial skeleton pushjpope7772014-01-051-0/+0
|
* Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblinAditi Mittal2013-09-1815-187/+7470
|\
| * Updating the video.js that we use to avoid an XSS attack. Yikes! ;\Christopher Allan Webber2013-09-1515-187/+7470
| | | | | | | | This commit sponsored by Daniel Valentine. Thank you!
* | Create symbolic link for tinymce.Aditi2013-08-1086-0/+2782
|/
* PIL: Support systems with Pillow and withoutAlon Levy2013-04-171-1/+1
| | | | | | | Fixes for systems with Pillow, but leaves a "try: except ImportError" to support anything that doesn't have a PIL top level import. Signed-off-by: Alon Levy <alon@pobox.com>
* Switch to an apparently newer version of pdf.js per irc.mozilla.org #pdfjs ↵Christopher Allan Webber2013-04-161-0/+0
| | | | recommendations
* add pdf media typeAlon Levy2013-04-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | The new media type supports pdf and a subset of media recognized by libreoffice via unoconv. Every document added goes through: * conversion to pdf with unoconv if not already a pdf * creation of thumbnail and medium sized image, and pdfinfo generates some information (even for unoconv produces docs - should fix this) Poppler (pdftocairo, pdfinfo) is used. http://poppler.freedesktop.org/ A working but uglified pdf.js integration exists, which is enabled by setting pdf.pdf_js=true mediagoblin_local.ini (disabled in mediagoblin.ini) Adds one test to the test_submission test suite, and another separate test_pdf suite. The tests are only run if media_types.pdf.processing.check_prerequisites passes, so the test suite will not require any extra package. TODO: make test suite say 'skipped' in that case instead of just 'ok' Signed-off-by: Alon Levy <alon@pobox.com>
* document submodule usageAlon Levy2013-04-141-0/+13
| | | | Signed-off-by: Alon Levy <alon@pobox.com>
* Open Source -> Free Software from the borrowed extlib repositoriesChristopher Allan Webber2013-04-101-1/+1
| | | | We're a GNU project, gotta get with the GNU world order ;)
* Removing html5shiv for not complying with its own licenses and racismChristopher Allan Webber2013-02-262-23/+0
| | | | | | | | | | Issues of racism seem to have been resolved and removed from upstream, but make having this as a dependency somewhat uncomfortable: https://github.com/aFarkas/html5shiv/issues/91 Regardless, at the time of writing the project doesn't comply with its own license... it states to be dual licensed under MIT and GPLv2 but distributes neither of these licenses with its source.
* Copying the license from the jquery repository rather than the generic MIT one.Christopher Allan Webber2013-02-261-1/+2
| | | | | Damned MIT and BSD licenses encouraging modification by every project makes compliance annoying.
* Bug #584, upgrade EXIF.py from master to read Nikon dataOdin Hørthe Omdal2012-12-262-16/+127
|
* Fix up symlinks in exif bumpSebastian Spaeth2012-12-262-31/+180
| | | | | | | | | | | | | | Previous exif bump copied the newer version into mediagoblin/tools/extlib/exif but not in extlib/exif. Fix this by bumping extlib/exif and symlinking to tools/extlib/exif. Do note that this is still the version fetched from http://sourceforge.net/projects/exif-py/ while the upstream maintainer seems to be active on: https://github.com/ianare/exif-py (The sf.net download is quite new though) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Bump bundled video.js to v3.2.3 (#512)Sebastian Spaeth2012-12-258-4197/+168
| | | | | | | | | | | | | | | There is nothing inherently wrong with the currently bundled version, but the last one was uploaded in March 2012 and there have been upstream releases since. So bump to the latest available release 3.2.3. Might help with the reported issue 512 of an unresponsive video player. Do note that the Flash fallback option is removed. If we decide this should be added it is easy to add it back. We still use our own customized theme. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Moving thingiview.js into extlib/Christopher Allan Webber2012-12-037-0/+1773
|
* Added flask-wtf html5 fields to extlibJoar Wandborg2012-09-212-0/+156
|
* Added html5slider to support range inputs in FirefoxJoar Wandborg2012-04-181-0/+268
|
* Changed audio.* Image* importsJoar Wandborg2012-03-271-1/+1
| | | | | | | | | | | | so that they no longer import from PIL explicitly. This is due to explicit PIL.Image* imports failing on a Ubuntu machine within virtualenv. PIL is a mystery I have yet to find the energy to unravel. The 'implicit' approach works both for the affected machine and my local machine and I've seen it more often out in the wild, so I'm assuming it is the right way.
* Merge remote-tracking branch 'joar/audio+sniffing'Joar Wandborg2012-03-271-0/+616
|\ | | | | | | | | | | | | | | Conflicts: mediagoblin/media_types/image/processing.py mediagoblin/media_types/video/__init__.py mediagoblin/media_types/video/processing.py mediagoblin/tests/test_submission.py
| * Audio thumbnailing & spectrograms, media plugins use sniffingJoar Wandborg2012-02-281-0/+616
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | adding the video.js wrapperSacha De'Angeli2012-03-127-0/+4216
|/
* Fix copyright statements; add LICENSE for EXIF.pyWill Kahn-Greene2012-02-081-0/+1
|
* Adding previously erroneously gitignored extlib/leaflet/{lib,dist,build}/ filesJoar Wandborg2012-01-2718-0/+4231
|
* Installed EXIF.py in extlibs/Joar Wandborg2012-01-251-0/+1767
|
* Installed leaflet in extlibJoar Wandborg2012-01-2595-0/+5755
|
* * Rename mediagoblin_header, mediagoblin_body, mediagoblin_footer, ↵Jef van Schendel2012-01-052-0/+23
| | | | | | | mediagoblin_header_right, mediagoblin_logo * Add html5shiv for older browsers * Small size fix (940px instead of 960pgx)
* Fix merge conflictsJef van Schendel2012-01-056-809/+49
|\
| * Move reset.css to extlib and symlink itJef van Schendel2011-12-181-0/+49
| |
| * Remove 960.gs stylesheets, add Eric Meyer's reset.cssJef van Schendel2011-12-185-809/+0
| |
* | ASCII media type support & fix a bug in file submission error handlingJoar Wandborg2011-12-316-0/+6919
|/ | | | | | | | | | | | | | | * Added ASCII media processing * Added ASCII media display * Added ASCII media type Rebased from Joar Wandborg's ascii art branch (squashed to remove the commits borrowing code of dubious license) Fixed a bug in file submission error handling: - Moved file-extension condition out of loop (what did it do there?) - Updated file submission tests - Changed error handling in file submission, should now report more than absolutely necessary.
* First push with jQuery libraryJef van Schendel2011-12-022-0/+24
|