aboutsummaryrefslogtreecommitdiff
path: root/webAO/master.ts
AgeCommit message (Collapse)Author
4 daysEliminate innerHTML manipulationOsmium Sorcerer
Construct DOM nodes directly instead of trying to sanitize every input string and dynamically updating HTML. Replace all uses of innerHTML with textContent, replaceChildren, and appendChild. This removes the need to use safeTags and replace newlines, but now requires preserving whitespace via CSS pre-wrap. Every OOC chat line is now placed into its own element instead of simply being appended to the log. This might be worse, and createTextNode is another alternative.
2026-03-18dont skip empty descriptionsstonedDiscord
2025-01-30Prettified Code!stonedDiscord
2025-01-30change serverlist to use detail tagstonedDiscord
prep for onhover description
2025-01-25whoopsstonedDiscord
2024-12-12Prettified Code!stonedDiscord
2024-12-12get rid of sageTags in a few placesstonedDiscord
plan is to migrate to createTextNode
2024-11-20Prettified Code!stonedDiscord
2024-04-13nintendo can't do wssstonedDiscord
2023-11-30Move where we set server.onlineDavid Skoland
2023-11-30Make localhost and singleplayer fill the type correctlyDavid Skoland
2023-11-30Make online non-nullableDavid Skoland
2023-11-20Remove subdomain terribleness and split clientURL into a functionDavid Skoland
2023-11-20host isn't usedDavid Skoland
2023-11-20Fix domain tricks for localhostDavid Skoland
2023-11-20More protocol magicDavid Skoland
2023-11-20Missing colonDavid Skoland
2023-11-20Need to adjust http/s as wellDavid Skoland
2023-11-20Warning about no ws portDavid Skoland
2023-11-20Nice off-by-one error broDavid Skoland
2023-11-20Remove debug statementDavid Skoland
2023-11-20Make Join button open in new tabDavid Skoland
2023-11-20Remove wayward )David Skoland
2023-11-20Add setServ backDavid Skoland
also known as "whoops, we actually needed that code" This changes "Online" to "Players", and will only show the playercount reported by masterserver. It's a bit disingenuous to show "Online" if we can't confirm that we can actually connect to it.
2023-11-20Remove everything related to server connectionsDavid Skoland
2023-11-20Do not connect to server on mouseoverDavid Skoland
2023-11-20Yeet check_httpsDavid Skoland
2023-11-20Use current host in https redirect instead of hardcodingDavid Skoland
2023-11-20Change ip to connect and include protocolDavid Skoland
2023-11-18Real asyncDavid Skoland
2023-11-18Add playercount to serverlistDavid Skoland
2023-11-18remove debug logDavid Skoland
2023-11-18Fix hostDavid Skoland
2023-11-18Add players fieldDavid Skoland
2023-11-18Remember to populate servers as wellDavid Skoland
2023-11-18Remove unused variablesDavid Skoland
2023-11-18Slimmer code in main functionDavid Skoland
2023-11-18Refactor master.tsDavid Skoland
2023-11-13Add serverName to serverlist linkDavid Skoland
2023-10-16no httpsstonedDiscord
2023-09-20autoformat with eslintstonedDiscord
2023-09-16auto redirect so i don't have to deal with tech support so muchstonedDiscord
2022-09-23swap linesstonedDiscord
2022-09-23no more undefinedstonedDiscord
2022-03-29delete index.html in masterliststonedDiscord
2022-03-28what was this still doing herestonedDiscord
2022-03-28don't need double slashesstonedDiscord
2022-03-28list http links even when coming from a https pagestonedDiscord
2022-03-23fix strict errors in master.tsstonedDiscord
2022-03-23sort of convert encoding to typescriptstonedDiscord