Klaas van Schelven
f548eab778
Merge branch 'main' into tag-search
2025-03-10 09:09:40 +01:00
Klaas van Schelven
3ee6f29f9c
tags: fix the indexes
...
this is the part I was able to do with careful reading (and rerunning the
tests); actual performance implications will be checked based on this
2025-03-07 20:59:21 +01:00
Klaas van Schelven
f8113916dd
Fix the tests
...
literally: the tests were always broken; in 39bddb14b7 I never
ran the tests before comitting
2025-03-07 20:46:11 +01:00
Klaas van Schelven
4b079487ca
make_consistent: explain the use of 'dangling fk cleanup'
2025-03-07 16:36:10 +01:00
Klaas van Schelven
0ade3c0f86
Add a comment about DB-CASCADE
2025-03-07 16:35:36 +01:00
Klaas van Schelven
af4641a43d
Tags page: case for empty
2025-03-07 14:14:05 +01:00
Klaas van Schelven
24b0c32281
make_consistent: tag-related models added
2025-03-07 13:57:22 +01:00
Klaas van Schelven
96e07c4dc3
Tags: delete EventTag when Events are evicted
...
and document related things
2025-03-07 13:50:10 +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
994e218e27
Notes on not-implemented tags
2025-03-06 15:58:54 +01:00
Klaas van Schelven
dfd15570e9
Fix on event details: when there are no tags, don't display the header
2025-03-06 15:24:11 +01:00
Klaas van Schelven
39bddb14b7
handled: searchable as a tag
...
also: don't display this in the detail view when the value isn't actually
in the data
2025-03-06 15:19:55 +01:00
Klaas van Schelven
0ad87be045
Notes on limitiations of TSTTCPW full_text search
2025-03-06 14:38:16 +01:00
Klaas van Schelven
97f03a8951
Rewrite 'eviction_target' comment
2025-03-06 14:03:51 +01:00
Klaas van Schelven
977aae1c25
Show remaining (in db, AKA 'available') number of events in the issue-list
...
prompted by a user being confused about the number of events in their DB;
not 100% sure I'll keep this info here, but I'm introducing it for now
at least
2025-03-06 13:32:32 +01:00
Klaas van Schelven
646b1ea090
Details page: be robust for top-level message-as-string
...
Fix #55
2025-03-06 13:09:29 +01:00
Klaas van Schelven
2c9d5c80ed
Search: support for quoted values
...
also adds tests and factors out the query parsing
2025-03-06 11:23:18 +01:00
Klaas van Schelven
1fa7436b2d
Search: factor out commonalities between issue and event search
2025-03-06 09:34:53 +01:00
Klaas van Schelven
fbb021ee2f
Testcase for Search
2025-03-06 09:26:43 +01:00
Klaas van Schelven
20a54381dc
Refactor: move tags/search stuff to its own module
2025-03-06 09:26:35 +01:00
Klaas van Schelven
3d62fba8e9
Add (some) tests for deduce_tags
2025-03-05 20:21:20 +01:00
Klaas van Schelven
37fcc348c3
Preserve query when navigating from issues to events
...
and vice versa
2025-03-05 16:53:18 +01:00
Klaas van Schelven
f99575b5c9
Support configuring the docker setup with Postgres
...
without making a statement about the maturity of Bugsink-on-Postgres,
enabling a postgres backend on Docker setups at least allows people
to experiment with it
See #21
2025-03-05 16:32:24 +01:00
Klaas van Schelven
f76d3f4f40
Merge branch 'main' into tag-search
2025-03-05 16:05:17 +01:00
Klaas van Schelven
3e5d6370ea
Postgres on GitHub: attempt w/ explict username/pw combo (WIP, attempt 2)
2025-03-05 12:20:55 +01:00
Klaas van Schelven
1911ab4eb8
Postgres on GitHub: attempt w/ explict username/pw combo
...
attempting to work around 'failed: fe_sendauth: no password supplied'
2025-03-05 12:20:55 +01:00
Klaas van Schelven
f25d693804
Add postgres to GitHub CI
...
A first step towards (experimental) postgres support, see #21
2025-03-05 12:20:51 +01:00
Klaas van Schelven
b211d961ce
Document github workflow choice
2025-03-05 11:16:54 +01:00
Klaas van Schelven
381a5caae4
Issue.calculated_* fields: fix lengths
...
as in a717dd7374 , but for Issue as well as Event.
The need for this was exposed by running the testsuite
against mysql; this commit fixes the tests.
2025-03-05 11:14:19 +01:00
Klaas van Schelven
b98c1d4f44
MySQL recover from IntegrityError
...
as we do for the sqlite case
the need for this was revealed by running the testsuite against mysql
2025-03-05 11:04:41 +01:00
Klaas van Schelven
d5a6f03a2e
Add mysql to GitHub CI
2025-03-05 10:36:54 +01:00
Klaas van Schelven
4cde74d7cb
Event search: first version
2025-03-04 13:51:56 +01:00
Klaas van Schelven
0cbdae9411
_get_events helper: clarify edge-cases
...
In b76e474ef1 , the event-navigation was changed into the next/prev idiom (I
think completely, i.e. also from the .html files, but did not check) but the
elif structure and error message did not fully reflect that (it still talked
about digest_order/id, but nav is now one of the primary methods)
I briefly considered removing the lookup-by-digest-order-only, but I figure it
may come in handy at some point (if only for users to directly edit the url)
and did not check whether this is actually unused.
2025-03-04 09:59:03 +01:00
Klaas van Schelven
0de8261440
Restore mostly_unique filter
...
botched in bbfee84c6a
2025-03-03 15:58:20 +01:00
Klaas van Schelven
a00a815261
Merge branch 'main' into tag-search
2025-03-03 15:02:13 +01:00
Klaas van Schelven
70b77d71ee
Fix conditional on 'Issue Tags' RHS
2025-03-03 13:42:36 +01:00
Klaas van Schelven
bbfee84c6a
issue tags: single query rather than one-per-tag
2025-03-03 13:42:18 +01:00
Klaas van Schelven
e6bc660731
Add note about per-key tag pages
2025-03-03 13:25:41 +01:00
Klaas van Schelven
1ae5bb3fd1
Tags: no cutoff when there are many
...
this idea was superceded by doing it explicitly in 00c49443eb
2025-03-03 13:23:52 +01:00
Klaas van Schelven
5930740e0b
Tags: as a separate tab
2025-03-03 12:56:20 +01:00
Klaas van Schelven
c8ecf508de
Tags: on event details page show calculated tags
...
(not just the explicitly provided ones)
2025-03-03 11:29:07 +01:00
Klaas van Schelven
124f90b403
'Issue Tags' box: show on all issue-related pages
...
now that it's no longer tied to the event...
2025-03-03 11:00:11 +01:00
Klaas van Schelven
406472b6d4
os.version as a tag
2025-03-03 10:55:15 +01:00
Klaas van Schelven
33ed3242c2
Fix browser.version tag-deduction
2025-03-03 10:54:17 +01:00
Klaas van Schelven
00c49443eb
Add 'mostly_unique' property to tags
2025-03-03 10:52:28 +01:00
Klaas van Schelven
1b9a76bc17
Add comment about counting tags occurrences
2025-03-03 09:41:00 +01:00
Klaas van Schelven
d400d98a02
Add setting to enable opting out of PHONEHOME
...
Fixes #52
2025-03-03 09:26:06 +01:00
Klaas van Schelven
1571a4f87f
Linebreaks in event detail values
...
Prompted by .message; but more generally useful and applied.
Fixes #51
2025-03-03 09:12:06 +01:00
Klaas van Schelven
adf92f6b1b
make_consistent: update has_releases when needed
...
See #50
2025-03-03 09:06:31 +01:00