Webmaster
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
July 2024
- 22 participants
- 1520 discussions
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /ar/gallery/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /ar/gallery/
TypeError at /ar/gallery/
SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request Method: GET
Request URL: https://inkscape.org/ar/gallery/?order=liked&page=1&q=/.././.././.././.././…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: خميس, 25 يوليو 2024 09:42:48 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
680. data = super(ResourceList, self).get_context_data(**kwargs)
File "./resources/category_views.py" in get_context_data
390. cat.conclude(self)
File "./resources/category_views.py" in conclude
145. item.count = view.get_count(self.cid, item)
File "./resources/category_views.py" in get_count
259. return self.get_queryset(**{cid: item}).count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in count
522. return len(self)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in run
550. final_query = self.build_query()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in build_query
1252. query = self._query_from_search_node(self.query_filter)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1293. constructed_query_list = self._query_from_term(term, field_name, filter_type, is_not)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_term
1315. return [self.backend.parse_query(query)]
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in parse_query
846. return qp.parse_query(query_string, self.flags)
Exception Type: TypeError at /ar/gallery/
Exception Value: SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request information:
USER: AnonymousUser
GET:
order = 'liked'
page = '1'
q = '/.././.././.././.././.././.././.././../etc/./passwd%00'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'hr'
csrftoken = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'hr'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=hr; csrftoken=aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads; sessionid=tz82ost04ogli35qngp8xufgumecqi04'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/ar/gallery/'
QUERY_STRING = 'order=liked&page=1&q=/.././.././.././.././.././.././.././../etc/./passwd%2500'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '53852'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/ar/gallery/?order=liked&page=1&q=/.././.././.././.././.././.././.././../etc/./passwd%2500'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f671e3965b8>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'صفحة عادية'), ('cms/develop.html', 'صفحة المبرمج'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'مستعمل الموقع'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'تعليق المستعمل'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /ar/gallery/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /ar/gallery/
TypeError at /ar/gallery/
SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request Method: GET
Request URL: https://inkscape.org/ar/gallery/?order=liked&page=1&q=../../../../../../../…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: خميس, 25 يوليو 2024 09:42:33 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
680. data = super(ResourceList, self).get_context_data(**kwargs)
File "./resources/category_views.py" in get_context_data
390. cat.conclude(self)
File "./resources/category_views.py" in conclude
145. item.count = view.get_count(self.cid, item)
File "./resources/category_views.py" in get_count
259. return self.get_queryset(**{cid: item}).count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in count
522. return len(self)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in run
550. final_query = self.build_query()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in build_query
1252. query = self._query_from_search_node(self.query_filter)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1293. constructed_query_list = self._query_from_term(term, field_name, filter_type, is_not)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_term
1315. return [self.backend.parse_query(query)]
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in parse_query
846. return qp.parse_query(query_string, self.flags)
Exception Type: TypeError at /ar/gallery/
Exception Value: SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request information:
USER: AnonymousUser
GET:
order = 'liked'
page = '1'
q = '../../../../../../../../../../../../../../windows/win.ini'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'hr'
csrftoken = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'hr'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=hr; csrftoken=aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads; sessionid=tz82ost04ogli35qngp8xufgumecqi04'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/ar/gallery/'
QUERY_STRING = 'order=liked&page=1&q=../../../../../../../../../../../../../../windows/win.ini'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '53378'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/ar/gallery/?order=liked&page=1&q=../../../../../../../../../../../../../../windows/win.ini'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f66fea188e8>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'صفحة عادية'), ('cms/develop.html', 'صفحة المبرمج'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'مستعمل الموقع'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'تعليق المستعمل'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /ar/gallery/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /ar/gallery/
TypeError at /ar/gallery/
SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request Method: GET
Request URL: https://inkscape.org/ar/gallery/?order=liked&page=1&q=../../../../../../../…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: خميس, 25 يوليو 2024 09:42:32 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
680. data = super(ResourceList, self).get_context_data(**kwargs)
File "./resources/category_views.py" in get_context_data
390. cat.conclude(self)
File "./resources/category_views.py" in conclude
145. item.count = view.get_count(self.cid, item)
File "./resources/category_views.py" in get_count
259. return self.get_queryset(**{cid: item}).count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in count
522. return len(self)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in run
550. final_query = self.build_query()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in build_query
1252. query = self._query_from_search_node(self.query_filter)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1293. constructed_query_list = self._query_from_term(term, field_name, filter_type, is_not)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_term
1315. return [self.backend.parse_query(query)]
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in parse_query
846. return qp.parse_query(query_string, self.flags)
Exception Type: TypeError at /ar/gallery/
Exception Value: SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request information:
USER: AnonymousUser
GET:
order = 'liked'
page = '1'
q = '../../../../../../../../../../../../../../etc/passwd'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'hr'
csrftoken = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'ar'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=hr; csrftoken=aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads; sessionid=tz82ost04ogli35qngp8xufgumecqi04'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/ar/gallery/'
QUERY_STRING = 'order=liked&page=1&q=../../../../../../../../../../../../../../etc/passwd'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '53814'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/ar/gallery/?order=liked&page=1&q=../../../../../../../../../../../../../../etc/passwd'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f66fadc9048>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'صفحة عادية'), ('cms/develop.html', 'صفحة المبرمج'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'مستعمل الموقع'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'تعليق المستعمل'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /ko/user/register/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /ko/user/register/
ValueError at /ko/user/register/
too many values to unpack (expected 2)
Request Method: POST
Request URL: https://inkscape.org/ko/user/register/
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: 목요일, 25 7월 2024 09:42:04 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django_registration/views.py" in dispatch
36. return super(RegistrationView, self).dispatch(*args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/edit.py" in post
141. if form.is_valid():
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in is_valid
185. return self.is_bound and not self.errors
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in errors
180. self.full_clean()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in full_clean
381. self._clean_fields()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in _clean_fields
399. value = field.clean(value)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/fields.py" in clean
150. self.run_validators(value)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/fields.py" in run_validators
135. v(value)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django_registration/validators.py" in validate_confusables_email
266. local_part, domain = value.split('@')
Exception Type: ValueError at /ko/user/register/
Exception Value: too many values to unpack (expected 2)
Request information:
USER: AnonymousUser
GET: No GET data
POST:
csrfmiddlewaretoken = 'ocfUq8Gmkx9CP2LIuYubHu4furvqHL3YOb7Ksn8thATQmLVxTnST126GVIjTh11a'
msie11bug = 'http://stackoverflow.com/questions/20149751/ie11-only-submit-bug'
username = 'fNgxnIgU'
email = '@@WUyGt'
password1 = 'u]H[ww6KrA9F.x-F'
password2 = 'u]H[ww6KrA9F.x-F'
recaptcha_0 = '2edb9f73fbbb9f7889b60efdeda6bbb3d071adf0'
recaptcha_1 = '1'
FILES: No FILES data
COOKIES:
lang = 'hr'
csrftoken = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
META:
CONTENT_LENGTH = '891'
CONTENT_TYPE = 'multipart/form-data; boundary=----------YWJkMTQzNDcw'
CSRF_COOKIE = 'aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = '*/*'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'hr'
HTTP_CONNECTION = 'Keep-alive'
HTTP_CONTENT_LENGTH = '891'
HTTP_CONTENT_TYPE = 'multipart/form-data; boundary=----------YWJkMTQzNDcw'
HTTP_COOKIE = 'lang=hr; csrftoken=aQrOGTyvKgfzS5amTgykR4vLVg4hDUfgAPjEI80CHjZNpOkbiFW2bCxcmxSKdads; sessionid=tz82ost04ogli35qngp8xufgumecqi04'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/ko/user/register/'
QUERY_STRING = ''
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '53642'
REQUEST_METHOD = 'POST'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/ko/user/register/'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f670d0ab648>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'Normal Page'), ('cms/develop.html', 'Developer Page'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Website User'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'User Comment'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /ru/gallery/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /ru/gallery/
TypeError at /ru/gallery/
SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request Method: GET
Request URL: https://inkscape.org/ru/gallery/?order=liked&page=2&q=../../../../../../../…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: Чт, 25 Июл 2024 09:35:00 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
680. data = super(ResourceList, self).get_context_data(**kwargs)
File "./resources/category_views.py" in get_context_data
390. cat.conclude(self)
File "./resources/category_views.py" in conclude
145. item.count = view.get_count(self.cid, item)
File "./resources/category_views.py" in get_count
259. return self.get_queryset(**{cid: item}).count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in count
522. return len(self)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in run
550. final_query = self.build_query()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in build_query
1252. query = self._query_from_search_node(self.query_filter)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1293. constructed_query_list = self._query_from_term(term, field_name, filter_type, is_not)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_term
1315. return [self.backend.parse_query(query)]
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in parse_query
846. return qp.parse_query(query_string, self.flags)
Exception Type: TypeError at /ru/gallery/
Exception Value: SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request information:
USER: AnonymousUser
GET:
order = 'liked'
page = '2'
q = '../../../../../../../../../../../../../../../proc/version'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'zh-hans'
csrftoken = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'ru'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=zh-hans; csrftoken=Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw; sessionid=tz82ost04ogli35qngp8xufgumecqi04'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/ru/gallery/'
QUERY_STRING = 'order=liked&page=2&q=../../../../../../../../../../../../../../../proc/version'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '51812'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/ru/gallery/?order=liked&page=2&q=../../../../../../../../../../../../../../../proc/version'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f670cb00138>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'Вы должны отправить сообщение на форум, прежде чем сможете отправлять личные сообщения.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Страница с тремя колонками'), ('cms/super.html', 'Полноэкранный'), ('cms/normal.html', 'Стандартная страница'), ('cms/develop.html', 'Страница разработчиков'), ('cms/withside.html', 'Страница с боковым меню'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Пользователь сайта'), ('resources.resource', 'Объект галереи'), ('django_comments.comment', 'Комментарии пользователей'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /ru/gallery/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /ru/gallery/
TypeError at /ru/gallery/
SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request Method: GET
Request URL: https://inkscape.org/ru/gallery/?order=liked&page=2&q=../../../../../../../…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: Чт, 25 Июл 2024 09:34:54 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
680. data = super(ResourceList, self).get_context_data(**kwargs)
File "./resources/category_views.py" in get_context_data
390. cat.conclude(self)
File "./resources/category_views.py" in conclude
145. item.count = view.get_count(self.cid, item)
File "./resources/category_views.py" in get_count
259. return self.get_queryset(**{cid: item}).count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in count
522. return len(self)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in run
550. final_query = self.build_query()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in build_query
1252. query = self._query_from_search_node(self.query_filter)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1293. constructed_query_list = self._query_from_term(term, field_name, filter_type, is_not)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_term
1315. return [self.backend.parse_query(query)]
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in parse_query
846. return qp.parse_query(query_string, self.flags)
Exception Type: TypeError at /ru/gallery/
Exception Value: SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request information:
USER: AnonymousUser
GET:
order = 'liked'
page = '2'
q = '../../../../../../../../../../../../../../windows/win.ini'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'zh-hans'
csrftoken = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'zh-hans'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=zh-hans; csrftoken=Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw; sessionid=tz82ost04ogli35qngp8xufgumecqi04'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/ru/gallery/'
QUERY_STRING = 'order=liked&page=2&q=../../../../../../../../../../../../../../windows/win.ini'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '52150'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/ru/gallery/?order=liked&page=2&q=../../../../../../../../../../../../../../windows/win.ini'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f671748aa50>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'Вы должны отправить сообщение на форум, прежде чем сможете отправлять личные сообщения.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Страница с тремя колонками'), ('cms/super.html', 'Полноэкранный'), ('cms/normal.html', 'Стандартная страница'), ('cms/develop.html', 'Страница разработчиков'), ('cms/withside.html', 'Страница с боковым меню'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Пользователь сайта'), ('resources.resource', 'Объект галереи'), ('django_comments.comment', 'Комментарии пользователей'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /ru/gallery/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /ru/gallery/
TypeError at /ru/gallery/
SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request Method: GET
Request URL: https://inkscape.org/ru/gallery/?order=liked&page=2&q=../../../../../../../…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: Чт, 25 Июл 2024 09:34:53 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
680. data = super(ResourceList, self).get_context_data(**kwargs)
File "./resources/category_views.py" in get_context_data
390. cat.conclude(self)
File "./resources/category_views.py" in conclude
145. item.count = view.get_count(self.cid, item)
File "./resources/category_views.py" in get_count
259. return self.get_queryset(**{cid: item}).count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in count
522. return len(self)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in run
550. final_query = self.build_query()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in build_query
1252. query = self._query_from_search_node(self.query_filter)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1293. constructed_query_list = self._query_from_term(term, field_name, filter_type, is_not)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_term
1315. return [self.backend.parse_query(query)]
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in parse_query
846. return qp.parse_query(query_string, self.flags)
Exception Type: TypeError at /ru/gallery/
Exception Value: SWIG director type mismatch in output value of type '(Xapian::valueno, std::string, std::string)'
Request information:
USER: AnonymousUser
GET:
order = 'liked'
page = '2'
q = '../../../../../../../../../../../../../../etc/passwd'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'zh-hans'
csrftoken = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'zh-hans'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=zh-hans; csrftoken=Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw; sessionid=tz82ost04ogli35qngp8xufgumecqi04'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/ru/gallery/'
QUERY_STRING = 'order=liked&page=2&q=../../../../../../../../../../../../../../etc/passwd'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '51732'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/ru/gallery/?order=liked&page=2&q=../../../../../../../../../../../../../../etc/passwd'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f671f841b70>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'Вы должны отправить сообщение на форум, прежде чем сможете отправлять личные сообщения.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Страница с тремя колонками'), ('cms/super.html', 'Полноэкранный'), ('cms/normal.html', 'Стандартная страница'), ('cms/develop.html', 'Страница разработчиков'), ('cms/withside.html', 'Страница с боковым меню'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Пользователь сайта'), ('resources.resource', 'Объект галереи'), ('django_comments.comment', 'Комментарии пользователей'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /gallery/19921/tally/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /gallery/19921/tally/
ValueError at /gallery/19921/tally/
invalid literal for int() with base 10: '1"><script>dqWm(9702)</script>'
Request Method: GET
Request URL: https://inkscape.org/gallery/19921/tally/?count=1%22%3E%3Cscript%3EdqWm(970…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: Thu, 25 Jul 2024 09:31:24 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/detail.py" in get
107. context = self.get_context_data(object=self.object)
File "./resources/views.py" in get_context_data
97. data['count'] = int(self.request.GET.get('count', 1))
Exception Type: ValueError at /gallery/19921/tally/
Exception Value: invalid literal for int() with base 10: '1"><script>dqWm(9702)</script>'
Request information:
USER: AnonymousUser
GET:
count = '1"><script>dqWm(9702)</script>'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'hr'
csrftoken = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
selected_tab = 'tab_votes'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'hr'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=hr; csrftoken=Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw; sessionid=tz82ost04ogli35qngp8xufgumecqi04; selected_tab=tab_votes'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/gallery/19921/tally/'
QUERY_STRING = 'count=1"><script>dqWm(9702)</script>'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '50736'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/gallery/19921/tally/?count=1"><script>dqWm(9702)</script>'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f670854cc30>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'Normal Page'), ('cms/develop.html', 'Developer Page'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Website User'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'User Comment'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /gallery/19921/tally/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /gallery/19921/tally/
ValueError at /gallery/19921/tally/
invalid literal for int() with base 10: '1"sTYLe=\'zzz:Expre/**/SSion(dqWm(9797))\'bad="'
Request Method: GET
Request URL: https://inkscape.org/gallery/19921/tally/?count=1%22sTYLe='zzz:Expre/**/SSion(dqWm(9797))'bad=%22
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: Thu, 25 Jul 2024 09:31:23 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/detail.py" in get
107. context = self.get_context_data(object=self.object)
File "./resources/views.py" in get_context_data
97. data['count'] = int(self.request.GET.get('count', 1))
Exception Type: ValueError at /gallery/19921/tally/
Exception Value: invalid literal for int() with base 10: '1"sTYLe=\'zzz:Expre/**/SSion(dqWm(9797))\'bad="'
Request information:
USER: AnonymousUser
GET:
count = '1"sTYLe=\'zzz:Expre/**/SSion(dqWm(9797))\'bad="'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'hr'
csrftoken = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
selected_tab = 'tab_votes'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'hr'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=hr; csrftoken=Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw; sessionid=tz82ost04ogli35qngp8xufgumecqi04; selected_tab=tab_votes'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/gallery/19921/tally/'
QUERY_STRING = 'count=1"sTYLe=\'zzz:Expre/**/SSion(dqWm(9797))\'bad="'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '50726'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/gallery/19921/tally/?count=1"sTYLe=\'zzz:Expre/**/SSion(dqWm(9797))\'bad="'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f670854c1b0>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'Normal Page'), ('cms/develop.html', 'Developer Page'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Website User'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'User Comment'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /gallery/19921/tally/
by webmaster@inkscape.org 25 Jul '24
by webmaster@inkscape.org 25 Jul '24
25 Jul '24
Internal Server Error: /gallery/19921/tally/
ValueError at /gallery/19921/tally/
invalid literal for int() with base 10: '�"onmouseover=dqWm(91445)//'
Request Method: GET
Request URL: https://inkscape.org/gallery/19921/tally/?count=%F6%22onmouseover=dqWm(9144…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: Thu, 25 Jul 2024 09:31:22 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/detail.py" in get
107. context = self.get_context_data(object=self.object)
File "./resources/views.py" in get_context_data
97. data['count'] = int(self.request.GET.get('count', 1))
Exception Type: ValueError at /gallery/19921/tally/
Exception Value: invalid literal for int() with base 10: '�"onmouseover=dqWm(91445)//'
Request information:
USER: AnonymousUser
GET:
count = '�"onmouseover=dqWm(91445)//'
POST: No POST data
FILES: No FILES data
COOKIES:
lang = 'hr'
csrftoken = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
sessionid = 'tz82ost04ogli35qngp8xufgumecqi04'
selected_tab = 'tab_votes'
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
CSRF_COOKIE = 'Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw'
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip,deflate,br'
HTTP_ACCEPT_LANGUAGE = 'hr'
HTTP_CONNECTION = 'Keep-alive'
HTTP_COOKIE = 'lang=hr; csrftoken=Y8FttonxMFIgcbn9PWVll80cJiKNkU4l7frQZwke9KwBvv2RPHYRFanVtr7XbSVw; sessionid=tz82ost04ogli35qngp8xufgumecqi04; selected_tab=tab_votes'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
PATH_INFO = '/gallery/19921/tally/'
QUERY_STRING = 'count=%F6"onmouseover=dqWm(91445)//'
REMOTE_ADDR = '45.150.131.115'
REMOTE_PORT = '50798'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/gallery/19921/tally/?count=%F6"onmouseover=dqWm(91445)//'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/tz82ost04ogli35qngp8xufgum…'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f671f8417c8>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'Normal Page'), ('cms/develop.html', 'Developer Page'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f672bee1268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Website User'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'User Comment'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0