Commit Graph

866 Commits

Author SHA1 Message Date
Werner
fb25382405 Rewrite API (#825)
he /world/Topic() API has been rewritten.

General function:

The API is initialized upon roundstart and generates a list of possible api requests from /code/datums/api.dm
Once a request is made the following checks are performed:
If a query parameter is set (the function that should be called)
If the ip is ratelimited (or rate-limit-whitelisted)
The query is authenticated against the db using ip, function and key
If these checks pass, it is validated that the api command exists
Then the api command is called, all supplied params are passed through
Each API function returns 1 no matter if it failed or succeded
Additional info is provided in the statuscode, response and data vars
The statuscode, response and data are send back to the caller (through list2params)
The data var is json encoded before sending it back
This is not backward compatible to the current API
Current API Clients need to be updated
2016-09-04 21:41:44 +02:00
SoundScopes
893398104f SoundScopes' bugfixes - 01SEP2016 (#848) 2016-09-01 20:45:18 +02:00
skull132
7281e1f951 Fixes #730 (#746)
AOOC is now added to players upon reconnecting, if they are an antag.

Technically a lazy fix, because the verb should maybe be a mob verb instead, and thus be added automatically. But hey, it works.
2016-08-14 22:07:04 +03:00
skull132
0a6e48ab8a Resolve #260 (#679)
Re-enable HTML mark-up in narrates
Because we trust the admins not to abuse HTML, right? Riiiiight?
2016-08-05 15:20:42 +03:00
NanakoAC
d6803a26e3 Respawning Tweaks (#646)
changes:

rscadd: "Respawn timers are now tracked individually for playing as animals (mice), small synthetics (drones and pAIs) and crew (everything else). This means you can now play as a mouse or drone while waiting to respawn as a full crewmember.".
tweak: "You can now spawn as a drone immediately upon joining as an observer, without having to wait ten minutes. There is still a cooldown between respawning as a drone if you just died as one."
tweak: "Slightly improved the error messages if you try to respawn when you've not waited long enough."
In addition, unlisted changes:
The admin verb 'Allow player to respawn' now sets all three respawn timers
Respawn times are now centralised in setup #defines, for easier editing in future
Nonliving mobs will no longer attempt to ghost when deleted. A comment in mob.dm explains this change
2016-08-03 22:34:41 +03:00
Bedshaped
f0df1746f8 Bedshaped's Best Bugfixes #1 (#654)
Fixes #505 (again)
Fixes #626 
Fixes #647 
Resolves #509
2016-08-02 21:47:37 +03:00
skull132
30a250bbfa Fixes Antag-OOC jump link again (#635) 2016-07-24 20:57:38 +03:00
Bedshaped
1aeca11a03 Fixes for some verbs that use command_announcement.Announce (#633)
Fixes:
- "Eldritch Horror, Central Command Internal Affairs Agent, NMSS Odin"
- Someone earlier said it was annoying that the fake CentComm messages sent by MalfAI don't have the same sound as regular CentComm messages, making it easy to tell when it's malf
2016-07-24 20:54:18 +03:00
skull132
742939859c Post Update Fixes - 18JUL2016 (#601)
* Fixes AOOC hyperlinks
* Fixes the dish incubator not storing more than 10 units of food
2016-07-18 19:16:04 +03:00
Werner
8cf37124f2 Various dev fixes (#575)
* Various Bug Fixes:
Fixed: #537
Fixed: #474
Fixed: NL2BR for CCIA Actions/Records
Fixed: CCIA Actions / Records not showing up on printed record
2016-07-14 01:46:46 +03:00
skull132
7d9168a266 AOOC for antags (#553)
Antags now get AOOC, as do mods. Admins and mods can also mute people from AOOC if they're being silly.
2016-07-11 16:52:20 +03:00
skull132
3663ddcfed Welcome Screen (#535)
The idea is to consolidate all of the spam that you see on the lower right panel into one concrete, semi-persistent pop-up window. Utilizing bootstrap, it'll show you a neat welcome screen, the message of the day, staff memos (if accessible), and a personalized set of notifications. The system is set up for easy future expansion, as well.
2016-07-11 16:48:58 +03:00
Bedshaped
2c4e3ce19a Adds an option to use templates from the WI in command reports (#474)
90% of the work here was Skull's since I had no idea how to access and pull information from the DB.
It's also a semi-fix for #433
2016-07-05 21:23:09 +03:00
skull132
d402f879fc Hotfix - Markup (#450)
No more breaking of links.
more options.
2016-06-24 22:21:26 +03:00
NanakoAC
2e9e694981 Fixes #347 - Tajaran species equipment correction (#348)
* Tajaran species name
Corrected several errors in the code, which resulted in tajaran gloves
not working properly. 'Tajara' is the singular name of the species
2016-05-30 23:16:03 +03:00
skull132
8383f1c03b Generalizing establish_db_connection() and setup_database_connection()
Both procs are now generalized, and accept a DBConnection object as an argument. Due to this generalization, all instances of `establish_db_connection()` must be renamed to `establish_db_connection(dbcon)`.
Also added variable `failed_connections` to the definition of DBConnection.
2016-03-04 00:53:37 +02:00
skull132
9a82cb5de1 Fixes forwarding emergency messages 2016-02-21 22:18:40 +02:00
skull132
c2b43989ed Warning fixes
0 is considered null, insetad of an integer. Silly.
2016-02-21 16:26:12 +02: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
e309f2216a Dev Perms For Days 2016-02-16 01:44:27 +02:00
skull132
be4840f920 Warnings Fixes
For editing them, and for editing them.
2016-02-16 01:28:57 +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
d0b8bb018a Typo
Information is spelled properly.
2016-02-10 13:29:35 +02:00
skull132
eebe08875a Msay Restriction
Only people with +MOD or +ADMIN can now see msay. As is proper.
2016-02-10 00:54:42 +02:00
skull132
f1ebd94d4a Fixing Adminhelps
Stupid mistake while removing R_MENTOR.
2016-02-08 23:44:24 +02:00
skull132
d465b9aabe Runtime Fix 2016-02-07 14:59:04 +02:00
skull132
33377b42f1 Clear Toxins/Fire in Zone verb 2016-02-07 14:25:15 +02:00
skull132
41a6c09fe8 Stylesheet Fixes
Adds the two CSS classes referenced by dev- and cciaasay.
2016-02-07 01:08:06 +02:00
skull132
6d19ca3ad4 Fixes #52
Fixes to the ParseArguments() proc and the warnings panel.
2016-02-06 12:07:18 +02:00
skull132
26a449b861 Merge remote-tracking branch 'Aurorastation/development'
# Conflicts:
#	code/modules/admin/admin_verbs.dm
2016-02-06 02:08:11 +02:00
skull132
481cbf423d +CCIAA and +DEV Finalization 2016-02-06 01:52:50 +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
0143439a22 BST Update 1.0
Gave Admins their flag because they would whine otherwise.
2016-02-05 16:19:44 -05:00
Ryan784
8277f9e779 BST Import/access for Devs/Admins
Bluespace Technicians are back! And better than ever. And by better, I
mean exactly the same. Hoorah.
2016-02-05 15:51:01 -05: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
skull132
8569d1c1ab +CCIAA Flag 2016-02-02 23:37:15 +02:00
skull132
80720990e3 Dibs 2016-02-02 17:14:41 +02:00
skull132
179431115b Merge remote-tracking branch 'Aurorastation/development' into SQL-backend-import
# Conflicts:
#	code/modules/admin/admin.dm
#	code/modules/admin/admin_verbs.dm

All conflicts cleared. Wind funciton needs a quick redo as a result.
2016-02-01 16:00:54 +02:00
skull132
5da7e3d699 Player Notes SQL
Adds the SQL based notes system. Partially refractored to use the new DB procs and look neater.
2016-01-19 14:55:01 +02:00
skull132
9310018dbd SQL Warnings
Adds the SQL based warning system.
2016-01-19 00:27:50 +02:00
skull132
c7ae4df416 dbcon_old removal, table prefixing
Prefixes the tables properly with ss13_, and removes active references to dbcon_old and related procs.
2016-01-13 15:59:36 +02:00
SkyMarshal
d10118e3d0 Fixes #11346
Fixes #8123

Removes adminbus ability to call down the Icarus... because it's pretty broken.
2015-12-12 12:03:15 -07:00
SkyMarshal
eae12b8f9c Fixes #8568 2015-12-11 19:52:18 -07:00
PsiOmegaDelta
2d5677109f Build mode throws now admin logs.
Fixes #11514.
2015-11-29 12:14:31 +01:00
GinjaNinja32
d5928d9927 Merge pull request #11260 from mwerezak/ttv
Fixes TTV Yield
2015-10-10 09:05:00 +01:00
HarpyEagle
63838b01d4 Updates preset TTV bombs, adds debug verb 2015-10-09 11:18:12 -04:00
Kelenius
9dd6f9762a Resolves #11049 2015-09-14 12:05:28 +03:00
Zuhayr
211e426009 Tweak. 2015-09-07 14:43:20 +09:30
PsiOmega
f68275d91b Improved admin logging.
log_and_message_admins() (which sure needs a shorter name) now uses key_name_admin() instead of just key_name().
Replaces calls to admin_log_and_message_admins() which did this with log_and_message_admins() instead.
2015-08-27 20:20:20 +02:00
PsiOmega
949cfdfc5b Restores special admin color in Msay
Restores the special appearance admin name's had when using MSAY, to differentiate them from the masses.
2015-08-25 19:06:52 +02:00