mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 14:45:05 +00:00
* Overhauls discord verification system (#53289) This completely replaces the previous verification system, for one that will interoperate with a discord redbot instance that uses the cogs located at you github.com/optimumtact/orangescogs This cuts out several steps in the system, but it also leaves alone the existing notify system (which just uses a file list of discord ids) as a record of who to notify SQL changes required for the new database system Version 5.10, 7 August 2020, by oranges Changes how the discord verification process works. Adds the discord_links table, and migrates discord id entries from player table to the discord links table in a once off operation and then removes the discord id on the player table The user connects to any tg server, and uses the "Verify Discord Account" verb, this generates a six word one time use token, with a 4 hour time validity period (defined as 4 hours from the timestamp value) in the discord links table. This one time token, and the ckey of the user are stored in discord_links At this point the entire DM side is done, this is all it does * Overhauls discord verification system Co-authored-by: oranges <email@oranges.net.nz>
80 lines
2.3 KiB
Plaintext
80 lines
2.3 KiB
Plaintext
GLOBAL_VAR(log_directory)
|
|
GLOBAL_PROTECT(log_directory)
|
|
GLOBAL_VAR(world_game_log)
|
|
GLOBAL_PROTECT(world_game_log)
|
|
GLOBAL_VAR(world_runtime_log)
|
|
GLOBAL_PROTECT(world_runtime_log)
|
|
GLOBAL_VAR(world_qdel_log)
|
|
GLOBAL_PROTECT(world_qdel_log)
|
|
GLOBAL_VAR(world_attack_log)
|
|
GLOBAL_PROTECT(world_attack_log)
|
|
GLOBAL_VAR(world_econ_log)
|
|
GLOBAL_PROTECT(world_econ_log)
|
|
GLOBAL_VAR(world_href_log)
|
|
GLOBAL_PROTECT(world_href_log)
|
|
GLOBAL_VAR(round_id)
|
|
GLOBAL_PROTECT(round_id)
|
|
GLOBAL_VAR(config_error_log)
|
|
GLOBAL_PROTECT(config_error_log)
|
|
GLOBAL_VAR(sql_error_log)
|
|
GLOBAL_PROTECT(sql_error_log)
|
|
GLOBAL_VAR(world_pda_log)
|
|
GLOBAL_PROTECT(world_pda_log)
|
|
GLOBAL_VAR(world_telecomms_log)
|
|
GLOBAL_PROTECT(world_telecomms_log)
|
|
GLOBAL_VAR(world_manifest_log)
|
|
GLOBAL_PROTECT(world_manifest_log)
|
|
GLOBAL_VAR(query_debug_log)
|
|
GLOBAL_PROTECT(query_debug_log)
|
|
GLOBAL_VAR(world_job_debug_log)
|
|
GLOBAL_PROTECT(world_job_debug_log)
|
|
GLOBAL_VAR(world_mecha_log)
|
|
GLOBAL_PROTECT(world_mecha_log)
|
|
GLOBAL_VAR(world_virus_log)
|
|
GLOBAL_PROTECT(world_virus_log)
|
|
GLOBAL_VAR(world_asset_log)
|
|
GLOBAL_PROTECT(world_asset_log)
|
|
GLOBAL_VAR(world_cloning_log)
|
|
GLOBAL_PROTECT(world_cloning_log)
|
|
GLOBAL_VAR(world_map_error_log)
|
|
GLOBAL_PROTECT(world_map_error_log)
|
|
GLOBAL_VAR(world_paper_log)
|
|
GLOBAL_PROTECT(world_paper_log)
|
|
GLOBAL_VAR(tgui_log)
|
|
GLOBAL_PROTECT(tgui_log)
|
|
GLOBAL_VAR(world_shuttle_log)
|
|
GLOBAL_PROTECT(world_shuttle_log)
|
|
|
|
GLOBAL_VAR(demo_log)
|
|
GLOBAL_PROTECT(demo_log)
|
|
|
|
GLOBAL_LIST_EMPTY(bombers)
|
|
GLOBAL_PROTECT(bombers)
|
|
GLOBAL_LIST_EMPTY(admin_log)
|
|
GLOBAL_PROTECT(admin_log)
|
|
GLOBAL_LIST_EMPTY(lastsignalers) //keeps last 100 signals here in format: "[src] used [REF(src)] @ location [src.loc]: [freq]/[code]"
|
|
GLOBAL_PROTECT(lastsignalers)
|
|
GLOBAL_LIST_EMPTY(lawchanges) //Stores who uploaded laws to which silicon-based lifeform, and what the law was
|
|
GLOBAL_PROTECT(lawchanges)
|
|
|
|
GLOBAL_LIST_EMPTY(combatlog)
|
|
GLOBAL_PROTECT(combatlog)
|
|
GLOBAL_LIST_EMPTY(IClog)
|
|
GLOBAL_PROTECT(IClog)
|
|
GLOBAL_LIST_EMPTY(OOClog)
|
|
GLOBAL_PROTECT(OOClog)
|
|
GLOBAL_LIST_EMPTY(adminlog)
|
|
GLOBAL_PROTECT(adminlog)
|
|
|
|
GLOBAL_LIST_EMPTY(active_turfs_startlist)
|
|
|
|
/////Picture logging
|
|
GLOBAL_VAR(picture_log_directory)
|
|
GLOBAL_PROTECT(picture_log_directory)
|
|
|
|
GLOBAL_VAR_INIT(picture_logging_id, 1)
|
|
GLOBAL_PROTECT(picture_logging_id)
|
|
GLOBAL_VAR(picture_logging_prefix)
|
|
GLOBAL_PROTECT(picture_logging_prefix)
|
|
/////
|