summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
Diffstat (limited to 'store')
-rw-r--r--store/admin.py30
-rw-r--r--store/api.py30
-rw-r--r--store/management/commands/expire-downloads.py30
-rw-r--r--store/management/commands/store-sign-package.py30
-rw-r--r--store/management/commands/verify-upload-package.py30
-rw-r--r--store/migrations/0001_initial.py30
-rw-r--r--store/models.py30
-rw-r--r--store/utilities.py30
8 files changed, 240 insertions, 0 deletions
diff --git a/store/admin.py b/store/admin.py
index ca91506..04d2778 100644
--- a/store/admin.py
+++ b/store/admin.py
@@ -1,3 +1,33 @@
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
import os
from django import forms
diff --git a/store/api.py b/store/api.py
index 93faa9c..653e0fc 100644
--- a/store/api.py
+++ b/store/api.py
@@ -1,3 +1,33 @@
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
import os
import tempfile
import datetime
diff --git a/store/management/commands/expire-downloads.py b/store/management/commands/expire-downloads.py
index 3f13900..8ee8870 100644
--- a/store/management/commands/expire-downloads.py
+++ b/store/management/commands/expire-downloads.py
@@ -1,3 +1,33 @@
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
import os
import time
diff --git a/store/management/commands/store-sign-package.py b/store/management/commands/store-sign-package.py
index b3bbe62..048d371 100644
--- a/store/management/commands/store-sign-package.py
+++ b/store/management/commands/store-sign-package.py
@@ -1,3 +1,33 @@
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
import sys
from django.core.management.base import BaseCommand, CommandError
diff --git a/store/management/commands/verify-upload-package.py b/store/management/commands/verify-upload-package.py
index bb3cf4d..0e55d4d 100644
--- a/store/management/commands/verify-upload-package.py
+++ b/store/management/commands/verify-upload-package.py
@@ -1,3 +1,33 @@
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
import sys
from django.core.management.base import BaseCommand, CommandError
diff --git a/store/migrations/0001_initial.py b/store/migrations/0001_initial.py
index 8144e3c..db69580 100644
--- a/store/migrations/0001_initial.py
+++ b/store/migrations/0001_initial.py
@@ -1,4 +1,34 @@
# -*- coding: utf-8 -*-
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
from __future__ import unicode_literals
from django.db import models, migrations
diff --git a/store/models.py b/store/models.py
index dc22cd5..f1f104f 100644
--- a/store/models.py
+++ b/store/models.py
@@ -1,3 +1,33 @@
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
import os
from django.db import models
diff --git a/store/utilities.py b/store/utilities.py
index 31d2b98..cac77da 100644
--- a/store/utilities.py
+++ b/store/utilities.py
@@ -1,3 +1,33 @@
+#############################################################################
+##
+## Copyright (C) 2015 Pelagicore AG
+## Contact: http://www.qt.io/ or http://www.pelagicore.com/
+##
+## This file is part of the Neptune AppStore Server
+##
+## $QT_BEGIN_LICENSE:GPL3-PELAGICORE$
+## Commercial License Usage
+## Licensees holding valid commercial Neptune AppStore Server
+## licenses may use this file in accordance with the commercial license
+## agreement provided with the Software or, alternatively, in accordance
+## with the terms contained in a written agreement between you and
+## Pelagicore. For licensing terms and conditions, contact us at:
+## http://www.pelagicore.com.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPLv3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU General Public License version 3 requirements will be
+## met: http://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+## SPDX-License-Identifier: GPL-3.0
+##
+#############################################################################
+
import tarfile
import hashlib
import hmac