-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '51f6ffb22e69f63014c244e516b2e911ca5b9910' into release
- Loading branch information
Showing
21 changed files
with
1,243 additions
and
52 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
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,12 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
On https://qfield.cloud we always run the latest stable release. | ||
|
||
|
||
## Reporting a Vulnerability | ||
|
||
At OPENGIS.ch we take security very seriously, if you found a vulnerability, please get in touch with [email protected]. | ||
|
||
We'll get back at you as soon as possible after analising your report. |
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,72 @@ | ||
# Generated by Django 3.2.12 on 2022-04-13 14:44 | ||
|
||
import django.core.validators | ||
import django.db.models.deletion | ||
import django_cryptography.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0051_auto_20211125_0444"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="Secret", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"name", | ||
models.TextField( | ||
help_text="Must start with a letter and followed by capital letters, numbers or underscores.", | ||
max_length=255, | ||
unique=True, | ||
validators=[ | ||
django.core.validators.RegexValidator( | ||
"^[A-Z]+[A-Z0-9_]+$", | ||
"Must start with a letter and followed by capital letters, numbers or underscores.", | ||
) | ||
], | ||
), | ||
), | ||
( | ||
"type", | ||
models.CharField( | ||
choices=[ | ||
("pgservice", "pg_service"), | ||
("envvar", "Environment Variable"), | ||
], | ||
max_length=32, | ||
), | ||
), | ||
( | ||
"project", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="secrets", | ||
to="core.project", | ||
), | ||
), | ||
("created_at", models.DateTimeField(auto_now_add=True)), | ||
( | ||
"created_by", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="project_secrets", | ||
to="core.user", | ||
), | ||
), | ||
("value", django_cryptography.fields.encrypt(models.TextField())), | ||
], | ||
), | ||
] |
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.