aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/config_spec.ini
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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.
* Add datetime_format config option.Olivier Mehani2019-09-201-0/+3
| | | | | | | 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>
* Celery concurrency is set to onevijeth-aradhya2017-06-131-1/+1
|
* Add additional celery config settingsvijeth-aradhya2017-06-111-2/+3
| | | | | | Fixes older webm_video backward compatibilty issue. Add 'default' queue to be used from now. Add other necessary celery settings for priority.
* Switch to rabbitmq by default and in docsBoris Bobrov2017-06-091-2/+1
|
* Add a no_referrer setting to prevent browsers leaking information.Duncan2015-08-021-0/+3
|
* Fix link from Gitorious -> SavannahChristopher Allan Webber2015-06-011-1/+1
|
* Fix #658 and #974 - Rollback database on_return of taskJessica Tallon2014-12-011-3/+1
|
* Updated config_spec.ini to add %(data_basedir)s and make use of it!Christopher Allan Webber2014-09-241-8/+11
| | | | This commit sponsored by Loïc Grobol. Thanks!
* Temporarily disable garbage collectionChristopher Allan Webber2014-09-191-1/+3
| | | | | | We need to make sure we safely set up transactions here... it looks pretty clearly like we aren't yet, so we need to review this. This should be re-enabled by 0.8.0.
* Fix #861 - Add unit test and documentation for email_smtp_force_starttlsJessica Tallon2014-08-121-1/+16
|
* Use the STARTTLS command to upgrade SMTP connections where possible.Matt Molyneaux2014-08-021-0/+1
| | | | | | | | | | | | | Adds the option `email_smtp_force_tls` which will cause `send_email` to error if it is unable to use the `STARTTLS` command (e.g. where the user knows the SMTPd supports `STARTTLS` and wishes to protect themselves against a downgrade attack) Setting both `email_smtp_user_ssl` and `email_smtp_force_tls` may result in undefined behaviour if the SMTPd has not been correctly configured. TODO: Unit tests? TODO: Documentation?
* Fix #927 - Clean up federation code after Elrond's reviewJessica Tallon2014-07-301-0/+4
| | | | | | | | - Add json_error and use inplace of json_response where appropriate. - Add garbage_collection to config spec file. - Fix bugs in both garbage collection task and test - Handle /api/whoami when no user logged in and a test for such a case. - Validate ID is correct and user has comment privilege to comment.
* Changed the default permission scheme to be the same as the scheme we use intilly-Q2014-05-011-1/+1
| | | | | master so that if admins have not set their mediagoblin_local.ini to include this new option, they will notice no difference in use.
* In this commit I made it so that each deployment can have custom settings fortilly-Q2014-04-281-0/+3
| | | | | which privileges are given to users when they are intiated. These settings are modified in mediagoblin.ini.
* Turning off the Terms of Service feature by defaultChristopher Allan Webber2013-12-031-1/+1
| | | | This commit sponsored by Jessica Coates. Thank you!
* Make showing the Terms of Service a user option, and move it to the footer.Christopher Allan Webber2013-10-111-0/+5
| | | | This commit sponsored by Gjalt-Jorn Peters. Thank you!
* Merge remote-tracking branch 'refs/remotes/tilly-q/OPW-Moderation-Update'Christopher Allan Webber2013-10-071-0/+3
|\ | | | | | | | | | | | | Conflicts: mediagoblin/templates/mediagoblin/user_pages/user.html mediagoblin/tests/test_auth.py mediagoblin/tests/test_submission.py
| * At this point, I am very close to done with this code! I made one big change attilly-Q2013-09-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | paroneayea's request, which was to make to possible to turn off user's ability to file reports through a mediagoblin.ini setting. Aside from this, I had to make it possible for the Moderation User Panel to display more than 10 users. And aside from that, I just had to fix some errors which cropped up with my most recent additions. I also fixed some tests that were broken because I had changed the checks for whether or not a user is active. Nearing the end! =============================================================================== Made it possible to turn off reports through a mediagoblin.ini setting =============================================================================== --\ mediagoblin.ini --\ mediagoblin/config_spec.ini --\ mediagoblin/decorators.py --\ mediagoblin/moderation/views.py --\ mediagoblin/templates/mediagoblin/user_pages/media.html --\ mediagoblin/user_pages/views.py =============================================================================== Made User Panel capable of showing more than 1 page of users =============================================================================== --\ mediagoblin/moderation/forms.py --\ mediagoblin/moderation/views.py --\ mediagoblin/templates/mediagoblin/moderation/user_panel.html =============================================================================== Fixed Broken Tests =============================================================================== --\ mediagoblin/tests/test_notifications.py --\ mediagoblin/tests/test_openid.py --\ mediagoblin/tests/test_persona.py --\ mediagoblin/tests/test_reporting.py =============================================================================== Fixed errors in code =============================================================================== --\ mediagoblin/db/migrations.py --| Set nullable to True for MediaReports' and CommentReports' content foreign |keys --\ mediagoblin/db/models.py --| Got rid of cascading rules for MediaReports' and CommentReports' content |foreign keys. This makes it possible for the Reports to continue to exist |after the content is deleted. --\ mediagoblin/moderation/tools.py --| Fixed formatting of Report Resolution Methods --| Took out pieces of code used in debugging --\ mediagoblin/templates/mediagoblin/base.html --\ mediagoblin/templates/mediagoblin/moderation/report.html --| Made reports details page able to tell what is a deleted archived report. --\ mediagoblin/templates/mediagoblin/moderation/report_panel.html --\ mediagoblin/templates/mediagoblin/utils/report.html
* | Merge remote-tracking branch 'refs/remotes/rodney757/file_limits'Christopher Allan Webber2013-09-181-0/+6
|\ \ | |/ |/| | | | | Conflicts: mediagoblin/db/migrations.py
| * added testsRodney Ewing2013-08-261-1/+1
| |
| * max file sizeRodney Ewing2013-08-261-0/+3
| |
| * fixed tests and defaultsRodney Ewing2013-08-261-1/+1
| |
| * made no upload limit the defaultRodney Ewing2013-08-261-2/+2
| |
| * typosRodney Ewing2013-08-261-1/+1
| |
| * added user upload limitsRodney Ewing2013-08-261-0/+3
| |
* | pdf media_type now have their own config_spec.iniRodney Ewing2013-08-291-4/+0
| |
* | ascii media_type now have their own config_spec.iniRodney Ewing2013-08-291-3/+0
| |
* | audio media_type now have their own config_spec.iniRodney Ewing2013-08-291-7/+0
| |
* | video media_type now have their own config_spec.iniRodney Ewing2013-08-291-21/+0
| |
* | image media_type now have their own config_spec.iniRodney Ewing2013-08-291-6/+0
|/
* Switch deprecated BROKER_HOST to new BROKER_URLSebastian Spaeth2013-08-191-1/+1
| | | | | | | People will need to switch that setting in their mediagoblin.ini too. Make sure we RELEASE NOTE this. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* * create config option for optional jinja2 extensionsKenneth Dombrowski2013-08-071-0/+6
| | | | | | | * add comments & clarify code for jinja2 extensions Conflicts: mediagoblin/config_spec.ini
* autoplay is now by default False for videos.Christopher Allan Webber2013-08-071-1/+1
| | | | This commit sponsored by Vasili Sviridov. Thank you!
* Merge branch 'rodney757-media_plugins'Christopher Allan Webber2013-07-121-3/+0
|\ | | | | | | | | | | Conflicts: mediagoblin.ini mediagoblin/tests/test_mgoblin_app.ini
| * modified gmg to use plugin media_types and converted image media_type to new ↵Rodney Ewing2013-07-021-3/+0
| | | | | | | | plugin style
* | Updated comments for run_all_migrations and config_spec.ini.Emily O'Leary2013-06-271-1/+4
| |
* | Improved test runtime from 352 seconds to 59 seconds by implementing an ↵Emily O'Leary2013-06-251-1/+2
|/ | | | in-memory sqlite DB and including an option to run migrations on this newly created database by adding a config option called run_migrations to the config_spec and passing it along in app.py to the setup_database function.
* New notificationsJoar Wandborg2013-06-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added request.notifications - Email configuration fixes - Set config_spec default SMTP port to `0` and switch to SSL/non-SSL default if `port == 0` - Added email_smtp_use_ssl configuration setting - Added migrations for notification tables - Added __repr__ to MediaComment(Mixin) - Added MediaComment.get_entry => MediaEntry - Added CommentSubscription, CommentNotification, Notification, ProcessingNotification tables - Added notifications.task to celery init - Fixed a bug in the video transcoder where pygst would hijack the --help argument. - Added notifications - views - silence - subscribe - routes - utility methods - celery task - Added half-hearted .active comment CSS style - Added quick JS to show header_dropdown - Added fragment template to show notifications in header_dropdown - Added fragment template to show subscribe/unsubscribe buttons on media/comment pages - Updated celery setup tests with notifications.task - Tried to fix test_misc tests that I broke - Added notification tests - Added and extended tests.tools fixtures - Integrated new notifications into media_home, media_post_comment views - Bumped SQLAlchemy dependency to >= 0.8.0 since we need polymorphic for the notifications to work
* The pdf.js iframe view is awesome so I'm making it the default. So there! ;)Christopher Allan Webber2013-05-281-1/+1
| | | | This commit sponsored by Jay Turley. Thank you!
* Work towards getting plugin static linking/serving to workChristopher Allan Webber2013-05-231-0/+4
| | | | | | | | | - add link_plugin_assets. For now, incorrectly running from ./bin/gmg theme assetlink... uh, will fix ;) - Update paste and config_spec.ini configs to handle the locations and serving of the plugins' static resources This commit sponsored by Marko Dimjašević. Thank you!
* Merge remote-tracking branch 'refs/remotes/tryggvib/532-exif-creation-date'Christopher Allan Webber2013-05-111-0/+1
|\ | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/templates/mediagoblin/user_pages/media.html
| * A template fix to show the EXIF DateTimeOriginal (as creation date). Added ↵Tryggvi Björgvinsson2012-11-081-0/+1
| | | | | | | | as a configurable option 'original_date_visible' (default false). Since the EXIF tag is a string with the date formatted as 'YYYY:MM:DD HH:MM:SS' the fix slices the string to give only the date and then replaces : by - to conform with the 'Added on' date.
* | Merge remote-tracking branch 'refs/remotes/dthompson/453_disable_comments'Christopher Allan Webber2013-05-101-0/+3
|\ \
| * | Add allow_comments configuration setting.David Thompson2013-04-131-0/+3
| | |
* | | Merge remote-tracking branch 'remotes/npigeon/ticket-601'Christopher Allan Webber2013-04-201-1/+1
|\ \ \
| * | | Changed the max character length for tags on media to 255. Only had to ↵nattily pigeonfowl2013-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | change one line in mediagoblin/config_spec.ini in response to isses.mediagoblin.org/ticket/601
* | | | bumping image quality to 90, after conversation with ElrondChristopher Allan Webber2013-04-201-1/+1
| | | |