dolweb: make licensing situation more explicit

This commit is contained in:
Pierre Bourdon 2018-08-04 02:33:03 +02:00
parent 03c110d6e7
commit d3f652bd6d
51 changed files with 171 additions and 0 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Dolphin Emulator Website Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.contrib import admin
from django.forms import Widget

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.http import Http404
from django.shortcuts import get_object_or_404

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.db import models
from django.utils.html import linebreaks

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.template import Library
register = Library()

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.conf.urls import url, include
from dolweb.blog.feeds import SeriesFeed

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from annoying.decorators import render_to
from django.conf import settings
from django.core.paginator import Paginator, EmptyPage

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.contrib import admin
from dolweb.compat.models import Page

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.core.management.base import BaseCommand, CommandError
from dolweb.compat.models import Page

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from datetime import datetime
from django.conf import settings
from django.core.cache import cache

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django import template
from django.conf import settings
from django.contrib.staticfiles.storage import staticfiles_storage

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf.urls import url
from dolweb.compat.views import list_compat

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from annoying.decorators import render_to
from django.views.decorators.cache import cache_page
from dolweb.compat.models import Page, Namespace, get_category_id, \

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.contrib import admin
from dolweb.docs.models import FAQCategory, FAQ, Guide

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.core.management.base import BaseCommand

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.db import models
from django.urls import reverse

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
import markdown
from django import template

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf.urls import url
from dolweb.docs.views import faq, faq_dyni18n_po, guides_index, guide

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from annoying.decorators import render_to
from django.http import HttpResponse
from django.shortcuts import get_object_or_404

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.contrib import admin
from dolweb.downloads.models import Artifact, BranchInfo, ReleaseVersion, DevVersion

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
import functools
import math
from django.core.paginator import \

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.db import models
from django.utils.safestring import mark_safe

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django import template
register = template.Library()

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf.urls import url
from dolweb.downloads import views

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from annoying.decorators import render_to
from django.conf import settings
from django.core.paginator import EmptyPage

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.contrib import admin
from dolweb.homepage.models import NewsArticle

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.apps import AppConfig
class HomepageConfig(AppConfig):

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.db import models

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django import template
from django.conf import settings
from dolweb.utils.monkey import TO_FULL

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from annoying.decorators import render_to
from django.conf import settings
from dolweb.downloads.models import DevVersion, ReleaseVersion

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.http import Http404, HttpResponse

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.contrib import admin
from dolweb.media.models import Screenshot

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.db import models
from sorl import thumbnail

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
"""
This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf.urls import url
from dolweb.media import views

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from annoying.decorators import render_to
from django.views.decorators.cache import cache_page
from dolweb.media.models import Screenshot

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
# Django settings for dolweb project.
# -*- encoding: utf-8 -*-

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.contrib import admin
from dolweb.update.models import UpdateTrack

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.db import models
from dolweb.downloads.models import DevVersion

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf.urls import url
from dolweb.update import views

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.http import HttpResponseBadRequest, HttpResponseNotFound, JsonResponse
from dolweb.downloads.models import DevVersion

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.static import static

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
def website_urls(request):

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.http import HttpResponseRedirect
from django.utils.translation.trans_real import parse_accept_lang_header

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
class WikiRouter(object):

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.conf import settings
from django.utils.translation import get_language

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.db import models
class DefaultSelectOrPrefetchManager(models.Manager):

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from django.utils.translation.trans_real import *
from django.utils.translation import trans_real

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
"""
WSGI config for dolweb project.

3
fabfile.py vendored
View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
from fabric.api import *
env.user = 'dolphin-emu'

View File

@ -1,3 +1,6 @@
# Copyright (c) 2018 Dolphin Emulator Website Contributors
# SPDX-License-Identifier: MIT
#!/usr/bin/env python
import os
import sys