From df15dd153b31f9358aefb033829f60212e784a05 Mon Sep 17 00:00:00 2001 From: aljaxus Date: Mon, 22 Jul 2019 02:24:12 +0200 Subject: [PATCH] docker-rework commit #1 --- LICENSE | 0 README.md | 6 +- docker-compose.yml | 20 ++ requirements.txt | 4 +- .../__init__.py => server/.dockerignore | 0 .../DjangoPowerDNS}/__init__.py | 0 .../DjangoPowerDNS/settings.dist | 0 server/DjangoPowerDNS/settings.py.dist | 208 ++++++++++++++++++ .../DjangoPowerDNS}/urls.py | 0 .../DjangoPowerDNS}/wsgi.py | 0 server/dockerfile | 18 ++ {dpdns => server/dpdns}/__init__.py | 0 {dpdns => server/dpdns}/admin.py | 0 {dpdns => server/dpdns}/api.py | 0 {dpdns => server/dpdns}/api_permissions.py | 0 {dpdns => server/dpdns}/apps.py | 0 {dpdns => server/dpdns}/context_processors.py | 0 {dpdns => server/dpdns}/forms.py | 0 .../dpdns}/migrations/0001_initial.py | 0 .../migrations/0002_auto_20171013_1319.py | 0 server/dpdns/migrations/__init__.py | 0 {dpdns => server/dpdns}/models.py | 0 {dpdns => server/dpdns}/serializers.py | 0 {dpdns => server/dpdns}/signals.py | 0 .../dpdns}/templatetags/__init__.py | 0 {dpdns => server/dpdns}/templatetags/tags.py | 0 {dpdns => server/dpdns}/tests.py | 0 {dpdns => server/dpdns}/views.py | 0 server/init_createsuperuser.py | 11 + manage.py => server/manage.py | 0 .../bootstrap-4.1.3/css/bootstrap-grid.css | 0 .../css/bootstrap-grid.css.map | 0 .../css/bootstrap-grid.min.css | 0 .../css/bootstrap-grid.min.css.map | 0 .../bootstrap-4.1.3/css/bootstrap-reboot.css | 0 .../css/bootstrap-reboot.css.map | 0 .../css/bootstrap-reboot.min.css | 0 .../css/bootstrap-reboot.min.css.map | 0 .../static}/bootstrap-4.1.3/css/bootstrap.css | 0 .../bootstrap-4.1.3/css/bootstrap.css.map | 0 .../bootstrap-4.1.3/css/bootstrap.min.css | 0 .../bootstrap-4.1.3/css/bootstrap.min.css.map | 0 .../bootstrap-4.1.3/js/bootstrap.bundle.js | 0 .../js/bootstrap.bundle.js.map | 0 .../js/bootstrap.bundle.min.js | 0 .../js/bootstrap.bundle.min.js.map | 0 .../static}/bootstrap-4.1.3/js/bootstrap.js | 0 .../bootstrap-4.1.3/js/bootstrap.js.map | 0 .../bootstrap-4.1.3/js/bootstrap.min.js | 0 .../bootstrap-4.1.3/js/bootstrap.min.js.map | 0 {static => server/static}/css/animate.css | 0 .../static}/css/toastr-2.1.3.min.css | 0 .../font-awesome-4.7.0/HELP-US-OUT.txt | 0 .../font-awesome-4.7.0/css/font-awesome.css | 0 .../css/font-awesome.min.css | 0 .../font-awesome-4.7.0/fonts/FontAwesome.otf | Bin .../fonts/fontawesome-webfont.eot | Bin .../fonts/fontawesome-webfont.svg | 0 .../fonts/fontawesome-webfont.ttf | Bin .../fonts/fontawesome-webfont.woff | Bin .../fonts/fontawesome-webfont.woff2 | Bin .../font-awesome-4.7.0/less/animated.less | 0 .../less/bordered-pulled.less | 0 .../static}/font-awesome-4.7.0/less/core.less | 0 .../font-awesome-4.7.0/less/fixed-width.less | 0 .../font-awesome-4.7.0/less/font-awesome.less | 0 .../font-awesome-4.7.0/less/icons.less | 0 .../font-awesome-4.7.0/less/larger.less | 0 .../static}/font-awesome-4.7.0/less/list.less | 0 .../font-awesome-4.7.0/less/mixins.less | 0 .../static}/font-awesome-4.7.0/less/path.less | 0 .../less/rotated-flipped.less | 0 .../less/screen-reader.less | 0 .../font-awesome-4.7.0/less/stacked.less | 0 .../font-awesome-4.7.0/less/variables.less | 0 .../font-awesome-4.7.0/scss/_animated.scss | 0 .../scss/_bordered-pulled.scss | 0 .../font-awesome-4.7.0/scss/_core.scss | 0 .../font-awesome-4.7.0/scss/_fixed-width.scss | 0 .../font-awesome-4.7.0/scss/_icons.scss | 0 .../font-awesome-4.7.0/scss/_larger.scss | 0 .../font-awesome-4.7.0/scss/_list.scss | 0 .../font-awesome-4.7.0/scss/_mixins.scss | 0 .../font-awesome-4.7.0/scss/_path.scss | 0 .../scss/_rotated-flipped.scss | 0 .../scss/_screen-reader.scss | 0 .../font-awesome-4.7.0/scss/_stacked.scss | 0 .../font-awesome-4.7.0/scss/_variables.scss | 0 .../font-awesome-4.7.0/scss/font-awesome.scss | 0 {static => server/static}/img/brillant.png | Bin .../static}/img/brillant_@2X.png | Bin .../static}/img/concrete_seamless.png | Bin {static => server/static}/img/cream_dust.png | Bin .../static}/img/cream_dust_@2X.png | Bin {static => server/static}/img/crossword.png | Bin {static => server/static}/img/cubes.png | Bin {static => server/static}/img/cubes_@2X.png | Bin .../static}/img/fabric_of_squares_gray.png | Bin {static => server/static}/img/geometry2.png | Bin {static => server/static}/img/grey.png | Bin {static => server/static}/img/grey_@2X.png | Bin {static => server/static}/img/ticks.png | Bin .../static}/js/bootstrap-notify.min.js | 0 .../static}/js/knockout-3.4.2.debug.js | 0 .../static}/js/knockout-3.4.2.js | 0 .../static}/js/navigo-226.min.js | 0 .../static}/js/toastr-2.1.3.min.js | 0 {static => server/static}/loader/Ellipsis.gif | Bin {static => server/static}/loader/Ellipsis.svg | 0 .../static}/sweetalert-master/.editorconfig | 0 .../static}/sweetalert-master/.gitignore | 0 .../static}/sweetalert-master/.jshintrc | 0 .../static}/sweetalert-master/.travis.yml | 0 .../static}/sweetalert-master/LICENSE | 0 .../static}/sweetalert-master/README.md | 0 .../static}/sweetalert-master/bower.json | 0 .../dev/gulpfile-wrap-template.js | 0 .../static}/sweetalert-master/dev/ie9.css | 0 .../dev/loader-animation.css | 0 .../dev/modules/default-params.js | 0 .../dev/modules/handle-click.js | 0 .../dev/modules/handle-dom.js | 0 .../dev/modules/handle-key.js | 0 .../dev/modules/handle-swal-dom.js | 0 .../dev/modules/injected-html.js | 0 .../dev/modules/set-params.js | 0 .../sweetalert-master/dev/modules/utils.js | 0 .../sweetalert-master/dev/sweetalert.es6.js | 0 .../sweetalert-master/dev/sweetalert.scss | 0 .../sweetalert-master/dist/sweetalert-dev.js | 0 .../sweetalert-master/dist/sweetalert.css | 0 .../sweetalert-master/dist/sweetalert.min.js | 0 .../sweetalert-master/example/example.css | 0 .../sweetalert-master/example/example.scss | 0 .../example/images/logo_big.png | Bin .../example/images/logo_big@2x.png | Bin .../example/images/logo_small.png | Bin .../example/images/logo_small@2x.png | Bin .../example/images/te-logo-small.svg | 0 .../example/images/thumbs-up.jpg | Bin .../example/images/vs_icon.png | Bin .../example/images/vs_icon@2x.png | Bin .../static}/sweetalert-master/gulpfile.js | 0 .../static}/sweetalert-master/index.html | 0 .../static}/sweetalert-master/package.json | 0 .../static}/sweetalert-master/sweetalert.gif | Bin .../static}/sweetalert-master/test/index.html | 0 .../static}/sweetalert-master/test/tests.js | 0 .../themes/facebook/facebook.css | 0 .../themes/facebook/facebook.scss | 0 .../themes/google/google.css | 0 .../themes/google/google.scss | 0 .../themes/twitter/twitter.css | 0 .../themes/twitter/twitter.scss | 0 {templates => server/templates}/base.html | 0 .../templates}/domain-add.html | 0 .../templates}/domain-api.html | 0 .../templates}/domain-claim.html | 0 .../templates}/domain-user-add.html | 0 .../templates}/domain-users.html | 0 {templates => server/templates}/domain.html | 0 {templates => server/templates}/domains.html | 0 {templates => server/templates}/index.html | 0 {templates => server/templates}/login.html | 0 server/templates/uwsgi-config.ini | 22 ++ 165 files changed, 283 insertions(+), 6 deletions(-) mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md create mode 100755 docker-compose.yml mode change 100644 => 100755 requirements.txt rename dpdns/migrations/__init__.py => server/.dockerignore (100%) mode change 100644 => 100755 rename {DjangoPowerDNS => server/DjangoPowerDNS}/__init__.py (100%) mode change 100644 => 100755 rename DjangoPowerDNS/settings.py.dist => server/DjangoPowerDNS/settings.dist (100%) mode change 100644 => 100755 create mode 100755 server/DjangoPowerDNS/settings.py.dist rename {DjangoPowerDNS => server/DjangoPowerDNS}/urls.py (100%) mode change 100644 => 100755 rename {DjangoPowerDNS => server/DjangoPowerDNS}/wsgi.py (100%) mode change 100644 => 100755 create mode 100755 server/dockerfile rename {dpdns => server/dpdns}/__init__.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/admin.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/api.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/api_permissions.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/apps.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/context_processors.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/forms.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/migrations/0001_initial.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/migrations/0002_auto_20171013_1319.py (100%) mode change 100644 => 100755 create mode 100755 server/dpdns/migrations/__init__.py rename {dpdns => server/dpdns}/models.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/serializers.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/signals.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/templatetags/__init__.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/templatetags/tags.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/tests.py (100%) mode change 100644 => 100755 rename {dpdns => server/dpdns}/views.py (100%) mode change 100644 => 100755 create mode 100755 server/init_createsuperuser.py rename manage.py => server/manage.py (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-grid.css (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-grid.css.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-grid.min.css (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-grid.min.css.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-reboot.css (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-reboot.css.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-reboot.min.css (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap-reboot.min.css.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap.css (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap.css.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap.min.css (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/css/bootstrap.min.css.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.bundle.js (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.bundle.js.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.bundle.min.js (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.bundle.min.js.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.js (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.js.map (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.min.js (100%) mode change 100644 => 100755 rename {static => server/static}/bootstrap-4.1.3/js/bootstrap.min.js.map (100%) mode change 100644 => 100755 rename {static => server/static}/css/animate.css (100%) mode change 100644 => 100755 rename {static => server/static}/css/toastr-2.1.3.min.css (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/HELP-US-OUT.txt (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/css/font-awesome.css (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/css/font-awesome.min.css (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/fonts/FontAwesome.otf (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/fonts/fontawesome-webfont.eot (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/fonts/fontawesome-webfont.svg (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/fonts/fontawesome-webfont.woff (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/animated.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/bordered-pulled.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/core.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/fixed-width.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/font-awesome.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/icons.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/larger.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/list.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/mixins.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/path.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/rotated-flipped.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/screen-reader.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/stacked.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/less/variables.less (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_animated.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_bordered-pulled.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_core.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_fixed-width.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_icons.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_larger.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_list.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_mixins.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_path.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_rotated-flipped.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_screen-reader.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_stacked.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/_variables.scss (100%) mode change 100644 => 100755 rename {static => server/static}/font-awesome-4.7.0/scss/font-awesome.scss (100%) mode change 100644 => 100755 rename {static => server/static}/img/brillant.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/brillant_@2X.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/concrete_seamless.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/cream_dust.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/cream_dust_@2X.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/crossword.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/cubes.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/cubes_@2X.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/fabric_of_squares_gray.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/geometry2.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/grey.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/grey_@2X.png (100%) mode change 100644 => 100755 rename {static => server/static}/img/ticks.png (100%) mode change 100644 => 100755 rename {static => server/static}/js/bootstrap-notify.min.js (100%) mode change 100644 => 100755 rename {static => server/static}/js/knockout-3.4.2.debug.js (100%) mode change 100644 => 100755 rename {static => server/static}/js/knockout-3.4.2.js (100%) mode change 100644 => 100755 rename {static => server/static}/js/navigo-226.min.js (100%) mode change 100644 => 100755 rename {static => server/static}/js/toastr-2.1.3.min.js (100%) mode change 100644 => 100755 rename {static => server/static}/loader/Ellipsis.gif (100%) mode change 100644 => 100755 rename {static => server/static}/loader/Ellipsis.svg (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/.editorconfig (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/.gitignore (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/.jshintrc (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/.travis.yml (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/LICENSE (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/README.md (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/bower.json (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/gulpfile-wrap-template.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/ie9.css (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/loader-animation.css (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/default-params.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/handle-click.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/handle-dom.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/handle-key.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/handle-swal-dom.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/injected-html.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/set-params.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/modules/utils.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/sweetalert.es6.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dev/sweetalert.scss (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dist/sweetalert-dev.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dist/sweetalert.css (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/dist/sweetalert.min.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/example.css (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/example.scss (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/logo_big.png (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/logo_big@2x.png (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/logo_small.png (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/logo_small@2x.png (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/te-logo-small.svg (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/thumbs-up.jpg (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/vs_icon.png (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/example/images/vs_icon@2x.png (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/gulpfile.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/index.html (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/package.json (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/sweetalert.gif (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/test/index.html (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/test/tests.js (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/themes/facebook/facebook.css (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/themes/facebook/facebook.scss (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/themes/google/google.css (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/themes/google/google.scss (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/themes/twitter/twitter.css (100%) mode change 100644 => 100755 rename {static => server/static}/sweetalert-master/themes/twitter/twitter.scss (100%) mode change 100644 => 100755 rename {templates => server/templates}/base.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/domain-add.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/domain-api.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/domain-claim.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/domain-user-add.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/domain-users.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/domain.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/domains.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/index.html (100%) mode change 100644 => 100755 rename {templates => server/templates}/login.html (100%) mode change 100644 => 100755 create mode 100755 server/templates/uwsgi-config.ini diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index e26070e..b5db886 --- a/README.md +++ b/README.md @@ -28,10 +28,8 @@ ___ | | | |:-------------:|:-------------:| -|![Domain list](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010520.png "Domain list")|![Records list](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010707.png "Records list")| -|![Records list filtered](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010719.png "Records list filtered")|![Records list editing](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010732.png "Records list editing")| -|![Records list add](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010743.png "Records list add")|![Records list delete](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010944.png "Records list delete")| -|![API preview](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010913.png "API preview")|| +|![Domain list](https://upl0ad.cloud/K738.png "Domain list")|![Records list](https://upl0ad.cloud/EtIL.png "Records list")| +|![API preview](https://upl0ad.cloud/1pVW.png "API preview")|| | | | ___ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100755 index 0000000..2b62621 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +version: "3.4" +services: + + server: + container_name: powerDNS + restart: unless-stopped + image: powerDNS:latest + build: + context: ./server + dockerfile: dockerfile + command: ["uwsgi"] + volumes: + healthcheck: + test: ["CMD", "curl", "-sSG", "http://localhost:80"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 15s + ports: + - "8080:80" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 index cd63643..17b0b47 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -Django==1.11.19 +Django==1.11.18 django-activeurl==0.1.9 django-appconf==1.0.2 django-bootstrap3==9.0.0 django-bootstrap4==0.0.1 -djangorestframework==3.9.1 +djangorestframework==3.6.3 ipaddress==1.0.18 virtualenv==1.11.6 mysql-python==1.2.5 diff --git a/dpdns/migrations/__init__.py b/server/.dockerignore old mode 100644 new mode 100755 similarity index 100% rename from dpdns/migrations/__init__.py rename to server/.dockerignore diff --git a/DjangoPowerDNS/__init__.py b/server/DjangoPowerDNS/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from DjangoPowerDNS/__init__.py rename to server/DjangoPowerDNS/__init__.py diff --git a/DjangoPowerDNS/settings.py.dist b/server/DjangoPowerDNS/settings.dist old mode 100644 new mode 100755 similarity index 100% rename from DjangoPowerDNS/settings.py.dist rename to server/DjangoPowerDNS/settings.dist diff --git a/server/DjangoPowerDNS/settings.py.dist b/server/DjangoPowerDNS/settings.py.dist new file mode 100755 index 0000000..f059493 --- /dev/null +++ b/server/DjangoPowerDNS/settings.py.dist @@ -0,0 +1,208 @@ +# -- +# DjangoPowerDNS - A PowerDNS web interface +# Copyright (C) 2017 McLive +# -- +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU AFFERO General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# -- + +""" +Django settings for DjangoPowerDNS project. + +Generated by 'django-admin startproject' using Django 1.11.4. + +For more information on this file, see +https://docs.djangoproject.com/en/1.11/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/1.11/ref/settings/ +""" + +import os + +# Build paths inside the project like this: os.path.join(BASE_DIR, ...) +BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'soome-secret-key--please-change-me-now' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = False + +ALLOWED_HOSTS = [ + u'i.am.allowed.host' +] + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', + 'dpdns.apps.DpdnsConfig', + 'django_activeurl', + 'bootstrap3', + 'bootstrap4', + 'dpdns.templatetags.tags', + 'rest_framework', + #'rest_framework.authtoken', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'DjangoPowerDNS.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [os.path.join(BASE_DIR, 'templates')] + , + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + 'dpdns.context_processors.enabled_record_types', + ], + }, + }, +] + +REST_FRAMEWORK = { + 'DEFAULT_AUTHENTICATION_CLASSES': ( + #'rest_framework.authentication.TokenAuthentication', + #'dpdns.api.TokenAuthentication', + ), + 'DEFAULT_PERMISSION_CLASSES': ( + #'dpdns.api_permissions.HasAPIAccess', + ) +} + +WSGI_APPLICATION = 'DjangoPowerDNS.wsgi.application' + +# Database +# https://docs.djangoproject.com/en/1.11/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.mysql', + 'NAME': 'powerdns', + 'USER': 'powerdns', + 'PASSWORD': 'powerdns-password', + 'HOST': 'localhost', + 'PORT': '3306', + } +} + +# Password validation +# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + +STATICFILES_DIRS = ( + BASE_DIR + '/static/', +) + +MEDIA_ROOT = BASE_DIR + '/media/' +MEDIA_URL = '/media/' + +# Internationalization +# https://docs.djangoproject.com/en/1.11/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_L10N = True + +USE_TZ = True + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/1.11/howto/static-files/ + +STATIC_URL = '/static/' +LOGIN_URL = '/login/' + +# PowerDNS Manager Settings + +PDNS_DEFAULT_ZONE_TYPE = 'NATIVE' + +PDNS_DEFAULT_RR_TTL = 3600 + +PDNS_ENABLED_RR_TYPES = [ + 'A', + 'AAAA', + 'CNAME', + 'SRV', + 'SOA', + 'NS', + 'MX', + 'PTR', + 'TXT', + 'SPF', + 'CERT', + 'DNSKEY', + 'DS', + 'KEY', + 'NSEC', + 'RRSIG', + 'HINFO', + 'LOC', + 'NAPTR', + 'RP', + 'AFSDB', + 'SSHFP', +] + +PDNS_DEFAULT_SOA = { + 'PRIMARY_NS': "ns1.host.tld", + 'EMAIL': "hostmaster@host.tld" +} + +PDNS_EXCLUDE_RECORDS = [ + { + 'domain': 1, + 'regex': r'(vps)\d+' # example exclude vps654564734.yourdomain.tld from being shown in the web interface. + } +] diff --git a/DjangoPowerDNS/urls.py b/server/DjangoPowerDNS/urls.py old mode 100644 new mode 100755 similarity index 100% rename from DjangoPowerDNS/urls.py rename to server/DjangoPowerDNS/urls.py diff --git a/DjangoPowerDNS/wsgi.py b/server/DjangoPowerDNS/wsgi.py old mode 100644 new mode 100755 similarity index 100% rename from DjangoPowerDNS/wsgi.py rename to server/DjangoPowerDNS/wsgi.py diff --git a/server/dockerfile b/server/dockerfile new file mode 100755 index 0000000..7560658 --- /dev/null +++ b/server/dockerfile @@ -0,0 +1,18 @@ +FROM debian:latest +# Metadata +LABEL maintainer="mail@mclive.eu" +# Pre-build +WORKDIR /var/server +RUN apt update -y +RUN apt install -y uwsgi python-mysqldb libmariadbclient-dev +RUN cp ./templates/uwsgi-config.ini /etc/uwsgi/apps-enabled/dpdns.ini +RUN pip install virtualenv +RUN virtualenv venv +RUN source venv/bin/activate +# Build data +COPY ./* ./ +RUN pip install -r requirements.txt +RUN python manage.py migrate +RUN python init_createsuperuser.py +# Run on startup +CMD uwsgi \ No newline at end of file diff --git a/dpdns/__init__.py b/server/dpdns/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/__init__.py rename to server/dpdns/__init__.py diff --git a/dpdns/admin.py b/server/dpdns/admin.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/admin.py rename to server/dpdns/admin.py diff --git a/dpdns/api.py b/server/dpdns/api.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/api.py rename to server/dpdns/api.py diff --git a/dpdns/api_permissions.py b/server/dpdns/api_permissions.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/api_permissions.py rename to server/dpdns/api_permissions.py diff --git a/dpdns/apps.py b/server/dpdns/apps.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/apps.py rename to server/dpdns/apps.py diff --git a/dpdns/context_processors.py b/server/dpdns/context_processors.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/context_processors.py rename to server/dpdns/context_processors.py diff --git a/dpdns/forms.py b/server/dpdns/forms.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/forms.py rename to server/dpdns/forms.py diff --git a/dpdns/migrations/0001_initial.py b/server/dpdns/migrations/0001_initial.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/migrations/0001_initial.py rename to server/dpdns/migrations/0001_initial.py diff --git a/dpdns/migrations/0002_auto_20171013_1319.py b/server/dpdns/migrations/0002_auto_20171013_1319.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/migrations/0002_auto_20171013_1319.py rename to server/dpdns/migrations/0002_auto_20171013_1319.py diff --git a/server/dpdns/migrations/__init__.py b/server/dpdns/migrations/__init__.py new file mode 100755 index 0000000..e69de29 diff --git a/dpdns/models.py b/server/dpdns/models.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/models.py rename to server/dpdns/models.py diff --git a/dpdns/serializers.py b/server/dpdns/serializers.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/serializers.py rename to server/dpdns/serializers.py diff --git a/dpdns/signals.py b/server/dpdns/signals.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/signals.py rename to server/dpdns/signals.py diff --git a/dpdns/templatetags/__init__.py b/server/dpdns/templatetags/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/templatetags/__init__.py rename to server/dpdns/templatetags/__init__.py diff --git a/dpdns/templatetags/tags.py b/server/dpdns/templatetags/tags.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/templatetags/tags.py rename to server/dpdns/templatetags/tags.py diff --git a/dpdns/tests.py b/server/dpdns/tests.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/tests.py rename to server/dpdns/tests.py diff --git a/dpdns/views.py b/server/dpdns/views.py old mode 100644 new mode 100755 similarity index 100% rename from dpdns/views.py rename to server/dpdns/views.py diff --git a/server/init_createsuperuser.py b/server/init_createsuperuser.py new file mode 100755 index 0000000..46898ed --- /dev/null +++ b/server/init_createsuperuser.py @@ -0,0 +1,11 @@ +from django.contrib.auth.models import User; + +username = 'administrator'; +password = 'administrator'; +email = 'administrator@local'; + +if User.objects.filter(username=username).count()==0: + User.objects.create_superuser(username, email, password); + print('Superuser created.'); +else: + print('Superuser creation skipped.'); \ No newline at end of file diff --git a/manage.py b/server/manage.py old mode 100644 new mode 100755 similarity index 100% rename from manage.py rename to server/manage.py diff --git a/static/bootstrap-4.1.3/css/bootstrap-grid.css b/server/static/bootstrap-4.1.3/css/bootstrap-grid.css old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-grid.css rename to server/static/bootstrap-4.1.3/css/bootstrap-grid.css diff --git a/static/bootstrap-4.1.3/css/bootstrap-grid.css.map b/server/static/bootstrap-4.1.3/css/bootstrap-grid.css.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-grid.css.map rename to server/static/bootstrap-4.1.3/css/bootstrap-grid.css.map diff --git a/static/bootstrap-4.1.3/css/bootstrap-grid.min.css b/server/static/bootstrap-4.1.3/css/bootstrap-grid.min.css old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-grid.min.css rename to server/static/bootstrap-4.1.3/css/bootstrap-grid.min.css diff --git a/static/bootstrap-4.1.3/css/bootstrap-grid.min.css.map b/server/static/bootstrap-4.1.3/css/bootstrap-grid.min.css.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-grid.min.css.map rename to server/static/bootstrap-4.1.3/css/bootstrap-grid.min.css.map diff --git a/static/bootstrap-4.1.3/css/bootstrap-reboot.css b/server/static/bootstrap-4.1.3/css/bootstrap-reboot.css old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-reboot.css rename to server/static/bootstrap-4.1.3/css/bootstrap-reboot.css diff --git a/static/bootstrap-4.1.3/css/bootstrap-reboot.css.map b/server/static/bootstrap-4.1.3/css/bootstrap-reboot.css.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-reboot.css.map rename to server/static/bootstrap-4.1.3/css/bootstrap-reboot.css.map diff --git a/static/bootstrap-4.1.3/css/bootstrap-reboot.min.css b/server/static/bootstrap-4.1.3/css/bootstrap-reboot.min.css old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-reboot.min.css rename to server/static/bootstrap-4.1.3/css/bootstrap-reboot.min.css diff --git a/static/bootstrap-4.1.3/css/bootstrap-reboot.min.css.map b/server/static/bootstrap-4.1.3/css/bootstrap-reboot.min.css.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap-reboot.min.css.map rename to server/static/bootstrap-4.1.3/css/bootstrap-reboot.min.css.map diff --git a/static/bootstrap-4.1.3/css/bootstrap.css b/server/static/bootstrap-4.1.3/css/bootstrap.css old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap.css rename to server/static/bootstrap-4.1.3/css/bootstrap.css diff --git a/static/bootstrap-4.1.3/css/bootstrap.css.map b/server/static/bootstrap-4.1.3/css/bootstrap.css.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap.css.map rename to server/static/bootstrap-4.1.3/css/bootstrap.css.map diff --git a/static/bootstrap-4.1.3/css/bootstrap.min.css b/server/static/bootstrap-4.1.3/css/bootstrap.min.css old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap.min.css rename to server/static/bootstrap-4.1.3/css/bootstrap.min.css diff --git a/static/bootstrap-4.1.3/css/bootstrap.min.css.map b/server/static/bootstrap-4.1.3/css/bootstrap.min.css.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/css/bootstrap.min.css.map rename to server/static/bootstrap-4.1.3/css/bootstrap.min.css.map diff --git a/static/bootstrap-4.1.3/js/bootstrap.bundle.js b/server/static/bootstrap-4.1.3/js/bootstrap.bundle.js old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.bundle.js rename to server/static/bootstrap-4.1.3/js/bootstrap.bundle.js diff --git a/static/bootstrap-4.1.3/js/bootstrap.bundle.js.map b/server/static/bootstrap-4.1.3/js/bootstrap.bundle.js.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.bundle.js.map rename to server/static/bootstrap-4.1.3/js/bootstrap.bundle.js.map diff --git a/static/bootstrap-4.1.3/js/bootstrap.bundle.min.js b/server/static/bootstrap-4.1.3/js/bootstrap.bundle.min.js old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.bundle.min.js rename to server/static/bootstrap-4.1.3/js/bootstrap.bundle.min.js diff --git a/static/bootstrap-4.1.3/js/bootstrap.bundle.min.js.map b/server/static/bootstrap-4.1.3/js/bootstrap.bundle.min.js.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.bundle.min.js.map rename to server/static/bootstrap-4.1.3/js/bootstrap.bundle.min.js.map diff --git a/static/bootstrap-4.1.3/js/bootstrap.js b/server/static/bootstrap-4.1.3/js/bootstrap.js old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.js rename to server/static/bootstrap-4.1.3/js/bootstrap.js diff --git a/static/bootstrap-4.1.3/js/bootstrap.js.map b/server/static/bootstrap-4.1.3/js/bootstrap.js.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.js.map rename to server/static/bootstrap-4.1.3/js/bootstrap.js.map diff --git a/static/bootstrap-4.1.3/js/bootstrap.min.js b/server/static/bootstrap-4.1.3/js/bootstrap.min.js old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.min.js rename to server/static/bootstrap-4.1.3/js/bootstrap.min.js diff --git a/static/bootstrap-4.1.3/js/bootstrap.min.js.map b/server/static/bootstrap-4.1.3/js/bootstrap.min.js.map old mode 100644 new mode 100755 similarity index 100% rename from static/bootstrap-4.1.3/js/bootstrap.min.js.map rename to server/static/bootstrap-4.1.3/js/bootstrap.min.js.map diff --git a/static/css/animate.css b/server/static/css/animate.css old mode 100644 new mode 100755 similarity index 100% rename from static/css/animate.css rename to server/static/css/animate.css diff --git a/static/css/toastr-2.1.3.min.css b/server/static/css/toastr-2.1.3.min.css old mode 100644 new mode 100755 similarity index 100% rename from static/css/toastr-2.1.3.min.css rename to server/static/css/toastr-2.1.3.min.css diff --git a/static/font-awesome-4.7.0/HELP-US-OUT.txt b/server/static/font-awesome-4.7.0/HELP-US-OUT.txt old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/HELP-US-OUT.txt rename to server/static/font-awesome-4.7.0/HELP-US-OUT.txt diff --git a/static/font-awesome-4.7.0/css/font-awesome.css b/server/static/font-awesome-4.7.0/css/font-awesome.css old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/css/font-awesome.css rename to server/static/font-awesome-4.7.0/css/font-awesome.css diff --git a/static/font-awesome-4.7.0/css/font-awesome.min.css b/server/static/font-awesome-4.7.0/css/font-awesome.min.css old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/css/font-awesome.min.css rename to server/static/font-awesome-4.7.0/css/font-awesome.min.css diff --git a/static/font-awesome-4.7.0/fonts/FontAwesome.otf b/server/static/font-awesome-4.7.0/fonts/FontAwesome.otf old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/fonts/FontAwesome.otf rename to server/static/font-awesome-4.7.0/fonts/FontAwesome.otf diff --git a/static/font-awesome-4.7.0/fonts/fontawesome-webfont.eot b/server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.eot old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/fonts/fontawesome-webfont.eot rename to server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.eot diff --git a/static/font-awesome-4.7.0/fonts/fontawesome-webfont.svg b/server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.svg old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/fonts/fontawesome-webfont.svg rename to server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.svg diff --git a/static/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf b/server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf rename to server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf diff --git a/static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff b/server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff rename to server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff diff --git a/static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 b/server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 rename to server/static/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 diff --git a/static/font-awesome-4.7.0/less/animated.less b/server/static/font-awesome-4.7.0/less/animated.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/animated.less rename to server/static/font-awesome-4.7.0/less/animated.less diff --git a/static/font-awesome-4.7.0/less/bordered-pulled.less b/server/static/font-awesome-4.7.0/less/bordered-pulled.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/bordered-pulled.less rename to server/static/font-awesome-4.7.0/less/bordered-pulled.less diff --git a/static/font-awesome-4.7.0/less/core.less b/server/static/font-awesome-4.7.0/less/core.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/core.less rename to server/static/font-awesome-4.7.0/less/core.less diff --git a/static/font-awesome-4.7.0/less/fixed-width.less b/server/static/font-awesome-4.7.0/less/fixed-width.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/fixed-width.less rename to server/static/font-awesome-4.7.0/less/fixed-width.less diff --git a/static/font-awesome-4.7.0/less/font-awesome.less b/server/static/font-awesome-4.7.0/less/font-awesome.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/font-awesome.less rename to server/static/font-awesome-4.7.0/less/font-awesome.less diff --git a/static/font-awesome-4.7.0/less/icons.less b/server/static/font-awesome-4.7.0/less/icons.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/icons.less rename to server/static/font-awesome-4.7.0/less/icons.less diff --git a/static/font-awesome-4.7.0/less/larger.less b/server/static/font-awesome-4.7.0/less/larger.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/larger.less rename to server/static/font-awesome-4.7.0/less/larger.less diff --git a/static/font-awesome-4.7.0/less/list.less b/server/static/font-awesome-4.7.0/less/list.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/list.less rename to server/static/font-awesome-4.7.0/less/list.less diff --git a/static/font-awesome-4.7.0/less/mixins.less b/server/static/font-awesome-4.7.0/less/mixins.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/mixins.less rename to server/static/font-awesome-4.7.0/less/mixins.less diff --git a/static/font-awesome-4.7.0/less/path.less b/server/static/font-awesome-4.7.0/less/path.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/path.less rename to server/static/font-awesome-4.7.0/less/path.less diff --git a/static/font-awesome-4.7.0/less/rotated-flipped.less b/server/static/font-awesome-4.7.0/less/rotated-flipped.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/rotated-flipped.less rename to server/static/font-awesome-4.7.0/less/rotated-flipped.less diff --git a/static/font-awesome-4.7.0/less/screen-reader.less b/server/static/font-awesome-4.7.0/less/screen-reader.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/screen-reader.less rename to server/static/font-awesome-4.7.0/less/screen-reader.less diff --git a/static/font-awesome-4.7.0/less/stacked.less b/server/static/font-awesome-4.7.0/less/stacked.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/stacked.less rename to server/static/font-awesome-4.7.0/less/stacked.less diff --git a/static/font-awesome-4.7.0/less/variables.less b/server/static/font-awesome-4.7.0/less/variables.less old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/less/variables.less rename to server/static/font-awesome-4.7.0/less/variables.less diff --git a/static/font-awesome-4.7.0/scss/_animated.scss b/server/static/font-awesome-4.7.0/scss/_animated.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_animated.scss rename to server/static/font-awesome-4.7.0/scss/_animated.scss diff --git a/static/font-awesome-4.7.0/scss/_bordered-pulled.scss b/server/static/font-awesome-4.7.0/scss/_bordered-pulled.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_bordered-pulled.scss rename to server/static/font-awesome-4.7.0/scss/_bordered-pulled.scss diff --git a/static/font-awesome-4.7.0/scss/_core.scss b/server/static/font-awesome-4.7.0/scss/_core.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_core.scss rename to server/static/font-awesome-4.7.0/scss/_core.scss diff --git a/static/font-awesome-4.7.0/scss/_fixed-width.scss b/server/static/font-awesome-4.7.0/scss/_fixed-width.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_fixed-width.scss rename to server/static/font-awesome-4.7.0/scss/_fixed-width.scss diff --git a/static/font-awesome-4.7.0/scss/_icons.scss b/server/static/font-awesome-4.7.0/scss/_icons.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_icons.scss rename to server/static/font-awesome-4.7.0/scss/_icons.scss diff --git a/static/font-awesome-4.7.0/scss/_larger.scss b/server/static/font-awesome-4.7.0/scss/_larger.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_larger.scss rename to server/static/font-awesome-4.7.0/scss/_larger.scss diff --git a/static/font-awesome-4.7.0/scss/_list.scss b/server/static/font-awesome-4.7.0/scss/_list.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_list.scss rename to server/static/font-awesome-4.7.0/scss/_list.scss diff --git a/static/font-awesome-4.7.0/scss/_mixins.scss b/server/static/font-awesome-4.7.0/scss/_mixins.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_mixins.scss rename to server/static/font-awesome-4.7.0/scss/_mixins.scss diff --git a/static/font-awesome-4.7.0/scss/_path.scss b/server/static/font-awesome-4.7.0/scss/_path.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_path.scss rename to server/static/font-awesome-4.7.0/scss/_path.scss diff --git a/static/font-awesome-4.7.0/scss/_rotated-flipped.scss b/server/static/font-awesome-4.7.0/scss/_rotated-flipped.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_rotated-flipped.scss rename to server/static/font-awesome-4.7.0/scss/_rotated-flipped.scss diff --git a/static/font-awesome-4.7.0/scss/_screen-reader.scss b/server/static/font-awesome-4.7.0/scss/_screen-reader.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_screen-reader.scss rename to server/static/font-awesome-4.7.0/scss/_screen-reader.scss diff --git a/static/font-awesome-4.7.0/scss/_stacked.scss b/server/static/font-awesome-4.7.0/scss/_stacked.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_stacked.scss rename to server/static/font-awesome-4.7.0/scss/_stacked.scss diff --git a/static/font-awesome-4.7.0/scss/_variables.scss b/server/static/font-awesome-4.7.0/scss/_variables.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/_variables.scss rename to server/static/font-awesome-4.7.0/scss/_variables.scss diff --git a/static/font-awesome-4.7.0/scss/font-awesome.scss b/server/static/font-awesome-4.7.0/scss/font-awesome.scss old mode 100644 new mode 100755 similarity index 100% rename from static/font-awesome-4.7.0/scss/font-awesome.scss rename to server/static/font-awesome-4.7.0/scss/font-awesome.scss diff --git a/static/img/brillant.png b/server/static/img/brillant.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/brillant.png rename to server/static/img/brillant.png diff --git a/static/img/brillant_@2X.png b/server/static/img/brillant_@2X.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/brillant_@2X.png rename to server/static/img/brillant_@2X.png diff --git a/static/img/concrete_seamless.png b/server/static/img/concrete_seamless.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/concrete_seamless.png rename to server/static/img/concrete_seamless.png diff --git a/static/img/cream_dust.png b/server/static/img/cream_dust.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/cream_dust.png rename to server/static/img/cream_dust.png diff --git a/static/img/cream_dust_@2X.png b/server/static/img/cream_dust_@2X.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/cream_dust_@2X.png rename to server/static/img/cream_dust_@2X.png diff --git a/static/img/crossword.png b/server/static/img/crossword.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/crossword.png rename to server/static/img/crossword.png diff --git a/static/img/cubes.png b/server/static/img/cubes.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/cubes.png rename to server/static/img/cubes.png diff --git a/static/img/cubes_@2X.png b/server/static/img/cubes_@2X.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/cubes_@2X.png rename to server/static/img/cubes_@2X.png diff --git a/static/img/fabric_of_squares_gray.png b/server/static/img/fabric_of_squares_gray.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/fabric_of_squares_gray.png rename to server/static/img/fabric_of_squares_gray.png diff --git a/static/img/geometry2.png b/server/static/img/geometry2.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/geometry2.png rename to server/static/img/geometry2.png diff --git a/static/img/grey.png b/server/static/img/grey.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/grey.png rename to server/static/img/grey.png diff --git a/static/img/grey_@2X.png b/server/static/img/grey_@2X.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/grey_@2X.png rename to server/static/img/grey_@2X.png diff --git a/static/img/ticks.png b/server/static/img/ticks.png old mode 100644 new mode 100755 similarity index 100% rename from static/img/ticks.png rename to server/static/img/ticks.png diff --git a/static/js/bootstrap-notify.min.js b/server/static/js/bootstrap-notify.min.js old mode 100644 new mode 100755 similarity index 100% rename from static/js/bootstrap-notify.min.js rename to server/static/js/bootstrap-notify.min.js diff --git a/static/js/knockout-3.4.2.debug.js b/server/static/js/knockout-3.4.2.debug.js old mode 100644 new mode 100755 similarity index 100% rename from static/js/knockout-3.4.2.debug.js rename to server/static/js/knockout-3.4.2.debug.js diff --git a/static/js/knockout-3.4.2.js b/server/static/js/knockout-3.4.2.js old mode 100644 new mode 100755 similarity index 100% rename from static/js/knockout-3.4.2.js rename to server/static/js/knockout-3.4.2.js diff --git a/static/js/navigo-226.min.js b/server/static/js/navigo-226.min.js old mode 100644 new mode 100755 similarity index 100% rename from static/js/navigo-226.min.js rename to server/static/js/navigo-226.min.js diff --git a/static/js/toastr-2.1.3.min.js b/server/static/js/toastr-2.1.3.min.js old mode 100644 new mode 100755 similarity index 100% rename from static/js/toastr-2.1.3.min.js rename to server/static/js/toastr-2.1.3.min.js diff --git a/static/loader/Ellipsis.gif b/server/static/loader/Ellipsis.gif old mode 100644 new mode 100755 similarity index 100% rename from static/loader/Ellipsis.gif rename to server/static/loader/Ellipsis.gif diff --git a/static/loader/Ellipsis.svg b/server/static/loader/Ellipsis.svg old mode 100644 new mode 100755 similarity index 100% rename from static/loader/Ellipsis.svg rename to server/static/loader/Ellipsis.svg diff --git a/static/sweetalert-master/.editorconfig b/server/static/sweetalert-master/.editorconfig old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/.editorconfig rename to server/static/sweetalert-master/.editorconfig diff --git a/static/sweetalert-master/.gitignore b/server/static/sweetalert-master/.gitignore old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/.gitignore rename to server/static/sweetalert-master/.gitignore diff --git a/static/sweetalert-master/.jshintrc b/server/static/sweetalert-master/.jshintrc old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/.jshintrc rename to server/static/sweetalert-master/.jshintrc diff --git a/static/sweetalert-master/.travis.yml b/server/static/sweetalert-master/.travis.yml old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/.travis.yml rename to server/static/sweetalert-master/.travis.yml diff --git a/static/sweetalert-master/LICENSE b/server/static/sweetalert-master/LICENSE old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/LICENSE rename to server/static/sweetalert-master/LICENSE diff --git a/static/sweetalert-master/README.md b/server/static/sweetalert-master/README.md old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/README.md rename to server/static/sweetalert-master/README.md diff --git a/static/sweetalert-master/bower.json b/server/static/sweetalert-master/bower.json old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/bower.json rename to server/static/sweetalert-master/bower.json diff --git a/static/sweetalert-master/dev/gulpfile-wrap-template.js b/server/static/sweetalert-master/dev/gulpfile-wrap-template.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/gulpfile-wrap-template.js rename to server/static/sweetalert-master/dev/gulpfile-wrap-template.js diff --git a/static/sweetalert-master/dev/ie9.css b/server/static/sweetalert-master/dev/ie9.css old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/ie9.css rename to server/static/sweetalert-master/dev/ie9.css diff --git a/static/sweetalert-master/dev/loader-animation.css b/server/static/sweetalert-master/dev/loader-animation.css old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/loader-animation.css rename to server/static/sweetalert-master/dev/loader-animation.css diff --git a/static/sweetalert-master/dev/modules/default-params.js b/server/static/sweetalert-master/dev/modules/default-params.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/default-params.js rename to server/static/sweetalert-master/dev/modules/default-params.js diff --git a/static/sweetalert-master/dev/modules/handle-click.js b/server/static/sweetalert-master/dev/modules/handle-click.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/handle-click.js rename to server/static/sweetalert-master/dev/modules/handle-click.js diff --git a/static/sweetalert-master/dev/modules/handle-dom.js b/server/static/sweetalert-master/dev/modules/handle-dom.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/handle-dom.js rename to server/static/sweetalert-master/dev/modules/handle-dom.js diff --git a/static/sweetalert-master/dev/modules/handle-key.js b/server/static/sweetalert-master/dev/modules/handle-key.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/handle-key.js rename to server/static/sweetalert-master/dev/modules/handle-key.js diff --git a/static/sweetalert-master/dev/modules/handle-swal-dom.js b/server/static/sweetalert-master/dev/modules/handle-swal-dom.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/handle-swal-dom.js rename to server/static/sweetalert-master/dev/modules/handle-swal-dom.js diff --git a/static/sweetalert-master/dev/modules/injected-html.js b/server/static/sweetalert-master/dev/modules/injected-html.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/injected-html.js rename to server/static/sweetalert-master/dev/modules/injected-html.js diff --git a/static/sweetalert-master/dev/modules/set-params.js b/server/static/sweetalert-master/dev/modules/set-params.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/set-params.js rename to server/static/sweetalert-master/dev/modules/set-params.js diff --git a/static/sweetalert-master/dev/modules/utils.js b/server/static/sweetalert-master/dev/modules/utils.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/modules/utils.js rename to server/static/sweetalert-master/dev/modules/utils.js diff --git a/static/sweetalert-master/dev/sweetalert.es6.js b/server/static/sweetalert-master/dev/sweetalert.es6.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/sweetalert.es6.js rename to server/static/sweetalert-master/dev/sweetalert.es6.js diff --git a/static/sweetalert-master/dev/sweetalert.scss b/server/static/sweetalert-master/dev/sweetalert.scss old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dev/sweetalert.scss rename to server/static/sweetalert-master/dev/sweetalert.scss diff --git a/static/sweetalert-master/dist/sweetalert-dev.js b/server/static/sweetalert-master/dist/sweetalert-dev.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dist/sweetalert-dev.js rename to server/static/sweetalert-master/dist/sweetalert-dev.js diff --git a/static/sweetalert-master/dist/sweetalert.css b/server/static/sweetalert-master/dist/sweetalert.css old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dist/sweetalert.css rename to server/static/sweetalert-master/dist/sweetalert.css diff --git a/static/sweetalert-master/dist/sweetalert.min.js b/server/static/sweetalert-master/dist/sweetalert.min.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/dist/sweetalert.min.js rename to server/static/sweetalert-master/dist/sweetalert.min.js diff --git a/static/sweetalert-master/example/example.css b/server/static/sweetalert-master/example/example.css old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/example.css rename to server/static/sweetalert-master/example/example.css diff --git a/static/sweetalert-master/example/example.scss b/server/static/sweetalert-master/example/example.scss old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/example.scss rename to server/static/sweetalert-master/example/example.scss diff --git a/static/sweetalert-master/example/images/logo_big.png b/server/static/sweetalert-master/example/images/logo_big.png old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/logo_big.png rename to server/static/sweetalert-master/example/images/logo_big.png diff --git a/static/sweetalert-master/example/images/logo_big@2x.png b/server/static/sweetalert-master/example/images/logo_big@2x.png old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/logo_big@2x.png rename to server/static/sweetalert-master/example/images/logo_big@2x.png diff --git a/static/sweetalert-master/example/images/logo_small.png b/server/static/sweetalert-master/example/images/logo_small.png old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/logo_small.png rename to server/static/sweetalert-master/example/images/logo_small.png diff --git a/static/sweetalert-master/example/images/logo_small@2x.png b/server/static/sweetalert-master/example/images/logo_small@2x.png old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/logo_small@2x.png rename to server/static/sweetalert-master/example/images/logo_small@2x.png diff --git a/static/sweetalert-master/example/images/te-logo-small.svg b/server/static/sweetalert-master/example/images/te-logo-small.svg old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/te-logo-small.svg rename to server/static/sweetalert-master/example/images/te-logo-small.svg diff --git a/static/sweetalert-master/example/images/thumbs-up.jpg b/server/static/sweetalert-master/example/images/thumbs-up.jpg old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/thumbs-up.jpg rename to server/static/sweetalert-master/example/images/thumbs-up.jpg diff --git a/static/sweetalert-master/example/images/vs_icon.png b/server/static/sweetalert-master/example/images/vs_icon.png old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/vs_icon.png rename to server/static/sweetalert-master/example/images/vs_icon.png diff --git a/static/sweetalert-master/example/images/vs_icon@2x.png b/server/static/sweetalert-master/example/images/vs_icon@2x.png old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/example/images/vs_icon@2x.png rename to server/static/sweetalert-master/example/images/vs_icon@2x.png diff --git a/static/sweetalert-master/gulpfile.js b/server/static/sweetalert-master/gulpfile.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/gulpfile.js rename to server/static/sweetalert-master/gulpfile.js diff --git a/static/sweetalert-master/index.html b/server/static/sweetalert-master/index.html old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/index.html rename to server/static/sweetalert-master/index.html diff --git a/static/sweetalert-master/package.json b/server/static/sweetalert-master/package.json old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/package.json rename to server/static/sweetalert-master/package.json diff --git a/static/sweetalert-master/sweetalert.gif b/server/static/sweetalert-master/sweetalert.gif old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/sweetalert.gif rename to server/static/sweetalert-master/sweetalert.gif diff --git a/static/sweetalert-master/test/index.html b/server/static/sweetalert-master/test/index.html old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/test/index.html rename to server/static/sweetalert-master/test/index.html diff --git a/static/sweetalert-master/test/tests.js b/server/static/sweetalert-master/test/tests.js old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/test/tests.js rename to server/static/sweetalert-master/test/tests.js diff --git a/static/sweetalert-master/themes/facebook/facebook.css b/server/static/sweetalert-master/themes/facebook/facebook.css old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/themes/facebook/facebook.css rename to server/static/sweetalert-master/themes/facebook/facebook.css diff --git a/static/sweetalert-master/themes/facebook/facebook.scss b/server/static/sweetalert-master/themes/facebook/facebook.scss old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/themes/facebook/facebook.scss rename to server/static/sweetalert-master/themes/facebook/facebook.scss diff --git a/static/sweetalert-master/themes/google/google.css b/server/static/sweetalert-master/themes/google/google.css old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/themes/google/google.css rename to server/static/sweetalert-master/themes/google/google.css diff --git a/static/sweetalert-master/themes/google/google.scss b/server/static/sweetalert-master/themes/google/google.scss old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/themes/google/google.scss rename to server/static/sweetalert-master/themes/google/google.scss diff --git a/static/sweetalert-master/themes/twitter/twitter.css b/server/static/sweetalert-master/themes/twitter/twitter.css old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/themes/twitter/twitter.css rename to server/static/sweetalert-master/themes/twitter/twitter.css diff --git a/static/sweetalert-master/themes/twitter/twitter.scss b/server/static/sweetalert-master/themes/twitter/twitter.scss old mode 100644 new mode 100755 similarity index 100% rename from static/sweetalert-master/themes/twitter/twitter.scss rename to server/static/sweetalert-master/themes/twitter/twitter.scss diff --git a/templates/base.html b/server/templates/base.html old mode 100644 new mode 100755 similarity index 100% rename from templates/base.html rename to server/templates/base.html diff --git a/templates/domain-add.html b/server/templates/domain-add.html old mode 100644 new mode 100755 similarity index 100% rename from templates/domain-add.html rename to server/templates/domain-add.html diff --git a/templates/domain-api.html b/server/templates/domain-api.html old mode 100644 new mode 100755 similarity index 100% rename from templates/domain-api.html rename to server/templates/domain-api.html diff --git a/templates/domain-claim.html b/server/templates/domain-claim.html old mode 100644 new mode 100755 similarity index 100% rename from templates/domain-claim.html rename to server/templates/domain-claim.html diff --git a/templates/domain-user-add.html b/server/templates/domain-user-add.html old mode 100644 new mode 100755 similarity index 100% rename from templates/domain-user-add.html rename to server/templates/domain-user-add.html diff --git a/templates/domain-users.html b/server/templates/domain-users.html old mode 100644 new mode 100755 similarity index 100% rename from templates/domain-users.html rename to server/templates/domain-users.html diff --git a/templates/domain.html b/server/templates/domain.html old mode 100644 new mode 100755 similarity index 100% rename from templates/domain.html rename to server/templates/domain.html diff --git a/templates/domains.html b/server/templates/domains.html old mode 100644 new mode 100755 similarity index 100% rename from templates/domains.html rename to server/templates/domains.html diff --git a/templates/index.html b/server/templates/index.html old mode 100644 new mode 100755 similarity index 100% rename from templates/index.html rename to server/templates/index.html diff --git a/templates/login.html b/server/templates/login.html old mode 100644 new mode 100755 similarity index 100% rename from templates/login.html rename to server/templates/login.html diff --git a/server/templates/uwsgi-config.ini b/server/templates/uwsgi-config.ini new file mode 100755 index 0000000..ae45783 --- /dev/null +++ b/server/templates/uwsgi-config.ini @@ -0,0 +1,22 @@ +[uwsgi] +base = /var/server/DjangoPowerDNS +chdir = /var/server/ + +master = true +wsgi-file = %(base)/wsgi.py +touch-reload = %(wsgi-file) +app = wsgi + +virtualenv = %(chdir)/venv + +socket = 127.0.0.1:7077 +plugins-dir = /etc/uwsgi/apps-enabled/ +processes = 1 +threads = 100 +harakiri = 30 + +logto = /var/log/uwsgi/app/djangopowerdns.log +pidfile2 = /tmp/djangopowerdns.pid + +uid = www-data +gid = www-data