Commit Graph

492 Commits

Author SHA1 Message Date
R. Miles McCain
f958129d09 Add additional build dependencies 2023-07-28 03:15:27 +00:00
R. Miles McCain
45735e7908 Add base dev container images 2023-07-28 03:07:50 +00:00
Jeremy Chabernaud
4d9a5fdaad
fix: PyYAML dependency install (check #183) (temporary) (#272)
* fix: PyYAML dependency install (check #183)

* misc: update gh-actions (versions, and add temporary patch)

* misc: revert to python 3.9
2023-07-18 07:45:05 -04:00
R. Miles McCain
ef32c66769 Bump version 2023-07-17 12:03:31 -04:00
dependabot[bot]
467c32657f
Bump django from 4.1.9 to 4.1.10 (#271)
Bumps [django](https://github.com/django/django) from 4.1.9 to 4.1.10.
- [Commits](https://github.com/django/django/compare/4.1.9...4.1.10)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 14:01:32 -07:00
rsp2k
b9ffb10668
Update TEMPLATE.env - add command to generate django secret (#270) 2023-06-12 10:59:26 -07:00
dependabot[bot]
9980cc12f2
Bump cryptography from 38.0.1 to 41.0.0 (#269)
Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.1 to 41.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/38.0.1...41.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 13:11:51 -07:00
dependabot[bot]
404a355c54
Bump requests from 2.28.1 to 2.31.0 (#268)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 07:46:59 -07:00
havk
6cd23029a9
Fix performence in dashboard (#264)
* Limit results in dashboard

* Add service loction list view

* Increase RESULTS_LIMIT
2023-05-19 09:59:33 -07:00
dependabot[bot]
b54d3c64d5
Bump django from 4.1.7 to 4.1.9 (#267)
Bumps [django](https://github.com/django/django) from 4.1.7 to 4.1.9.
- [Commits](https://github.com/django/django/compare/4.1.7...4.1.9)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 11:58:22 -07:00
dependabot[bot]
d71f389b7e
Bump sqlparse from 0.4.2 to 0.4.4 (#265)
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.2 to 0.4.4.
- [Release notes](https://github.com/andialbrecht/sqlparse/releases)
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.2...0.4.4)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 15:43:20 -07:00
havk
4ffc3bdef7
Respect dnt in JS tracker (#257) 2023-02-23 13:39:26 -08:00
dependabot[bot]
d78fd9f6c5
Bump django from 4.1.6 to 4.1.7 (#256)
Bumps [django](https://github.com/django/django) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.1.6...4.1.7)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 13:09:24 -08:00
dependabot[bot]
f6bbb712e3
Bump django from 4.1.1 to 4.1.6 (#252)
Bumps [django](https://github.com/django/django) from 4.1.1 to 4.1.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.1.1...4.1.6)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 07:23:38 -08:00
0xflotus
b7fd2d16a1
fix: small typo (#250)
* fix: small typo

* Update GUIDE.md
2023-01-30 09:37:39 -08:00
Sérgio
7c5888179c
Add fallback to PORT in healthcheck (#249) 2023-01-20 07:01:18 -08:00
dependabot[bot]
2d7bbcaa8b
Bump certifi from 2022.6.15.1 to 2022.12.7 (#244)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15.1 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15.1...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 23:32:11 -05:00
havk
b397d1fd6a
Add api token field to UserAdmin (#241) 2022-11-07 08:52:13 -08:00
havk
2de0b9b9e1
Update poetry version in Dockerfile (#240) 2022-11-07 08:50:12 -08:00
Tristan Pinaudeau
aeeff26e88
fix registeradmin's get_random_string missing argument (#236) 2022-10-20 11:11:38 -07:00
havk
ba2f47edb7
Add Black config and pre-commit hook (#231)
* Add black config to pyproject.toml

* Add flake8 config

* Add pre-commit black hook
2022-09-28 16:16:40 -07:00
Sumit Singh
e507dd5814
test(core): fix factories (#229) 2022-09-25 13:48:03 -07:00
R. Miles McCain
c34388e6c9 Fix migrations 2022-09-15 22:24:29 -07:00
R. Miles McCain
767fd49969 Update migrations 2022-09-15 22:08:28 -07:00
R. Miles McCain
f746bce100 Update TEMPLATE.env 2022-09-14 11:12:04 -07:00
R. Miles McCain
2715826611 Add proper CSRF origin parsing 2022-09-14 11:09:17 -07:00
R. Miles McCain
e7fef3b2f8 Add option to set CSRF_TRUSTED_ORIGINS (Django 4.0) 2022-09-14 11:04:47 -07:00
Christian Wiegand
e08c6e790b
Add missing "i18n" to some templates (#226) 2022-09-14 10:32:14 -07:00
R. Miles McCain
78135583ee Fix migration order 2022-09-13 14:23:00 -07:00
R. Miles McCain
487815a984 Bump version to 0.13.0 2022-09-13 13:14:53 -07:00
R. Miles McCain
6f715b5b77 Update ipware (fix CF IPs) 2022-09-13 12:19:43 -07:00
R. Miles McCain
1280433a49 Add an API! 2022-09-13 12:14:39 -07:00
R. Miles McCain
6febe7db19 Upgrade Django to 4 2022-09-13 12:09:36 -07:00
Paweł Jastrzębski
5e48e2dcf5 Use POST to api token refresh 2022-08-29 08:44:17 +02:00
Christian Wiegand
d134c0049d
Localization (#214)
* General localization:
  - Add gettext to literals
  - Add trans template tag to templates
  - Set localized date and time
  - Add locale option to TEMPLATE.env
  - Add migrations that result from model field changes

* Add german locale

* Add german locale
2022-08-28 15:22:50 -07:00
R. Miles McCain
b286c80754 Remove unneeded views 2022-08-28 15:07:05 -07:00
R. Miles McCain
c23f44d7b7 Merge commit '77cb1fb37c0da5bad39b3905f7a48cd3f176bac7' into api 2022-08-28 15:01:04 -07:00
Paweł Jastrzębski
b7f2e9cfe6 Remove basic option from api view 2022-08-28 13:35:22 +02:00
Matt Ronchetto
4d7c036acc
Add support for GPC header (#219)
* chore: reflect both headers in debugging

* chore: add Sec-GPC handling with DNT handling

The `if` statement is there purely so that nothing more has to change handling wise. If either value is true, DNT policy should kick in and no data should be stored/tracked. *Should* just work™.

* fix: meet Black style guide

* fix: comply with other header formatting

* fix: header typo
2022-08-27 18:35:56 -07:00
R. Miles McCain
77cb1fb37c Improve language 2022-08-27 14:52:02 -07:00
Jason A. Ribeiro
d75008a34f
Provide full path for example sqlite path (#217)
The Dockerfile currently creates a directory at /var/local/shynet/db/.
The `DB_NAME` in the example file caused migrations to fail as a result.
2022-08-27 14:28:37 -07:00
dependabot[bot]
204be741e1
Bump django from 3.2.14 to 3.2.15 (#222)
Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.14...3.2.15)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 18:59:55 -07:00
dependabot[bot]
dd1f113e05
Bump pyjwt from 2.3.0 to 2.4.0 (#211)
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-06 13:04:25 -07:00
dependabot[bot]
34d6c920bf
Bump django from 3.2.12 to 3.2.14 (#216)
Bumps [django](https://github.com/django/django) from 3.2.12 to 3.2.14.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.12...3.2.14)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 20:55:11 -07:00
Fidel Ramos
96c9c0feec
Fix SQLite support (#210)
SQLite DB was not writable because it was always located in
/usr/src/shynet/, which is owned by root and not writable by
appuser. SQLite needs the parent directory containing the DB file to be
writable by the running user.

The applied fix is to place the DB file in /var/local/shynet/db and to
create that directory in the Docker image with the right permissions.

SQLite setup is now documented in README as an alternative to Postgres.
2022-05-24 12:38:27 -07:00
Paweł Jastrzębski
d9bbeea892 Remove basic option from API
For simplicity
2022-05-12 12:10:44 +02:00
Paweł Jastrzębski
ca97453c3e Return 400 if date format is invalid 2022-04-26 10:13:52 +02:00
Paweł Jastrzębski
b87b158aab Fix typo 2022-04-22 08:28:09 +02:00
Paweł Jastrzębski
4a6af18765 Add django-cors-headers 2022-04-14 19:41:14 +02:00
dependabot[bot]
231421ebae
Bump minimist from 1.2.5 to 1.2.6 (#204)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 11:19:45 -04:00