/tg/ Station 13 - Modules - Types — Define Details

modular_aphelion/modules/bug_reporting/code/bug_reporting.dm

BUG_REPORT_TITLE_MAXLongest title the reporting service takes
BUG_REPORT_TEXT_MAXLongest expected or reproduction text the reporting service takes
BUG_REPORT_STEPS_MAXMost numbered steps the window offers
BUG_REPORT_HISTORYEarlier reports a connection keeps for Recent bug reports
BUG_REPORT_MAX_REQUESTSBridge requests in flight across the whole server, so no crowd of reporters can pile up rust-g jobs
BUG_REPORT_POLL_MINFirst wait between background polls of a report, growing while nothing changes
BUG_REPORT_POLL_MAXLongest wait between background polls of a report
BUG_REPORT_ACCEPTED_PER_HOURAccepted reports per ckey per hour, the reporting service's own cap
BUG_REPORT_SUBMITS_PER_HOURSubmissions with new text per ckey per hour, the service's cap on live checks
BUG_REPORT_DRAFTS_PER_HOURNew reports per ckey per hour, kept under the service's 30 so it never refuses to register one
BUG_REPORT_UPLOADS_PER_HOURUploads of the reporter's own screenshots per ckey per hour, the service's own cap - captures don't count
BUG_REPORT_CAPTURES_PER_HOURIn-game and window captures per ckey per hour, the service's own cap
BUG_REPORT_SAVES_PER_HOURSaves of changed text per ckey per hour, far past what sending a report needs, since every one is a call to the service
BUG_REPORT_RECEIPT_REFUSEDWhat the sent page says when the service turns down a look at its receipt or answers one we can't read, which the next poll asks for again
BUG_REPORT_RECEIPT_UNREACHABLEWhat the sent page says when the report server doesn't answer a look at its receipt, which the next poll asks for again
/datum/config_entry/string/bug_report_server_idThe name the reporting host knows this server by, which every server sets in its own config
/datum/config_entry/flag/use_fancy_bug_reportingThe in-game report window and its reporting bridge, off unless a server sets it up (config/nova/config_nova.txt)
/proc/bug_report_bridge_originReturns the configured bridge address when it's a loopback one on this machine, the only kind we ever talk to, otherwise null
/proc/bug_reports_enabledWhether reports go to the reporting bridge, which only ever means the one on this machine
/proc/bug_report_uses_leftCounts what's left of a ckey's hourly allowance of one kind, forgetting uses over an hour old.
/proc/bug_report_budgetSpends one of a ckey's hourly allowances, mirroring the reporting service's own caps.
/proc/bug_report_budget_fillSpends what's left of a ckey's hourly allowance of one kind, for when the reporting service says it's all used.
/proc/bug_report_blankWhether a field counts as empty, by the same rule as the reporting service.
/datum/bug_reportOne bug report from one connection, from the moment its form opens to its receipt.
/datum/http_request/bug_reportA bridge request that can send a generated file as its body

Define Details

BUG_REPORT_ACCEPTED_PER_HOUR

Accepted reports per ckey per hour, the reporting service's own cap

BUG_REPORT_CAPTURES_PER_HOUR

In-game and window captures per ckey per hour, the service's own cap

BUG_REPORT_DRAFTS_PER_HOUR

New reports per ckey per hour, kept under the service's 30 so it never refuses to register one

BUG_REPORT_HISTORY

Earlier reports a connection keeps for Recent bug reports

BUG_REPORT_MAX_REQUESTS

Bridge requests in flight across the whole server, so no crowd of reporters can pile up rust-g jobs

BUG_REPORT_POLL_MAX

Longest wait between background polls of a report

BUG_REPORT_POLL_MIN

First wait between background polls of a report, growing while nothing changes

BUG_REPORT_RECEIPT_REFUSED

What the sent page says when the service turns down a look at its receipt or answers one we can't read, which the next poll asks for again

BUG_REPORT_RECEIPT_UNREACHABLE

What the sent page says when the report server doesn't answer a look at its receipt, which the next poll asks for again

BUG_REPORT_SAVES_PER_HOUR

Saves of changed text per ckey per hour, far past what sending a report needs, since every one is a call to the service

BUG_REPORT_STEPS_MAX

Most numbered steps the window offers

BUG_REPORT_SUBMITS_PER_HOUR

Submissions with new text per ckey per hour, the service's cap on live checks

BUG_REPORT_TEXT_MAX

Longest expected or reproduction text the reporting service takes

BUG_REPORT_TITLE_MAX

Longest title the reporting service takes

BUG_REPORT_UPLOADS_PER_HOUR

Uploads of the reporter's own screenshots per ckey per hour, the service's own cap - captures don't count