Commit graph

50 commits

Author SHA1 Message Date
Ahmed Charles
487fcdf873 Use list* from future.utils.
dict.keys() -> list(dict)
dict.values() -> listvalues(dict)
dict.tems() -> listitems(dict)
2015-11-09 10:23:00 +00:00
Ahmed Charles
de0e42240c Have every class inherit from object. 2015-11-09 10:11:34 +01:00
Ahmed Charles
11b61fe335 Import python3 compatible object. 2015-11-02 00:19:04 +01:00
Ahmed Charles
cbe1eefcf0 Move to python3 style division.
All of these are currently integer division in python2.
2015-11-01 20:47:18 +00:00
Ahmed Charles
28a754033e Remove unnecessary print functions. 2015-11-01 21:21:32 +01:00
Griatch
c7e1a6a086 Resolved merge conflicts against master. 2015-10-20 00:07:39 +02:00
Griatch
50371b6abd Merged conflicts. 2015-10-19 23:32:00 +02:00
Ahmed Charles
48f1d0b26f Remove commented out logger calls. 2015-10-19 23:31:19 +02:00
Ahmed Charles
bc340fbf0d Remove commented out print statements. 2015-10-19 23:31:19 +02:00
Ahmed Charles
0384fcc63d Move to python3 style except. 2015-10-19 23:31:19 +02:00
Griatch
b952a290b5 Fixed conflicts against master. 2015-10-18 12:43:43 +02:00
Griatch
1348fae5a0 Reworked the flow of the data property through AMP to fix inconsistencies and make some overall cleanup of the arguments used to send AMP messages. Resolves #815. 2015-10-11 18:49:38 +02:00
Russell Jones
06c3dc0ed3 Run "futurize -1 -w -n ." 2015-10-01 20:00:28 +01:00
Griatch
1d17302d16 Refactoring to go with the fixed AMP structure and methods. 2015-09-21 16:50:05 +02:00
Griatch
d553c46ba5 Implemented a more robust DoS mechanism for commands. A large number of concurrent players can now send data to the server without general slowdown, the prize to pay for not overwhelming the server is that when load is high you will occationally get an error and asked to enter your command again. 2015-09-21 16:49:44 +02:00
Griatch
4109c86545 Modified connection DoS limiter. 2015-09-20 20:01:52 +02:00
Griatch
018250e4e5 More refined time tracing. It seems the AMP connection is really the bottleneck. 2015-09-17 22:39:48 +02:00
Griatch
d02b781be1 Time tracing setup for tracing the flow of data through AMP. 2015-09-17 21:56:14 +02:00
Griatch
cb0417fe7f Fixed the connect and command DoS checkers to work more stably and not exclude too much. Resolves #779. 2015-09-17 00:46:45 +02:00
Adrian Pacała
8234e4bd91 Clean up JavaScript example in WebSocket client 2015-07-25 18:37:16 +02:00
Griatch
8572cc21c2 Fixed a utf-8 error lingering from docstring conversions. Resolves #767. 2015-06-25 23:04:26 +02:00
Griatch
19bfaae8a6 Finished converting server/ and server/portal to google-style docstrings as per #709. 2015-06-23 15:20:32 +02:00
Griatch
37763ceca5 Added MAX_CONNECTION_RATE, MAX_COMMAND_RATE for throttling various aspects of input as a DoS measure as per #640. 2015-05-15 01:51:09 +02:00
Griatch
ec05a47065 Fixed an edge case for oob. 2015-04-01 09:17:19 +02:00
Griatch
3c2e44346a The portalsessionhandler was storing the latest command time on itself rather than on the session. Should fix getting logged on despite being active. 2015-03-14 16:00:55 +01:00
Griatch
b9e560660e Updated the javascript code to handle the right mode for making prompt work for webclient again. Resolves #702. 2015-03-12 07:32:09 +01:00
Griatch
1c298951d6 Fixed an error in Windows version that put pid files in the wrong location (how come a Windows user didn't notice this one before?) 2015-03-07 20:27:12 +01:00
Griatch
004b76250f Added ansi->irccolor support to IRC protocol, for sending color codes to the irc channel. Resolves #632. 2015-03-07 15:04:20 +01:00
Griatch
fc56b12f52 Made ircbot work correctly with latest code, lead to a fixing of a bug in script creation. 2015-03-07 13:22:11 +01:00
Griatch
000f14c028 Updated how the automatic timeout closes the session on the portal side. A lot cleaner now. 2015-03-06 18:52:29 +01:00
Griatch
6dcc1b80b0 Added NOP keepalive to telnet protocol. Resolves #641. 2015-03-06 16:53:24 +01:00
Griatch
71e9038c62 Started removing the global maintenance scripts, but ran into strange AMP issues. 2015-03-06 15:59:58 +01:00
Griatch
a23d78d5b0 Removed the rate limiter in portal for now, not sure how useful it actually is. Need to investigate further ... later. 2015-03-01 10:54:28 +01:00
Griatch
9793c57dd4 Made portalsessionhandler manage command rate limitations directly, using a cmd/s average over 200 commands. 2015-02-28 15:37:20 +01:00
Griatch
b94bb17576 Implemented contents_cache handler for a speed boost for many situations, as per #620. 2015-02-28 11:29:05 +01:00
Griatch
9ac3296b04 Introduced a trottling mechanism in the portalsessionhandler, limiting the number of new connections per second. Also fixed a bug in deleting a puppeted object. 2015-02-24 23:11:04 +01:00
Griatch
b015f4802a Added better docstrings to subpackages and cleaned out some places which were unclear. 2015-02-23 17:46:42 +01:00
Griatch
b3c8a37f89 Updated webclient to use the latest refactored oob syntax. 2015-02-15 11:49:36 +01:00
Griatch
950c107ed4 More fixes to webclient 2015-02-15 10:17:20 +01:00
Griatch
850c5effaa Starting reworking the webclient to use the new oob system format. 2015-02-15 08:58:50 +01:00
Griatch
d8286a592e Turning off debug messages for OOB 2015-02-14 20:18:08 +01:00
Griatch
cc39aff62c Some cleanup of the OOBhandler and communication with GMCP. 2015-02-14 20:12:09 +01:00
Griatch
08525f11ee Implemented GMCP with the new oobhandler. Resolves #208. 2015-02-14 19:46:25 +01:00
Griatch
d5a7908a43 MSDP basic testing for ECHO and SEND done. 2015-02-13 23:34:02 +01:00
Griatch
eda15ccc45 Added support for GMCP out-of-band messaging, as a backup handler to MSDP. Starting to rework the oob system to be more straightforward to follow and understand. 2015-02-11 20:58:37 +01:00
Griatch
ec4e985c39 Made sure to have the launcher send the gamedir as the first entry in the environment for the portal and launcher. This makes it possible to start evennia from anywhere in the game folder. 2015-02-10 00:12:41 +01:00
Griatch
ab052b8301 Fixed bugs, made server start. Still cannot reload. 2015-01-08 19:56:54 +01:00
Griatch
33a42d06c5 Fixed many path-related issues, getting closing to getting the server to boot. 2015-01-08 16:00:22 +01:00
Griatch
ad3f19896c Changed all src/ and ev references to evennia 2015-01-07 15:36:32 +01:00
Griatch
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00