-
Notifications
You must be signed in to change notification settings - Fork 67
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
591 changed files
with
28,625 additions
and
30,101 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 |
---|---|---|
|
@@ -86,6 +86,7 @@ src/media/profile_images/* | |
|
||
# vim | ||
*.swp | ||
.vim/ | ||
|
||
# gulp | ||
/src/static/OLH/* | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
We currently only support one major version of Janeway. The master development branch becomes the next major release of Janeway and receieves security support. Security issues that only affect the master branch and not any stable released versions can be reported as Bugs and are fixed in public. Security vulnerabilities that effect a support branch, listed below, should be reported using the details provided under Reporting a Vulnerability. | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| 1.3.x | :heavy_check_mark: | | ||
| <1.2.x | :x: | | ||
|
||
## Advanced Notification | ||
The full list of people and organizations who receive advance notification of security issues is not and will not be made public. | ||
|
||
On a case by case basis we may notify individuals and organisations who collaborate in the development of Janeway. | ||
|
||
|
||
## Reporting a Vulnerability | ||
|
||
If you detect a serious security vulnerability you should report it to us directly via email to [email protected]. Please provide where possible: | ||
|
||
- a brief description of the vulnerability | ||
- the website, page or repository where the vulnerability can be observed | ||
- any other documentation that may assist in fixing the issue | ||
|
||
|
||
We will follow this process: | ||
|
||
| Activity | Days From Initial Report | | ||
|---------------------------------------|--------------------------| | ||
| Acknowledge Initial Report | 1 day | | ||
| Provide Initial Assesment to Reporter | 5 days | | ||
| Create and Test Fix | 14 days | | ||
| Publish Security Advisory on Github | 21 days | | ||
|
||
|
||
|
||
Some content adapted from [[Django Security Policy]](https://docs.djangoproject.com/en/dev/internals/security/) |
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,4 @@ | ||
* | ||
*/ | ||
!servers.json | ||
!.gitignore |
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,20 @@ | ||
{ | ||
"Servers": { | ||
"1": { | ||
"Name": "janeway-web", | ||
"Group": "Servers", | ||
"Host": "janeway-postgres", | ||
"Port": 5432, | ||
"MaintenanceDB": "postgres", | ||
"Username": "janeway-web", | ||
"SSLMode": "prefer", | ||
"SSLCert": "<STORAGE_DIR>/.postgresql/postgresql.crt", | ||
"SSLKey": "<STORAGE_DIR>/.postgresql/postgresql.key", | ||
"SSLCompression": 0, | ||
"Timeout": 10, | ||
"UseSSHTunnel": 0, | ||
"TunnelPort": "22", | ||
"TunnelAuthentication": 0 | ||
} | ||
} | ||
} |
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,18 +7,36 @@ services: | |
volumes: | ||
- ./db/postgres-data:/var/lib/postgresql/data | ||
ports: | ||
- "${DB_PORT}:${DB_PORT}" | ||
- "${DB_PORT}" | ||
environment: | ||
- "POSTGRES_PASSWORD=${DB_PASSWORD}" | ||
- "POSTGRES_USER=${DB_USER}" | ||
- "POSTGRES_DB=${DB_NAME}" | ||
depends_on: | ||
- janeway-pgadmin | ||
|
||
janeway-pgadmin: | ||
image: dpage/pgadmin4 | ||
user: root | ||
ports: | ||
- "${PGADMIN_PORT}:80" | ||
volumes: | ||
- ./db/pgadmin:/var/lib/pgadmin | ||
environment: | ||
- [email protected] | ||
- "PGADMIN_DEFAULT_PASSWORD=${DB_PASSWORD}" | ||
- PG_ADMIN_LISTEN_ADDRESS=0.0.0.0 | ||
- GUNICORN_THREADS=2 | ||
- PGADMIN_SERVER_JSON_FILE=/var/lib/pgadmin/servers.json | ||
- PGADMIN_CONFIG_SERVER_MODE=False | ||
- PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=False | ||
|
||
janeway-mysql: | ||
image: mysql:5.7 | ||
volumes: | ||
- ./db/mysql-data:/var/lib/mysql | ||
ports: | ||
- "${DB_PORT}:${DB_PORT}" | ||
- "${DB_PORT}" | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=root | ||
- "MYSQL_PASSWORD=${DB_PASSWORD}" | ||
|
@@ -30,7 +48,7 @@ services: | |
volumes: | ||
- ./db/mariadb-data:/var/lib/mysql | ||
ports: | ||
- "${DB_PORT}:${DB_PORT}" | ||
- "${DB_PORT}" | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=root | ||
- "MYSQL_PASSWORD=${DB_PASSWORD}" | ||
|
@@ -53,7 +71,7 @@ services: | |
- ./logs:/vol/janeway/logs | ||
- ./db/janeway.sqlite3:/db/janeway.sqlite3 | ||
ports: | ||
- "8000:8000" | ||
- "${JANEWAY_PORT}:8000" | ||
environment: | ||
- DB_VENDOR | ||
- DB_HOST | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Oops, something went wrong.