aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* Avoid Celery/RabbitMQ "connection reset" errors [#5609].Fernando Gutierrez2020-05-121-1/+0
| | | | | | This change starts Celery only after RabbitMQ is available. It also returns the unnecessarily low BROKER_HEARTBEAT setting to default of 120.0 to help prevent connections being reset on machines under load.
* Fix consistency in license list.Ben Sturmfels2020-05-111-1/+1
|
* Fix error generating Atom feed upon blank title [#1018].Ben Sturmfels2020-05-111-1/+4
|
* fixup! Now in 0.11.0 development cycle.Ben Sturmfels2020-05-061-1/+1
|
* Make ldap plugin python3 compatibleOlivier Mehani2020-05-062-2/+2
| | | | Signed-off-by: Olivier Mehani <shtrom+mediagoblin@ssji.net>
* Update version for release.Ben Sturmfels2020-05-041-1/+1
|
* subtitles: Add documentation, limit uploads to *.vtt files, only show for ↵Ben Sturmfels2020-04-304-5/+35
| | | | video [#5589].
* Add deprecation warning when running Python 2 [#5598].Ben Sturmfels2020-04-291-0/+12
|
* Fix dependencies and tests for clean Python 2 & 3 test runs under Docker.Ben Sturmfels2020-04-282-6/+4
| | | | | This change gives a clean test run in the Debian-based Python 2 and Python 3 docker images.
* Revert "Use audio icon when spectrogram fails. Add note to doc:media-types."Ben Sturmfels2020-04-281-34/+17
| | | | This reverts commit 2b487fc16de2fc7c961f8df725c5ece0e5f56e3a.
* Revert "Fix Jorge's audio upload workaround in Python 3."Ben Sturmfels2020-04-281-2/+2
| | | | This reverts commit f1c288b1d87fed959a124816ef7a8fd40aec3dd3.
* Remove spectrograms from Python 2 also [#5594].Ben Sturmfels2020-04-281-6/+7
| | | | | | For 0.10.0 we're removing specrograms entirely for reliability. This change only disables spectrograms and updates install docs and Dockerfiles. We still need to strip out all the spectrogram code and extlib/freesound/.
* Preparing to release 0.10.Ben Sturmfels2020-04-281-1/+1
|
* Unmute videos by default.Ben Sturmfels2020-04-241-2/+2
| | | | Fixes #5590.
* Decode request.query_string before use.Ben Sturmfels2020-04-094-11/+11
| | | | | | | | | | Prior to this change, when pagination kicks in on the user management or report management panel, the following exception is raised: TypeError: a bytes-like object is required, not 'str' The cause is that `request.query_string` in the URL parameters in raw bytestring form as per Werkzeug documentation.
* Revert "Decode request.query_string before use."Ben Sturmfels2020-04-094-12/+13
| | | | This reverts commit b6fba854007bb4392846085a60178c44dbd7989e.
* Decode request.query_string before use.Ben Sturmfels2020-04-094-13/+12
| | | | | | | | | | | This doesn't seem to be an issue in my Guix SD/Python 3.7 testing, but hit an issue on Debian 9/Python3.5 where concatenating text to `request.query_string` was causing the error: TypeError: a bytes-like object is required, not 'str' This clearly hasn't been an issue in the past though, so I suspect there's a library somewhere that's on a different version and is behaving differently.
* Fix Jorge's audio upload workaround in Python 3.Ben Sturmfels2020-04-071-2/+2
| | | | Unfortunately now the player isn't showing up because there's no thumbnail.
* Note possible future steps for Python 3 audio thumbnailing.Ben Sturmfels2020-04-021-0/+4
|
* Use audio icon when spectrogram fails. Add note to doc:media-types.Jorge2020-04-021-17/+34
| | | | | | | | | | In addition to side-stepping spectrograms completely in Python 3 in 1038aea8, this commit adds some fallbacks that will help with potential issues in Python 2. Fixes Issue #5457 Signed-off-by: Ben Sturmfels <ben@sturm.com.au> Author: Jorge <mediagoblin@gybs.waa>
* Add visual feedback on link hoverMuto2020-04-021-0/+17
| | | | Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Fix audio thumbnailing once and for all.Ben Sturmfels2020-04-011-3/+24
| | | | | | | | | | 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".
* Handle moved SharedDataMiddleware in werkzeug >= 0.15.0.Ben Sturmfels2020-04-011-2/+5
|
* Use items() for Python 3 support.Ben Sturmfels2019-11-271-1/+1
|
* Extend install instructions for raven plugin.Ben Sturmfels2019-11-271-1/+3
|
* Prevent warning when importing GstPbutils.Ben Sturmfels2019-11-011-0/+1
| | | | | | Warning was: PyGIWarning: GstPbutils was imported without specifying a version first. Use gi.require_version('GstPbutils', '1.0') before import to ensure that the right version gets loaded.
* Add datetime_format config option.Olivier Mehani2019-09-207-10/+13
| | | | | | | Moves the datetime_format used in various places to the config and allows a global override per site. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* metadata_display: Refine spacing.Ben Sturmfels2019-09-181-6/+1
|
* metadata_display: Improve default alignment/spacing of metadata.Ben Sturmfels2019-09-181-2/+7
|
* Even up top/bottom margins around header dropdown button.Ben Sturmfels2019-09-181-2/+2
| | | | Bottom margin was less than top margin.
* Add basic duplicate prevention for batchaddmedia.Ben Sturmfels2019-09-181-3/+18
|
* Update metadata_display plugin for Python 3.Ben Sturmfels2019-09-181-1/+1
| | | | | | | Switching from iteritems() to items() is technically less memory efficient on Python 2, but this appeared be a significantly cleaner approach than adding six to the template context. It's also the right choice assuming the project will at some point go Python 3 only.
* Add Python 3 docker-compose recipe for MediaGoblin hacking.Ben Sturmfels2019-09-161-0/+9
|
* batchaddmedia: Simplify the Python 2 & 3 unicode handling.Ben Sturmfels2019-09-121-59/+12
| | | | | | | | | To avoid issues with quotes, I've replaced the manual CSV handling with csv.DictReader and simplified the unicode handling down to a single line. I don't believe any special encoding is required when writing to the database. This has been tested by importing a CSV with braille characters on Python 3 and Python 2.
* Remove unicode literals in batchaddmedia.Ben Sturmfels2019-09-121-13/+13
|
* Fix URL-based importing with batchaddmedia command.Ben Sturmfels2019-09-121-2/+18
| | | | | The command was raising "io.UnsupportedOperation: seek" for URL-based imports and didn't support HTTPS.
* Fix saving original of the videoBoris Bobrov2018-07-132-2/+3
| | | | | | | | | Original of the video was not saved because info about it was not written to the database. Fixed that. Also removed original video from get_all_media listing. The method is weird, we should evaluate whether it is video-specific and how to generalize it.
* simplify an if and fix string formattingBoris Bobrov2018-07-131-3/+2
|
* nitpickingBoris Bobrov2018-07-131-1/+1
|
* close tag in subtitles htmlBoris Bobrov2018-07-121-0/+1
|
* move subtitles out of media streams in htmlBoris Bobrov2018-07-121-4/+4
|
* Merge branch 'transcoding_progress'Boris Bobrov2018-07-1222-79/+573
|\ | | | | | | This probably broke stuff
| * Fixes for small bugsBoris Bobrov2018-07-125-19/+34
| | | | | | | | | | There were some blocking issues in the code. They are small, but break tests and/or production. Fixed some of them.
| * Merge branch 'multiple-qualities-frontend' into 'transcoding_progress'Vijeth Aradhya2017-08-293-11/+8
| |\ | | | | | | | | | | | | Minor changes See merge request !3
| | * Change complimentary_task to complementary_tasvijeth-aradhya2017-08-292-6/+6
| | | | | | | | | | | | Closes #11
| | * Remove self.entry in VideoTranscodervijeth-aradhya2017-08-272-5/+2
| | |
| * | Show default resolution progress in processing panelvijeth-aradhya2017-08-221-1/+9
| | |
| * | Add main_transcoding_progress to ProgressCallbackvijeth-aradhya2017-08-222-3/+9
| | |
| * | Add main_transcoding_progress column migrationvijeth-aradhya2017-08-222-0/+29
| |/ | | | | | | | | | | | | This field is required to store the progress of the default resolution of the media. So, we now store the total progress of transcoding the video in 'transcoding_progress' and progress of transcoding the default resolution in 'main_transcoding_progress'.
| * Create a seperate test for get_all_mediavijeth-aradhya2017-08-171-3/+24
| |