forked from openspug/spug
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
250 changed files
with
250 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Oops, something went wrong.