Commit graph

  • 7e7ca06530 Allow to create @help entries and edit the content directly Vincent Le Goff 2017-02-05 20:03:40 -08:00
  • 3998ed1069 Add the /edit switch to the @help command Vincent Le Goff 2017-02-04 16:51:56 -08:00
  • 4d14625504 Add info about the call string to the log when reporting command errors. Griatch 2017-02-06 19:35:10 +01:00
  • 8254a24689 Change how the greyscale is displayed by the color command for more conformity with the rest. Griatch 2017-02-05 20:03:37 +01:00
  • 43f310c2f8 Use color cube palette for pure black and pure white. Kimadi 2017-02-05 18:39:48 +01:00
  • 10467ac3ba Fixed variable names. Kimadi 2017-02-05 18:17:46 +01:00
  • 420211afa0 Added grayscale swatch to '@color xterm256' command. Kimadi 2017-02-05 15:58:09 +01:00
  • 9e6bb2c74e Implemented xterm grayscale palette. Kimadi 2017-02-05 13:59:03 +01:00
  • 97d46abe85 Removed useless double entries for xterm256 regular expressions. Kimadi 2017-02-05 12:45:11 +01:00
  • 5330cf114a Add wilderness to contrib/README.md. Griatch 2017-02-05 13:12:36 +01:00
  • 43109ab8f4 Change the webclient OOB text kwarg to 'type' instead of 'window' to make it more general. Griatch 2017-02-05 12:19:10 +01:00
  • 661ec5cb0b Help command fix for players that don't have options saved Simon Vermeersch 2017-02-05 00:18:37 +01:00
  • ba42c68c5c Help command: don't use EvMore if help text is shown in popup Simon Vermeersch 2017-02-04 20:30:46 +01:00
  • 91fd754e98 Closes the help/options dialog with escape Simon Vermeersch 2017-02-04 20:13:54 +01:00
  • 8f16badf85 Reworded some of the options Simon Vermeersch 2017-02-04 20:00:16 +01:00
  • 7d62973d18 Options button: toggle the options window visibility Simon Vermeersch 2017-02-04 19:52:45 +01:00
  • 67d3f6650e Check for a valid session on the webclient_options monitor handler Simon Vermeersch 2017-01-22 13:13:32 +01:00
  • 254a746770 Allows testing when msg is called with a tuple as first argument Simon Vermeersch 2017-01-22 13:10:59 +01:00
  • 4ac863726c Change the option immediately on the client side instead of waiting for a roundtrip to the server. Simon Vermeersch 2017-01-22 12:26:42 +01:00
  • 2c01373143 Play a sound for notification (if enabled) Simon Vermeersch 2017-01-15 13:48:16 +01:00
  • 7027a2cf9b Implemented the notification popup option Simon Vermeersch 2017-01-15 13:43:00 +01:00
  • 24cb3d3b31 Keep the settings button visible when there are scrollbars Simon Vermeersch 2017-01-15 13:26:43 +01:00
  • 7899dc5200 Show help in separate dialog (if option is enabled) Simon Vermeersch 2017-01-15 13:24:13 +01:00
  • ebbec15081 Correctly remove the webclient options monitor on disconnect Simon Vermeersch 2017-01-15 12:13:00 +01:00
  • da7a71e6dd Implement the "gag prompt" option Simon Vermeersch 2017-01-15 12:01:30 +01:00
  • 9efed33fb5 Webclient options monitor: reference the correct attribute Simon Vermeersch 2017-01-15 11:56:48 +01:00
  • 8dcd242d3b Cosmetic changes to the webclient options Simon Vermeersch 2017-01-14 22:15:17 +01:00
  • 221aa362ab Adds retrieving, monitoring and storing of webclient settings Simon Vermeersch 2016-12-31 13:25:03 +01:00
  • f2e53c873b Added a (non-functional) options dialog. Simon Vermeersch 2016-12-27 22:29:59 +01:00
  • 4bd283609b Change how eveditor converts non-strings and also giving a warning it was done. Griatch 2017-02-05 10:56:46 +01:00
  • 088386dfc8 Make eveditor safely handle non-string inputs by converting them to strings. Griatch 2017-02-05 10:51:08 +01:00
  • a731670f4c Add justify command to EvEditor. Griatch 2017-02-05 10:35:56 +01:00
  • 66424c62ed Fix a bug when @reload-ing while in EvEditor Vincent Le Goff 2017-02-04 17:23:33 -08:00
  • 223cf647ec Fixed typo in wilderness.py BattleJenkins 2017-02-04 13:56:06 -08:00
  • b2d5fc02b2 removed app_label, no longer necessary since removed custom AppConfig class from initial attempt. Tehom 2017-02-04 12:58:43 -05:00
  • da008a69d9 Figured out that proxy models do not call signals attached to their classes they proxy for. I used the metaclass that already had a post_save signal attached to it, and it works fine now! I took out the unnecessary apps.py now that we're no longer attaching a signal to the base model classes and just doing it to the proxies. Tehom 2017-02-03 15:13:35 -05:00
  • b67faf45d9 Attempt at making bulk deletion clear out handlers, to remove the problem of orphaned Attributes. Tehom 2017-02-03 12:58:00 -05:00
  • 02a4ac5231 Fix bug in latest push. Griatch 2017-02-04 16:49:29 +01:00
  • 628dd268f9 Make the at_channel_create method automatically add a new channel to the channelhandler. Griatch 2017-02-04 16:42:08 +01:00
  • ff1ee76421 Fix case of guest not getting properly deleted when logging off. Resolves #1194. Griatch 2017-02-04 13:06:09 +01:00
  • 3a2638aed5 Add check for malformed webclient msg without kwargs. Resolves #1192. Griatch 2017-02-04 12:24:14 +01:00
  • ae5eecaeb8 Update webclient HTML doctype to match webclient's BlauFeuer 2017-02-01 18:08:39 -05:00
  • be3e3ef109 Fix bug when no help entry was found. Griatch 2017-02-04 12:07:24 +01:00
  • 6882d2451d Add a few methods to CmdHelp, managing pagination of help messages (EvMore) Vincent Le Goff 2017-02-02 21:20:27 -08:00
  • f7b659dac4 Update evmore to better handle narrow texts like help entries without force-justifying them. Also add the ability to auto-exit the pager immediately when reaching the last page. Griatch 2017-02-04 12:04:54 +01:00
  • 664ce178b2 Expanded docstring of at_object_receive to note the possibility. Griatch 2017-02-04 11:23:15 +01:00
  • 3334d3f078 character's at_pre_puppet tweak BlauFeuer 2017-02-03 19:22:09 -05:00
  • 1ed5a0b4a6 Change default at_pre_puppet for characters BlauFeuer 2017-02-01 17:59:16 -05:00
  • 3e6e773939 Make some minor doc clarifications. Griatch 2017-02-04 11:10:12 +01:00
  • bac2c0572e Allows more customisation of wilderness rooms Simon Vermeersch 2017-01-29 21:54:59 +01:00
  • 27db307007 Fixed unittests for wilderness contrib Simon Vermeersch 2017-01-29 17:15:06 +01:00
  • bd27a7eabc Added a wilderness area contrib Simon Vermeersch 2017-01-27 22:17:29 +01:00
  • a9f08760cc Further refactoring towards #1176. Griatch 2017-02-02 00:02:58 +01:00
  • 09245589f5 Fix typos in the evform docstring. Resolves #1185. Griatch 2017-02-01 23:23:06 +01:00
  • 7e4155d4cd Some more minor refactorings, pertaining to #1176. Griatch 2017-01-30 20:18:21 +01:00
  • dd07ea294b Change a string cocatenation to use .join instead. Griatch 2017-01-30 00:24:51 +01:00
  • 13f919fc63 Change default IDLE_TIMEOUT to -1; no need for a timeout during development. Griatch 2017-01-30 00:09:03 +01:00
  • 334c8b1131 Change taghandler clear to delete through models, not Tags themselves Tehom 2017-01-29 16:27:49 -05:00
  • 74eebfed6d Refactor code to remove alerts as per lgtm and #1176. Griatch 2017-01-29 19:02:00 +01:00
  • dcde526f6d Fix to inlinefuncs stack cache to make it properly use the cached value. Griatch 2017-01-29 16:52:06 +01:00
  • 203d0a09a0 Catch cases where Sessions have already been removed on either side of the AMP connection. This may remove the annoying Portal errors on the form 'AMP Error for AdminPortal2Server: 1'. Probably unrelated to #1128, but linking to it anyway. Griatch 2017-01-29 14:57:33 +01:00
  • cdaa137868 Add server restart messaging also when restarting server from the shell. Griatch 2017-01-29 14:46:38 +01:00
  • 33e1d03077 Remove portal debug printout. Griatch 2017-01-29 14:32:07 +01:00
  • 3e21023ad8 Made the sessionhandler never accept None as a Session; this should make it clearer when a Session becomes invalid and avoid confusing the sessionhandler cache of other objects. Should resolve #1181. Griatch 2017-01-29 14:24:18 +01:00
  • 677fe306cb Webclient: don't strip single leading space Simon Vermeersch 2017-01-28 20:46:11 +01:00
  • 92ec6a5ae8 Fix traceback due to missing settings.CHANNEL_CONNECTINFO; added the missing setting (with a None value). Resolves #1177. Griatch 2017-01-28 09:46:37 +01:00
  • c6d9c0619e Refactor code for readability and compatibility. Griatch 2017-01-27 00:19:27 +01:00
  • a09835049b Refactor wrong super() parents in a few managers. Griatch 2017-01-26 21:35:13 +01:00
  • 4699b38b31 Fix issue with option ansi/xterm256=False not correctly turning off colors. Change the NOMARKUP session option flag to NOCOLOR to better reflect its function. Griatch 2017-01-26 21:08:27 +01:00
  • b6a4997a97 Update previous migration, updating the uniqueness parameters. To re-run the previous migration, first do evennia migrate --fake 0006, then run evennia migrate again. Griatch 2017-01-26 09:22:47 +01:00
  • 05b2d74cee Actually add the migration in question... Griatch 2017-01-25 22:11:34 +01:00
  • 8b1d16fd5c Run migrations! Another update to the tag structure, the previous migration did not correctly handle all tags, leaving some to get the wrong db_object fields. Also cleaned up the api for many of the Tag-related manager methods that now determins the db_model themselves without needing to give it as an argument. This resolves an issue with Permissions not being set correctly on the character level. Griatch 2017-01-25 22:06:54 +01:00
  • 5960985e65 Remove mention of long-dead contrib/menusystem from evmenu docstring. Griatch 2017-01-25 00:08:47 +01:00
  • e9bc615181 Add 'ambiguous' gender to gendersub contrib, using 'them'/'their' etc to denote ambuguous gender. Keep 'it' as the neutral gender type. Closes #1146. Griatch 2017-01-24 23:27:21 +01:00
  • 770b8f16ab added comment containing an explanation of the Dockerfile's purpose, including a link to the wiki page with detailed usage instructions Dan Feeney 2017-01-24 15:19:41 -06:00
  • 32386172f6 as discussed, removed docker-related components from game_template directory Dan Feeney 2017-01-04 19:41:35 -06:00
  • 35ae6d82c3 added comments to dockerfiles Dan Feeney 2016-12-14 19:21:59 -06:00
  • 84ec9f15a2 added docker-compose.yml to the game_template directory Dan Feeney 2016-12-14 18:22:46 -06:00
  • f5f61ea5ba added initial dockerfiles to the top level folder and game_template directories Dan Feeney 2016-12-14 09:17:28 -06:00
  • 9a41b30089 Set another factory to not be noisy Tehom 2017-01-20 05:35:05 -05:00
  • 807ca6c52c Run migrations! First version of the data migration for tags/attributes. Griatch 2017-01-22 17:37:01 +01:00
  • b6c2aaedc5 Add correct use of db_model field to Attributes. Griatch 2017-01-22 17:22:52 +01:00
  • 982b11ddfb Start making the Tag/Attribute migrations. Not finished yet. Griatch 2017-01-22 00:07:27 +01:00
  • 55e9a01790 Fix a bug with creating tags with the db_model property. Resolves #1170. Griatch 2017-01-21 22:19:41 +01:00
  • 6e5c584e18 Update capitalization handling of the taghandler and its children. Griatch 2017-01-21 21:45:52 +01:00
  • f8e1fb6826 Make db_model/db_tagtype to properly separate tags/aliases/perms. Needs a schema migration. Griatch 2017-01-21 18:06:29 +01:00
  • 82866a7dda Start to rework to actually make use of the db_model field of Tags and Attributes. Reapplying this will require a migration down the line. Griatch 2016-11-03 21:38:28 +01:00
  • ae3af20cd7 Update evmenu docstring. Griatch 2017-01-21 23:06:56 +01:00
  • 0aebbf6975 Make evmenu 'goto' option argument accept a callable for deciding the next node. Griatch 2017-01-21 22:59:43 +01:00
  • 5b62a30ce6 Update dummyrunner documentation. Griatch 2017-01-19 10:36:31 +01:00
  • 86e67a299c Suggested changes. CloudKeeper1 2017-01-18 18:55:47 +11:00
  • e62418fd11 Bots use inputfunc Tablet-PC\cloud 2017-01-18 12:26:42 +11:00
  • 55d956a799 In Evmenu, make sure to not assign the Session from the Command until the caller has been correctly identified. Griatch 2017-01-16 18:12:18 +01:00
  • 89cbb6c30e Fix buggy case sensitivity not switching on xterm-256 support for the XTERM terminal type, pertains to #1165. Griatch 2017-01-16 07:16:18 +01:00
  • edbc8afca4 Fix reversed order of arguments to isinstance. Griatch 2017-01-15 20:44:03 +01:00
  • 052e1845a2 Fix error in MonitorHandler recovering a saved Session across a reload. This probably affected the TickerHandler as well. Add a new hook to the server object that gets called once the portal has synced, and run the monitorhandler/tickerhandler restores there. Also some changes to the serialization of Sessions. Resolves #1164. Griatch 2017-01-15 19:55:51 +01:00
  • b46bc9b2aa Update naming scheme in search for the sake of the API. Griatch 2017-01-14 22:34:39 +01:00
  • 506c5c6d39 Refactor some names to make api cleaner to read. Griatch 2017-01-14 22:21:12 +01:00
  • f7936df104 Make EvMenu nodes-options' 'exec' callbacks able to return a string for dynamic goto replacement. Griatch 2017-01-14 18:49:29 +01:00
  • a403cc9576 Change ingoing message path to reroute through serversession.data_in before calling the inputfuncs. This allows users to view all incoming data in one place if they want to do eventual pre-processing. Resolves #1163. Griatch 2017-01-14 12:28:07 +01:00