Commit Graph

34 Commits

Author SHA1 Message Date
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
Klaas van Schelven
8a6e721dbd Update sentry SDK dependency
better sooner than later given the extensions; cursory check and
reading the 'breaking changes' seems to indicate: all is well
2024-05-27 13:54:02 +02:00
Klaas van Schelven
769e413d28 (WIP) docs for and DDD for single-server deployment 2024-05-16 21:56:39 +02:00
Klaas van Schelven
0f0a4f996c DDD: whitenoise
Why?

> One is that WhiteNoise is designed to work in situations where Apache, nginx
> and the like aren’t easily available. But more importantly, it’s easy to
> underestimate what’s involved in serving static files correctly

We deal with both these situations:

* for local development, we recommend running with DEBUG=False and still want to
  sever staticfiles

* for deploying using nginx/whatever, I'd like to keep my instructions as simple
  as possible, and doing this right once (in whitenoise) saves us from having to
  come up with the right instructions for a bunch of webservers.
2024-05-16 10:31:59 +02:00
Klaas van Schelven
c1fdb3b591 Proof of Concept for pyproject.toml 2024-05-15 13:32:11 +02:00
Klaas van Schelven
7bfad36376 Implement brotli decompression 2024-04-25 15:56:11 +02:00
Klaas van Schelven
c3af388461 envelope endpoint: use StreamingEnvelopeParser
in the process, the DRF was removed (it's non-streaming)
2024-04-25 11:39:19 +02:00
Klaas van Schelven
4fbc283f3e Convert snappea 'wakeup' signal to inotify-based
see https://github.com/python/cpython/issues/118143
2024-04-22 15:34:33 +02:00
Klaas van Schelven
b03c2ec088 Remove celery 2024-04-19 21:58:32 +02:00
Klaas van Schelven
eb1bcbcbf6 Configure django-debug-toolbar 2024-04-09 12:46:00 +02:00
Klaas van Schelven
17b5c0d089 Add integration test for issue-ingestion & rendering 2024-04-03 09:52:50 +02:00
Klaas van Schelven
12bbde947a Use pygments, the simple way
as per their quickstart
2024-03-29 17:29:06 +01:00
Klaas van Schelven
d30a8dbdf4 filter-fields, readonly fields for FKs 2024-03-24 22:02:15 +01:00
Klaas van Schelven
f96724a4db celery: basic config (quickstart); alerts startapp
I've checked that this celery config actually works (also with TASK_ALWAYS_EAGER=False)
2024-01-09 19:16:07 +01:00
Klaas van Schelven
435470eabf semver is a dependency 2023-12-09 08:34:40 +01:00
Klaas van Schelven
f3b3fea2d2 Only bulk-load up-to-date valid Events 2023-11-12 21:20:02 +01:00
Klaas van Schelven
79e333c923 tailwind 2023-11-08 20:16:10 +01:00
Klaas van Schelven
2212fe4700 requirements: get rid of six 2023-11-05 19:22:36 +01:00
Klaas van Schelven
bfea1b30cc Last time's work: we can get something on-screen now 2023-11-03 19:25:26 +01:00
Klaas van Schelven
abccf2c553 Django 4.2 installed; startproject 2023-10-29 16:49:07 +01:00