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
0fb81b29ae
markdown_stacktrace util: display an event's stacktrace in markdown
2025-09-12 16:41:39 +02:00
Klaas van Schelven
462a3169cd
Add one more test that proves safe use of mark_safe
...
See #175
2025-07-30 12:37:57 +02:00
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
8ad9fe33ca
Too many quotes in local-vars display
...
Fix #119
2025-06-11 16:57:43 +02:00
Klaas van Schelven
a5bc27032a
Visualize trimmed data ('x items trimmed')
...
Fix #18
Similar to [the request for the same feature in Sentry](https://github.com/getsentry/sentry/issues/68426 )
SDK-side complaints:
* https://github.com/getsentry/sentry-python/issues/377
* https://github.com/getsentry/sentry-python/issues/805
* https://github.com/getsentry/sentry-python/issues/1041
* https://github.com/getsentry/sentry-python/issues/1105
* https://github.com/getsentry/sentry-python/issues/2121
* https://github.com/getsentry/sentry-python/issues/2682
* https://github.com/getsentry/sentry-python/issues/3209
* https://github.com/getsentry/sentry-python/issues/3634
* https://github.com/getsentry/sentry-python/issues/3740
2024-12-18 17:05:26 +01:00
Klaas van Schelven
5810c1c580
choose_lexer_for_pattern: choose DjangoLexer explicitly when platform is Python
...
Other than fixing syntax higlighting for my favorite language, this has
the advantage of actually being a _deterministic_ solution (the previous
solution would do first-match) which makes the extra complexity worth-while.
2024-12-16 21:32:21 +01:00
Klaas van Schelven
18427bb47f
Fix 'pygmentize' tests for recent platform-addition
2024-09-17 23:08:55 +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
477ec43487
Fix bug with pygmentize and just-newline lines
2024-04-01 22:22:12 +02:00
Klaas van Schelven
6745d0e112
Match pygments input-line-counts with output-line-counts and test that this works
2024-03-29 20:49:05 +01:00