Klaas van Schelven
ac8e2e8cd6
Tailwind 3 => 4: ring => ring-3
...
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities
2025-09-04 13:20:22 +02:00
Klaas van Schelven
4ad3c5efcf
Hardening of Temporary-Directory Usage
...
Defends against certain forms of local privilege escalation, i.e.
understood to be defense in depth rather than a security issue given
the recommended ways of deploying (docker container or in a single-use
single-server)
Fix #174
See https://github.com/python/cpython/pull/23901
2025-08-30 15:10:50 +02:00
Klaas van Schelven
6a523a6a67
Merge pull request #192
...
i18n support and Chinese translation
2025-08-28 20:23:54 +02:00
Klaas van Schelven
a0dc91c8c5
Push verbose_name to the model-level
...
at least for those fields where it is currently used.
this necessitates a patch to the migration machinery, which this commit adds
See #161
2025-08-28 16:03:27 +02:00
Klaas van Schelven
a3cdeb9c8a
Flake8 (including one breakage)
...
See #161
2025-08-28 15:01:05 +02:00
Klaas van Schelven
f0d3667121
Remove 'kind' idea from send_json util
...
we only support one kind: files.
(in the past it was useful to send-to-self already uploaded items,
but this idea is never used in practice, and the whole idea of having to supply a
'kind' on the cmdline is confusing)
2025-08-24 21:03:35 +02:00
Klaas van Schelven
c38ca8c58a
send_json command: --dsn param required (or from env)
2025-08-24 20:59:38 +02:00
Klaas van Schelven
1938f0a179
send_json/stress-test util: remove space from envelope
...
closer to the recommended format; and matches the comment ('smallest')
2025-08-02 22:36:40 +02:00
某亚瑟
2b5fb1bf67
Basically completed i18n support, and Chinese translation
...
Implement most Chinese text translations, adding default recognition browser language and user settings language
2025-08-02 10:25:19 +08:00
Klaas van Schelven
abb84172bb
header and envelope parsers: filter, don't fail on validation failures
...
See #179
2025-08-01 09:48:40 +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
13226603ec
send_json utility: make envelope API the default
...
the store API is deprecated and b/c it doesn't support the ingest/digest
split can be quite confusing.
this is similar to 2b8efc9452 (for the stress_test command the 'store'
API option was removed entirely)
2025-07-25 22:00:21 +02:00
Klaas van Schelven
b432d3f6b6
Docker: BEHIND_HTTPS and BEHIND_PROXY
...
Fix #164
2025-07-25 16:52:09 +02:00
Klaas van Schelven
d99f946665
Merge branch 'main' into feature/add_dark_theme
2025-07-07 11:08:00 +02:00
Klaas van Schelven
9135e88495
Wrap one more BASE_URL usages with str()
...
In 59372aba33 a lazily evaluated BASE_URL tool was introduced.
I found 1 more case in which BASE_URL was not "collapsed into a
string" magically by `__add__`, causing an
`AttributeError: 'TenantBaseURL' object has no attribute 'decode'`
2025-06-19 09:44:55 +02:00
Fabien LEFEBVRE (d1ceward)
9cec248ad8
Add dark theme
2025-06-16 15:37:37 +02:00
Klaas van Schelven
2b8efc9452
stress_test command: remove must-be-true fresh-id param
2025-05-12 10:56:39 +02:00
Klaas van Schelven
528998fae5
stress_test command: remove deprecated 'use_envelope' option
...
we always do that, as per the now-removed comment
2025-05-12 10:49:06 +02:00
Klaas van Schelven
265a3e56ee
Textual: setting-name in all-caps
2025-05-12 10:42:53 +02:00
Klaas van Schelven
0c14962d92
Add system-check for BASE_URL
2025-05-10 14:01:43 +02:00
Klaas van Schelven
9b0f0e04f4
CREATE_SUPERUSER shortcut: robust for ':' in password
2025-05-07 09:21:21 +02:00
Klaas van Schelven
d5a449020d
Stress test: more fat-tailed randomness
...
direct cause: the ability to create test-data for many-Issue setups
2025-05-06 10:42:18 +02:00
Klaas van Schelven
5895253803
Count view: async slow counts
...
when you count, it's usually because there are many, so this
extra complication is probaly going to be required
2025-04-17 22:03:23 +02:00
Klaas van Schelven
d3de2e6d5b
Add '--window' param to showstat
2025-04-17 12:20:11 +02:00
Klaas van Schelven
21dfa6dbbc
Show stat command: add column for 'write saturation
2025-04-17 12:18:09 +02:00
Klaas van Schelven
b3c99fda72
Add 'munin' command
...
(initial target market: me)
2025-04-17 09:01:42 +02:00
Klaas van Schelven
fb45a8ccc9
Show stats command for snappea
2025-04-16 21:48:41 +02:00
Klaas van Schelven
712eb63faa
Merge pull request #80 from bugsink/sourcemaps-spike
...
Sourcemaps: first version
2025-04-14 11:08:19 +02:00
Klaas van Schelven
f56e3c647a
Auth Tokens: a UI
2025-04-14 10:35:37 +02:00
Klaas van Schelven
485df1aed9
AuthToken: ability to create using a command
2025-04-11 14:45:37 +02:00
Klaas van Schelven
895da36adc
AuthToken: barebones implementation
2025-04-11 14:30:29 +02:00
Klaas van Schelven
594144f04d
Add chunked (transfer) encoding to send_json command
...
Back when fixing #9 , a test-command wasn't added.
See #8 , See #9
2025-04-10 21:17:15 +02:00
Klaas van Schelven
0358af9a59
Fix on 'stress test tags: support for RANDOM data'
...
i.e. actually send RANDOM data
2025-03-10 20:50:24 +01:00
Klaas van Schelven
050b3fe1d8
stress test tags: support for RANDOM data
2025-03-10 09:39:17 +01:00
Klaas van Schelven
f548eab778
Merge branch 'main' into tag-search
2025-03-10 09:09:40 +01:00
Klaas van Schelven
832539a197
Createsuperuser pre-start message: even more explicit
2025-03-07 10:47:18 +01:00
Klaas van Schelven
b560628c19
Createsuperuser pre-start: don't do that when _any_ users exist in the DB
...
Fixes #54
2025-03-07 09:52:43 +01:00
Klaas van Schelven
0aa067eb9b
Add --fresh-trace and --tag params to send_json/stress_test
2025-02-27 14:04:52 +01:00
Klaas van Schelven
918b1ef54c
Add ids to 2 system-checks
2025-02-18 12:10:32 +01:00
Klaas van Schelven
3cb07246b9
Add system-check for EVENT_STORAGES setting
2025-02-18 12:08:05 +01:00
Klaas van Schelven
97e54868c9
showstat: warning about eviction
2025-02-17 13:41:21 +01:00
Klaas van Schelven
5263980f54
showstat: digestion_speed
2025-02-17 13:21:41 +01:00
Klaas van Schelven
01325ae0f3
Add migrate command that always shows timings
2025-02-14 10:15:23 +01:00
Klaas van Schelven
561c1d324a
event.data getters
...
in preparation for scenarios where the dumped data is not stored in the DB
2025-02-07 17:09:36 +01:00
Klaas van Schelven
51fced662a
Add event_count showstat
2025-02-07 11:13:15 +01:00
Klaas van Schelven
fd7eae681d
Remove migrations directory from modelless apps
2025-02-03 13:05:20 +01:00
Klaas van Schelven
cf23ba707e
Warn about top-level settings
2025-01-24 11:40:13 +01:00
Klaas van Schelven
ae9cb209a5
Create 'bsmain' (for bugsink-main) app to hold commands
...
As had been noted on some of the commands, 'ingest' was not the best place for
them. However, [project-level apps are not supported in
Django](https://forum.djangoproject.com/t/allow-project-to-have-management-commands/5220/2 )
So just create a 'main' app. I want to qualify it as 'myproject-main' though, to avoid
further unqualified global namespace pollution. And I want to avoid prefixing with 'bugsink'
b/c that's annoying for tab-completion. So 'bs' it is.
I've moved all commands over; even though a case could be made that the "feeding" commands
(raise_exception, send_json, stress_test) are somewhat related to ingestion, that's not
a very good case :-)
2025-01-23 11:55:34 +01:00