summaryrefslogtreecommitdiff
path: root/src/network/network_admin.h
AgeCommit message (Collapse)Author
2021-05-30Codechange: [Network] Let admin-console use std::string(_view)rubidium42
2021-05-30Codechange: [Network] Let admin-game script use std::stringrubidium42
2021-05-15Codechange: [Network] Let chat communication use std::stringrubidium42
2021-02-27Codechange: [Network] replace _realtime_tick with std::chronoPatric Stout
2020-01-07Codechange: Remove std::function from Pool iteration wrapperJonathan G Rennison
Add a separate template wrapper for filtered iteration
2019-12-21Codechange: Replace network related FOR_ALL with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-03-24Codechange: Use override keyword in networking classes.peter1138
2019-03-20Remove: ENABLE_NETWORK switchPatric Stout
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to.
2013-07-11(svn r25588) -Feature [FS#5643]: PING and PONG packets for admin port (Xaroth)planetmaker
2013-07-11(svn r25587) -Add FS#5643: Conclude rcon output sent to admin clients with ↵planetmaker
an RCON_END packet (Xaroth)
2011-12-19(svn r23623) -Add: allow bi-directional communication with the AdminPort and ↵truebrain
GameScript
2011-11-04(svn r23115) -Fix [FS#4813]: allow accessing the server's client info as ↵rubidium
well in the admin network (dihedral)
2011-09-15(svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin ↵rubidium
port when a new game is started
2011-05-05(svn r22424) -Document: some more bitsrubidium
2011-05-01(svn r22398) -Codechange: remove some defines from the tcp/admin code, so ↵rubidium
doxygen can create better documentation
2011-04-22(svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the ↵rubidium
admin "core" as they send IP addresses to the admin "bots"
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-01-03(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way ↵rubidium
and remove some unneeded casts
2010-12-30(svn r21668) -Feature: command logging using the admin interface (dihedral)rubidium
2010-10-17(svn r20975) -Add: logging of console output for remote admins (dihedral)rubidium
2010-10-17(svn r20974) -Add: remote console (rcon) for remote admins (dihedral)rubidium
2010-10-17(svn r20973) -Add: chat sending and receiving support for remote admins ↵rubidium
(dihedral)
2010-10-17(svn r20972) -Add: company statistics updates at intervals to remote admins ↵rubidium
(dihedral)
2010-10-17(svn r20971) -Add: company economy updates at intervals to remote admins ↵rubidium
(dihedral)
2010-10-17(svn r20970) -Add: company change notification to remote admins (dihedral)rubidium
2010-10-17(svn r20969) -Add: client info change notification to remote admins (dihedral)rubidium
2010-10-17(svn r20968) -Add: date notification of remote admins (dihedral)rubidium
2010-10-17(svn r20967) -Add: infrastructure to send information to remote admins at ↵rubidium
specific intervals (dihedral)
2010-10-17(svn r20964) -Add: disconnecting remote admins that fail to authenticaterubidium
2010-10-17(svn r20963) -Add: stubs for a remote administration connectionrubidium