pokemon-showdown/server
Guangcong Luo 08420c7feb Reassign hotpatch permissions
Currently, 'hotpatch' and 'lockdown' are admin permissions, and
'console' is a console admin permission. In preparation for the
admin/leader unification, I'm removing the hotpatch permission:

- /memoryusage, /loadbanlist, /adddatacenters, /refreshpage,
  /loadbanlist have been moved from 'hotpatch' to 'lockdown'. This
	doesn't change anything, I'm just unifying the permission name.

- /updateserver has been moved from 'hotpatch' to 'console'.
  /updateserver in combination with either hotpatch or lockdown can be
	used for arbitrary code execution, and is approximately as dangerous
	as any other console command.

- /hotpatch, /savelearnsets have been moved from 'hotpatch' to
  'console'. They're reasonably harmless, but they don't do anything
	without console access, so a non-console admin using them is nearly
	definitely some sort of mistake.

`user.hasConsoleAccess` now also has a CommandContext function
`this.canUseConsole` to handle its error message.
2020-06-06 07:44:31 -07:00
..
chat-commands Reassign hotpatch permissions 2020-06-06 07:44:31 -07:00
chat-plugins Roomevents: Fix bug in getAllAliases() (#6805) 2020-06-05 18:28:28 -07:00
static
tournaments Tournaments: Escape usernames in /tour getusers (#6764) 2020-05-29 18:57:24 -07:00
chat-formatter.ts Improve linkRegex 2020-03-08 20:16:53 -07:00
chat.ts Reassign hotpatch permissions 2020-06-06 07:44:31 -07:00
config-loader.ts Setting a room rank can no longer demote globals 2020-04-17 03:32:11 -07:00
global-types.ts Refactor Sockets to ProcessManager+TypeScript (#6584) 2020-04-17 04:05:45 -07:00
global-variables.d.ts Refactor Sockets to ProcessManager+TypeScript (#6584) 2020-04-17 04:05:45 -07:00
index.ts Improve code documentation 2020-05-26 21:29:34 -04:00
ip-tools.ts Update datacenters & IP-tools (#6708) 2020-05-16 18:28:06 -07:00
ladders-local.ts Use optional chaining and linter improvements (#6422) 2020-03-06 11:44:32 -08:00
ladders-remote.ts Add a library for making HTTP/S requests (#6744) 2020-06-04 11:53:58 -07:00
ladders.ts Support Unown formes 2020-04-30 14:16:56 -07:00
loginserver.ts Add a library for making HTTP/S requests (#6744) 2020-06-04 11:53:58 -07:00
monitor.ts Use optional chaining and linter improvements (#6422) 2020-03-06 11:44:32 -08:00
punishments.ts Fix punishments 2020-04-08 16:50:26 -04:00
room-battle.ts Fix player substitutions in battles 2020-05-26 21:53:32 -04:00
room-game.ts Improve code documentation 2020-05-26 21:29:34 -04:00
roomlogs.ts Fix the rename command to log the new room & require a target (#6710) 2020-05-18 09:21:14 -07:00
rooms.ts Fix room events crashing with no alias 2020-06-04 14:49:38 -04:00
sockets.ts Fix port config not being passed to child process 2020-04-21 07:26:29 -07:00
team-validator-async.ts Improve validator crash phrasing 2020-05-01 13:22:16 -07:00
users.ts Improve code documentation 2020-05-26 21:29:34 -04:00
verifier.ts Improve eslintrc 2020-03-06 22:35:55 -08:00