1800 Commits

Author SHA1 Message Date
Klaas van Schelven
4fe8bd3fad ingest ParseError: don't raise a 500; make this the SDK's problem (400)
500 was just fine when I was still calibrating the envelope parsing, but AFAICT it's
correct now, so I'd rather not get notified about 'remaining problems' (which are SDK problems)
2025-12-09 15:58:48 +01:00
Klaas van Schelven
ec6d480cd1 Cleanup: harmonize import-style for exceptions 2025-12-09 15:56:02 +01: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
535f152873 Dead code removal
2 earlier attemts at capture_stacktrace
2025-12-06 19:36:58 +01:00
Klaas van Schelven
4564131ff5 Fix for pygements mishandling a weird case w/ ruby
See https://github.com/pygments/pygments/issues/2998
2025-12-06 19:32:29 +01:00
Klaas van Schelven
66b9b63c1e Clarify brotli error wording 2025-11-26 12:46:13 +01:00
Klaas van Schelven
bee889f2cd Raise 413 for the 'content too large' case 2025-11-26 12:45:22 +01:00
Klaas van Schelven
11228dfa5d 'All tags...' link: italic
to distinguish it from the actual tag headers
2025-11-26 12:22:27 +01:00
Klaas van Schelven
609e92935d Note about 'megaphone' icon 2025-11-26 10:46:28 +01:00
Klaas van Schelven
2ac297c012 Slack alerts: issue title in message title
Fix #283
2025-11-26 10:35:26 +01:00
Klaas van Schelven
1ecd03634c Note about Discord & channels
See #281
2025-11-26 10:20:53 +01:00
Klaas van Schelven
e6096a0472 Note about Slack & channels
See #281
2025-11-26 10:06:35 +01:00
Klaas van Schelven
164a1b5c5c Channel support for Mattermost
based on the work in 62fdfb7623, tested for both channels and users

Fix #281
2025-11-26 09:48:40 +01:00
Klaas van Schelven
2a90d6ab1e Message service backend setup: switch config form per-service in the UI
See #281, which this commit prepares for
2025-11-26 09:10:14 +01:00
Klaas van Schelven
e0e4104cae Comment-out console.log 2025-11-26 08:34:33 +01:00
Klaas van Schelven
1cc5c32f10 Typo in docstring 2025-11-26 08:29:50 +01:00
Klaas van Schelven
4e71f4f04c Discord alert backend: send 'valid' URLs only
Fix #280
2025-11-25 21:26:41 +01:00
Klaas van Schelven
ae80403c7c Merge pull request #279 from bugsink/hijacked-pr-265
Add discord backend support
2025-11-25 13:40:09 +01:00
Klaas van Schelven
e35f10b5d4 Formatting (no behavior change)
Facilitate visual comparison with the 'reference impl' (slack).
The service backends do heavy copy/pasting, good to keep the beast
in check by at least limiting the changes to the bits that actually
diverge
2025-11-25 13:08:31 +01:00
neverabsolute
c8792e5c84 Add Discord backend support to MessagingServiceConfig and related tests
Fix #121
2025-11-25 13:08:22 +01:00
Klaas van Schelven
3f8c77784a Merge pull request #278 from bugsink/hijacked-pr-253
Mattermost Alert Backend
2025-11-25 12:47:39 +01:00
Klaas van Schelven
167fe8bbc9 Mattermost Alert Backend
W.r.t. the user-contributed version, this:

* removes commented-out code
* removes channels (not supported at the UI level)
* removes all other things

Said differently: the mattermost Alert Service Backend is simply the Slack version
with edits to make it mattermost-specific (and nothing else).

(In a few places I've edited the slack backend to make comparing easier).

Fix #277
See #253
2025-11-25 12:40:18 +01:00
Torsten Curdt
62fdfb7623 Mattermost alert backend
(commits squashed by @vanschelven)
2025-11-25 10:48:16 +01:00
Klaas van Schelven
9b2acddf20 yesno filter: just don't return None ever
I had someone run into this on hosted Bugsink; couldn't reproduce it.
Thought I fixed it in e8fb9556f7 (specific to the Chinese translation)
but appararently there's other ways to reach this point.

No matter, just create a version of the yesno filter that's not sensitive
to any future mistranslation.
2025-11-24 21:24:44 +01:00
Klaas van Schelven
bddc2e8f64 tailwind update
i.e. running this:

```
python manage.py tailwind update
python manage.py tailwind build
```

prompted by:
https://github.com/advisories/GHSA-5j98-mcp5-4vw2

not (likely to be) affecting us (since this is for local builds only)
but might as well run the update to get rid of the warning the proper
way.
2025-11-18 15:27:11 +01:00
Klaas van Schelven
680f84a382 Update dependabot config 2025-11-18 09:25:53 +01:00
Klaas van Schelven
58f74863c3 Fix comment 2025-11-18 09:09:26 +01:00
Klaas van Schelven
bec04b5775 Minidump: use function-name as exception-type
not 'full stackbased grouping' yet; but makes grouping workable at least
2025-11-18 09:09:17 +01:00
Klaas van Schelven
628f7bde6e Comment about TagValue counts
See #272
2025-11-17 14:47:28 +01:00
Klaas van Schelven
eeac2e750c Link to 'all tags' in the 'tags' RHS box 2025-11-16 20:08:50 +01:00
Klaas van Schelven
4137565de9 Note about (crashpad/minidump) guid 2025-11-16 19:54:13 +01:00
Klaas van Schelven
8283b80b35 Minidump API Endpoint: custom/extra fields support 2025-11-16 09:29:20 +01:00
Klaas van Schelven
f5605c8d0e Tags on issue-tags page: tailwind-based histograms 2025-11-15 16:13:05 +01:00
Klaas van Schelven
60bbf8c606 send_json/stress_test utils: Prettier tag-sending, pt.2 2025-11-15 15:44:19 +01:00
Klaas van Schelven
8da9ec593e send_json/stress_test utilities: prettier tag-sending 2025-11-15 14:51:27 +01:00
Klaas van Schelven
1829465342 Merge pull request #270 from bugsink/minidumps
Minidumps: PoC
2025-11-15 13:43:36 +01:00
Klaas van Schelven
7df7bc7f4d Minidump feature flag: configurable in docker 2025-11-15 13:38:09 +01:00
Klaas van Schelven
661d83bd93 minidumps: FEATURE flag 2025-11-15 13:33:49 +01:00
Klaas van Schelven
2660e1b027 Rendering of events w/ frames=None: be robust for it 2025-11-15 13:04:37 +01:00
Klaas van Schelven
97c1e4c71c Comment about difs_assemble endpoint 2025-11-13 08:33:31 +01:00
Klaas van Schelven
9f6cd88ec6 Remove unneeded layer of indirection in query. 2025-11-13 08:33:12 +01:00
Klaas van Schelven
3d031376ef Merge branch 'main' into minidumps 2025-11-12 22:15:40 +01:00
Klaas van Schelven
9f2a7c6737 de-chatgptize event_threads_for_process_state
this code was created in a REPL/ChatGPT/minidump-API/HITL session,
until I had something that "seemed to work". the present commit
is the result of rereading, refactoring for understanding etc.
it's not "pure refacting" in the sense that it's behavior-changing,
but AFAICT for the better. e.g. "line 0" => just leave that out and
many similar changes.
2025-11-12 22:05:42 +01:00
Klaas van Schelven
eea5f032e2 Clarified meaning of process_state.requesting_thread
(the now-removed 'treat as pid' was hallunicated by the bot; the
taken-from-sentry version missed the guard against -1)

> The index of the thread that requested a dump be written in the
> threads vector. [..] If the dump was not produced as a result of an exception
> [..] this field will be set to -1,
2025-11-12 21:33:18 +01:00
Klaas van Schelven
54ec6eaceb Populate exception['value']
mirrors how we show fetch it in `get_exception_type_and_value_for_exception`
2025-11-12 21:04:53 +01:00
Klaas van Schelven
5757b4f9b5 Typo in comment 2025-11-12 21:03:03 +01:00
Klaas van Schelven
b60980c8f3 PoC: Minidumps w/ symbolification
Plenty of TODOs left; but this proves we can find:

* file names
* function names
* line nos
* source context

See #82
2025-11-12 20:44:38 +01:00
Klaas van Schelven
74a04f6ea1 'files' is a bugsink module too; reflect in eat_your_own_dogfood 2025-11-12 16:39:50 +01:00
Klaas van Schelven
b99e26d83f Don't log non-sent emails
e.g. for users with their email addresses blanked out

See #86
2025-11-12 16:28:11 +01:00
Klaas van Schelven
2fe2b4fb9d Use debug-tools for email in development
See #86
2025-11-12 16:27:14 +01:00