Commit graph

4407 commits

Author SHA1 Message Date
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
Simon Vermeersch
5a4dbea3bb Return an empty list when searching for a script by #dbref and there is
no such script.
2017-01-10 18:31:45 +01:00
John Steensen
4be45a6295 Update building.py
Removed extra colon from E-Mail label. Fixed capitalization.
2017-01-10 18:23:05 +01:00
John Steensen
c1921be469 Update format_output on CmdExamine
Updated format_output on CmdExamine to add a check for email attribute. If true, it displays the email address.
2017-01-10 18:23:05 +01:00
CloudKeeper1
495db52f75 Changed example use of _menutree
Docstring left out ndb reference.
2017-01-10 18:17:23 +01:00
Simon Vermeersch
c31e9fc613 Fixes error messages on the boot command 2017-01-10 18:15:56 +01:00
Griatch
0da4945c92 Reformatted with markdown syntax and some cleanup. 2017-01-10 18:04:52 +01:00
John Steensen
cc5e09a916 Updated rpsystem.py with install instructions.
Added the following to the docstring:

Verbose Installation Instructions:
    1. In typeclasses/character.py:
       Import the ContribRPCharacter class: 
           "from evennia.contrib.rpsystem import ContribRPCharacter"
       Inherit ContribRPCharacter:
           Change "class Character(DefaultCharacter):" to 
           "class Character(ContribRPCharacter):"
       If you have any overriden calls in at_object_creation(self): 
           Add "super(Character,self).at_object_creation()" as the top line.
    2. In typeclasses/rooms.py:
           Import the ContribRPRoom class: 
           "from evennia.contrib.rpsystem import ContribRPRoom"
       Inherit ContribRPRoom:
           Change "class Character(DefaultRoom):" to 
           "class Character(ContribRPRoom):"
    3. In typeclasses/objects.py
           Import the ContribRPObject class: 
           "from evennia.contrib.rpsystem import ContribRPObject"
       Inherit ContribRPObject:
           Change "class Character(DefaultObject):" to 
           "class Character(ContribRPObject):"
    4. Reload the server (@reload or from console: "evennia reload") 
    5. Force typeclass updates as required: 
       Example for your character: "@type/reset/force me = 
       typeclasses.characters.Character"
2017-01-10 18:04:52 +01:00
Phayte
a239ddcdeb Fix an issues were exit aliases weren't being check when interating over them even though None is the default. 2017-01-10 17:56:51 +01:00
Griatch
5e8c5109dd Remove some unused variables from mail contrib. 2017-01-10 17:44:03 +01:00
Tehom
cbbca99ef8 fix evmore sending messages to stale session object 2017-01-10 17:39:09 +01:00
Torild Lidman
4a69d871c2 Add viewport meta tag 2017-01-10 17:18:13 +01:00