Commit graph

3568 commits

Author SHA1 Message Date
Griatch
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. 2017-01-29 14:57:33 +01:00
Griatch
cdaa137868 Add server restart messaging also when restarting server from the shell. 2017-01-29 14:46:38 +01:00
Griatch
33e1d03077 Remove portal debug printout. 2017-01-29 14:32:07 +01:00
Griatch
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. 2017-01-29 14:24:18 +01:00
Simon Vermeersch
677fe306cb Webclient: don't strip single leading space 2017-01-28 20:46:11 +01:00
Griatch
92ec6a5ae8 Fix traceback due to missing settings.CHANNEL_CONNECTINFO; added the missing setting (with a None value). Resolves #1177. 2017-01-28 09:46:37 +01:00
Griatch
c6d9c0619e Refactor code for readability and compatibility. 2017-01-27 00:19:27 +01:00
Griatch
a09835049b Refactor wrong super() parents in a few managers. 2017-01-26 21:35:13 +01:00
Griatch
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. 2017-01-26 21:08:27 +01:00
Griatch
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. 2017-01-26 09:22:47 +01:00
Griatch
05b2d74cee Actually add the migration in question... 2017-01-25 22:11:39 +01:00
Griatch
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. 2017-01-25 22:06:54 +01:00
Griatch
5960985e65 Remove mention of long-dead contrib/menusystem from evmenu docstring. 2017-01-25 00:08:47 +01:00
Griatch
e9bc615181 Add 'ambiguous' gender to gendersub contrib, using 'them'/'their' etc to denote ambuguous gender. Keep 'it' as the neutral gender type. Closes #1146. 2017-01-24 23:27:21 +01:00
Dan Feeney
770b8f16ab added comment containing an explanation of the Dockerfile's purpose, including a link to the wiki page with detailed usage instructions 2017-01-24 22:31:11 +01:00
Dan Feeney
32386172f6 as discussed, removed docker-related components from game_template directory 2017-01-24 22:31:11 +01:00
Dan Feeney
35ae6d82c3 added comments to dockerfiles 2017-01-24 22:31:11 +01:00
Dan Feeney
84ec9f15a2 added docker-compose.yml to the game_template directory 2017-01-24 22:31:11 +01:00
Dan Feeney
f5f61ea5ba added initial dockerfiles to the top level folder and game_template directories 2017-01-24 22:31:11 +01:00
Tehom
9a41b30089 Set another factory to not be noisy 2017-01-24 16:45:10 +01:00
Griatch
807ca6c52c Run migrations! First version of the data migration for tags/attributes. 2017-01-22 17:37:01 +01:00
Griatch
b6c2aaedc5 Add correct use of db_model field to Attributes. 2017-01-22 17:22:52 +01:00
Griatch
982b11ddfb Start making the Tag/Attribute migrations. Not finished yet. 2017-01-22 00:07:27 +01:00
Griatch
55e9a01790 Fix a bug with creating tags with the db_model property. Resolves #1170. 2017-01-21 23:21:14 +01:00
Griatch
6e5c584e18 Update capitalization handling of the taghandler and its children. 2017-01-21 23:21:14 +01:00
Griatch
f8e1fb6826 Make db_model/db_tagtype to properly separate tags/aliases/perms. Needs a schema migration. 2017-01-21 23:21:14 +01:00
Griatch
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. 2017-01-21 23:21:14 +01:00
Griatch
ae3af20cd7 Update evmenu docstring. 2017-01-21 23:06:56 +01:00
Griatch
0aebbf6975 Make evmenu 'goto' option argument accept a callable for deciding the next node. 2017-01-21 22:59:43 +01:00
Griatch
5b62a30ce6 Update dummyrunner documentation. 2017-01-19 10:36:31 +01:00
CloudKeeper1
86e67a299c Suggested changes.
Expanded the argument documentation and removed nick replacement.
2017-01-18 18:55:47 +11:00
Tablet-PC\cloud
e62418fd11 Bots use inputfunc 2017-01-18 12:26:42 +11:00
Griatch
55d956a799 In Evmenu, make sure to not assign the Session from the Command until the caller has been correctly identified. 2017-01-16 18:12:18 +01:00
Griatch
89cbb6c30e Fix buggy case sensitivity not switching on xterm-256 support for the XTERM terminal type, pertains to #1165. 2017-01-16 07:16:18 +01:00
Griatch
edbc8afca4 Fix reversed order of arguments to isinstance. 2017-01-15 20:44:03 +01:00
Griatch
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. 2017-01-15 19:55:51 +01:00
Griatch
b46bc9b2aa Update naming scheme in search for the sake of the API. 2017-01-14 22:34:39 +01:00
Griatch
506c5c6d39 Refactor some names to make api cleaner to read. 2017-01-14 22:21:12 +01:00
Griatch
f7936df104 Make EvMenu nodes-options' 'exec' callbacks able to return a string for dynamic goto replacement. 2017-01-14 18:49:29 +01:00
Griatch
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. 2017-01-14 12:28:07 +01:00
Griatch
44bd403cc8 Add session-awareness to EvMenu through parsing the command (making it persistent-safe). Also accept an optional session keyword for the very first output. This is only really important if caller is a player and multisession_mode>2. Made as an alternative to #1162." 2017-01-14 12:06:23 +01:00
Griatch
7a3b3ceb76 Fix the get_value inputfunc to return both name and value. 2017-01-13 13:02:53 +01:00
Griatch
1b92c036a1 Make CmdHelp's choice of Commands to offer help on easier to override. 2017-01-12 22:18:22 +01:00
Griatch
50e523e4f9 Update contrib readme to mention mail system contrib. 2017-01-12 22:08:46 +01:00
Griatch
19e8528b04 Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153. 2017-01-11 23:42:09 +01:00
Griatch
99c4042fbc Make the lock command force-update Exits to handle cmd-type locks without a reload; as per #1142. 2017-01-11 21:49:23 +01:00
Griatch
b57b807da6 Make lockwarning log file name settable; turn off if not set. Resolves #1161. 2017-01-11 21:37:32 +01:00
Griatch
9e505b9b72 Clean up spurious whitespace. 2017-01-11 21:22:03 +01:00
Simon Vermeersch
a0cd61df27 Send an OOB message to the client once a player logs in. 2017-01-10 22:40:45 +01:00
Griatch
9d714a9c55 Refactor to use list comprehension instead of filter() for future py3 compatibility. 2017-01-10 18:31:45 +01:00