Commit graph

  • 9b62b8bda8 Updated with more info on the IDLE_COMMAND setting. Griatch 2016-04-27 23:52:36 +02:00
  • 2e692cc639 Made 'idle' a default in the inputfuncs since this is sent by the webclient. settings.IDLE_CMD will still work but will work alongside idle, the latter will always work like a no-op. Griatch 2016-04-27 23:47:29 +02:00
  • fc08fc0970 Updated evmenu to use the |-form of mxp links. Griatch 2016-04-27 23:12:20 +02:00
  • c18577d772 Updated mxp unittests to pass again. Griatch 2016-04-27 07:26:58 +02:00
  • 9485e2aefe Re-added MXP-link support to the devel webclient. Griatch 2016-04-26 22:59:38 +02:00
  • 8f12dd83a3 Fixed an error in the MXP implementation and also removed the deprecated {-form for MXP. Resolves #966. Griatch 2016-04-26 21:09:45 +02:00
  • 01c6cbf5f0 Made the inlinefunc->inlinefuncs error appear in a safer location since it could fall away in some common situations. Griatch 2016-04-26 09:14:26 +02:00
  • 644cf9451f Removed deprecated non-nested {inlinefuncs, only accepting (). Changed the default name of the mygame/server/conf/inlinefunc.py to mygame/server/conf/inlinefuncs.py. Added deprecationwarning for the old name. Griatch 2016-04-26 00:19:57 +02:00
  • b00e357868 Fixed a simple issue if non-text was fed into the msg() call from server-side. Resolves #965. Griatch 2016-04-25 22:54:10 +02:00
  • b69340695f Made the move_to error report a little more verbose. Resolves #964. Griatch 2016-04-25 22:45:37 +02:00
  • 6e606ae530 Fixed a bug when reporting multi-match errors in the default at_search_result with a particular input. Resolves #963. Griatch 2016-04-25 22:25:01 +02:00
  • cce87a8399 Fixed old calls to tickerhandler from the tutorial_world. Also added a better error when this happens. This resolves #952. Griatch 2016-04-25 20:53:22 +02:00
  • 910d539d45 Made evmenu stop echoing 'None' when ending the menu with a None, None return from the node. Griatch 2016-04-24 20:48:48 +02:00
  • ea1e88cbe9 Removed the old contrib/menusystem.py. Use EvMenu instead. Renamed evmenu_login contrib to simply menu_login.py for compatibility. Griatch 2016-04-24 15:36:41 +02:00
  • 7d8dbaf775 Turned off the extra look when logging in with the evmenu_login contrib. Griatch 2016-04-24 15:34:34 +02:00
  • 68e5c4d283 Added a missing execute_cmd on the Session. It got lost after the inputfunc changes. Griatch 2016-04-24 15:23:55 +02:00
  • 8bf63885e2 Made some minor updates to the evmenu_login contrib, including adding a max number of password retries before disconnecting as well as fixing how client-exhoes are handled. Also made empty string return rather than 'b'. Also fixed an inconsistency in the Session.msg. Griatch 2016-04-24 15:10:27 +02:00
  • bf50f5b94a Restructure the node logic in evmenu_login Vincent Le Goff 2016-04-18 16:33:29 -07:00
  • 41ad2aed5d Fixed the telnet WILL/WONT ECHO (the echo protocol option) to work as expected from the server side - by telling the client that the server WON'T echo, we are implicitly telling the client that IT should then do the echoing. This is a bit unintuitive and was defined in the wrong order. Fixed now. Griatch 2016-04-18 22:25:24 +02:00
  • 4a6cb039b6 Add the connection screen in the login system Vincent Le Goff 2016-04-18 12:37:12 -07:00
  • 1a42ca8006 Fixed the sending of timeout text. Resolves #962. Griatch 2016-04-18 21:23:54 +02:00
  • 937bd01fb8 Replace the dictionary by a module path in the menu definition Vincent Le Goff 2016-04-18 09:17:31 -07:00
  • 60d78be90c Add a new contrib to support menu_login with EvMenu Vincent Le Goff 2016-04-17 20:34:49 -07:00
  • cd475a0a23 Made sure the the websocket onclose is not called if websocket was never open (such as for clients only supporting ajax) Griatch 2016-04-17 19:09:10 +02:00
  • 8141935a9b Cleaned up docstrings for evmenu and eveditor. Also, rev 74a3395 referred to EvEditor, not EvMenu (both now support persistent saving) Griatch 2016-04-17 10:47:41 +02:00
  • fd6f973816 Removed unneeded onConnectionError handler NatePri 2016-04-17 01:43:13 -07:00
  • ef05816b33 Allow for webclient reconnect without a page refresh NatePri 2016-04-17 01:37:10 -07:00
  • 039eb8c824 Added proper error handling to evmenu when trying to use persistent mode with callables that cannot be pickled, such as methods and functions defined inside other functions. Griatch 2016-04-17 10:33:19 +02:00
  • adc673f620 Added persistent option to EvMenu, making sure to safeguard against unsafe save states, which comes when trying to save un-picklable callables like methods and functions defined inside other functions. Griatch 2016-04-17 10:23:03 +02:00
  • 83242408b0 Gave EvMenu a 'persistent' option (False by default). This makes the menu survive a server reboot, including remembering its last node. Use with caution during debugging. Changed the EvMenu API so allow_exit is now auto_exit, which better describes its functionality. Also added auto_look and auto_help flags for turning off the respective automatic options (Resolves #949)." Griatch 2016-04-16 23:57:05 +02:00
  • 6b8b3907e3 Some typos in editor due to changes to how msg() works in wclient branch. Griatch 2016-04-16 22:32:10 +02:00
  • 7e62f02f0a Implemented an AJAX keepalive from the Evennia side to make sure a dead AJAX connection (commonly if the user closes the window/browser without properly logging out), will eventually time out and log off the Player. Resolves #951. Griatch 2016-04-16 22:09:10 +02:00
  • d5b3b59eb7 Made webclient aware of the server dropping (both websocket and AJAX). The server currently reacts to the websocket client dropping but not to the AJAX one (the latter forms ghost players) Griatch 2016-04-16 18:46:29 +02:00
  • c46e115901 Fixed a bug with html-output of the standard ANSI-backgrounds. Griatch 2016-04-16 17:44:36 +02:00
  • 0451ce7685 Cleaned up the css file a little. Griatch 2016-04-16 14:10:24 +02:00
  • 509d03a3dc Added webclient-support for xterm256 colors, as mentioned in #613. Griatch 2016-04-16 14:00:02 +02:00
  • b0f51b02a6 Fixed and cleaned up the server flush output a little. Also removed a check for pypy since getmemsize is no longer used. Griatch 2016-04-16 08:55:58 +02:00
  • 609c784b14 Made a small fix for now to make unittest succeed. Griatch 2016-04-15 00:39:14 +02:00
  • 79f5a4a93a Added the ability to save protocol options on the player level. Implements #957. Griatch 2016-04-15 00:34:41 +02:00
  • 20403e356b Fixed a case-sensitive regression when setting help categories. Resolves #956. Griatch 2016-04-14 21:39:41 +02:00
  • 72bdc66022 Fixed a bug in help. Resolves #955. Griatch 2016-04-14 21:32:41 +02:00
  • 02ba1c0695 Fixed a wrong return from search_player with quiet=True. Fixes a traceback when using the find command to search for a player *me or *self. Griatch 2016-04-12 22:09:07 +02:00
  • 143df2a793 Clarified the error when trying to examine an object on which you have neither examine, nor view permissions. Resolves #954. Griatch 2016-04-12 21:01:20 +02:00
  • fc341b20a0 Added a try..except catch for auto-puppeting objects that no longer exist. Griatch 2016-04-12 20:27:57 +02:00
  • a9bc6a1f64 Fix webclient prompt (issue #950) NatePri 2016-04-11 18:59:08 -07:00
  • 3890bcbfc7 Made the mob invulnerable if it has no health Attribute set. Resolves Griatch 2016-04-12 00:00:18 +02:00
  • f57aaa65cd Made the return of multimatch commands more easily parsable by using the query rather than the key. Resolves the second part of #933. Griatch 2016-04-11 23:57:41 +02:00
  • 08f34ae61b Made the multimatch error messages with the multimatch_string supplied more useful, addressing the first part of #933. Griatch 2016-04-11 23:44:27 +02:00
  • 3c1245b1a6 Escaped the IRC username to avoid it being parsed for ANSI colors (keeping ansi parsing in normal text for now). Resolves #935." Griatch 2016-04-11 23:30:46 +02:00
  • 86b6261b02 Fixed bug that made ooc look give an error. Resolves #921. Griatch 2016-04-11 23:14:49 +02:00
  • 039bb0c540 Fixed the send button in the webclient; made the prompt command work with the webclient (still not displaying correctly) Griatch 2016-04-11 22:31:20 +02:00
  • aa1b8357d8 Made a more elaborate echo when resetting the settings file. Griatch 2016-04-11 21:24:02 +02:00
  • 37a24f12e6 Added a check to avoid creating a duplicate character name with charcreate in MULTISESSION_MODE>1. Resolves 943. Griatch 2016-04-11 20:05:58 +02:00
  • 8844b7bb80 Added -moz/-webkit CSS prefixes, made sizer CSS consistent NatePri 2016-04-11 09:33:04 -07:00
  • 67e26103d5 Minor CSS fix NatePri 2016-04-10 19:41:28 -07:00
  • f907165dd3 Missed some var declarations NatePri 2016-04-10 15:30:32 -07:00
  • f12adcf976 Enable strict mode on scripts, clean up some unremoved references NatePri 2016-04-10 12:33:40 -07:00
  • 2134d6dd4a Minor webclient enhancements NatePri 2016-04-10 04:58:01 -07:00
  • de177398aa Made sure to handle the default mudlet GMCP sends. Griatch 2016-04-08 19:37:47 +02:00
  • 056fa5f3d2 Removed superfluous import. Griatch 2016-04-07 23:35:40 +02:00
  • fd50eaddba Fixed an error in channel.msg. Made sure to return a deferred from tail_log_file as its documentation suggests it should. Griatch 2016-04-07 23:29:12 +02:00
  • 4a58fcb9f1 Made the tail-viewing of a log-file threaded for maximum asynchronicity. Griatch 2016-04-07 23:22:26 +02:00
  • 5583a8d758 Made channels log to a log file by default. Added a default /history switch to the channel commands (for viewing past entries) and implemented a very efficient tail_log_file function to scan the log and display it. Griatch 2016-04-07 22:57:55 +02:00
  • d00ff9ae32 Added dynamic formatting to comm channel, as inspired by the way done in Arxmush. Griatch 2016-04-07 19:48:11 +02:00
  • 653a46b7ad Fixed EvMenu, it was not updated to self.caller from self._caller properly. Griatch 2016-04-07 18:17:27 +02:00
  • 4acea5a20d A rudimentary OOB input parser from the webclient, for testing. Griatch 2016-04-06 21:00:16 +02:00
  • 4ccd78a97e Put all gmcp commands under the Core module for simplicity and compatibility with all the other protocols. Griatch 2016-04-06 19:46:03 +02:00
  • 1ac81205c3 Completed tests of all GMCP/MSDP backend functions, including tickerhandler repeats and value monitoring, as per #924. Griatch 2016-04-06 19:26:14 +02:00
  • 4883512342 Fixed and tested the monitor/unmonitor inputfunc from both GMCP and MSDP Griatch 2016-04-06 19:03:57 +02:00
  • 899ce2f138 Extended dbserialize to safely serialize Session instances. Sessions can otherwise not be safely stored since they contain references to database objects (like puppets and players) Griatch 2016-04-06 19:01:51 +02:00
  • bd4ffa06f8 Fixed a misplaced comment that hid a traceback on error. Griatch 2016-04-06 18:57:50 +02:00
  • 39e3618ae5 Made Core.Commands.Get/get_inputfuncs work. Griatch 2016-04-06 17:17:25 +02:00
  • a1c89d615e Fixed parsing in option command and inputfunction to properly handle options set in both ways. Griatch 2016-04-06 17:02:28 +02:00
  • 043be6dba4 Validating GMCP/MSDP protocol commands, first debugging run and fixes to make a few of the default inputfuncs work. Added INPUTDEBUG to the options dict, to echo input function errors directly. Griatch 2016-04-06 16:42:11 +02:00
  • 76dc51f885 Changed EvMenu._caller to .caller to mark it public to use by external resources. Griatch 2016-04-06 11:45:25 +02:00
  • 287eb926f2 EvTable now accepts an input_parser argument for replacing the way user input is parsed in the menu. The formatters should now accept a keyword 'caller'. Also some internal methods like _display_node is now display_node to mark them as useful to the an external parser. Griatch 2016-04-06 11:28:36 +02:00
  • f1b97f633b Added LOCKDOWN_MODE, for shutting the server off from all external connections (for example while configuring, debugging or just taking a live server temporarily offline). Griatch 2016-04-05 23:49:35 +02:00
  • 4cb19bec59 Added IN_GAME_ERRORS setting for convenient debugging during development (False by default) Griatch 2016-04-05 22:04:16 +02:00
  • 4f02ec1cbe Implement the MSDP/GMCP wrappers for the backend inlinefuncs as per #924. It's not fully tested yet though. Griatch 2016-04-02 18:35:14 +02:00
  • 8709ffefb8 Fixed a non-functioning MXP call using the |-style format. Griatch 2016-04-02 15:20:40 +02:00
  • 5f0ba55ce1 Fixed color display of xterm256 with the xterm256 support turned off. Griatch 2016-04-01 22:14:08 +02:00
  • 42b9ac40f3 Some cleanup in inputfunc module. Griatch 2016-03-26 20:33:30 +01:00
  • 0ffec10dd0 Added MSDP/GMCP wrappers Inputfuncs as per #924. Not fully tested yet. Griatch 2016-03-26 20:31:42 +01:00
  • c093fd3880 Updated the monitorhandler to allow persistence as well as a unique id-key. Griatch 2016-03-26 19:52:26 +01:00
  • d8bfb6d4a2 Inputfuncs for some more MSDP/GMCP commands. Still untested. Griatch 2016-03-26 10:55:10 +01:00
  • ad158e1816 Fixed unittests for wclient branch Griatch 2016-03-25 15:10:08 +01:00
  • 3d6fa94d9a Updated client_options inputfunc to also return current settings over OOB. Griatch 2016-03-25 14:55:25 +01:00
  • b1b8abf46a Added the protocol_key to the new options-output. Griatch 2016-03-25 14:36:06 +01:00
  • db1356057a Improved the options command to manage other aspects of the protocol_flags. Griatch 2016-03-25 14:31:26 +01:00
  • 11ecdef7c8 Converted encoding setting to use protocol_flags rather than being stored on-session. Also renamed the 256 COLORS TTYPE setting to XTERM256 which is more accurate (and doesn't have a space) Griatch 2016-03-25 13:01:21 +01:00
  • 1ddfbca7ea Finished changing session.screenreader into session.protocol_flags[SCREENREADER] Griatch 2016-03-25 12:29:10 +01:00
  • df674f687a Added GMCP-to-inputfunc name conversion as Module.Cmdname -> Module_CmdName. Also made Session.protocol_flags into a flat dict, by putting all TTYPE properties in the top level (the TTYPE key now only indicates if TTYPE has finished or not). Also started to convert the screenreader/enconding properties of the session into protocol_flags. (not fully working yet) Griatch 2016-03-25 12:03:39 +01:00
  • f3512971e3 Created setter inputfuncs for the basic GMCP handhakes. Also added the possibility for the Server to sync a single Session with the Portal. Griatch 2016-03-25 11:12:33 +01:00
  • 196306d914 Added monitorhandler to flat API. Griatch 2016-03-24 19:48:21 +01:00
  • bece57f067 Added non-persistent functinality to the TickerHandler, for specific use with OOB. Griatch 2016-03-24 19:44:18 +01:00
  • e09a172854 Fixed a regression that had non-persistent Scripts not being deleted as they should on server reload. Also prepared for the same functionality for tickerhandler tickers. Griatch 2016-03-24 19:43:54 +01:00
  • 42d18e3fd7 Clarified the batchcommand docstring in contrib/examples. This concludes the tickerhandler implementation in relation to #924. Griatch 2016-03-24 17:35:55 +01:00
  • de445b82d0 Made tickers output a little prettier. Griatch 2016-03-24 17:33:36 +01:00
  • 350b872612 Expanded docstring for the tickers command a little. Griatch 2016-03-24 17:29:17 +01:00
  • cc5fe43372 Added a simple tickers command for inspecting the running tickers (no manipulation at this time, not sure how to make that in a safe way). Griatch 2016-03-24 17:28:00 +01:00