Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fax Machine Requests Redo #9408

Merged
merged 7 commits into from Aug 25, 2023
Merged

Conversation

itsmeow
Copy link
Member

@itsmeow itsmeow commented Jul 14, 2023

About The Pull Request

We actually have a PR that is worse that TG closed for our centcom fax system. The new version is much better and removes a lot of extra crap that wasn't needed (logging in to access centcom faxes, uses the request panel)

Reverts:

Ports:

I made sure to test for and keep the changes from #9236

Also fixes a runtime with ghosts and papers that I swear we fixed but somehow still occurs because 0 is returned.

Why It's Good For The Game

Better admin tools, admins can now send faxes directly via the new Fax Manager verb, and faxes are show in the request panel instead of its own panel.

Testing Photographs and Procedure

Screenshots&Videos

image
image
image
image
image
image
image

Runtime fix
image

Changelog

🆑
tweak: Changed how special/faction faxes work and removed all except centcom and syndicate. Login is no longer required to use special faxes.
admin: Removed old fax manager in favor of Requests Manager, added "Send Fax Message" verb to send admin faxes via a menu.
fix: Fixed runtime when ghosts tried to view paper.
/:cl:

itsmeow and others added 5 commits July 14, 2023 19:23
…staff can answer on them from fax panel. (#71129)

This PR adds the ability to send faxes to a central command or
syndicate, which will be delivered to the admins in request format. And
also, a fax panel for admins has been added, which will allow them to
conveniently send a fax already back (including stamps)

![image](https://user-images.githubusercontent.com/78199449/200159547-4e5f1759-2879-459c-b84f-e6dedd5f1ccb.png)

![image](https://user-images.githubusercontent.com/78199449/200159551-951e235f-e2ac-4f92-a96f-72cba643e634.png)

![image](https://user-images.githubusercontent.com/78199449/200159552-57f3dcf6-5875-4b11-af58-22c0b0fb4ae2.png)

![image](https://user-images.githubusercontent.com/78199449/200159553-57fbf90c-f141-4c12-8879-81a842afe30f.png)

More bureacracy gaming.

:cl: Vishenka0704
add: A way to send faxes to CentCom/Syndicate
admin: New fax panel(with stamps!!!)
/:cl:

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
…n fax (#71491)

NTpay wasn't validating negative input serverside, allowing for negative
payment to users(Negative - Negative = Positive, so it adds money to the
senders account.) Also encodes a parameter that was sent unsanitized to
admins.
:cl:
fix: Fixes a NTPay exploit.
/:cl:
@github-actions github-actions bot added Administration TGUI-Changes Contains changes to TGUI. Make sure its up to date with TGUI 4.0 labels Jul 14, 2023
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link
Member

@PowerfulBacon PowerfulBacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There doesn't seem to be any player accessible XSS exploits so I take it that this PR is well coded and well tested since its from a maintainer

@PowerfulBacon PowerfulBacon added this pull request to the merge queue Aug 25, 2023
Merged via the queue into BeeStation:master with commit 54a4d0d Aug 25, 2023
8 checks passed
meemofcourse added a commit to meemofcourse/Shiptest that referenced this pull request Jan 21, 2024
github-merge-queue bot pushed a commit to shiptest-ss13/Shiptest that referenced this pull request Feb 2, 2024
…CentCom (#2653)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
This pull requests ports:
* BeeStation/BeeStation-Hornet#9408
* BeeStation/BeeStation-Hornet#9236
This pull request reverts:
* tgstation/tgstation#70072

The requests manager is now a thing.

![264860380-6d27a710-8ac1-4864-9abe-4c13f4885cba](https://github.com/shiptest-ss13/Shiptest/assets/75212565/dc3277d3-9770-4450-97a8-6b4b918cf25b)

It also adds little offices with fax machines for factions to CentCom,
which recieve the physical paper and can send faxes back (though admins
can still make use of the fax panel).

![imagen](https://github.com/shiptest-ss13/Shiptest/assets/75212565/1abb223f-1914-4ab9-8240-e2969a4e47f5)
They can also fax each other, if ever needed.

![imagen](https://github.com/shiptest-ss13/Shiptest/assets/75212565/1d551e8e-cbea-4116-a608-f319411484b6)


<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
* Gives admins the ability to see a very easy to use recap of all
requests that occur in a round. This system is readily extendible to
support other types of requests, should someone care to add it.
* Better admin tools, admins can now send faxes directly via the new Fax
Manager verb, and faxes are show in the request panel instead of its own
panel.
* You can now LARP as a Cybersun minimum wage intern handling faxes.

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl: bobbahbrown, itsmeow, meemofcourse
add: CentCom now has some small offices, which recieve physical faxes.
add: Fax machines now announce that they have received a fax over radio.
add: Fax machines announce important faxes VERY LOUDLY.
balance: Faxes no longer require a subspace ansible crystal.
code: Faxes now use typepath instead of varedit.
tweak: Changed how special/faction faxes work. Login is no longer
required to use special faxes.
admin: Add Requests Manager to view all fax messages/prayers/centcom and
syndicate requests/and nuke code requests within a round.
admin: Removed old fax manager in favor of Requests Manager, added "Send
Fax Message" verb to send admin faxes via a menu.
fix: Fixed runtime when ghosts tried to view paper.
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
MysticalFaceLesS pushed a commit to MysticalFaceLesS/Shiptest that referenced this pull request Feb 2, 2024
…CentCom (shiptest-ss13#2653)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
This pull requests ports:
* BeeStation/BeeStation-Hornet#9408
* BeeStation/BeeStation-Hornet#9236
This pull request reverts:
* tgstation/tgstation#70072

The requests manager is now a thing.

![264860380-6d27a710-8ac1-4864-9abe-4c13f4885cba](https://github.com/shiptest-ss13/Shiptest/assets/75212565/dc3277d3-9770-4450-97a8-6b4b918cf25b)

It also adds little offices with fax machines for factions to CentCom,
which recieve the physical paper and can send faxes back (though admins
can still make use of the fax panel).

![imagen](https://github.com/shiptest-ss13/Shiptest/assets/75212565/1abb223f-1914-4ab9-8240-e2969a4e47f5)
They can also fax each other, if ever needed.

![imagen](https://github.com/shiptest-ss13/Shiptest/assets/75212565/1d551e8e-cbea-4116-a608-f319411484b6)


<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
* Gives admins the ability to see a very easy to use recap of all
requests that occur in a round. This system is readily extendible to
support other types of requests, should someone care to add it.
* Better admin tools, admins can now send faxes directly via the new Fax
Manager verb, and faxes are show in the request panel instead of its own
panel.
* You can now LARP as a Cybersun minimum wage intern handling faxes.

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl: bobbahbrown, itsmeow, meemofcourse
add: CentCom now has some small offices, which recieve physical faxes.
add: Fax machines now announce that they have received a fax over radio.
add: Fax machines announce important faxes VERY LOUDLY.
balance: Faxes no longer require a subspace ansible crystal.
code: Faxes now use typepath instead of varedit.
tweak: Changed how special/faction faxes work. Login is no longer
required to use special faxes.
admin: Add Requests Manager to view all fax messages/prayers/centcom and
syndicate requests/and nuke code requests within a round.
admin: Removed old fax manager in favor of Requests Manager, added "Send
Fax Message" verb to send admin faxes via a menu.
fix: Fixed runtime when ghosts tried to view paper.
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Administration Feature Fix TGUI-Changes Contains changes to TGUI. Make sure its up to date with TGUI 4.0 Tweak
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants