Commit graph

8 commits

Author SHA1 Message Date
End
c8bbe72f51
stale tickets config (#175)
* stale tickets config

* Update nephthys/tasks/close_stale.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/deployment.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feedback

* Improve logging (use logfmt and avoid logging noops every hour)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com>
2026-04-14 19:43:56 +00:00
Mish
2fe9460e31
Begin migration to blockkit (#164)
* Add blockkit

* Use blockkit for header components

* Add get_header_components()

* Add a APP_HOME_VIEWS list to reduce repetition

* Re-add `buttons = Actions()`

bc that merged wrongly somehow

* Remove Question Tags view button

* Switch to blockkit for dashboard view

Also splits get_ticket_status_pie_chart into two functions!

* Add some form of codebase contributing documentation

* Rename helper.py => dashboard.py

* Fix caption for fallback pie image
2026-02-16 23:19:21 +00:00
Mish
950c1b0894
Fix ticket status enum capitalisation in docs (#157) 2026-02-05 03:04:03 +00:00
Mish
a1f3ebfaf6
Add a tickets API (#156)
* Add a tickets API

* Add more fields to JSON response for /api/ticket and /api/tickets

* Prevent returning a massive number of tickets by default

* Add an order to the query

* Document /api/tickets
2026-02-05 02:53:13 +00:00
Mish
311c7341a1
Add a stats v2 endpoint (#154)
* Add a stats v2 endpoint

* Make helpers_leaderboard json-friendly

* Improve naming of hang time stats

* Make new_tickets_now_closed do what it says for ranges in the past

* Add some docs!

* Split all-time hang time into unresolved/all

* Add a statistic for oldest question waiting for a helper response (#152)

* Silence type error (that was annoying me)

* Add new metric: oldest_unanswered_ticket_age_minutes

* Fix datetime subtraction exception

* Add oldest unanswered ticket info to stats v2
2026-02-03 00:53:50 +00:00
Mish
6afc28a27c
Make SITE_API_KEY not required (#150) 2026-01-26 18:58:22 +00:00
Mish
2415abd4b1
Fix selfhosted images being served incorrectly (#148)
* Rename HOSTNAME env var to BASE_URL (and document it)

* BASE_URL.rstrip("/")

Prevent errors if you include / in your env var

* Trailing newline
2026-01-23 00:02:50 +00:00
Mish
620939dcb8
Add deployment instructions (#141) 2026-01-04 23:28:14 +00:00