| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This removes some 'u' prefixes and converts simple format() calls to f-strings.
|
|
|
|
| |
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
|
|
|
|
|
| |
Mozilla persona is RIP since 2016.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
This change gives a clean test run in the Debian-based Python 2 and Python 3
docker images.
|
|\
| |
| |
| | |
This probably broke stuff
|
| |
| |
| |
| |
| | |
There were some blocking issues in the code. They are small, but break
tests and/or production. Fixed some of them.
|
| |
| |
| |
| | |
Closes #11
|
| | |
|
| |
| |
| |
| | |
Check for it's returned values.
|
| |\
| | |
| | |
| | |
| | | |
Add multiple video qualities feature
See merge request !2
|
| | |
| | |
| | |
| | | |
Add {'webm': (640, 640)}
|
| | |
| | |
| | |
| | |
| | |
| | | |
After `self.check_normal_upload`, query the database and
check whether the video got transcoded to all the required
resolutions.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Testing the arguments passed to celery.chord when
a video is submitted.
|
| | |
| | |
| | |
| | | |
Testing workflow method including its return data.
|
| | |
| | |
| | |
| | | |
Add mediagoblin.media_types.video.processing as a task module.
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In order to ease the patch submitting process, *.patch was added as per
Linux kernel's .gitignore. Test cache directory was also added in its
own gitignore (as per kernel's recommendation on .gitignore location).
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since I am adding a test I also took time to fix all flake8 errors in
this test file, since I may add more tests in there and I prefer to work
on a coherent code base.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds a new test and verify that the old test has the
"unknown.<extension>" format. As funny as it seems, the "image/jpeg"
Content-Type will generate a ".jpe" extension but I was expecting a more
common ".jpg" extension. This may be a bug, but this is not the subject
of this patch.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Prior to this commit, using a Unicode character in a configuration
string would result in a `UnicodeDecodeError` being raised. Supporting
Unicode characters is especially useful in user-facing configuration
strings, such as `html_title`.
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a unit test to verify that the change introduced in 07c535c no
longer resulst in a zero divide error when gps data contains no divisor.
This commit includes a test image created by Andrew Browning. Andrew
Browning dedicates this image to the public domain under the CC0 license.
|
| |/
|/|
| |
| | |
We dropped mongodb a long time ago
|
| | |
|
| | |
|
| |
| |
| |
| | |
This issue was visible when attempting to view the home page of a MediaGoblin site with more than a single page worth of items, under Python 3.
|
|\ \ |
|
| | | |
|
| |/ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
* mediagoblin/tests/test_sql_migrations.py: Import migration.changeset
even in python 3.
(FOUNDATIONS): Removed.
(test_set1_to_set3): Removed foundations checks.
|
|
|
|
|
|
|
|
|
| |
Previously we assumed we wouldn't run migration tests if we're on
Python 3, but now that we support sqlalchemy-migrate with Python 3,
switch to checking based on "migrate" importability.
* mediagoblin/tests/test_sql_migrations.py: Update test skipping to
rely on "migrate" module presence rather than Python 3 check.
|
|
|
|
| |
* mediagoblin/tests/tools.py (get_app): Add comment
|
|
|
|
|
|
|
| |
Some tests were added for running audio and video submission tests in
test_submission.py. Unfortunately these were not skipped if these
dependencies were not installed. This patch attempts to fix that while
leaving the tests intact.
|
|
|
|
|
|
|
| |
This ensures that links to comments have the correct ID (the
ID of the Comment object) as well as fixing deletion on reports
and fixing a few other little things. I hope this fixes the #5376
issue, though cannot reproduce so unable to confirm.
|
|
|
|
|
|
| |
The original wrapper existed and should be been removed, this fix
now ensures the TextComment removes the Comment wrapper to prevent
the deleted (comments which are tombstones) existing.
|