Skip to content

Commit

Permalink
U update License
Browse files Browse the repository at this point in the history
  • Loading branch information
zyupo committed Jun 14, 2020
1 parent 5a8fbf4 commit d542289
Show file tree
Hide file tree
Showing 250 changed files with 250 additions and 250 deletions.
2 changes: 1 addition & 1 deletion docs/Dockerfile/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.

FROM python:3.6.10-alpine3.11

Expand Down
2 changes: 1 addition & 1 deletion docs/Dockerfile/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.

set -e

Expand Down
2 changes: 1 addition & 1 deletion docs/Dockerfile/spug.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; # Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
; # Copyright: (c) <[email protected]>
; # Released under the MIT License.
; # Released under the AGPL-3.0 License.

[supervisord]
nodaemon=true
Expand Down
2 changes: 1 addition & 1 deletion docs/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.

set -e

Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/account/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/account/management/commands/initdb.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.core.management.base import BaseCommand
from django.core.management import execute_from_command_line
from django.conf import settings
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/account/management/commands/update.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.core.management.base import BaseCommand
from django.conf import settings
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/account/management/commands/user.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.core.management.base import BaseCommand
from apps.account.models import User

Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/account/management/commands/useradd.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.core.management.base import BaseCommand
from apps.account.models import User

Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/account/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from django.contrib.auth.hashers import make_password, check_password
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/account/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.conf.urls import url

from apps.account.views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/account/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.core.cache import cache
from django.views.generic import View
from django.db.models import F
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/alarm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/alarm/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from apps.account.models import User
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/alarm/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/alarm/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from apps.alarm.models import Alarm
from datetime import datetime, timedelta

Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/alarm/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.views.generic import View
from libs import json_response, JsonParser, Argument
from apps.alarm.models import Alarm, Group, Contact
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/apis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/apis/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.http.response import HttpResponse
from django_redis import get_redis_connection
from apps.config.models import Config, Service, Environment
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/apis/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from apps.apis import config
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/app/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from apps.account.models import User
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/app/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/app/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.conf import settings
from apps.app.models import Deploy
from apps.setting.utils import AppSetting
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/app/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.views.generic import View
from django.db.models import F
from libs import JsonParser, Argument, json_response
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/config/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from apps.account.models import User
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/config/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/config/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.views.generic import View
from django.db.models import F
from libs import json_response, JsonParser, Argument
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/deploy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/deploy/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from apps.account.models import User
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/deploy/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/deploy/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django_redis import get_redis_connection
from django.conf import settings
from libs.utils import AttrDict, human_time, human_datetime
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/deploy/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.views.generic import View
from django.db.models import F
from django.conf import settings
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/exec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/exec/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from apps.account.models import User
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/exec/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.conf.urls import url

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/exec/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.views.generic import View
from libs import json_response, JsonParser, Argument, human_datetime
from libs.channel import Channel
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/file/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/file/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/file/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.http import FileResponse
import stat
import time
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/file/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.views.generic import View
from django_redis import get_redis_connection
from apps.host.models import Host
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/home/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/home/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/home/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db.models import F
from apps.app.models import App
from apps.host.models import Host
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/host/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/host/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from apps.account.models import User
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/host/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.urls import path

from .views import *
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/host/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.views.generic import View
from django.db.models import F
from libs import json_response, JsonParser, Argument
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/monitor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
2 changes: 1 addition & 1 deletion spug_api/apps/monitor/executors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from libs.ssh import SSH
from apps.host.models import Host
from apps.setting.utils import AppSetting
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/monitor/management/commands/runmonitor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.core.management.base import BaseCommand
from apps.monitor.scheduler import Scheduler

Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/monitor/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from django.db import models
from libs import ModelMixin, human_datetime
from apps.account.models import User
Expand Down
2 changes: 1 addition & 1 deletion spug_api/apps/monitor/scheduler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <[email protected]>
# Released under the MIT License.
# Released under the AGPL-3.0 License.
from apscheduler.schedulers.background import BackgroundScheduler
from apscheduler.executors.pool import ThreadPoolExecutor
from apscheduler.triggers.interval import IntervalTrigger
Expand Down
Loading

0 comments on commit d542289

Please sign in to comment.