-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
122 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerfile": "../Dockerfile" | ||
} | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerfile": "../Dockerfile" | ||
} | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Uncomment the next line to run commands after the container is created. | ||
// "postCreateCommand": "cat /etc/os-release", | ||
// Uncomment the next line to run commands after the container is created. | ||
// "postCreateCommand": "cat /etc/os-release", | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "devcontainer" | ||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "devcontainer" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
language: python | ||
python: | ||
- "2.7" | ||
- "2.7" | ||
git: | ||
depth: 3 | ||
install: | ||
- "pip install -r requirements.txt" | ||
- "pip install flake8" | ||
depth: 3 | ||
install: | ||
- "pip install -r requirements.txt" | ||
- "pip install flake8" | ||
script: | ||
- python manage.py test | ||
- flake8 --config=setup.cfg approval_* | ||
- python manage.py test | ||
- flake8 --config=setup.cfg approval_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
enable=all | ||
source-path=SCRIPTDIR | ||
disable=SC2154 | ||
|
||
# If you're having issues with shellcheck following source, disable the errors via: | ||
# disable=SC1090 | ||
# disable=SC1091 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,24 +7,31 @@ plugins: | |
ref: v1.4.2 | ||
uri: https://github.com/trunk-io/plugins | ||
lint: | ||
ignore: | ||
- linters: [prettier] | ||
paths: | ||
- approval_polls/templates | ||
enabled: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected].2 | ||
- [email protected].20 | ||
- [email protected] | ||
- [email protected] | ||
- trivy@0.48.3 | ||
- trufflehog@3.66.2 | ||
- trivy@0.49.1 | ||
- trufflehog@3.67.5 | ||
- [email protected] | ||
- [email protected] | ||
- ruff@0.1.15 | ||
- yamllint@1.33.0 | ||
- ruff@0.2.1 | ||
- yamllint@1.34.0 | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- git-diff-check | ||
- [email protected].1 | ||
- [email protected].2 | ||
- [email protected] | ||
- black@24.1.1 | ||
- black@24.2.0 | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{% extends 'base.html' %} | ||
|
||
{% block content %} | ||
<div class='row-fluid top-buffer'> | ||
<div class='col-md-12'> | ||
<legend>Access denied</legend> | ||
Sorry, but you are not authorized to view this page (Error: 403) | ||
<div class='row-fluid top-buffer'> | ||
<div class='col-md-12'> | ||
<legend>Access denied</legend> | ||
Sorry, but you are not authorized to view this page (Error: 403) | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock content %} | ||
|
||
{% block login %}{% endblock %} | ||
{% block login %}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
{% extends 'base.html' %} | ||
|
||
{% block content %} | ||
<div class='row-fluid top-buffer'> | ||
<div class='col-md-12'> | ||
<legend>Page not found</legend> | ||
Sorry, the requested page does not exist. The link | ||
may be broken or the page may have been moved. | ||
<div class='row-fluid top-buffer'> | ||
<div class='col-md-12'> | ||
<legend>Page not found</legend> | ||
Sorry, the requested page does not exist. The link | ||
may be broken or the page may have been moved. | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock content %} | ||
|
||
{% block login %}{% endblock %} | ||
{% block login %}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{% extends "account/base.html.html" %} | ||
{% extends "base.html" %} | ||
{% load i18n %} | ||
{% load allauth %} | ||
{% block head_title %} | ||
{% block head_title | ||
%} | ||
{% trans "Sign Up Closed" %} | ||
{% endblock head_title %} | ||
{% block content %} | ||
{% element h1 %} | ||
{% trans "Sign Up Closed" %} | ||
{% endelement %} | ||
<p>{% trans "We are sorry, but the sign up is currently closed." %}</p> | ||
{% | ||
element h1 %} {% trans "Sign Up Closed" %} {% endelement %} | ||
<p>{% trans "We are sorry, but the sign up is currently closed." %}</p> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
{% extends "account/base.html.html" %} | ||
{% extends "base.html" %} | ||
{% load i18n %} | ||
{% load allauth %} | ||
{% block head_title %} | ||
{% block head_title | ||
%} | ||
{% trans "Verify Your Email Address" %} | ||
{% endblock head_title %} | ||
{% block content %} | ||
{% element h1 %} | ||
{% trans "Verify Your Email Address" %} | ||
{% endelement %} | ||
<p> | ||
{% blocktrans %}We have sent an email to you for verification. Follow the link provided to finalize the signup process. If you do not see the verification email in your main inbox, check your spam folder. Please contact us if you do not receive the verification email within a few minutes.{% endblocktrans %} | ||
</p> | ||
{% block | ||
content %} | ||
{% element h1 %} {% trans "Verify Your Email Address" %} {% | ||
endelement %} | ||
<p> | ||
{% blocktrans %}We have sent an email to you for verification. Follow the link | ||
provided to finalize the signup process. If you do not see the verification | ||
email in your main inbox, check your spam folder. Please contact us if you do | ||
not receive the verification email within a few minutes.{% endblocktrans %} | ||
</p> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import os | ||
|
||
from django.core.wsgi import get_wsgi_application | ||
from whitenoise import WhiteNoise | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters