Commit Graph

25 Commits

Author SHA1 Message Date
spookerton
556331a6a3 use /global/ sugar for bare globals, no leading / 2022-04-24 07:54:34 +01:00
spookerton
602cc67d2b removed CLAMP define 2022-03-31 19:21:58 +01:00
Cerebulon
c51a4cf033 Add discord button to UI + config 2021-08-26 17:29:08 +01:00
Neerti
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
Martin Rivard
5d0ede0f13 Fixes VChat HTML export text colours. (#7900)
* Changes the CSS so that regular 'say' and 'me' actions are directly set to black text colour.

* Changes debug info message CSS to also set to black text.

* Adds inverted colours.
2021-02-19 22:12:13 -09:00
Schnayy
f67f1f45af Makes sinta a little easier to distinguish on the radio. (#7887) 2021-02-19 14:40:52 -08:00
Mechoid
89adcb02be Blob Genesis (#7781)
* Allows the regeneration of blobs from the core chunks they leave behind on death.

* Blobtalk.

* Font
2021-01-09 21:38:18 -09:00
ShadowLarkens
594afacb89 13x Performance for Export chatlog, update rust_g to 0.4.6-vorestation 2020-10-20 09:57:54 -07:00
Atermonera
f394b1ec47 Fixes Runtime in vchat_client.dm,85: Cannot execute null.is preference enabled (#7557) 2020-08-24 21:30:48 -07:00
Rykka
28a7698b9e Port lots of things that had to wait on alerts
Adds a HUD for observers
Adds a HUD for rigs and mechs
Adds up/down buttons for AI hud
Add more tg style alerts
Fix some bugs with the tg alerts
Improve icon_states usage by caching it
Redo how respawning works, add a button to ghost hud for it
2020-07-30 16:23:32 -04:00
Shadow Quill
a23b8a274b CheckTick 2020-07-19 15:57:41 -05:00
Leshana
3c31b90bff Fix loading of history on connect.
The for loop that used to do it loaded the wrong messages.
New method calculates correctly and also doesn't spend time loading from database if we're going to throw it away.
2020-06-06 15:17:09 -04:00
Leshana
ddd2fc53bd Check vchat loaded flag before attempting to call putmessage 2020-06-06 15:16:59 -04:00
Atermonera
b419ba98cb Adds vchat export chatlog verb (#7214) 2020-05-24 14:23:14 -07:00
Atermonera
1a1173806b Merge pull request #7145 from VOREStation/pol-regex
Fix missing dash breaking numbers in URL ends
2020-05-15 18:06:59 -07:00
Atermonera
76badeab5a cleans up advanced_who output (#7148)
* cleans up advanced_who output

* Missing tag
2020-05-15 13:35:57 -07:00
Aronai Sieyes
12e9e835f6 Fix missing dash breaking numbers in URL ends 2020-05-11 17:59:34 -04:00
Atermonera
b6ede448fc Merge pull request #7043 from MisterLayne/prommie-lang
Promethean Language
2020-05-03 00:12:25 -07:00
Gear
0ba3d7fca9 Protocol changes
Changes from allowing ftp:// and file:// protocols to only http(s):// protocol
2020-04-28 20:31:25 -04:00
the-og-gear
51828bd5a8 Adds some hyperlink functionality
Used some regex and JS .replace function. Enjoy.
2020-04-27 14:09:38 -04:00
MisterLayne
0df21c4691 prommies get language 2020-04-25 18:26:19 -04:00
Atermonera
1ed5556b8f Adds empty filter classes to send messages to particular vchat filters. (#6998)
* Adds empty filter classes to send messages to particular vchat filters.
Adds combat log (playerside X hit Y) filter
Adds admin log, attack log, and debug log filters (Admin side)
Moves many unfiltered admin verb outputs to admin log filter

* unmatched tags
2020-04-20 00:28:16 -07:00
Atermonera
ca6cf9e938 Adds pref to toggle vchat without 60s wait for linux users (#6980) 2020-04-11 21:50:51 -07:00
Arokha Sieyes
6dc2d5269e Change VChat sqllite error message handler 2020-03-30 21:34:42 -04:00
Aronai Sieyes
715de43f35 VChat: Redone chat output done in Vue.js (#6761)
* Better notifications

* Add buttons to del/move tabs in edit mode

* Add a <span> to emotes

* Fix duplicate IDs in VChat and add more logging

* VChat: Redone chat output in Vue.js

* Ported tg asset cache

* VChat DME Update

* Replace \image macro with bicon()

* NanoUI Subsystem Fixes

Don't do this, the asset subsystem does this for you

* Allow narrate/globalnarrate shenanigans

Allows HTML if your entire thing is HTML

* Disable bicon() icon object cache, and create text tag cache

* Ore Scanner is written incorrectly

Only revealed by vchat

* Fixes 2 VChat bugs

* Underline links in VChat

* Fix LOOC color

* VChat Improvements

Hopefully, anyway.
- Arbitrary font size setting
- Line height setting
- Multiple crush settings
- Rewrote how tabs work hopefully for performance
- Hidden messages are actually put elsewhere
- Attempts to correct chat backlog restore on rejoin

* Surgery steps to use <span>

* Some VChat Tweaks

- Chat remains between client reconnects if your client didn't close (so things like using the reconnect button, or autoreconnects at round end when that feels like working)
- The client doesn't send pings to the server, the server sends pings to the client. This fixes AFK measurements for AFK kick purposes.
- Turn latency indicator into a green/red indicator to show if you're connected, and when clicked will perform a one-time ping (and block doing it again for 10 seconds). It will display '?ms' if it never got a reply, or '999ms' if it did, but it was over 1s.

* Include date in filename for VChat log save

* Merge pull request #6767 from Cyantime/patch-2

Change chat export naming scheme

* Adds VChat tab saving

Saves every time you enter/exit edit mode. Persists between rounds, VChat reloads via verb, etc.

* Fix chat exporting when someone has used unicode

Only affects clients still using 512

* Use CLIENT_FROM_VAR for ease of code reading

* Update code/modules/client/asset_cache.dm

Co-Authored-By: Novacat <35587478+Novacat@users.noreply.github.com>

* Fix runtime when client disconnects before vchat loads

* Fix polaris version of command reports

* Fix LOOC color in oldchat

* Put some styles in various adminpm messages

* Round info and advanced who spans

* Fix missing tag-end

* Maybe fix images for linux and statpanel but also doom everyone

Co-authored-by: ShadowLarkens <ShadowLarkens@users.noreply.github.com>
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-03-27 14:07:28 -07:00