Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to Python 3 by default. | Ben Sturmfels | 2020-04-24 | 6 | -21/+21 |
| | | | | Addresses #5592. | ||||
* | Add draft Fedora dockerfile. | Ben Sturmfels | 2020-04-20 | 2 | -0/+95 |
| | |||||
* | Merge branch 'no-fastcgi' of https://github.com/mtlynch/mediagoblin | Ben Sturmfels | 2020-04-16 | 5 | -62/+14 |
|\ | |||||
| * | Adding 'Waitress' where 'FastCGI' was previously referenced | Michael Lynch | 2020-04-15 | 2 | -3/+3 |
| | | |||||
| * | Removing flup and fastcgi from documentation | Michael Lynch | 2020-04-14 | 5 | -62/+14 |
| | | | | | | | | | | | | flup is not supported on Python3, so MediaGoblin doesn't have a supported way to enable FastCGI support. This change removes all references to flup and FastCGI and updates deployment instructions to use simple HTTP forwarding with nginx to access mediagoblin's non-static resources. | ||||
* | | Note how to run test suite under Docker. | Ben Sturmfels | 2020-04-14 | 1 | -2/+8 |
| | | |||||
* | | Fix "KeyError: 'No such transport: sqlite. Did you mean sqla?'" in tests. | Ben Sturmfels | 2020-04-14 | 2 | -3/+3 |
| | | | | | | | | | | This is caused by Celery dropping the "sqlite" transport alias from version 4.3.0, so I've pinned an upper limit. | ||||
* | | Remove "git submodule init && git submodule update" from Dockerfiles. | Ben Sturmfels | 2020-04-14 | 2 | -8/+4 |
|/ | | | | These commands are run by `bootstrap.sh`. Also includes a couple more tidy-ups. | ||||
* | Require jinja2<3.0.0 due to use of f-strings. | Ben Sturmfels | 2020-04-10 | 1 | -1/+3 |
| | |||||
* | Decode request.query_string before use. | Ben Sturmfels | 2020-04-09 | 4 | -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 Sturmfels | 2020-04-09 | 4 | -12/+13 |
| | | | | This reverts commit b6fba854007bb4392846085a60178c44dbd7989e. | ||||
* | Decode request.query_string before use. | Ben Sturmfels | 2020-04-09 | 4 | -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. | ||||
* | Document SSL/TLS SMTP options. | Ben Sturmfels | 2020-04-07 | 1 | -4/+6 |
| | |||||
* | Fix Jorge's audio upload workaround in Python 3. | Ben Sturmfels | 2020-04-07 | 1 | -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 Sturmfels | 2020-04-02 | 1 | -0/+4 |
| | |||||
* | Use audio icon when spectrogram fails. Add note to doc:media-types. | Jorge | 2020-04-02 | 2 | -20/+40 |
| | | | | | | | | | | 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> | ||||
* | Fix broken Dockerfile reference. | Ben Sturmfels | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | Add Muto to AUTHORS. | Ben Sturmfels | 2020-04-02 | 1 | -0/+1 |
| | |||||
* | Add visual feedback on link hover | Muto | 2020-04-02 | 1 | -0/+17 |
| | | | | Signed-off-by: Ben Sturmfels <ben@sturm.com.au> | ||||
* | Fix audio thumbnailing once and for all. | Ben Sturmfels | 2020-04-01 | 2 | -29/+25 |
| | | | | | | | | | | 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 Sturmfels | 2020-04-01 | 1 | -2/+5 |
| | |||||
* | Note werkzeug breaking in Guix. | Ben Sturmfels | 2020-04-01 | 1 | -1/+2 |
| | | | | The `python-lxml` package has also moved. | ||||
* | Pin werkzeug < 1.0.0. | Ben Sturmfels | 2020-04-01 | 1 | -1/+1 |
| | | | | In 1.0.0, the werkzeug.contrib module was removed which was required for `werkzeug.contrib.atom.AtomFeed`. | ||||
* | Note potential issues with guix environment --pure. | Ben Sturmfels | 2019-11-27 | 1 | -1/+6 |
| | |||||
* | Use items() for Python 3 support. | Ben Sturmfels | 2019-11-27 | 1 | -1/+1 |
| | |||||
* | Extend install instructions for raven plugin. | Ben Sturmfels | 2019-11-27 | 1 | -1/+3 |
| | |||||
* | Rename Dockerfiles to be more specific. | Ben Sturmfels | 2019-11-19 | 2 | -0/+0 |
| | |||||
* | Document and improve Docker handling of mounted source code directory. | Ben Sturmfels | 2019-11-19 | 4 | -79/+113 |
| | |||||
* | Prevent warning when importing GstPbutils. | Ben Sturmfels | 2019-11-01 | 1 | -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 Olivier Mehani to AUTHORS. | Ben Sturmfels | 2019-09-20 | 1 | -0/+1 |
| | |||||
* | Add datetime_format config option. | Olivier Mehani | 2019-09-20 | 7 | -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> | ||||
* | Merge branch swo-gitignore. | Ben Sturmfels | 2019-09-20 | 1 | -1/+1 |
|\ | | | | | | | Thanks mlynch for the contribution! | ||||
| * | Add expression to ignore Vim temporary swap files. | Ben Sturmfels | 2019-09-20 | 1 | -2/+1 |
| | | | | | | | | | | I gather that Vim continues back through the alphabet with .swp, swo, swn etc: https://groups.google.com/forum/#!msg/vim_use/JBHSs3kPPJU/X9WeMsZcfWAJ | ||||
| * | Adding *.swo to gitignore | Michael Lynch | 2018-11-10 | 1 | -0/+1 |
| | | |||||
* | | Note use of direnv with guix. | Ben Sturmfels | 2019-09-19 | 1 | -1/+9 |
| | | |||||
* | | metadata_display: Refine spacing. | Ben Sturmfels | 2019-09-18 | 1 | -6/+1 |
| | | |||||
* | | metadata_display: Improve default alignment/spacing of metadata. | Ben Sturmfels | 2019-09-18 | 1 | -2/+7 |
| | | |||||
* | | Even up top/bottom margins around header dropdown button. | Ben Sturmfels | 2019-09-18 | 1 | -2/+2 |
| | | | | | | | | Bottom margin was less than top margin. | ||||
* | | Add basic duplicate prevention for batchaddmedia. | Ben Sturmfels | 2019-09-18 | 1 | -3/+18 |
| | | |||||
* | | Add omitted --system-site-packages for Python 3 on Guix, add ↵ | Ben Sturmfels | 2019-09-18 | 1 | -2/+3 |
| | | | | | | | | update_extlib.sh docs. | ||||
* | | Update metadata_display plugin for Python 3. | Ben Sturmfels | 2019-09-18 | 1 | -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 Sturmfels | 2019-09-16 | 3 | -0/+45 |
| | | |||||
* | | Reorder Python 2 Dockerfile to install dependencies together. | Ben Sturmfels | 2019-09-16 | 1 | -8/+1 |
| | | |||||
* | | Add Python 2 & 3 Docker files for MediaGoblin hacking. | Ben Sturmfels | 2019-09-12 | 2 | -0/+209 |
| | | |||||
* | | Work around lack of scikits.audiolab support on Python 3. | Ben Sturmfels | 2019-09-12 | 2 | -1/+29 |
| | | |||||
* | | batchaddmedia: Simplify the Python 2 & 3 unicode handling. | Ben Sturmfels | 2019-09-12 | 1 | -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 Sturmfels | 2019-09-12 | 1 | -13/+13 |
| | | |||||
* | | Fix URL-based importing with batchaddmedia command. | Ben Sturmfels | 2019-09-12 | 1 | -2/+18 |
| | | | | | | | | | | The command was raising "io.UnsupportedOperation: seek" for URL-based imports and didn't support HTTPS. | ||||
* | | Fix bulkupload documentation example. | Ben Sturmfels | 2019-09-12 | 1 | -1/+1 |
| | | | | | | | | | | The `bulkupload` command expects "dc:title", rather than "dcterms:title". Similar for description. | ||||
* | | Note issues uploading H264 video under Guix. | Ben Sturmfels | 2019-09-12 | 1 | -0/+3 |
| | |