247 Commits

Author SHA1 Message Date
Klaas van Schelven
8ad6059722 Complete migration reset 2024-06-14 10:29:10 +02:00
Klaas van Schelven
c4358aaece Fix tests for users.User idiom 2024-06-12 17:45:06 +02:00
Klaas van Schelven
93b8c892b1 'No issues found' bigger (I overlooked it myself) 2024-06-10 15:45:30 +02:00
Klaas van Schelven
b04feae788 SDK setup (WIP) 2024-06-07 17:24:25 +02:00
Klaas van Schelven
222a6906dd Remove dead (template) code 2024-06-03 09:14:03 +02:00
Klaas van Schelven
cef1127e48 Make user-model swappable
I may just need this later, and doing it this late was already painful enough.
2024-05-29 10:22:57 +02:00
Klaas van Schelven
d2ba9b9ddb Add missing migration 2024-05-17 10:14:09 +02:00
Klaas van Schelven
8d23239526 Be more strict about usage of TransactionTestCase in tests 2024-04-27 20:35:35 +02:00
Klaas van Schelven
41a4913299 Implement SNAPPEA_TASK_ALWAYS_EAGER 2024-04-19 21:41:42 +02:00
Klaas van Schelven
8e70d04c2c Split issue_list into 2 parts for a shorter write-lock 2024-04-19 09:16:18 +02:00
Klaas van Schelven
c50780ab4e Use atomic transactions in views 2024-04-18 13:15:46 +02:00
Klaas van Schelven
d75bede5dd Show current status for issues 2024-04-16 21:54:36 +02:00
Klaas van Schelven
3a571afce7 Show timezones in templates
and: put it on Europe/Amsterdam 'for now'. Better local development experience
2024-04-16 13:59:15 +02:00
Klaas van Schelven
a7c02a24e2 Show 'seen in releases' in the UI 2024-04-16 13:31:08 +02:00
Klaas van Schelven
d89e3d4dd5 Add 'next-materialized historic annotation 2024-04-16 09:31:12 +02:00
Klaas van Schelven
d17292b2b7 Fix typo (textual) 2024-04-15 20:28:42 +02:00
Klaas van Schelven
f236dea0bf Don't allow newly created empty comments 2024-04-15 19:47:30 +02:00
Klaas van Schelven
a5f6326d26 Implement ctrl-enter form-submitting for the history comments 2024-04-15 19:43:18 +02:00
Klaas van Schelven
c3f8996e6b History view: Make button stand out less 2024-04-15 19:33:08 +02:00
Klaas van Schelven
308a257d3f Implement comment-deleting 2024-04-15 16:02:03 +02:00
Klaas van Schelven
d3e73a5c87 Permission-check on comment-editing 2024-04-15 15:12:43 +02:00
Klaas van Schelven
8db44bbb6d Fix ResponseNotAllowed usage
not sure if this is 'a keeper' but let's at least use the right syntax
2024-04-15 15:10:21 +02:00
Klaas van Schelven
875f306079 Reduce queries of 'history' view
* select_related for users (which are displayed in many locations)
* use 'xxx_id' if that's all you need
2024-04-15 15:06:27 +02:00
Klaas van Schelven
132d06bf49 Fix csrf_token (it was outside form) 2024-04-15 14:56:34 +02:00
Klaas van Schelven
c3b2fc76bc History-edit: smaller pencil icon, next to your name 2024-04-15 14:02:44 +02:00
Klaas van Schelven
17ace382dc History: anchors for comments 2024-04-15 13:53:34 +02:00
Klaas van Schelven
6b23b03a82 History: edit (and fixes) 2024-04-15 13:44:14 +02:00
Klaas van Schelven
26aac0ca2c Manual annotations: create 'm
and some non-completed code for editing
2024-04-15 12:58:50 +02:00
Klaas van Schelven
dcd154f74d History: link to triggering event when it is available 2024-04-15 10:46:23 +02:00
Klaas van Schelven
f67d544c8d Textual: System -> Bugsink 2024-04-15 10:26:19 +02:00
Klaas van Schelven
8e44f7f68e Unmute reason: show in email alert 2024-04-15 10:17:18 +02:00
Klaas van Schelven
ad93e22fff Fix the double-creating of TurningPoints for time-based-unmute 2024-04-15 09:55:22 +02:00
Klaas van Schelven
490899975b Add tests for TurningPoint creation
this also proves one existing bug: the double-creating of TurningPoints
for time-based-unmute
2024-04-15 09:51:30 +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
280bd2172b History page: 'mostly done' (a first setup) 2024-04-12 16:07:25 +02:00
Klaas van Schelven
a9557201b1 Fix _is_valid_action 'typo' 2024-04-12 11:34:12 +02:00
Klaas van Schelven
1cf19c83d5 Various code-clarification 2024-04-12 08:38:46 +02:00
Klaas van Schelven
47e8318177 Remove event-list from issue tabs
at least postponed for now: we can navigate between events with the arrows,
and if we want more advanced ways of reaching particular events we may end
up implementing that using the more general 'search' interface
2024-04-11 11:23:08 +02:00
Klaas van Schelven
d2a17912d2 Rename templates for brevity 2024-04-10 12:01:01 +02:00
Klaas van Schelven
9d9f3816e3 Show 'logger' if this info is available
Somewhat untested, we used to have this in a very early version ("Emitted by")
and it was removed when converting into the calculated_xx style. I haven't found
any recent sample events that have this value but according to the spec it can
exist so I'm putting it back in.
2024-04-10 09:24:53 +02:00
Klaas van Schelven
13445324b8 Dead code removal
we do the whole of the 'log entry' stuff using the calculated_type and _value now
2024-04-10 09:20:46 +02:00
Klaas van Schelven
4dfefec468 denormalize/cache last_frame_* and transaction on Event and Issue
for performance, but also fixes:

* not just the 'last frame' but the 'last relevant frame' (in-app)
* truncation is properly done (matching the DB size, and for each of the fields)
2024-04-10 09:12:15 +02:00
Klaas van Schelven
b5babbda84 Event: urls match on external (sdk) event_id too 2024-04-09 12:37:25 +02:00
Klaas van Schelven
d46cb7f6e8 DB: unique_together and PositiveIntegerField 2024-04-09 12:34:29 +02:00
Klaas van Schelven
21c4904524 Implement friendly_id 2024-04-09 11:09:31 +02:00
Klaas van Schelven
72b65f73e4 Shift tabs around
Breadcrumbs left. Reasoning: it's an event-based page, should go with the others.
(Counterarg being: I dislike breadcrumbs)

History right. Having the historic view be the right-most "just feels right"
2024-04-09 09:43:35 +02:00
Klaas van Schelven
82b8c014e7 Add title to event-details 2024-04-09 09:39:50 +02:00
Klaas van Schelven
e9d5913c17 Event details: IDs and timestamps 2024-04-09 09:28:23 +02:00
Klaas van Schelven
1b37298a95 ingest_order: first setup 2024-04-08 22:13:52 +02:00
Klaas van Schelven
6d4b1beae4 Remove TODOs 2024-04-08 16:47:09 +02:00