Griatch
|
86c970eb62
|
Add sessionhandler.portal_disconnect_all to remove another needless call between server and portal on logout. This means logout from either side will clean up on the respective side and then inform the other side once, rather than triggering a return call.
|
2016-09-13 21:48:43 +02:00 |
|
Griatch
|
8eb500f8e0
|
Add sessionhandler.portal_disconnect which cuts down interaction over AMP by one when a player disconnects.
|
2016-09-13 20:42:38 +02:00 |
|
Griatch
|
410d04456c
|
Some further fixes to the ajax client, as well as maybe fixing the i.d.l. bug manifesting from a poor msg input send.
|
2016-06-01 01:22:20 +02:00 |
|
Griatch
|
eebd41f46d
|
Getting an improved version of the shared session system vaguely in shape.
|
2016-06-01 01:22:20 +02:00 |
|
Griatch
|
f3512971e3
|
Created setter inputfuncs for the basic GMCP handhakes. Also added
the possibility for the Server to sync a single Session with the
Portal.
|
2016-05-22 20:45:40 +02:00 |
|
Griatch
|
83e24678f5
|
Fixed a bug which caused a failure when logging out
|
2016-05-22 20:45:38 +02:00 |
|
Griatch
|
006e367330
|
Made GMCP/MSDP work for tintin++. Mudlet seems to send the handshake differently.
|
2016-05-22 20:45:38 +02:00 |
|
Griatch
|
d48691e121
|
Got the initial connect screen to display in webclient again.
|
2016-05-22 20:45:06 +02:00 |
|
Griatch
|
1044006303
|
Moved inlinefunc-parsing to sessionhandler level. First text throughput for webclient alongside telnet.
|
2016-05-22 20:45:05 +02:00 |
|
Griatch
|
2890371900
|
Still messing with getting the webclient to talk properly to the server.
|
2016-05-22 20:45:05 +02:00 |
|
Griatch
|
c511263f63
|
Made basic telnet work again.
|
2016-05-22 20:45:05 +02:00 |
|
Griatch
|
96ace8c75f
|
Starting to clean up and debug the server-side infrastructure
|
2016-05-22 20:45:05 +02:00 |
|
Griatch
|
e4d50ff74e
|
Changes to the input-handling interface, to support function calls; also changing oob system to be inputhandler system, making it all work in the same way (no separation between text and oob anymore).
|
2016-05-22 20:45:05 +02:00 |
|
Griatch
|
7ad1229a7b
|
Started refactor the webclient to use new system server-side. Renamed webclient.py to webclient_ajax.py and websocket_client.py to simpy webclient.py, since websocket is the standard now.
|
2016-05-22 20:45:05 +02:00 |
|
Griatch
|
4817ec90b3
|
Changed the OOB message structure to include sending text data as well; still not working fully.
|
2016-05-22 20:45:05 +02:00 |
|
Griatch
|
418e6d953a
|
Fixed an issue where the IDLE_TIMEOUT was triggered even though one had been active in the interval.
|
2016-01-27 21:21:37 +01:00 |
|
Griatch
|
efefe3e5ff
|
First version of changed sessid->session change that starts properly. Not fully tested yet.
|
2015-11-14 21:43:58 +01:00 |
|
Griatch
|
d496606a3c
|
Further development of the reworking of systems using Sessions rather than session id.
|
2015-11-14 20:32:58 +01:00 |
|
Griatch
|
556a0cc332
|
Made sessionhandlers inherit directly from dicts.
|
2015-11-13 22:34:23 +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 |
|
Griatch
|
c7e1a6a086
|
Resolved merge conflicts against master.
|
2015-10-20 00:07:39 +02:00 |
|
Ahmed Charles
|
bc340fbf0d
|
Remove commented out print statements.
|
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
|
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
|
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 |
|
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
|
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
|
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
|
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
|
d8286a592e
|
Turning off debug messages for OOB
|
2015-02-14 20:18:08 +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
|
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 |
|