Commit graph

302 commits

Author SHA1 Message Date
Griatch
1874300ad1 Added at_post_disconnect() hook to Player, to allow for clean deletion of players at disconnect (for example for Guest-account implementation) 2014-07-06 16:20:50 +02:00
Griatch
e6950aadf2 Changed how lazy-loading of handlers work, using a werkzeug recipe. Much more efficient now. 2014-07-06 13:10:03 +02:00
Kelketek Rritaa
7499932337 Removed creation of admin media symlink. Fixed media handling. 2014-06-29 08:23:12 -05:00
Kelketek Rritaa
16bcc3c9f0 Restructured web resources to better manage static files. 2014-06-28 16:28:14 -05:00
Griatch
c60a5fdea1 Fixed and refactored OOB system and tested with new websocket client 2014-06-28 18:10:20 +02:00
Griatch
9ba212c264 Working on the OOB system, somewhat unstable at the moment. 2014-06-28 18:10:20 +02:00
Griatch
d59500f574 Updated to a working websocket implementation of webclient. 2014-06-28 18:10:20 +02:00
Griatch
ca1e36da5f First working test version of oob support in the websocket client. 2014-06-28 18:10:20 +02:00
Griatch
a9cf081494 First make of a testing method for oob 2014-06-28 18:10:20 +02:00
Griatch
ede6634081 Converted webclient to use websockets on port 8001. Ideally one would make it so the ajax and websocket clients work under the same django wrapper, but for now this functionality is elusive. 2014-06-28 18:10:20 +02:00
Griatch
2a6cfaca7d Some cleanup of the OOB code. 2014-06-28 18:10:20 +02:00
Griatch
53b204bb76 Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509. 2014-06-15 13:19:38 +02:00
Griatch
81aa43933c Mudlet seems to fail TTYPE handshake if data compression is activated before TTYPE. Should resolve #512. 2014-06-14 20:35:00 +02:00
Griatch
f2c75bd0f6 Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage. 2014-05-18 18:28:10 +02:00
Griatch
f3af089aac Some cleanup of the server command. 2014-05-11 19:03:45 +02:00
Griatch
0030530021 Added weak reverse references from all handlers. 2014-05-10 17:12:49 +02:00
Griatch
0dc62a5fc9 Refactored batch processors, addressing points in #489. 2014-04-20 23:06:10 +02:00
Griatch
ec54de4797 Fixed an simplejson deprecation, switching to python json. 2014-04-20 16:50:37 +02:00
Griatch
7d0ff9c71c Fixed a database referene bug that would remove ForeignKey referenced objects when reverse referenced through something like db_home (this defaults to CASCADE mode, is now SET_NULL). Also fixed some other minor things. 2014-04-20 15:03:53 +02:00
Griatch
ef0a154a61 First version of working websocket protocol. 2014-04-13 16:26:14 +02:00
Griatch
01d15f13ee First, untested implementation of websocket protocol support. 2014-04-13 13:18:32 +02:00
Griatch
e76061ee4c Fixed some issues with which hooks the reset command calls. Resolves #499. 2014-04-12 16:25:19 +02:00
Griatch
bb7b73b7c2 Added auto-created empty unittest definitions. 2014-03-16 11:14:38 +01:00
Griatch
440afe6928 Further tweaks to unit test systems 2014-03-15 14:06:28 +01:00
Griatch
67c4896a53 More refactoring of the unittest system 2014-03-15 08:03:44 +01:00
Griatch
7571e3606d Some cleanups of the unittests. 2014-03-15 07:37:02 +01:00
Griatch
2dbe2938ae Some more work on imc2, still no clear way to test it. 2014-03-08 11:42:35 +01:00
Griatch
84f5c4dca5 Implemented untested IMC2 in the new system. 2014-03-08 11:42:35 +01:00
Griatch
97991a2238 Implemented RSS feed reader along with updated rss2chan command. 2014-03-08 11:42:35 +01:00
Griatch
f126d30b36 More cleanup of irc bot code, including having it cleanly disconnect from irc channel when destroyed. 2014-03-08 11:41:24 +01:00
Griatch
0d071ec75f Updating the irc2chan command 2014-03-08 11:41:24 +01:00
Griatch
ab6dcc605d Got the IRC bot working with the new mechanism. 2014-03-08 11:41:24 +01:00
Griatch
6c45d76b56 Made irc bot connect, but scripthandler lookup is causing traceback when searching for a player) 2014-03-08 11:41:24 +01:00
Griatch
2108506a8a Added new IRC protocol implementation. Not tested yet. 2014-03-08 11:41:23 +01:00
Griatch
2ae5d56928 Continued work on the bots. 2014-03-08 11:41:23 +01:00
Griatch
f9eece9749 Started implementing the Bot functionality. 2014-03-08 11:41:23 +01:00
Griatch
3f1a461e29 Moved irc/imc2/rss to portal location. No changes done yet. 2014-03-08 11:41:23 +01:00
Griatch
077f44980a Added a new server_connect() method to portalsessionhandler, in preparation for shifting irc/imc2/rss into the portal. 2014-03-08 11:41:23 +01:00
Griatch
2b1cb1c6ce Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model. 2014-03-08 11:41:23 +01:00
Griatch
4b1b842bd2 Changed TickerHandler to use the new ExtendedLoopingCall. This means the individual ticker-timers will continue from the last running time after a reload rather than starting over. 2014-02-17 17:18:12 +01:00
Griatch
9770786486 Made addcom aliases case-insensitive. Resolves #428. Also fixed a bug with channel aliases that made them not work correctly with the new Attribute changes. 2014-02-16 23:29:19 +01:00
Griatch
bad24513e0 Fixed and corrected various bugs resulting from the change to Attributes/Tags). 2014-02-16 21:27:42 +01:00
Griatch
dbe49bb778 Fixed a silly bug introduced in last commit that made telnet connection fail. 2014-02-16 00:24:47 +01:00
Griatch
d159f6731d Implemented better client identification in telnet TTYPE, including a long-standing reversal of DO TTYPE and WILL TTYPE which is due to a typo in the tintin++ TTYPE specification and which was only fixable by going to the original Telnet TTYPE specification from 1989. Should now correctly identify the most common clients that supports e.g. xterm256 colors. 2014-02-13 02:04:43 +01:00
Griatch
ee269d13cf Cleaned up the tickerhandler 2014-02-12 00:46:22 +01:00
Griatch
e481161444 Converted oobhandler to use tickerhandler. 2014-02-12 00:46:22 +01:00
Griatch
029ee71ffa Used 2014-02-12 00:46:22 +01:00
Griatch
205960948d Added first version of TickerHandler, for managing subscription style tickers in a centralized way. 2014-02-12 00:46:22 +01:00
Griatch
204030d559 Added checking of ansi and xterm256 flags to telnet data_out, to allow a manual override of the ttype results. 2014-01-26 21:52:48 +01:00
Griatch
ea7e43c746 Updated gametime module to work on-the-fly, based on patches and discussion with user Khandrish. Also made cleanups to @scripts command and some small bug fixes. 2014-01-04 17:14:51 +01:00