MMK21
1dc54555c8
Ignore bot messages in the support channel ( #60 )
2025-10-21 14:40:55 +00:00
MMK21
5e5cc49b6e
Improve performance of pie chart generation by using db.ticket.count() ( #62 )
...
* Add some logging for time spent generating the Dashboard
* Start adding perf logging to get_ticket_status_pie_chart
* Add more detailed logs to ticket_status_pie
* Use db.ticket.count() instead of fetching all tickets for pie chart
Querying the database used to take 0.25s avg, now the query takes 0.028s avg (tested with 20k records)
Generating pie chart used to take 1.3s, now it's 0.74s. That's a 43% speedup I think! Although the pie chart isn't the only thing that takes time to load on the dashboard.
* Remove status_counts dict
I think the code reads nicer without the extra dict. Now we just have each variable listed inline in a list, which matches how the labels and colours are defined.
* Downgrade profiling logs to DEBUG level
2025-10-21 09:37:46 +00:00
MMK21
3029ca9627
Add a VSCode launch.json ( #64 )
...
This makes debugging with breakpoints etc easier in VSC
2025-10-21 09:31:45 +00:00
MMK21
e3daf55718
Add a script for creating dummy DB records ( #63 )
...
* Add a script for creating dummy DB records
* Note that add_dummy_data takes a while to run
* Change the dummy data range to 2 weeks
* Ensure the dummy data script sets all the timestamps
Previously it wouldn't set assignedAt, closedAt, etc, despite the ticket being marked as closed
2025-10-20 23:06:36 +00:00
MMK21
ced679ea96
Configure CodeQL scans using YAML ( #65 )
...
This is so that we can run CodeQL scans on PRs from forks (which doesn't happen by default)
2025-10-20 23:03:29 +00:00
transcental
bfe65d8ff2
don't count self-closed tickets & show if helper
2025-10-06 13:58:55 +01:00
transcental
7106145255
user stats api
2025-10-06 13:50:16 +01:00
transcental
cb7f7908c0
add config to disable daily summary
2025-09-29 00:46:29 +01:00
twonfi
22c859915a
Update ?thread explanation
...
It now removes reactions and Nephthys messages from the thread
No copilot, I don't want you to vibe write a commit message
2025-08-31 16:35:42 +01:00
twonfi
872c8aeeb4
fix: Return once macro run
2025-08-31 16:35:42 +01:00
twonfi
d1c2aaf4cb
Delete own messages and remove reaction instead
...
https://github.com/hackclub/nephthys/pull/50#pullrequestreview-3166968776
2025-08-31 16:35:42 +01:00
twonfi
218ebeb14a
feat: Add ?thread to ask to use Slack threads
...
This also reacts to the message with the thread emoji (de-facto standard practice on Slack)
closes #22
2025-08-31 16:35:42 +01:00
Amber
fe392885a5
migrate from litterbox to bucky for temporary image hosting
2025-08-29 15:16:49 +01:00
Arca Ege Cengiz
e03c325576
Added ?fraud and ?shipcertqueue to README
2025-08-28 14:08:43 +01:00
transcental
d8d2f16e3c
move to upload files v2 for daily stats
2025-08-27 14:49:41 +01:00
transcental
8a7fef02db
add graph to daily stats
2025-08-26 11:40:43 +00:00
transcental
fe5c151577
don't show all closed tickets in the graph, just last week
2025-08-22 17:08:43 +01:00
Oliver Potter
7b2a99bcff
fix: run pre-commit
2025-08-11 14:21:25 +01:00
Oliver Potter
ecad7cbf0a
feat: fraud and shipcertqueue macros
2025-08-11 14:21:25 +01:00
MMK21Hub
3649ac9371
Add average hang time to the stats endpoint
2025-08-11 14:20:18 +01:00
MMK21Hub
1b9e12d790
Add SLACK_HELP_CHANNEL to .env.sample
2025-08-11 14:16:15 +01:00
MMK21Hub
49bdd9a706
Remove reference to YOUR_URL
...
The manifest.yml doesn't contain the phrase YOUR_URL (any more?)
2025-08-11 14:16:15 +01:00
MMK21Hub
e3188b96bc
Mention that you need a postgres db
2025-08-11 14:16:15 +01:00
transcental
12d883e338
hardcode maintainer id in stale function for testing
2025-07-21 12:01:49 +00:00
transcental
821eda3a23
pre-commit hooks in readme!
2025-07-17 14:27:16 +01:00
transcental
618b8df924
add more commands to readme
2025-07-17 14:26:49 +01:00
transcental
3d5c0a3d20
readme ( #40 )
2025-07-17 14:22:43 +01:00
transcental
87ef4ed7e2
fix stale ratelimits ( #39 )
2025-07-17 14:21:15 +01:00
transcental
b676720904
i really hope this fixes stale
2025-07-17 12:39:44 +00:00
transcental
919890ca8d
maybe some things will actually close as stale now lmao
2025-07-16 12:00:06 +00:00
transcental
ef7a827a53
fix pyright error
2025-07-15 16:33:20 +00:00
transcental
b4c04422f7
fix issues with stale closing
2025-07-15 16:33:20 +00:00
transcental
36b488d9d3
add stale closing
2025-07-14 15:33:45 +00:00
transcental
56f184718a
move up stats
2025-07-09 01:32:05 +01:00
transcental
a6a1d83686
hangtime ( #33 )
2025-07-07 15:58:23 +01:00
transcental
d2bcdacc31
fix unclosing ticket bug
2025-07-07 13:23:08 +00:00
transcental
6373be14c1
assigned tickets on dashboard
2025-07-07 13:06:30 +00:00
transcental
fae7d1ad12
timezones? pfft, what are those
2025-07-03 21:03:33 +00:00
transcental
f1072fd09f
oh, just make it a header
2025-07-03 19:00:21 +01:00
transcental
eeee4063c1
don't add bot as a helper
2025-07-03 18:58:14 +01:00
transcental
677c74935e
improve app home title
2025-07-03 18:55:14 +01:00
transcental
764d929359
_ not -
2025-07-03 18:50:17 +01:00
transcental
ce790570a5
app home tweaks
2025-07-03 17:37:34 +00:00
transcental
52b6790e17
leaderboard
2025-07-03 17:26:31 +00:00
transcental
468aa9cb1d
give assigned user resolve credit
2025-07-02 09:54:48 +00:00
transcental
486a3e1489
assign on in progress
2025-07-02 09:48:07 +00:00
transcental
3c851d1cfb
fix identity macro
2025-07-02 09:48:07 +00:00
transcental
3a28415bf3
fix faq macro bugs
2025-06-30 20:33:33 +00:00
transcental
3c1af5aa22
fix som channels
2025-06-29 07:47:19 +00:00
transcental
9fd1b9baed
don't delete support team broadcasts
2025-06-29 02:15:18 +00:00