Commit Graph

13 Commits

Author SHA1 Message Date
Klaas van Schelven
354af7ea0a Fix issues as reported by bandit or mark as nosec
Nothing worrying, but good to have checked this regardless
and important to have a green pipeline.

Fix #175
2025-07-30 12:16:40 +02:00
Klaas van Schelven
2fede39985 Envelope parsing: validate headers as per the docs
headers means: envelope headers and item headers.

Provides more robustness and a layer of defense-in-depth
Only those headers that we might rely on in a near future (event-based)
are included.

See #173
2025-07-29 23:46:48 +02:00
Klaas van Schelven
ab3e6da582 build_dsn: add assertion
like the systemcheck from 0c14962d92, but dynamically for those
environments (non-docker) in which the system-check might be skipped
2025-05-12 10:43:53 +02:00
Klaas van Schelven
4e613a943e Port 8000 as the default port _everywhere_
This is more canonical with stuff 'elsewhere on the internet'

we already did it behind-the-scenes for 'recommended gunicorn', so the
harmonization is in having the same default for the rest.
2024-08-28 15:21:00 +02:00
Klaas van Schelven
1bfac5d8c6 assertEquals -> assertEual (Python 3.12)
<<insert remarks about fashion police>>
2024-08-21 08:49:49 +02:00
Klaas van Schelven
49a395fb86 use the envelope_header's DSN if it is available 2024-07-12 10:41:16 +02:00
Klaas van Schelven
2c4e8b9f20 Regular v.s. Django Testcase: be explicit
I recently ran into a funny issue where the TestCases were influencing my
development DB's contents
2024-04-15 09:17:53 +02:00
Klaas van Schelven
280bd2172b History page: 'mostly done' (a first setup) 2024-04-12 16:07:25 +02:00
Klaas van Schelven
a197efb888 Implement (and document) 'unrepr' 2023-11-24 20:20:43 +01:00
Klaas van Schelven
8c5d416447 DSN added to project admin 2023-11-19 17:27:29 +01:00
Klaas van Schelven
725822ce3d Events: some modelling and a command to ingest JSONs from other projects as examples 2023-11-11 21:13:15 +01:00
Klaas van Schelven
d01652a6f1 More complete understanding of Auth header based on the docs 2023-11-10 18:07:55 +01:00
Klaas van Schelven
bb8de31717 Sentry DSN parsing 2023-11-10 17:50:53 +01:00