aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded shebang from test_processing.py.Elisei Roca2021-09-201-2/+0
| | | | Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Extend left/right arrow key navigation to paginated views [#5627].Olivier Mehani2021-09-195-2/+12
| | | | | | Includes "home", "collection", "view all user's media" and "user's profile" views. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Update for 0.13.0 development cycle.Ben Sturmfels2021-09-191-1/+1
|
* Set static path relative to codebase.Ben Sturmfels2021-09-171-0/+3
| | | | This help a Guix package to locate the basic static assets.
* Implement `gmg serve` and `gmg celery`.Ben Sturmfels2021-09-173-25/+65
| | | | | | | There was an existing stub for `gmg serve`, but had never been completed. This will make it simpler to run the MediaGoblin web interface and media processing backend.
* Revert "Disable registrations by default due to spam."Ben Sturmfels2021-09-121-1/+1
| | | | | | | Turns out this breaks tests. Will attempt again when I have time to deal with the tests. This reverts commit 120f144f0eb014e694a584a627c8b17856da5b51.
* Disable registrations by default due to spam.Ben Sturmfels2021-09-041-1/+1
|
* Don't disable existing loggers when initialising Celery.Ben Sturmfels2021-08-231-1/+1
| | | | | | | | | | | | | | | Prior to this change, the Celery logging did not include any of the logging calls within MediaGoblin because `disable_existing_loggers` defaulted to True. This was unhelpful and inconsistent with the logging behaviour of the web process. The MediaGoblin web process sets logging output based on the configuration in paste.ini. This is loaded by the `paster` program, rather than MediaGoblin itself. The MediaGoblin celery process manually loads its logging config from paste.ini, but previously defaulted to `disable_existing_loggers=True`, meaning that none of the application logging flowed through unless the logger was explicitly added to paste.ini.
* Fix images being marked as failed after Celery restart [#5608].Ben Sturmfels2021-08-231-1/+3
| | | | | | | | | | Following the video transcoding work included in v0.10.0, uploading an image and restarting Celery resulted in the image being marked as failed, even after it had been initially successfully processed. The issue was that the initial processing task was not being acknowledged by the task queue following the introduction of the `CELERY_ACKS_LATE` setting. It's not clear why this is the case, but reverting the setting fixes this issue and doesn't negatively impact video processing.
* Remove reference to jsonschema.compat now removed upstream.Marco Pessotto2021-08-201-3/+2
| | | | Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Convert notifications.js to vanilla JavaScript (no jQuery).Ben Sturmfels2021-08-193-34/+27
|
* Convert header_dropdown.js to vanilla JavaScript (no jQuery).Ben Sturmfels2021-08-192-19/+62
|
* Remove additional mentions of persona in templates and docs.Ben Sturmfels2021-04-235-34/+7
|
* Remove Mozilla Persona plugin [#5512].jgart2021-04-2315-961/+0
| | | | | | Mozilla persona is RIP since 2016. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Remove redundant link to flask-wtf.Ben Sturmfels2021-04-232-1/+0
|
* Remove redundant symlink to tinymce.Ben Sturmfels2021-04-231-1/+0
|
* Remove the slightly un-intuitive "Resolve" button on the report handling page.Rodrigo Martins2021-04-102-24/+20
| | | | | | | This button just uses JavaScript to reveal the subsequent actions. Better to show these upfront. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Now in the 0.12.0 development cycle.Ben Sturmfels2021-04-051-1/+1
|
* Fix tests on Debian 11.Ben Sturmfels2021-04-041-2/+11
|
* Convert atom feeds to use feedgenerator library.Ben Sturmfels2021-03-164-60/+113
| | | | | | | | | | | | | | | Issue is that Werkzeug > 1.0.0 has removed werkzeug.contrib.atom.AtomFeed, making it difficult to use a distribution-packaged version of werkzeug. To solve this, I've replaced use of werkzeug.contrib.atom.AtomFeed with feedgenerator.Atom1Feed. After the change, the only major difference between the feeds before and after is that they use <summary> instead of <content>. Minor differences include no longer adding 'type="text/html"' on some <link> elements and no "xml:base" attribute on <entry> elements. I don't think these differences will have any noticable effect. Tested on Liferea feed reader.
* Update version number, relnotes and upgrading docs in preparation for release.Ben Sturmfels2021-03-101-1/+1
|
* Note that download link sorting will be wrong for higher resolutions.Ben Sturmfels2021-03-091-0/+1
|
* Update video links to support multiple resolution transcoding [#5620].Ben Sturmfels2021-03-091-6/+10
| | | | | | | We may need to push download link creation into the view in the future to make it more fully featured, but this will solve the immediate issue with missing download links on new media after 0.10.0. Sorting of entries won't be right if your media is over 999p since it's alphabetical.
* Run LDAP, OpenID and PDF tests under Docker.Ben Sturmfels2021-03-092-1/+1
|
* More robust test fix.Ben Sturmfels2021-03-061-2/+2
|
* Fix broken metadata editing test.Ben Sturmfels2021-03-061-1/+1
|
* Remove remaining Python 2 compatibility code.Ben Sturmfels2021-03-054-25/+1
|
* Remove remaining imports/calls to six not automatically removed by pyupgrade.Ben Sturmfels2021-03-0574-175/+35
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-05157-1388/+1352
|
* Reinstate audio spectrograms on Python 3 [#5610].Fernando Gutierrez2021-03-035-423/+302
| | | | | | | | 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>
* Drop Python 2 installation support.Ben Sturmfels2021-03-031-12/+0
|
* 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
|