Commit Graph

953 Commits

Author SHA1 Message Date
Klaas van Schelven
bbd444dca1 SDK: platform-specific notes for PHP, JS 0.1.18 2024-11-20 12:09:45 +01:00
Klaas van Schelven
e997e8fd47 Remove explicit configuration of DjangoIntegration
As per the docs it's automatic (these days). It was probably introduced at a
time when this was not yet the case
2024-11-19 12:56:30 +01:00
Klaas van Schelven
86d8577a4f SDK instructions: use texts from sdkconf; point to website for further info 2024-11-19 12:37:37 +01:00
Klaas van Schelven
2569ec4ac5 SDK instructions factored out to separate package 2024-11-19 09:25:27 +01:00
Klaas van Schelven
5b5b9bf189 README / pyproject updates 2024-11-18 15:00:57 +01:00
Klaas van Schelven
8ff309cd8f Harmonize 'localhost' v.s. '127.0.0.1' defaults
* The default is "localhost" now (as per what we write in the docs on the
  website). (It already was the default for Docker, but not for all settings
  yet)
* FREE_VERSION-nagging adapted accordingly
* create_conf: adapted accordingly.
* create_conf: Fix help-text ("BASE_URL" not "SITE_TITLE")
* deduce_allowed_hosts
    * don't just generally accept "*" for the locally hosted one, instead
      specify the 2 correct spellings
    * "and vice versa" ("localhost" accepted in your browser bar if you specify 127.0.0.1)
2024-11-18 13:36:53 +01:00
Klaas van Schelven
c68563f11e createsuperuser command: help users understand 'email' is a serious field 2024-11-18 13:21:02 +01:00
Klaas van Schelven
c02ed8e27c Rewrite comment in local.py.template for clarity 2024-11-18 09:39:07 +01:00
Klaas van Schelven
9e882fafa0 DSN page: verification of the setup should be more explicit
during user-testing, it was revealed that people think there is something
wrong when they see 'DivisionByZero' when this is in fact precisely what
was intended. Hopefully the new text removes this confusion
2024-11-15 16:43:27 +01:00
Klaas van Schelven
1780f64f90 local template: don't allow USER_REGISTRATION
as per the shown warning b/c SINGLE_USER=True
2024-11-15 16:17:13 +01:00
Klaas van Schelven
d768228f35 Add base-dir option to create-conf command
Fixes #11
2024-11-15 15:40:34 +01:00
Klaas van Schelven
71d6e89c93 Show warning message when there are many/stale snappea tasks
As discussed in #11, there are scenarios (e.g. misconfiguration) where snappea
does not pick up the tasks. Events not showing up in Bugsink, w/o further
indication why that may be, leaves people confused. Better to warn explicitly
in that case.
2024-11-15 14:51:41 +01:00
Klaas van Schelven
4a28c51b6a Tests: Add known-broken handling for events that are invalid on purpose 2024-11-15 11:20:12 +01:00
Klaas van Schelven
d7b46265d1 UA Agent Parsing should never crash the event-view
See #13
0.1.17
2024-11-15 10:55:16 +01:00
Klaas van Schelven
3222c0d85e Fix the tests (missing initial data in transactiontestcase) 2024-11-15 10:14:01 +01:00
Klaas van Schelven
78bceaaf43 phone-home 'EMAIL_BACKEND' (a signal about production-use) 2024-11-11 14:43:26 +01:00
Klaas van Schelven
0f60dab032 phone-home: on (docker) server-start too 2024-11-11 14:37:27 +01:00
Klaas van Schelven
47bf207db5 Nudge non-paying users to paid (yellow banner, site-title) 2024-11-11 14:05:02 +01:00
Klaas van Schelven
043c3462c3 Remove 'assets' dir; it's just old attempts at a logo
and an unreported bug with Django, which I have now reported.

https://github.com/django/django/pull/18785
2024-11-08 10:03:51 +01:00
Klaas van Schelven
6a52dc1afa Fix pyproject.toml 0.1.16 2024-11-07 22:13:39 +01:00
Klaas van Schelven
0f5ac46362 Add first version of 'phone home' 0.1.15 2024-11-07 22:08:53 +01:00
Klaas van Schelven
81722776c1 Use os.env's PORT as a default in BASE_URL 2024-11-06 09:45:50 +01:00
Klaas van Schelven
488b52ea04 prestart command (simplying the throwaway Docker install) 2024-11-06 09:38:54 +01:00
Klaas van Schelven
a5204bd93a README: screenshot & very short installation instructions 2024-10-23 12:11:12 +02:00
Klaas van Schelven
34d6c92cf5 PR 'no': clarify what _is_ possible 2024-10-23 08:31:50 +02:00
Klaas van Schelven
b94c9f2a27 Stacktrace var widths: better for small screens 2024-10-21 15:00:39 +02:00
Klaas van Schelven
1741c0a510 'Issue Key Info'; show on xl, not lg
prompted by the LHS going awry, esp. the part where the 'Show all' etc buttons
git commit -m "'Issue Key Info'; show on xl, not lg. (while recording a video
at 1080px width)
2024-10-21 14:58:07 +02:00
Klaas van Schelven
4803746c9b despecked favicon
the previous one had a speck on it but apparently I already had a despecked somewhere.
2024-10-20 21:47:00 +02:00
Klaas van Schelven
d2e5bfba00 Remove cornless servers
https://www.bugsink.com/blog/disposable-web-servers/ is where they live now
2024-10-18 20:28:39 +02:00
Klaas van Schelven
1351f1a30d Version: show on settings page 0.1.14 2024-10-14 20:23:40 +02:00
Klaas van Schelven
98e666e3ff Remove dashses from displayed DSN
Fixes #7

I could not find any documentation on what the "standard" is, but I know that
we'll pick it up just fine either way (because Django's UUID field does the
magic for us).

Given that it's impossible to setup your JS client with the dashes, they should
simply be removed.
2024-10-14 20:15:45 +02:00
Klaas van Schelven
2506e9e65f Add pull_requests_template.md to discourage contributions via PRs 2024-10-14 20:03:47 +02:00
Klaas van Schelven
679cf8134a fix: HTTP_TRANSFER_ENCODING header: read it only if given 2024-10-14 18:07:15 +02:00
Klaas van Schelven
3f31fc4c00 No need for CHUKED_TE_HANDLED setting
in the end I noticed that Gunicorn and mod_wsgi have extended
the wsgi spec, and I decided to use that instead
2024-10-14 17:06:35 +02:00
Klaas van Schelven
a9f6218ae6 Support Chunked Transfer-Encoding Requests
Fixes #9
2024-10-14 16:49:34 +02:00
Klaas van Schelven
1755fa32c0 Envelope parsing: push exception about lack of errors up into parser
fail-fast, rather than return-none-fail-later
2024-10-14 16:15:45 +02:00
Klaas van Schelven
1ca7a1ecd9 Envelope-parser parameter rename for clarity
the error is about whether an EOF can happen _right after_ the
header is parsed.
2024-10-14 11:34:11 +02:00
Klaas van Schelven
333f1de22e pyproject project.urls 2024-10-14 10:13:49 +02:00
Klaas van Schelven
8594fa2b50 Remove EXPOSE from Dockerfile
it doesn't actually take runtime vars ('-e') into account
https://stackoverflow.com/questions/50178013/docker-expose-using-run-time-environment-variables

we'll just recommend '-p xxxx:xxxx' instead
0.1.13
2024-10-09 10:11:53 +02:00
Klaas van Schelven
c56611bc82 Note that MySQL supports DELETE w/ LIMIT too 2024-10-09 09:58:47 +02:00
Klaas van Schelven
782bb81b82 Envelope is not actually json; let's reflect that in the filename 2024-10-09 09:38:00 +02:00
Klaas van Schelven
cba2eb3584 Envelope-store logging: point to exact location for download 2024-10-09 09:36:17 +02:00
Klaas van Schelven
a929c9d574 Python support: drop 3.8, introduce 3.13
why: simply motivated by Python's own EOL-cycle; i.e. I'm not
actively going to use any 3.13 or 3.9 features now.

how: updating test-matrixes; but no actual local testing done yet
2024-10-09 09:16:17 +02: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
d60b59002e Add VALIDATE_ON_DIGEST and KEEP_ENVELOPES as docker env settings 2024-10-08 22:26:22 +02:00
Klaas van Schelven
55e077e974 Document a finding 2024-10-08 22:09:26 +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
98776ebdfb Storing of envelopes: added as a debugging tool 2024-10-08 13:19:07 +02:00
Klaas van Schelven
0e48f346d1 Avoid cross-transaction pollution
in IMMEDIATE mode, project was passed from an (implicit) read transaction to
the immediate_atomic-wrapped code; this meant that it was possible to miscount
project.digested_event_count
2024-10-08 11:53:31 +02:00