69 Commits

Author SHA1 Message Date
dependabot[bot]
34cbae68b5 Update jsonschema requirement in the python-packages group
Updates the requirements on [jsonschema](https://github.com/python-jsonschema/jsonschema) to permit the latest version.

Updates `jsonschema` to 4.26.0
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.25.0...v4.26.0)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-version: 4.26.0
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-07 17:15:57 +00:00
Klaas van Schelven
e3f1c92fd1 Upgrade Verbose CSRF Middleware to match Django 5.2 2025-12-06 21:27:40 +01:00
Klaas van Schelven
690a92a1f9 Merge branch 'main' into minidumps 2025-11-09 21:56:18 +01:00
Klaas van Schelven
aab062a11e Brotli streaming decompression: use output_buffer_limit
This became possible with brotli 1.2.0

It is my understanding pre-this change there was basically no
enforced limit on the amount of bytes "coming out" of
decompressor.process(); in other words: chunk size did not
apply to the most relevant (potentially blowing up) part of
the equation.

We had a MaxDataReader in place, but that would come "too late"
since all the mem-consuming stuff would happen right in brotli_generator
before any limiting would be possible.

See https://github.com/google/brotli/issues/1381
2025-11-08 11:37:40 +01:00
Klaas van Schelven
b09e6d02a1 Minidump handling utils: from BSD-Licensed Sentry (minor adaptations) 2025-11-04 09:40:02 +01:00
dependabot[bot]
1e81c95924 Update whitenoise requirement in the python-packages group
Updates the requirements on [whitenoise](https://github.com/evansd/whitenoise) to permit the latest version.

Updates `whitenoise` to 6.11.0
- [Changelog](https://github.com/evansd/whitenoise/blob/main/docs/changelog.rst)
- [Commits](https://github.com/evansd/whitenoise/compare/6.10.0...6.11.0)

---
updated-dependencies:
- dependency-name: whitenoise
  dependency-version: 6.11.0
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-18 15:16:04 +00:00
Klaas van Schelven
1611ea45d2 Merge pull request #211 from bugsink/canonical-api
"Canonincal" (Bugsink-specific) API: first version
2025-09-15 16:41:25 +02:00
Klaas van Schelven
a4e84fa0a3 Add Swagger using drf-spectacular
See #146

DRF 3.16 and Django 5.2 are not in drf-spectacular's published
list of supported but here's some sources that give reason to believe
they are supported _in practice_:

* https://github.com/tfranzel/drf-spectacular/issues/1417
* https://github.com/tfranzel/drf-spectacular/issues/1414
2025-09-12 11:46:44 +02:00
dependabot[bot]
70200898e3 Update whitenoise requirement in the python-packages group
Updates the requirements on [whitenoise](https://github.com/evansd/whitenoise) to permit the latest version.

Updates `whitenoise` to 6.10.0
- [Changelog](https://github.com/evansd/whitenoise/blob/main/docs/changelog.rst)
- [Commits](https://github.com/evansd/whitenoise/compare/6.9.0...6.10.0)

---
updated-dependencies:
- dependency-name: whitenoise
  dependency-version: 6.10.0
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 15:15:45 +00:00
Klaas van Schelven
4c2c26743e Canonical API 'skeleton': urls & views
this gives me something to look at and work with, despite
being wildly incomplete

See #146
2025-09-09 10:07:10 +02:00
Klaas van Schelven
1bbb383cfb Merge branch 'main' into django-5-2 2025-09-05 09:49:15 +02:00
Klaas van Schelven
f51bdb487e Tailwind 3 => 4 (and django-tailwind => 4.2)
Applied a version of the instructions here:
https://github.com/timonweb/django-tailwind/issues/229

and ran most of the "original build" instructions
2025-09-04 13:17:35 +02:00
Klaas van Schelven
0764024389 Replace python-sourcemap with ecma426
an up-to-date, w/ section support. Moreover: the other is 'NIH'.
2025-09-04 10:10:23 +02:00
Klaas van Schelven
5cf4591166 Merge branch 'main' into django-5-2 2025-08-28 21:38:24 +02:00
Klaas van Schelven
044270aa6e Upgrade inotify_simple to 2.0
mainly: available as a .whl now

See https://github.com/chrisjbillington/inotify_simple/issues/41
2025-08-25 08:55:50 +02:00
Klaas van Schelven
a6e33bb204 Merge branch 'main' into django-5-2 2025-07-27 21:48:34 +02:00
dependabot[bot]
7f7f8c00f1 Update jsonschema requirement in the python-packages group
Updates the requirements on [jsonschema](https://github.com/python-jsonschema/jsonschema) to permit the latest version.

Updates `jsonschema` to 4.25.0
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.24.0...v4.25.0)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-version: 4.25.0
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 16:05:14 +00:00
Klaas van Schelven
a91fdcd656 Sentry-SDK requirement, unpin minor version
My thinking:

* Avoid Dependabot spam for harmless version bumps. (sentry-SDK
  has the most upgrades by an order of magnitude)

* In princple, there should be no breakage, b/c they do semver and
  "minor version when you add functionality in a backward compatible manner"

* This is dev tooling; it shouldn’t be a source of friction.

* As it stands: I'm not thoroughly reviewing these anyway (b/c of the spammyness)

The alternative would have been to "just freeze" it; if we ever run into
problems because of the unpinning I certainly will.
2025-07-08 10:55:38 +02:00
dependabot[bot]
8544a47e8c Bump the python-packages group across 1 directory with 2 updates
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) and [jsonschema](https://github.com/python-jsonschema/jsonschema) to permit the latest version.

Updates `sentry-sdk` to 2.29.1
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.27.0...2.29.1)

Updates `jsonschema` to 4.24.0
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.23.0...v4.24.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-version: 2.29.1
  dependency-type: direct:production
  dependency-group: python-packages
- dependency-name: jsonschema
  dependency-version: 4.24.0
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 15:54:19 +00:00
Klaas van Schelven
1dfbaf5b2a Upgrade to Django 5.2
'shooting in the dark' edition, i.e. just upgrading the version number
without RTFM and seeing if the CI still runs
2025-04-26 11:04:24 +02:00
dependabot[bot]
a0d3da6034 Update sentry-sdk requirement in the python-packages group
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) to permit the latest version.

Updates `sentry-sdk` to 2.27.0
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.26.0...2.27.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-version: 2.27.0
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 15:24:45 +00:00
dependabot[bot]
c235e79370 Update sentry-sdk requirement in the python-packages group
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) to permit the latest version.

Updates `sentry-sdk` to 2.26.0
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.25.0...2.26.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-version: 2.26.0
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 15:50:10 +00:00
Klaas van Schelven
87130043e3 PoC of using sourcemaps in the UI
See #19
2025-04-10 15:52:34 +02:00
dependabot[bot]
937b9c20a1 Update sentry-sdk requirement in the python-packages group
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) to permit the latest version.

Updates `sentry-sdk` to 2.25.0
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.24.0...2.25.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 15:43:06 +00:00
dependabot[bot]
2e62612d5f Update sentry-sdk requirement in the python-packages group
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) to permit the latest version.

Updates `sentry-sdk` to 2.24.0
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.23.0...2.24.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 15:57:15 +00:00
dependabot[bot]
9fd3aaf887 Update sentry-sdk requirement in the python-packages group
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) to permit the latest version.

Updates `sentry-sdk` to 2.23.1
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.22.0...2.23.1)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 16:02:05 +00:00
dependabot[bot]
9b3e810950 Update sentry-sdk requirement in the python-packages group
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) to permit the latest version.

Updates `sentry-sdk` to 2.22.0
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.21.0...2.22.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 16:10:10 +00:00
dependabot[bot]
910a4ea8ac Update sentry-sdk requirement in the python-packages group
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python) to permit the latest version.

Updates `sentry-sdk` to 2.21.0
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.20.0...2.21.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 16:09:26 +00:00
dependabot[bot]
88a07d2f62 Update whitenoise requirement in the python-packages group
Updates the requirements on [whitenoise](https://github.com/evansd/whitenoise) to permit the latest version.

Updates `whitenoise` to 6.9.0
- [Changelog](https://github.com/evansd/whitenoise/blob/main/docs/changelog.rst)
- [Commits](https://github.com/evansd/whitenoise/compare/6.8.0...6.9.0)

---
updated-dependencies:
- dependency-name: whitenoise
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 15:25:58 +00:00
Klaas van Schelven
2336900dcb Update requirements to ==realmajor.realminor.* pattern
Trying to balance 'upgrade fatigue', 'stale deps' and 'being undefined'

With the present pattern:

* Only 'used by me' is defined; 'transitive dependencies' are left to upgrade.
* Dependabot is responsible for the major/minor updates; this will trigger
    a PR & CI, and thus the required explicitness (but also: some work)
* Patch versions are assumed to be compatible, and are left to upgrade in the
    background ('automatically')
2025-01-30 15:12:54 +01:00
dependabot[bot]
f6ae7b1957 Bump the python-packages group with 2 updates
Updates the requirements on [jsonschema](https://github.com/python-jsonschema/jsonschema) and [pygments](https://github.com/pygments/pygments) to permit the latest version.

Updates `jsonschema` to 4.23.0
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.19.0...v4.23.0)

Updates `pygments` to 2.19.1
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.16.0...2.19.1)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-type: direct:production
  dependency-group: python-packages
- dependency-name: pygments
  dependency-type: direct:production
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-30 13:57:15 +00:00
Klaas van Schelven
8ad4a2b522 Dependabot 'ignore django' rule: final try, using explicit version-range to ignore 2025-01-30 14:42:41 +01:00
Klaas van Schelven
4d0310c65b Dependabot 'ignore django' rule: give up, try via requirements.txt itself 2025-01-30 14:36:01 +01:00
Klaas van Schelven
2a0580cb4e Don't pin sentry-sdk 2024-11-28 11:44:31 +01:00
Klaas van Schelven
95c9dfa7a1 Use fastjsonschema's detailed_exceptions=False
We don't use fastjsonschema's exception info, falling back to jsonschema for that. Not using the info is faster.
Possible because https://github.com/horejsek/python-fastjsonschema/issues/187 was completed.

I did not at present do any speed/memory checks, but the diff is quite promising :-)
2024-11-28 11:42:16 +01:00
Klaas van Schelven
bbd444dca1 SDK: platform-specific notes for PHP, JS 2024-11-20 12:09:45 +01:00
Klaas van Schelven
2569ec4ac5 SDK instructions factored out to separate package 2024-11-19 09:25:27 +01:00
Klaas van Schelven
0f5ac46362 Add first version of 'phone home' 2024-11-07 22:08:53 +01:00
Klaas van Schelven
6c586e64f7 Downgrade tailwind to 3.6
(this is the last version that supports Python 3.9, which we want to
support as it's not EOL for a full more year)
https://github.com/timonweb/django-tailwind/issues/210

Afterwards, I went through a full cycle of:

```
rm theme/static_src/package-lock.json theme/static_src/node_modules/ -rf
python manage.py tailwind install
python manage.py tailwind build
```

but this did not change any of our generated stuff.
2024-10-09 09:10:47 +02:00
Klaas van Schelven
21b6ab2f48 Upgrade tailwind deps
As outlined in
https://github.com/timonweb/django-tailwind/issues/209
2024-10-09 08:53:05 +02:00
Klaas van Schelven
b1d2ec37fa Update the sentry-sdk we use
recommended by dependabot; 'should not be a problem' (i.e. we just
use this for dogfooding, not in our actual code-paths)
2024-10-08 13:25:56 +02:00
Klaas van Schelven
4fb14df090 Docker: Port configurable as an env variable 2024-10-03 22:11:50 +02:00
Klaas van Schelven
f2cd88032e Use verbose_csrf_middleware
this should make it so that you get the debug information right at the moment
you're experiencing the problem (rather than having to go to a special page)
2024-09-29 20:19:32 +02:00
Klaas van Schelven
febbbc67c7 Use fastjsonschema for validation 2024-09-19 12:17:41 +02:00
Klaas van Schelven
278630b529 Show Browser and OS info, and Contexts more generally 2024-09-16 16:55:34 +02:00
Klaas van Schelven
67cfbb58d7 Use 'monofy' package now that it is extracted 2024-09-04 22:54:27 +02:00
Klaas van Schelven
6a705b9980 'requests' is needed (as it stands) for production too 2024-08-29 08:30:14 +02:00
Klaas van Schelven
9c32b12649 Split out requirement.development.txt 2024-08-28 22:05:08 +02:00
Klaas van Schelven
e4174d1e64 mysqlclient out of requirements.txt
just install it where we need it, namely in the Docker image
2024-08-27 09:50:31 +02:00
Klaas van Schelven
32f87457d0 MySQL PoC 2024-08-26 11:22:58 +02:00