├── .dockerignore ├── .flake8 ├── .gitattributes ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── app ├── __init__.py ├── config_default.py ├── config_docker_example.py ├── config_example.py ├── config_test.py ├── database │ ├── __init__.py │ ├── base.py │ └── model.py ├── static │ ├── dist │ │ └── webhook.bundle.js │ ├── res │ │ ├── css │ │ │ ├── common.css │ │ │ ├── index.css │ │ │ └── prism.css │ │ ├── img │ │ │ ├── bg0.jpg │ │ │ ├── bg1.jpg │ │ │ ├── bg2.jpg │ │ │ ├── bg3.jpg │ │ │ ├── bg4.jpg │ │ │ ├── history.png │ │ │ ├── index.png │ │ │ ├── logo.png │ │ │ ├── server.png │ │ │ └── webhook.png │ │ └── js │ │ │ └── x-return-top.min.js │ └── src │ │ ├── collaborator.jsx │ │ ├── common │ │ ├── alert.jsx │ │ ├── footer.jsx │ │ ├── header.jsx │ │ └── main.jsx │ │ ├── component │ │ └── logPreview.jsx │ │ ├── document.jsx │ │ ├── historyList.jsx │ │ ├── index.jsx │ │ ├── mixins │ │ ├── onFireMixin.jsx │ │ ├── tipShowMixin.jsx │ │ └── xhrRequestsMixin.jsx │ │ ├── router.jsx │ │ ├── server.jsx │ │ ├── utils │ │ └── stringUtils.jsx │ │ └── webHook.jsx ├── tasks │ ├── __init__.py │ └── tasks.py ├── templates │ ├── 404.html │ ├── 502.html │ └── index.html ├── utils │ ├── AuthUtil.py │ ├── DateUtil.py │ ├── HookDataParse.py │ ├── JsonUtil.py │ ├── RequestUtil.py │ ├── ResponseUtil.py │ ├── SshUtil.py │ ├── StringUtil.py │ ├── __init__.py │ └── validator.py ├── views │ ├── __init__.py │ ├── api.py │ ├── collaborator.py │ ├── common.py │ ├── history.py │ ├── server.py │ ├── socket.py │ └── webhook.py └── wraps │ ├── __init__.py │ └── login_wrap.py ├── deploy-docker.md ├── docker-compose.yml ├── docker ├── Dockerfile-ssh ├── develop.md ├── docker-compose-dev.yml ├── docker-compose-test.yml ├── gogs │ ├── conf │ │ └── app.ini │ └── init.sql ├── mysql │ └── init.sql └── ssh │ ├── authorized_keys │ ├── id_rsa │ └── id_rsa.pub ├── manage.py ├── package.json ├── pytest.ini ├── requirements-dev.txt ├── requirements.txt ├── setup.py ├── tests ├── __init__.py ├── conftest.py ├── test_api.py ├── test_app.py ├── test_ssh.py ├── test_task.py ├── test_validator.py ├── test_webhook.py └── webhookdata │ ├── github.json │ ├── gitlab.json │ ├── gitosc.json │ └── gogs.json └── webpack.config.js /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/.dockerignore -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/.flake8 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | webhook.bundle.js linguist-vendored=false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/README.md -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/__init__.py -------------------------------------------------------------------------------- /app/config_default.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/config_default.py -------------------------------------------------------------------------------- /app/config_docker_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/config_docker_example.py -------------------------------------------------------------------------------- /app/config_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/config_example.py -------------------------------------------------------------------------------- /app/config_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/config_test.py -------------------------------------------------------------------------------- /app/database/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/database/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/database/base.py -------------------------------------------------------------------------------- /app/database/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/database/model.py -------------------------------------------------------------------------------- /app/static/dist/webhook.bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/dist/webhook.bundle.js -------------------------------------------------------------------------------- /app/static/res/css/common.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/css/common.css -------------------------------------------------------------------------------- /app/static/res/css/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/css/index.css -------------------------------------------------------------------------------- /app/static/res/css/prism.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/css/prism.css -------------------------------------------------------------------------------- /app/static/res/img/bg0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/bg0.jpg -------------------------------------------------------------------------------- /app/static/res/img/bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/bg1.jpg -------------------------------------------------------------------------------- /app/static/res/img/bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/bg2.jpg -------------------------------------------------------------------------------- /app/static/res/img/bg3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/bg3.jpg -------------------------------------------------------------------------------- /app/static/res/img/bg4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/bg4.jpg -------------------------------------------------------------------------------- /app/static/res/img/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/history.png -------------------------------------------------------------------------------- /app/static/res/img/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/index.png -------------------------------------------------------------------------------- /app/static/res/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/logo.png -------------------------------------------------------------------------------- /app/static/res/img/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/server.png -------------------------------------------------------------------------------- /app/static/res/img/webhook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/img/webhook.png -------------------------------------------------------------------------------- /app/static/res/js/x-return-top.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/res/js/x-return-top.min.js -------------------------------------------------------------------------------- /app/static/src/collaborator.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/collaborator.jsx -------------------------------------------------------------------------------- /app/static/src/common/alert.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/common/alert.jsx -------------------------------------------------------------------------------- /app/static/src/common/footer.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/common/footer.jsx -------------------------------------------------------------------------------- /app/static/src/common/header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/common/header.jsx -------------------------------------------------------------------------------- /app/static/src/common/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/common/main.jsx -------------------------------------------------------------------------------- /app/static/src/component/logPreview.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/component/logPreview.jsx -------------------------------------------------------------------------------- /app/static/src/document.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/document.jsx -------------------------------------------------------------------------------- /app/static/src/historyList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/historyList.jsx -------------------------------------------------------------------------------- /app/static/src/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/index.jsx -------------------------------------------------------------------------------- /app/static/src/mixins/onFireMixin.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/mixins/onFireMixin.jsx -------------------------------------------------------------------------------- /app/static/src/mixins/tipShowMixin.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/mixins/tipShowMixin.jsx -------------------------------------------------------------------------------- /app/static/src/mixins/xhrRequestsMixin.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/mixins/xhrRequestsMixin.jsx -------------------------------------------------------------------------------- /app/static/src/router.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/router.jsx -------------------------------------------------------------------------------- /app/static/src/server.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/server.jsx -------------------------------------------------------------------------------- /app/static/src/utils/stringUtils.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/utils/stringUtils.jsx -------------------------------------------------------------------------------- /app/static/src/webHook.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/static/src/webHook.jsx -------------------------------------------------------------------------------- /app/tasks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/tasks/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/tasks/tasks.py -------------------------------------------------------------------------------- /app/templates/404.html: -------------------------------------------------------------------------------- 1 | 404 -------------------------------------------------------------------------------- /app/templates/502.html: -------------------------------------------------------------------------------- 1 | 502 -------------------------------------------------------------------------------- /app/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/templates/index.html -------------------------------------------------------------------------------- /app/utils/AuthUtil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/AuthUtil.py -------------------------------------------------------------------------------- /app/utils/DateUtil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/DateUtil.py -------------------------------------------------------------------------------- /app/utils/HookDataParse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/HookDataParse.py -------------------------------------------------------------------------------- /app/utils/JsonUtil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/JsonUtil.py -------------------------------------------------------------------------------- /app/utils/RequestUtil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/RequestUtil.py -------------------------------------------------------------------------------- /app/utils/ResponseUtil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/ResponseUtil.py -------------------------------------------------------------------------------- /app/utils/SshUtil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/SshUtil.py -------------------------------------------------------------------------------- /app/utils/StringUtil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/StringUtil.py -------------------------------------------------------------------------------- /app/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /app/utils/validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/utils/validator.py -------------------------------------------------------------------------------- /app/views/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/__init__.py -------------------------------------------------------------------------------- /app/views/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/api.py -------------------------------------------------------------------------------- /app/views/collaborator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/collaborator.py -------------------------------------------------------------------------------- /app/views/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/common.py -------------------------------------------------------------------------------- /app/views/history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/history.py -------------------------------------------------------------------------------- /app/views/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/server.py -------------------------------------------------------------------------------- /app/views/socket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/socket.py -------------------------------------------------------------------------------- /app/views/webhook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/views/webhook.py -------------------------------------------------------------------------------- /app/wraps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/wraps/login_wrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/app/wraps/login_wrap.py -------------------------------------------------------------------------------- /deploy-docker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/deploy-docker.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/Dockerfile-ssh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/Dockerfile-ssh -------------------------------------------------------------------------------- /docker/develop.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/develop.md -------------------------------------------------------------------------------- /docker/docker-compose-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/docker-compose-dev.yml -------------------------------------------------------------------------------- /docker/docker-compose-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/docker-compose-test.yml -------------------------------------------------------------------------------- /docker/gogs/conf/app.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/gogs/conf/app.ini -------------------------------------------------------------------------------- /docker/gogs/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/gogs/init.sql -------------------------------------------------------------------------------- /docker/mysql/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/mysql/init.sql -------------------------------------------------------------------------------- /docker/ssh/authorized_keys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/ssh/authorized_keys -------------------------------------------------------------------------------- /docker/ssh/id_rsa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/ssh/id_rsa -------------------------------------------------------------------------------- /docker/ssh/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/docker/ssh/id_rsa.pub -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/manage.py -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/package.json -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/test_api.py -------------------------------------------------------------------------------- /tests/test_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/test_app.py -------------------------------------------------------------------------------- /tests/test_ssh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/test_ssh.py -------------------------------------------------------------------------------- /tests/test_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/test_task.py -------------------------------------------------------------------------------- /tests/test_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/test_validator.py -------------------------------------------------------------------------------- /tests/test_webhook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/test_webhook.py -------------------------------------------------------------------------------- /tests/webhookdata/github.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/webhookdata/github.json -------------------------------------------------------------------------------- /tests/webhookdata/gitlab.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/webhookdata/gitlab.json -------------------------------------------------------------------------------- /tests/webhookdata/gitosc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/webhookdata/gitosc.json -------------------------------------------------------------------------------- /tests/webhookdata/gogs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/tests/webhookdata/gogs.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NetEaseGame/git-webhook/HEAD/webpack.config.js --------------------------------------------------------------------------------