Commit graph

197 commits

Author SHA1 Message Date
BlauFeuer
2b4fa2a467 Adds global HELP_MORE default to settings.py 2017-08-02 14:36:04 -04:00
Tehom
bafd069d97 Create fallback for default cmdsets that fail to load 2017-07-28 01:26:00 -04:00
Griatch
8cad0dc02e Change default ports and add clearer default to gamedir template, as per #1365. 2017-07-21 13:40:48 +02:00
Griatch
70aea3db56 Fix correct unittests for new color-markup contrib 2017-07-20 22:09:44 +02:00
Griatch
9f03e4a3f4 Fix isolated unittests for color markup. Issues with module reloading. 2017-07-20 22:09:44 +02:00
Griatch
03f4ecb3a4 Move {- and %c color markup to contrib, make easily extendable, as per #1229 2017-07-20 22:09:44 +02:00
Griatch
22ad761201 Correct lock hiearchy 2017-07-09 18:59:23 +02:00
Griatch
a7aa1215cb Rename migrations to depend on account-migrations instead of players 2017-07-09 09:12:09 +02:00
Griatch
120ddb7f81 Remove player app- and directory. 2017-07-08 16:23:16 +02:00
Griatch
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Griatch
99dbaad7ba Add new accounts app and copy players 1:1 to it. The players app still exists. 2017-07-03 23:05:52 +02:00
Griatch
0ff1718437 Resolve django 1.11 migration errors. 2017-06-17 22:15:00 +02:00
Tehom
4605b3128e Add docstr to class and methods, adjust names of settings to be more clearly modifying channel logs. 2017-05-21 03:29:33 -04:00
Tehom
f150d8bae5 Add Evennia logfile class based on Twisted LogFile for automatic rotating channel logs. Append tail end of logs when rotating, customizable with settings. 2017-05-20 21:33:57 -04:00
Griatch
4d8d26fd21 Fix small typo in settings. Resolves #1316. 2017-05-03 22:52:08 +02:00
Griatch
0bd47f0c52 Change permission strings so Immortals->Developer, Wizards->Admin, Builders->Builder, PlayerHelper->Helper, Players->Player, Guests->Guest. Made perm() and pperm() lock function accept both the plural and singular form (so both Admin and Admins work). Still lacking a data migration for updating an existing database to the new setup. 2017-02-17 23:25:09 +01:00
Griatch
1fbb4c4358 Add functioning prefix-ignorer and cleanup of code. 2017-02-17 09:19:55 +01:00
Griatch
596efe4c72 Add prefix-ignorer. This will identify allow users to target a command using both cmd, @cmd, +cmd etc. If there are two different commands @cmd and cmd, entering @cmd will still explicitly target the former. Single-character commands consisting of only an ignore-character will not be ignored. Configure and turn off using settings.CMD_PREFIX_IGNORE. 2017-02-17 09:18:04 +01:00
Griatch
22e22ffced Cleaned up the time command's output some more. 2017-02-12 19:16:56 +01:00
Griatch
008566f358 Move gametime conversion factors to contrib and remove them from the settings file with the motivation that the gametime constats were always highly game specific and a remnant from another time. Reworked the gametime library and add server epoch building from vincent-lg's original PR. The gametime module now deals exclusively in seconds. 2017-02-12 19:16:56 +01:00
Vincent Le Goff
59a5315c79 Add a setting to handle absolute game time (assuing standard a calendar)
The `@time` command now displays the game time epoch (can be set
in settings) and current game time (as a datetime).
2017-02-12 19:16:56 +01:00
Griatch
61ffe5f9fa Rename ADDITIONA_ANSI_MAPPING to COLOR_ANSI_EXTRA_MAP to better match the settings naming scheme. 2017-02-12 10:53:50 +01:00
Tehom
f263ea2aaa Allow additional ansi mappings to be passed from settings for easier customization. 2017-02-12 10:53:50 +01:00
Griatch
80f7bb1cb5 Change command-default setting names to be more consistent with other settings; changed Command.msg_share to Command.msg_all_sessions to make it clearer what it does. 2017-02-12 10:35:30 +01:00
Tehom
fafe2e779e Added comments to the individual settings. 2017-02-12 10:35:30 +01:00
Tehom
a54e511413 Made defaults drawn from settings file to allow them to be modified 2017-02-12 10:35:30 +01:00
Simon Vermeersch
8dcd242d3b Cosmetic changes to the webclient options
- Renamed the used attribute
- Changed to use only one inputfunc
2017-02-05 12:19:16 +01:00
Simon Vermeersch
221aa362ab Adds retrieving, monitoring and storing of webclient settings 2017-02-05 12:19:16 +01:00
Griatch
ff1ee76421 Fix case of guest not getting properly deleted when logging off. Resolves #1194. 2017-02-04 13:06:09 +01:00
Griatch
13f919fc63 Change default IDLE_TIMEOUT to -1; no need for a timeout during development. 2017-01-30 00:09:03 +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
b57b807da6 Make lockwarning log file name settable; turn off if not set. Resolves #1161. 2017-01-11 21:37:32 +01:00
Griatch
744cf4dd08 Change IN_GAME_ERRORS setting to True by default. This should make it easier to handle debugging for newcomers (although some errors will still have to only go to the log, such as critical reload errors). Note that this should be turned off in production for security reasons. 2016-12-18 09:21:42 +01:00
Griatch
2d30e6cf95 Slight rewording of maxlen warning. 2016-12-13 21:02:13 +01:00
Tehom
b41053dd38 Default value for MAX_CHAR_LIMIT and convert to int to catch early errors 2016-12-13 07:22:50 -05:00
Tehom
760c5b41fc Put in check for maximum character size in input strings that can be set with settings.MAX_CHAR_LIMIT. 2016-12-13 06:53:35 -05:00
Griatch
a20e7d017d Updated docstring for multimatch config settings. 2016-11-17 12:52:30 +01:00
Greg Taylor
4424dec668 Remove broken and un-maintained IMC2 support.
As discussed with @Griatch, IMC2 is now rarely seen in the wild. Also, this
feature hasn't worked in ages. Time to de-clutter.
2016-10-28 22:53:43 -07:00
Griatch
5a5884f6da Add PROTOTYPE_MODULES to settings_default, making use of world/prototypes.py already being defined. 2016-09-13 18:03:50 +02:00
Griatch
e6f857a536 Remove setting.SEARCH_MULTIMATCH_SEPARATOR, replacing it with SEARCH_MULTIMATCH_REGEX and SEARCH_MULTIMATCH_TEMPLATE. This allows simple yet powerful control over the error output without needing to overload the parser. 2016-09-11 10:39:47 +02:00
Griatch
ca1b76ab02 Remove WEBSOCKET_ENABLED and adjoining vars from settings_default since it doesn't do anything; webclient uses WEBSOCKET_CLIENT_ENABLED etc. 2016-08-20 09:36:30 +02:00
Griatch
64c74c41a1 Add a plugin mechanism for the webserver with settings.WEB_PLUGIN_MODULE. 2016-06-12 18:00:28 +02:00
Griatch
2f655abf1a Added the possibility to overload the dynamically created ChannelCommand. Implements #887. 2016-05-22 20:49:46 +02:00
Griatch
984c6f9758 Added the ability to overload the default command parent. Implements #923. 2016-05-22 20:49:46 +02:00
Griatch
9b62b8bda8 Updated with more info on the IDLE_COMMAND setting. 2016-05-22 20:49:45 +02:00
Griatch
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. 2016-05-22 20:49:45 +02:00
Griatch
4cb19bec59 Added IN_GAME_ERRORS setting for convenient debugging during development (False by default) 2016-05-22 20:45:41 +02:00
Griatch
6782ff1333 Made the default_settings file itself detect GAME_DIR, leading to a lot less cookie cutter in the gamedir/server/conf/settings.py file. Refactored the detection algorithm also in the launcher. 2016-05-22 20:45:39 +02:00
Griatch
9bf09365d2 Fixed deprecation warnings in urls from django1.9. Switched to new TEMPLATES setting. 2016-05-22 20:45:39 +02:00