6 Commits

Author SHA1 Message Date
Miles 1395883465 Reopens 31014 - Changes to bug reporting storage and handling (#31763)
* initial work on migration to DB

* another step

* update report on submission

* syntax corrections

* syntax fix

* uses 2 bits to record rejections differently and makes the verb only create one bug report datum

* uses the correct value for the index this time

* fixes reading a specific bug report

* updates sql version

* oops

* changes the update file

* Update 71-72.sql

* adds detail to the comment in the update file

* remakes the bug report table instead of altering it

* change time2text for current time to SQL time

* selects columns explicitly

* change sql version in the code

* renamed load_to_db to save_to_db for clarity

* schema formatting and rounds can no longer be null

* messages all relevant roles when a bug report is made and also

* Prevents bug reports from being modified or handled by more than one person at a time

* Update tgui.bundle.js

* uses span macros in bug_report

* replaces usr with client var in bug report view proc

* Update debug.dm

* bundle rebuild, rest of reviews

---------

Co-authored-by: Migratingcocofruit <guycxz@gmail.com>
2026-03-23 17:26:55 +00:00
DGamerL 41dbc763bf Bug report newline (#31516)
* Bug report newline

* Debug removal
2026-01-27 01:30:06 +00:00
kyunkyunkyun b0463d3c83 Convert most spans to defines (#31080)
* spanish?

* aaaagain

* keep maptext

* Update robot_items.dm

* Update span_defines.dm

* compiles

* Update silicon_mob.dm

* compile
2025-12-13 23:55:48 +00:00
Migratingcocofruit 1b2883e92e Records unhandled in-game bug reports in a DB table and loads the reports from it for the next round (#30710)
* initial table setup

* adds helpers to get full byond versions as numbers and adds those to the table as well

* reorder bug report new() proc and init bug_report_data as empty list instead of null

* more table changes. move adding the metadata to its own proc

* record unsent bug reports into the DB table

* refers to the correct index in the bug report data for the commit

* flip user and server byond versions

* jsonify bug report contents and metadata

* makes a bug report subsystem and moves recording to it

* Implements loading bug reports from the DB at shift start. Also removes handled bug reports from the DB directly

* Update SSbugreports.dm

* Update SSbugreports.dm

* scopes the bug report recording proc to the subsystem
2025-11-01 14:06:34 +00:00
Migratingcocofruit b526dbce31 Fixes devs being unable to see the "view bug reports" verb and a runtime in the rejection message (#30736)
* Adds the bug report verb to the view_runtimes verb list

* fix rejection messagea
2025-10-21 19:08:41 +00:00
Migratingcocofruit 1abb121eb7 Ports in game bug reporting from CM (#30376)
* adds the files doesn't even compile yet WIP

* compiles now. axed some stuff we don't need

* Update skin.dmf

* It technically works

* Adds in the stylesheet as well

* makes approval work

* Update tgui.bundle.js

* changes url to para master

* Makes apostrophes work

* removes token read line

* moves bug report verb to OOC.dm and changes its name to "Report a Bug"

* Update bug_report.dm

* Update tgui.bundle.js

* Adds API token var to config.

* adds a per ckey cooldown of 5 minutes for bug reports

* tgui rebuild

* rebuild tgui

* Update tgui.bundle.js

* review changes

* better timeout check

* changes example config to include the github token

* Update tgui.bundle.js

* tgui rebuild

* add message when bug report list is empty and changes some warnings to info type messages

* move round id and byond builds to additional details

* moves initial user ref to UID. Fixes commit hash stuff adds TM list

* Update tgui.bundle.js
2025-10-16 18:22:02 +00:00