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

Add a few networks to fax, which send papers to request manager, and staff can answer on them from fax panel. #71129

Merged
merged 24 commits into from Nov 21, 2022

Conversation

AnywayFarus
Copy link
Contributor

@AnywayFarus AnywayFarus commented Nov 6, 2022

About The Pull Request

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
image
image
image

Why It's Good For The Game

More bureacracy gaming.

Changelog

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

@tgstation-server tgstation-server added Administration As generous gods, we have deigned to throw the jannies a bone Feature Exposes new bugs in interesting ways UI We make the game less playable, but with round edges labels Nov 6, 2022
@AnywayFarus AnywayFarus marked this pull request as draft November 6, 2022 07:49
@AnywayFarus AnywayFarus marked this pull request as ready for review November 7, 2022 10:57
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
code/modules/paperwork/fax.dm Outdated Show resolved Hide resolved
code/modules/paperwork/fax.dm Show resolved Hide resolved
code/modules/paperwork/fax.dm Show resolved Hide resolved
code/modules/paperwork/fax.dm Outdated Show resolved Hide resolved
code/modules/requests/request.dm Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Nov 8, 2022

It may be a good idea to check to see if validation is performed on id and name params since it's being sent to admins.

code/__DEFINES/admin.dm Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
code/modules/admin/admin_fax_panel.dm Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/AdminFax.js Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/AdminFax.js Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/AdminFax.js Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/AdminFax.js Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/Fax.tsx Outdated Show resolved Hide resolved
@YakumoChen
Copy link
Contributor

can I prank the Syndicate by sending them pizzas after I figure out their address?

@github-actions github-actions bot added the Merge Conflict Adding upstream files to your repo via drag and drop won't resolve conflicts label Nov 18, 2022
@tgstation-server tgstation-server removed the Merge Conflict Adding upstream files to your repo via drag and drop won't resolve conflicts label Nov 18, 2022
@github-actions github-actions bot added the Merge Conflict Adding upstream files to your repo via drag and drop won't resolve conflicts label Nov 21, 2022
@github-actions
Copy link
Contributor

Your Fix/Feature pull request is currently below zero (-3). Maintainers may close future Feature/Balance PRs. Fixing issues or helping to improve the codebase will raise this score.

github-actions bot added a commit that referenced this pull request Nov 21, 2022
comfyorange added a commit that referenced this pull request Nov 21, 2022
Mothblocks added a commit to Mothblocks/tgstation that referenced this pull request Nov 22, 2022
…staff can answer on them from fax panel. (tgstation#71129)

## About The Pull Request

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)


## Why It's Good For The Game

More bureacracy gaming.

## Changelog

: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>
Mothblocks pushed a commit to Mothblocks/tgstation that referenced this pull request Nov 22, 2022
@ghost
Copy link

ghost commented Nov 24, 2022

image

@AnywayFarus
Copy link
Contributor Author

image

???

@ghost
Copy link

ghost commented Nov 24, 2022

image

???

It may be a good idea to check to see if validation is performed on id and name params since it's being sent to admins.

@AnywayFarus
Copy link
Contributor Author

image

???

It may be a good idea to check to see if validation is performed on id and name params since it's being sent to admins.

This, in fact, should be on the honor of the administration (VV is only with them)

@ghost
Copy link

ghost commented Nov 24, 2022

This, in fact, should be on the honor of the administration (VV is only with them)

JS requests can be forged. This was done by modifying the send request to be special_send and changing name to html code. So the fault lies solely with this pull. If you check my previous pulls/issues I go more in depth on how this can be done. XSS vulnerabilities tend to be more serious in SS13 because byond's api or whatever lets you mess with clients.

@AnywayFarus
Copy link
Contributor Author

JS requests can be forged. This was done by modifying the send request to be special_send and changing name to html code. So the fault lies solely with this pull. If you check my previous pulls/issues I go more in depth on how this can be done. XSS vulnerabilities tend to be more serious in SS13 because byond's api or whatever lets you mess with clients.

ok, i make view what i understand(panel can be opened only by staff). If u want and can resolve this problem it's coll. I can't 'cause far from home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Administration As generous gods, we have deigned to throw the jannies a bone Feature Exposes new bugs in interesting ways UI We make the game less playable, but with round edges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants