Commit Graph

202 Commits

Author SHA1 Message Date
Fluffy
b183188689 Better logging (#16164)
* Initial

* Cleared duplicates

* More work, get rid of log_error

* more

* log_debug() to macro LOG_DEBUG

* More work

* More

* Guh

* Maybe better?

* More work

* gah

* Dear lord

* *inserts swears here*

* gdi

* More work

* More

* dear lord

* fsdfsdafs

* rsdaf

* sadfasf

* sdafsad

* fgsd

* small fuckup fix

* jfsd

* sdafasf

* gdi

* sdfa

* sfdafgds

* sdafasdvf

* sdfasdfg

* sdfsga

* asdf

* dsfasfsagf

* ihibhbjh

* fsadf

* adfas

* sdafsad

* sdfasd

* fsda

* vhb

* asf

* for arrow

* removed source file-line logging, added header for tgui
2023-08-05 21:53:11 +00:00
Matt Atlas
20304206f3 TGUI bug roundup part 6 (#16630)
* taj chat colours

* ah, I finally said it for real - I love you

* cl

* lost my halo, now I'm my own antichrist

* and I say hey...

* doing htat is probably a good idea

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-07-04 12:38:03 +00:00
Matt Atlas
c1765c644e Fixes the black screen issue (#16610)
* won't let us be

* idol

* hmmm

* put that back ii guess

* aishiteru

* maybe?

* spent too many years hiding behind fear

* document the spawn

* cl

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-07-03 19:53:42 +00:00
Fluffy
fb94314b81 Fixed TGUI not loading new panels on first try (#16596)
* Fix + Changelog

* there's always something you miss

* Less checks

* Additions
2023-06-30 10:41:19 +00:00
Matt Atlas
659752e2ea Removes goonchat, adds TGChat and TG Stat Panels (#16514)
* tgui the beginning

* binaries and the like

* Bring in the last of it

* Example radio UI

* delete example

* NTOS Main Menu, start on manifest, tgui states

* tasks.json

* gunnery ui pt 1

* okay

* fix everything

* scss update

* oops

* manifest gigablast

* downloader part 1

* download prt 2

* NTOSDownloader final

* mfw committing to_worlds

* gunnery console pt2

* i cooked

* targeting (finished)

* one vueui down

* voting ui almost done

* MY MIND FEELS LIKE AN ARCH ENEMYYYY

* voting ui down

* photocopier

* ntos config + download fixes

* photocopier 2

* refactor define

* NTOS client manager + fixes

* fax machine final (it also uses toner now)

* marching forwards... left behind...

* ntnrc part 1

* canister

* add quotes

* portable pumps pt1 + more backgrounds

* oops

* finish the portable pump

* freezers

so I'll keep on pushing forward... you haven't seen the last of me... oooooooh...

* doors ui pt1

* finish doors UI (forgive me wildkins it's a bit of shitcode)

* vitals monitor, make things use labeled lists, new backgrounds

* mais j'envoyé aucun mayday...

* maglock pt1

* pour ça je me suis perdu...

* infrared

* fix that

* prox sensor pt1

* prox sensor

* signaler (this was actually pretty hard)

* atmos control pt1

* atmos control pt1.1

* atmos pt 2

* fuel injector

* multitool UI

* jammer

* list viewer

* APC

* portgen

* targeting console updates + SMES ui

* new themes, shield generator

* supermatter

* Add ore detector and (shitty) NTNet Relay

* orderterminal pt1

* orderterminal pt2

* smartfridge

* Add (air-)tank GUI update ore detector size

* Adds Transfer Valves

* Add AtmoScrubber

* analyzer pt1

* weapons analyzer pt2

* bodyscanner pt1

* bodyscanner pt2

* fix this shitcode

* seed storage

* appearance changer

* appearance changer final

* sleeper pt1

* sleeper

* gps

* vehicles

* chem dispenser

* lily request

* holopad

* tgui modules pt1

* ppanel

* damage menu

* fixes

* im here too now

* follow menu, search bars

* quikpay

* quikpay fixes

* circuit printer

* ppanel

* ppanel updates

* pai

* turret controls (i want to kill myself)

* tweak

* remove the boardgame

* guntracker

* implant tracker

* penal mechs

come close to me, come close to me

* chem codex

* pai radio

* doorjack

* pai directives

* signaler removal, sensors

* ghost spawner

* spawnpoint

* fixes

* teleporter

* one more to the chopping block

* account database

* remove divider

* scanner, atmos

* latejoin ui pt1

* latejoin

* records pt1

* RECORDS UI DONE

* delete interpreter & records

* CHAT FUCKING CLIENT

* data updates

* fix some things

* final UI, log

* basic nanoui fix

* antag panel

* remove vueui

* atm update

* vending update

* warrants, cameras

* ntmonitor

* time comes for all

* preserve this legacy

* bring that back (oops)

* rcon, ui auto update for computer UIs, remove rcon computers

* alarm monitoring (a bit broke and also todo: add custom alarm monitoring programs to a few consoles)

* A LIKE SUPREME

* a

* power monitor

* lights on

* fuck this code, fuck nanoui modules, and fuck nanoui

* LEAVE IT OH SO FAR BEHIND

* fix alarm monitoring for synths

* I SAW IN YOU WHAT LIFE WAS MISSING

* comms console

* idcard and record updates

* turn the light on

* arcade

* pt2

* news browser

* static

* crusher

* f

* COULD I JUST SLEIGH THE GOLD FROM THE BALLS? I'M SO FRUSTRATED OH COULD YOU TELL? IF I HEAR ONE MORE VUEUI OR ONE NANOUI I'M GONNA LOSE IT SO LET ME GOOOOOOOOOOOOOOOOO

* codeowners & suit sensors

* html ui style removal

* make lint happy

* tgchat

* tgpanels pt1

* THE SOUL LONGS FOR OBLIVION!!!!!!!!!!!!!!!!!

* figure out why stat isnt working

* goodbye ping

* shhh

* stat updates

* An oath sworn in scors! Omni vortex lies!

* final almost edits

* fix that

* last skin adjustments

* resist and disorder

* i slowly get up and turn off the noise, already fed up...

* pleaseeeeeeeeeeeeeee

* THE CREDIT LARP IS NECESSARY

* i hold the keys

* RISE UP

* fix that?

* harry's suggestions xoxo

* runtime fix pt2

* You are the only thing that I still care about

* fix runtimes and cl

* whoops

* misc fixes

* fix that too

* adds build workflow

* f

* Update update_tgui.yml

* adds some needed steps

* ATM

* misc fixes and tweaks

* fixes 2

* make newscasters usable and fix use power on freezers

* turret control is clearer

* remove duplicate

* makes some verb tabs work properly

* makes verbs work properly for real

* sans moi

* fixes pt2

* fix the chat unnecessarily reloading

* fixes

* epic

* fixes

* fix missing consoles

---------

Co-authored-by: John Wildkins <john.wildkins@gmail.com>
Co-authored-by: Matt Atlas <liermattia@gmail.com>
Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
Co-authored-by: Werner <Arrow768@users.noreply.github.com>
Co-authored-by: Geeves <ggrobler447@gmail.com>
Co-authored-by: harryob <me@harryob.live>
2023-06-26 02:00:14 +02:00
Matt Atlas
31956c7eb0 Rock the UI Away - Removes VueUI and adds TGUI (#16509)
* tgui the beginning

* binaries and the like

* Bring in the last of it

* Example radio UI

* delete example

* NTOS Main Menu, start on manifest, tgui states

* tasks.json

* gunnery ui pt 1

* okay

* fix everything

* scss update

* oops

* manifest gigablast

* downloader part 1

* download prt 2

* NTOSDownloader final

* mfw committing to_worlds

* gunnery console pt2

* i cooked

* targeting (finished)

* one vueui down

* voting ui almost done

* MY MIND FEELS LIKE AN ARCH ENEMYYYY

* voting ui down

* photocopier

* ntos config + download fixes

* photocopier 2

* refactor define

* NTOS client manager + fixes

* fax machine final (it also uses toner now)

* marching forwards... left behind...

* ntnrc part 1

* canister

* add quotes

* portable pumps pt1 + more backgrounds

* oops

* finish the portable pump

* freezers

so I'll keep on pushing forward... you haven't seen the last of me... oooooooh...

* doors ui pt1

* finish doors UI (forgive me wildkins it's a bit of shitcode)

* vitals monitor, make things use labeled lists, new backgrounds

* mais j'envoyé aucun mayday...

* maglock pt1

* pour ça je me suis perdu...

* infrared

* fix that

* prox sensor pt1

* prox sensor

* signaler (this was actually pretty hard)

* atmos control pt1

* atmos control pt1.1

* atmos pt 2

* fuel injector

* multitool UI

* jammer

* list viewer

* APC

* portgen

* targeting console updates + SMES ui

* new themes, shield generator

* supermatter

* Add ore detector and (shitty) NTNet Relay

* orderterminal pt1

* orderterminal pt2

* smartfridge

* Add (air-)tank GUI update ore detector size

* Adds Transfer Valves

* Add AtmoScrubber

* analyzer pt1

* weapons analyzer pt2

* bodyscanner pt1

* bodyscanner pt2

* fix this shitcode

* seed storage

* appearance changer

* appearance changer final

* sleeper pt1

* sleeper

* gps

* vehicles

* chem dispenser

* lily request

* holopad

* tgui modules pt1

* ppanel

* damage menu

* fixes

* im here too now

* follow menu, search bars

* quikpay

* quikpay fixes

* circuit printer

* ppanel

* ppanel updates

* pai

* turret controls (i want to kill myself)

* tweak

* remove the boardgame

* guntracker

* implant tracker

* penal mechs

come close to me, come close to me

* chem codex

* pai radio

* doorjack

* pai directives

* signaler removal, sensors

* ghost spawner

* spawnpoint

* fixes

* teleporter

* one more to the chopping block

* account database

* remove divider

* scanner, atmos

* latejoin ui pt1

* latejoin

* records pt1

* RECORDS UI DONE

* delete interpreter & records

* CHAT FUCKING CLIENT

* data updates

* fix some things

* final UI, log

* basic nanoui fix

* antag panel

* remove vueui

* atm update

* vending update

* warrants, cameras

* ntmonitor

* time comes for all

* preserve this legacy

* bring that back (oops)

* rcon, ui auto update for computer UIs, remove rcon computers

* alarm monitoring (a bit broke and also todo: add custom alarm monitoring programs to a few consoles)

* A LIKE SUPREME

* a

* power monitor

* lights on

* fuck this code, fuck nanoui modules, and fuck nanoui

* LEAVE IT OH SO FAR BEHIND

* fix alarm monitoring for synths

* I SAW IN YOU WHAT LIFE WAS MISSING

* comms console

* idcard and record updates

* turn the light on

* arcade

* pt2

* news browser

* static

* crusher

* f

* COULD I JUST SLEIGH THE GOLD FROM THE BALLS? I'M SO FRUSTRATED OH COULD YOU TELL? IF I HEAR ONE MORE VUEUI OR ONE NANOUI I'M GONNA LOSE IT SO LET ME GOOOOOOOOOOOOOOOOO

* codeowners & suit sensors

* html ui style removal

* make lint happy

* resist and disorder

* i slowly get up and turn off the noise, already fed up...

* pleaseeeeeeeeeeeeeee

* THE CREDIT LARP IS NECESSARY

* i hold the keys

* RISE UP

* fix that?

* harry's suggestions xoxo

* runtime fix pt2

* You are the only thing that I still care about

* adds build workflow

* Update update_tgui.yml

* adds some needed steps

* ATM

* misc fixes and tweaks

* fixes 2

* make newscasters usable and fix use power on freezers

* turret control is clearer

---------

Co-authored-by: John Wildkins <john.wildkins@gmail.com>
Co-authored-by: Matt Atlas <liermattia@gmail.com>
Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
Co-authored-by: Werner <Arrow768@users.noreply.github.com>
Co-authored-by: Geeves <ggrobler447@gmail.com>
Co-authored-by: harryob <me@harryob.live>
2023-06-25 19:03:33 +02:00
Wildkins
c369124fe9 Increase error logging to diagnose server conking (#15662)
* Increase error logging to diagnose server conking

* more logging and db retry

* whoops

* rename error() to log_error() to better reflect what it does
Move a bunch of world.log messages to log_error

* Fix compile error

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2023-03-13 21:51:39 +00:00
Wildkins
6a34d26599 Stop deadminned staff from destroying the server (#15354) 2022-12-17 20:01:49 +01:00
SleepyGemmy
4bec0ab46e Fixes GitHub Capitalization (#14715) 2022-08-27 18:49:41 +02:00
Matt Atlas
8f89df0065 Full-auto now ACTUALLY decreases accuracy. (#14141) 2022-06-06 08:11:12 +02:00
Matt Atlas
a8059e5f07 Full-auto and camera bug fixes. (#14061) 2022-05-23 18:02:51 +02:00
Matt Atlas
ea90c087a3 Adds a toggle to switch accents from images to text tags. (#13698) 2022-05-01 03:27:59 +02:00
Matt Atlas
6038bfcdba Autofire now continues firing when you hold down on one tile. (#13403)
Co-authored-by: Matt Atlas <liermattia@gmail.com>
2022-04-03 23:35:37 -03:00
Geeves
f52d334c0f Fullscreen Mode (#12586) 2021-10-10 15:43:53 +02:00
Matt Atlas
a1c25ba1f9 Ports Technomancer from Polaris. (#11595) 2021-05-08 16:08:53 +02:00
Wildkins
a07700f8a6 Fix runtime errors while running without a connected database (#11473) 2021-03-19 22:08:00 +01:00
Geeves
b633d1e75a Auto Local Admin (#11254) 2021-02-23 17:19:54 +01:00
Geeves
2473281555 Mining Drone Stuff (#10739)
Mining drones now come equipped with an RFD-M, a tethering device, and a stack of purple flags.
    Mining drones can now bump against doors to open them.
    Mining drones now have external airlock access.
    You can now click-drag with the RFD-M to lay down track.
    The charge cost for robots using the RFD-M has been lowered to 200, down from 500.
    Mining drones no longer appear as a unique role on the round join menu.
    Mining drone lights are now much brighter, and illuminate in a circle around the drone.
2020-12-13 12:36:15 +02:00
Wildkins
1558cc98cd Fix scrollbars not appearing on some UIs, debug icon appearing for non-devs, close handling (#10735)
* Fix scrollbars not appearing on some UIs, port VueUI close handling fix

* actually fix closing
2020-12-07 00:17:13 +01:00
Erki
5ea7f6995e Preloading RSC from external URLs (#10095)
Ports the external URL preloading from tg-station. This allows us to point the config to an external URL, from which the .rsc file will be downloaded. This will be way faster than using the BYOND system, as we don't have to deal with BYOND's netcode.
2020-09-26 22:46:47 +03:00
Matt Atlas
d4666caaac Ports Goonchat from Baystation. (#9635)
changes:

    rscadd: "Ported a new chat system, Goonchat, that allows for cool things like changing font style, size, spacing, highlighting up to 5 strings in the chat, and DARK MODE."
    rscadd: "Repeated chat messages can now get compacted. You can disable this in goonchat settings."
    rscadd: "You can change icon style to any font on your system."
    tweak: "The game window has been altered a bit to adjust for this."
    rscdel: "Removed skin style prefs as they are no longer used."
2020-09-24 23:06:04 +03:00
Geeves
33ad8096fb The Great Spanning (#9320)
This PR get rid of all (most of) the span("thing", spans and replaces them with the SPAN_THING( variant, which has gained more popularity recently.
2020-07-12 15:53:28 +03:00
Mykhailo Bykhovtsev
d6c378148d Bugfixes (#8975) 2020-05-29 11:57:37 +02:00
Mykhailo Bykhovtsev
bd7f500803 Build mode drag-and-build functionality (#8936) 2020-05-26 15:31:59 +02:00
Erki
b0a4673573 Fixes #7990 (#8803) 2020-05-11 15:21:35 +02:00
Erki
4b327dcfe9 Generates parity between remote auth login chain and the normal login chain (#8802)
Fixes #8773
Fixes #7895
2020-05-06 16:15:56 +03:00
Erki
f9de37b568 Fixes #5778 (#8804)
Well this was a dumbass mistake. But what happened is that I sent a pointer to a string instead of the string itself. The result was interesting, but non-functional.

Fixes #5778.
2020-05-03 10:45:17 +03:00
Matt Atlas
15bcc0f6d5 Radials, Tooltips, RCD and Borg Selection (#8710) 2020-04-24 17:00:30 +02:00
Erki
72abb195bc Fix greeting window malfunction (#7847)
* Fixes

* Log the change

* Remove unused var
2019-12-29 22:51:03 +01:00
Werner
f0ce5dd534 Greeting-Window autoshow restrictions (#7552)
Only display the greeting window, if it hasnt been shown successfully before.
2019-12-01 15:25:09 +01:00
Werner
45bab622d9 Prevents players from joining with unackd warnings (#7509) 2019-12-01 14:03:32 +01:00
JohnWildkins
65aad37db9 Anti-spam filter fix (#7311) 2019-11-01 21:44:57 +02:00
Lady Fowl
f9334feb41 Client FPS Tweak (#7127)
Allows you to set your FPS via preferences
2019-10-18 23:37:44 +03:00
Karolis
c540d9d021 dark skin for reals (#7084)
This passed review with (#7035) let's get this.
2019-09-28 23:09:01 +03:00
Werner
349bb9fe9a Possible fix for ooc issues with remote-authed clients (#6841) 2019-08-11 12:59:01 +02:00
Erki
b435a8f573 Faction updoots (#6765) 2019-07-24 21:09:16 +02:00
Erki
38e4b5d77b Implement "send_link" macro (#6767)
When to_chat gets converted to a proc, then the construct of to_chat(some, link(url)) will no longer work. Or will produce odd results.

As a result, the send_link macro is now created. Replaced existent instances of the previous construct and added a simple grep check for this as well. It won't catch all, probably, but it'll catch the most common instances.
2019-07-22 01:22:44 +03:00
Werner
7169e5ac67 Various Bugfixes (#6720)
Fixes #6520
Fixes #6114
Fixes #5349
2019-07-14 22:55:42 +03:00
Karolis
96c2e1c163 Adds external auth (#6380) 2019-05-10 00:05:58 +02:00
Mykhailo Bykhovtsev
81e7f29878 Reworking Bot API and optimizing for loops in admin code (#6355) 2019-05-01 14:14:26 +02:00
Erki
015fce2f48 Rework spam protection (#6201) 2019-04-01 20:43:24 +02:00
LordFowl
8d436c4a03 Converts all necessary << outputs into the to_chat() macro. (#6076)
This PR will lead us towards the Promised Day, for in its wake there shall be much celebration and ecstasy as this world becomes a world suitable for developer hegemony. The first strike is thusly;

All << is converted into to_chat().
2019-03-10 23:39:03 +02:00
Werner
e21c130ae0 Adds the game_id to the connection_log table (#5839)
Adds the game_id to the connection log table and changes the queries to use parameters.
2019-01-12 21:22:19 +02:00
Erki
2daef5c6b6 Announcing live test PRs (#5857)
* Implement one.

* REVERT ME LATER

* Initial implementation dooonnee.

* log

* Fixes

* Lazyness squared
2018-12-31 03:55:16 +01:00
Erki
a6be2156f8 Travis Musings (#5116)
Bumps Flyway.
Moves a script that should be a code check to the code checks.
2018-11-03 23:36:36 +01:00
Erki
1c332bf571 Admins are no longer kicked for using proxies (#5383) 2018-10-08 21:20:13 +03:00
Karolis
a2e7c017ab Removes Topic() rate limiting (#5026)
* Rate Limmiter removal

* Change log
2018-07-26 21:58:59 +02:00
Werner
4e63821d1e Adds a notification system (#4931)
Allows to set up notifications if a specific player connects.
2018-07-01 22:47:50 +03:00
Erki
b39269225e Fix ticket butterfly (#4515)
Random errors usually imply a singular, simple root cause.
2018-04-05 11:47:07 +02:00
Erki
18baa01d0a Ticket improvements (#4432)
Adds some features and fixes some shit:

Closing of tickets sent to Discord will now alert discord as well.
Adds a reminder period for tickets which starts after they're opened. It's intended to remind staff to close their tickets. Say, something like 10 minutes since opening sounds like a solid idea. If the staff who claimed it is offline, then all staff are reminded of it.
Adds the logging of all tickets to the database at the end of round. Sortable by staff closing, person opening, time opened, time closed, and round ID. This is primarily for Aboshehab.
2018-03-25 16:32:12 +03:00