aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Add Creative Commons 4.0 licenses [#955]Dpg2018-05-241-10/+27
| | | | | | | | | | | | | | | | | | | | Add CC version 4.0 licenses to SORTED_LICENSES.
* | | | | cap sqlalchemyBoris Bobrov2018-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | Closes #5557 and fixes some complaints in irc
* | | | | Add moderation panel thumbnail header [#5563]Andrew Browning2018-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | Add moderation panel column header for thumbnail column.
* | | | | Process videos with incorrect date tags [#5409]Andrew Browning2018-04-081-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Video processing expects datetime tags in a specific format. This commit allows videos with missing or incorrect datetime tags to be processed with no datetime tags instead of failing.
* | | | | Prevent video plugin from processing svg [#934]Andrew Browning2018-04-041-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to the gstreamer-1.0 upgrade, the video processing engine included a check for excluded extensions which gstreamer might accept despite us not wanting to process them. In commit 91f5f5e, the check against EXCLUDED_EXT was removed. Since then, the video plugin has accepted and attempted to process svg files. This commit adds the check against EXCLUDED_EXTS into the sniff_handler function so that we can bail out on certain file extensions before the plugins tries to sniff the file type. The previous implementation excluded nef files, which appears to be a Nikon camera image. I've copied that forward to this code. I've also added a log message to indicate that we're purposefully refusing to process the file.
* | | | | Remove backup file added in b5dd245Andrew Browning2018-04-041-60/+0
| | | | |
* | | | | Use https:// instead of git:// to clone [#5551]Andrew Browning2018-04-023-8/+8
| | | | | | | | | | | | | | | | | | | | This was partially addressed in eee3e41 but missed many items.
* | | | | Add chrysn to AUTHORSAndrew Browning2017-11-291-0/+1
| | | | |
* | | | | Fix EXIF rotation to make the image portrait on demandchrysn2017-11-291-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Closes: https://issues.mediagoblin.org/ticket/5525 Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
* | | | | add alembic migrations to MANIFESTBoris Bobrov2017-11-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alembic migrations do not get imported anywhere. Because of it they do not get included to the python package. But they need to be there in order for migrations to succeed.
* | | | | move alembic.ini to python app dirBoris Bobrov2017-11-143-5/+5
| | | | |
* | | | | add alembic.ini to MANISFEST.inBoris Bobrov2017-11-141-1/+1
| | | | |
* | | | | remove mentions of mediagoblin_local.iniBoris Bobrov2017-11-135-40/+12
| | | | |
* | | | | clarify installation instructions about mediagoblin.iniBoris Bobrov2017-11-131-2/+5
| | | | |
* | | | | Added tests for tags in image API objectRomain Porte2017-11-121-0/+14
| | | | |
* | | | | Added tags in API (view them and edit them)Romain Porte2017-11-121-1/+10
| | | | |
* | | | | Improved gitignores for patch submittingRomain Porte2017-11-122-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | Fixed flake8 errors for tests/test_api.pyRomain Porte2017-11-111-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Added tests for custom file name using APIRomain Porte2017-11-111-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Change API filename upload using custom headerRomain Porte2017-11-111-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When uploading a file using the API its same is always going to be 'unknown.<extension>', which is not good looking for file urls. This patch proposes a custom header named 'X-File-Name' that allows to specify a file name using an API client. This changeset was tested with a local OAuth1 client.
* | | | | Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblinBoris Bobrov2017-11-112-1/+1
|\ \ \ \ \
| * | | | | Fix location of host-meta.xml file [#5543]Andrew Browning2017-10-311-0/+0
| | | | | |
| * | | | | Fix trivial spelling error in test commentAndrew Browning2017-10-231-1/+1
| | | | | |
* | | | | | add Roman to AUTHORSBoris Bobrov2017-11-111-0/+1
| | | | | |
* | | | | | Replaced /bin/celeryd by /bin/celery in lazyceleryRomain Porte2017-11-111-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On a fresh clone the celeryd executable is not present. This is because of the celery version migration to celery 4.x. As per celery's documentation at http://docs.celeryproject.org/en/latest/whatsnew-4.0.html, celeryd is no longer shipped in this version.
* | | | | Port batchaddmedia command to Python 3Simen Heggestøyl2017-10-161-3/+9
| | | | |
* | | | | Make admin panel headers readable in Airy themeSimen Heggestøyl2017-10-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The admin panel headers are white by default, making them almost unreadable on the light background used in the Airy theme. Make the headers dark, like text elsewhere in the theme.
* | | | | Handle collection in batchaddmedia commandSimen Heggestøyl2017-10-162-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the batchaddmedia command look for a 'collection-slug' column, that for each row may specify the slug of a collection that the media should be added to. This matches the '--collection-slug' argument of the addmedia command.
* | | | | Support Unicode characters in configuration valuesSimen Heggestøyl2017-10-163-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | | | Remove dead code in batchaddmedia.pySimen Heggestøyl2017-10-161-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Remove an unused import and an unused local variable from batchaddmedia.py.
* | | | | Update batchaddmedia csv description docs [5458]Andrew Browning2017-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit c0ea2bad changed the expected location column header of csv files used by the batchaddmedia command from 'media:location' to 'location'. This change updates the docs to match.
* | | | | Fix #5460 - Log IP address for failed loginAndrew Browning2017-09-201-0/+6
| | | | | | | | | | | | | | | | | | | | This patch logs the remote address when a login attempt fails.
* | | | | Fix #5517 - Change docs to clone repo using httpsAndrew Browning2017-09-201-1/+1
| | | | |
* | | | | Add unit test for #5524Andrew Browning2017-09-203-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Fix #5524 Zero division error in exif.pyAndrew Browning2017-09-201-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements the safe_gps_ratio_divide function for gps direction and altitude values to prevent a zero divide error on malformed GPS data.
* | | | | Fix #5514 - Add to Collection causes server errorayleph2017-08-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-arrange code to check whether a collection has been selected prior to checking whether an item already exists in the selected collection. This fixes a regression introduced in 0f3bf8d.
* | | | | Properly escape asterisk in *buntuAndrew Browning2017-08-151-1/+1
| | | | |
* | | | | Fix #5513 - Can't delete blog post draftsayleph2017-08-153-2/+21
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the @get_media_entry_by_id decorator to return media regardless of processing state. Separately modify all view functions that use the @get_media_entry_by_id decorator to require that the media be in the processed state, other than for the media_confirm_delete view. This allows blog post drafts to be deleted without returning a 404. Further, it adds the ability to delete unprocessed media in the future, which would be a nice addition to the user processing panel.
* | | | Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblinBoris Bobrov2017-06-263-6/+4
|\ \ \ \
| * | | | Apply button_warning style to blog delete buttonsAndrew Browning2017-06-193-4/+4
| | | | |
| * | | | Fix #830 - Remove exif from blog postsAndrew Browning2017-06-191-2/+0
| | | | |
* | | | | Remove mongodb-related stuffBoris Bobrov2017-06-182-364/+0
|/ / / / | | | | | | | | | | | | We dropped mongodb a long time ago
* | | | Add Robert to AUTHORSBoris Bobrov2017-06-181-0/+1
| | | |
* | | | Re #5308 added cascade to blog mediatypeRobert Smith2017-06-171-2/+4
| |_|/ |/| |
* | | Fix tests to reflect that we've moved to amqpBoris Bobrov2017-06-101-4/+1
| | |
* | | move exifread to other dependenciesBoris Bobrov2017-06-101-3/+1
| | |
* | | Merge branch 'amqp-switch'Boris Bobrov2017-06-104-6/+12
|\ \ \
| * | | Remove upper cap on celery kombuBoris Bobrov2017-06-101-2/+1
| | | | | | | | | | | | | | | | Also remove kombu from requirements, because celery fetches it anyway
| * | | Switch to rabbitmq by default and in docsBoris Bobrov2017-06-093-4/+11
| | | |
* | | | Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblinBoris Bobrov2017-06-092-1/+2
|\ \ \ \ | |/ / / |/| | |