Commit Graph

74 Commits

Author SHA1 Message Date
Fluffy
3dc4cce9c2 Minor span refactoring (#19177)
Minor span refactoring
2024-05-19 16:37:29 +00:00
Werner
7404418903 Adds SShttp (#18105)
* Adds SShttp

Adds a HTTP Subsystem with a integrated Retry-Queue for Status-Code 429 and 503

Changes the discord subsystems send message function to the new http subsystem

The previous http_ request functions remain but have been renamed to old to signify that they should not be used for new implementations

* Fixes lint error

* DMDoc Pass

* marks build_options as private

* SHOULD_NOT_SLEEP where its relevant

* update_channels is not a private proc, as it can be called by the API

* Remove comments

* Make fluffy happy

* Makes fluffy even happier

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2024-01-06 21:19:45 +00:00
Matt Atlas
cadd19beac Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-26 01:16:02 +00:00
Werner
3daec39efa Changes the discord bot into a subsystem and adds quite a bit of additional logging (#17996)
* Changes the discord bot into a subsystem and adds quite a bit of additional logging

* Removes a forgotten todo

* replaces call with RUSTG_CALL (to make it compile) and adds a comment

* Re-Add log prefix

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2023-12-19 22:54:57 +00:00
Wildkins
c899c3ce37 Fix adminhelps being double-sanitized (#11786) 2021-04-30 19:32:09 +02: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
409a00013e Admin PM Cancel (#9470) 2020-07-28 18:58:46 +02:00
Karolis
60fae57b80 Fixes horrible oversigth in things. (#7069)
Thanks granpa skull!
2019-09-26 23:05:22 +03:00
Mykhailo Bykhovtsev
b0d6220f33 Fixing admin PM (#6464)
Fixes #6461
2019-05-17 17:26:25 +03: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
Panter
9725d1d756 Corrected all occurrences of the typo 'recieve'. (#5236)
I replaced all occurrences of the typo 'recieve' with the correct spelling 'receive'.
2018-09-06 19:41:29 +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
Erki
5c9a3dc675 Tickets and assorted (#4433)
* Fixes #4407
* Fixes #4393
* Fixes #4413
* Fixes #4231
2018-03-18 12:30:27 +02:00
Mustafa Kalash
511e9c4e22 Replaces dibs with Bay's ticket system. (#3984)
A user ahelping creates a ticket. Any further ahelps while that ticket is open will go to that ticket (and either adminhelp or pm an admin assigned to the ticket, if one has taken it).
A user can close their own ticket up until an admin takes it.
Admins can take tickets either manually or just by replying to the PM.
An admin taking a ticket notifies other admins.
If another admin attempts to take or respond to an assigned ticket, they receive a notification asking if they would like to join the ticket or cancel (any number of admins can join a ticket).
When an admin finishes with a ticket, they must close it -- both for logistics and closure for the user.
If there is an open ticket assigned to an active admin, round end is automatically delayed (unassigned tickets or tickets assigned to disconnected or afk admins do not delay). Round end will automatically continue once all active tickets are closed.
Both staff and non-staff have access to a ticket panel listing tickets, their statuses, and their messages. Non-staff can only see their own tickets. This panel is optional and all features are available inline with chat.
2018-03-02 21:54:39 +02:00
Lohikar
0abc1d2a65 Repath a bunch of things to /mob/abstract childtypes (#4111)
* Repaths eyes, observers, dview, and new_players to /mob/abstract subtypes.

* Adds /mob/abstract, a base type for 'abstract' mobs that aren't meant to be directly affected by the game world.
2018-01-24 11:27:14 +01:00
Karolis
00ead7d560 Added webhook implementation of discord integration (#3748)
Adds ability to get server updates to Discord using webhook API, instead of complicated bot API. Simple config options make it a breeze to add / remove linked channels.
2017-12-23 23:56:20 +02:00
Lohikar
0a1ee41460 Admin PM Fix (#2087)
Fixes an issue with admin PM logging.
2017-04-14 00:27:55 +03:00
Werner
59e7377798 UDP Logging (#1997)
This implements UDP Logging with GELF.
It will allow full text search over all the logs and attributes sent over GELF to the log server.
2017-04-01 23:47:00 +03:00
skull132
759c463a2c BOREALIS 2 Implementation (#938)
Removes BOREALIS I.
Implements HTTP POST requests, credit to Oisin100 from Yogstation13 for the ByondPOST.dll.
Implements the BOREALIS II datum and converts all calls to reroute to that.
Adds round logging to channel_announce channels.
2016-09-18 23:28:01 +03:00
skull132
121d4fcdd7 Discord over IRC
Converts and replaces all IRC centric procs, vars, etcetera, into discord centric ones.
2016-02-16 17:42:00 +02:00
skull132
0f5818d2b0 Third Party PM Visibility
Only mods and admins should now see them.
2016-02-11 17:36:12 +02:00
skull132
fda5a7781f Remove R_MENTOR & R_HOST
Flags unnecessary, procs and functions concerning them removed.
2016-02-05 23:20:39 +02:00
Ryan784
650c34ee4c DEV Flags + Perms + Verbs
The Dev Flag and status is back in game! As of right now, you will have
to play around with the values in regards to the defines in setup.dm
(specifically with CCIAA), but everything works fine, besides maybe Devs
having some verbs they shouldn't for some reason..

But besides that, it's peachy.
2016-02-03 22:57:34 -05:00
GinjaNinja32
f0c8db3d0f Adds settable rank to IRC messages, changes it so non-admins can see who on IRC is messaging them, and adds the name of the original sender to reply PMs 2015-08-18 02:16:50 +01:00
PsiOmegaDelta
6c903907c0 Merge remote-tracking branch 'upstream/master' into dev-freeze 2015-06-04 08:10:49 +02:00
PsiOmega
086517f988 Closes a span class.
Has somehow gone unnoticed until now.
2015-06-03 17:57:57 +02:00
PsiOmegaDelta
4a976e1ee2 Merge remote-tracking branch 'upstream/master' into dev-freeze 2015-06-02 13:13:40 +02:00
PsiOmega
0aade86d5f Admin PM replies now sent to IRC.
Now both ahelps and their replies should be sent to an IRC channel, if configured.
2015-06-01 19:43:54 +02:00
volas
5fee41d4ba sanitize() refactor: third pass (misc) 2015-03-25 01:05:21 +03:00
volas
855755f808 sanitize() refactor: first pass (sanitize) 2015-03-22 23:31:19 +03:00
ccomp5950
b23b5b5d41 Removes categorization of Ahelps. 2015-01-31 21:13:05 -05:00
GinjaNinja32
a4f1c617b8 Allow typing all arguments to adminhelp 2014-12-05 17:06:16 +00:00
Amunak
82322f146e Admin PM cleanup; moved styles to stylesheet.dm, added chattags 2014-11-28 12:05:11 +01:00
DJSnapshot
8c5639c720 sanity checks and other cleanliness things. 2014-11-17 14:35:24 -08:00
Boop
a903e400dd Fixes #5088
also fixes more runtimes that mloc gave me
2014-06-17 20:35:48 +01:00
Ccomp5950
37e33cba9a AdminPM fixes
Invisimins won't show what their rank is it will simply say "Admin"

Non-staff won't get to see the adminlink (?)

People receiving adminPM's won't get the wrong version of it allowing them to only reply to themselves.

Removed the commented out stuffs.
2014-05-07 13:56:25 -05:00
Zuhayr
0d597fe8db Merge pull request #4912 from Ccomp5950/mentors
Adds Mentors.
2014-05-07 10:00:27 +09:30
Intercross21
0e40a3f2dd And little more fixes 2014-05-05 19:38:09 +04:00
Ccomp5950
fe4f9b0df9 Adds Mentors.
Adds a config option MENTORS which sets the variable config.mods_are_mentors
Adds a rights level of R_MENTOR which gets msay, private message, aghost, notes, and a new proc for checking for new players (requires database support).

If the confic option for mentors is set then

	the ckeys listed in moderators.txt file will instead be set as mentors, you can still make moderators by adding them in admins.txt

	staffwho will show Mentors instead of Moderators as the heading above the listing of non-admins.

Also:  Players now get a message gently reminding them to click the name of the staff member to reply instead of ahelping over and over.
2014-05-04 23:12:06 -05:00
Intercross21
11e5c64c78 Unified interface for options of admin 2014-05-04 18:37:42 +04:00
Ccomp5950
ed25b7c870 Canceling an IRC-adminPM will not send a blank message.
Ooops
2014-05-03 09:27:59 -05:00
Ccomp5950
d6717177ad IRC-AdminPM is limited to 400 characters. 2014-05-01 21:24:09 -05:00
Ccomp5950
daed8dd7ec Code for new bots allowing admins to PM Players via IRC and vice versa. 2014-04-16 23:14:17 -05:00
Ccomp5950
a3befe9936 Private message fixes. Stealth-mode / admin != maroon
Stealth-Mode Admins won't have their keys show up in the title of private messages anymore (unless the person sending the message is mod+)

Admins PM's to players will show up as red again.  You are welcome Virgie!
2014-01-25 22:16:58 -06:00
Cael_Aislinn
fed198964f fixed ooc runtime, removed random space in adminpms, removed forced disabling of stat tracking >.>
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-02-25 13:45:13 +10:00
Cael_Aislinn
2b4827692c tweakfixes to admin PMs
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-02-18 13:06:07 +10:00
Cael_Aislinn
e6e4b89819 disabled simultaneous admin PM warning
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-02-13 17:49:48 +10:00
Cael_Aislinn
f29c19e52c added global PM visibility for mods
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-02-11 02:51:55 +10:00