Commit graph

50 commits

Author SHA1 Message Date
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
Griatch
4ab049709d Changed inputhandler/oochandler to monitorhandler and made inputhandler_funcs into just inputfuncs.py 2016-05-22 20:45:06 +02:00
Griatch
e4d50ff74e Changes to the input-handling interface, to support function calls; also changing oob system to be inputhandler system, making it all work in the same way (no separation between text and oob anymore). 2016-05-22 20:45:05 +02:00
Griatch
f42d27a459 Refactored the webclient layout to correctly identify the template. 2016-05-22 20:45:05 +02:00
Griatch
4fd06b8976 Cleaned up the web folder to make two separate 'apps'-webclient and website, each with their own static and template dirs. Also merged the prosimii template files into the website template folder. This will make it clearer how to override, since the static/template_override dirs will now look like website/static/... etc rather than using the template names, of which we only ever have used one anyway. 2016-05-22 20:41:36 +02:00
Griatch
786edf4677 Fixed some errors in crop inlinefunction. Coloration does not work in nested inlinefunc outside of escaped strings ... not sure if this something worth to try to resolve or if an escaped string is just the right way to have them. 2015-11-28 18:25:05 +01:00
Ahmed Charles
bcd8674ef3 Use python3 range.
Including potential memory reduction due to not created unnecessary lists.
2015-11-02 11:47:07 +00:00
Griatch
2743f98fb0 Removed SEARCH_AT_MULTIMATCH_INPUT and SEARCH_AT_MULTIMATCH_CMD settings and connected functions - these are no longer individually overloadable. SEARCH_AT_RESULT function now handles all error reporting. Also added SEARCH_MULTIMATCH_SEPARATOR to make it easy to replace the character used to separate multi-matches (1-box, 2-box is using '-' by default), in response to #795. Also moved the default SEARCH_AT_RESULT function from the cmdparser to evennia.utils.utils. 2015-09-27 13:05:29 +02:00
Griatch
5429ede5f7 Changed how the webclient looks up the webcocket_url. This auto-lookups the url while still respecting a custom given settings.WEBSOCKET_CLIENT_URL (for proxy setups?). This means settings.WEBSOCKET_CLIENT_URL is now defaulting to None. Resolves #806. 2015-09-27 09:57:23 +02:00
Griatch
1d17302d16 Refactoring to go with the fixed AMP structure and methods. 2015-09-21 16:50:05 +02:00
Kelketek
3fcee453b9 Update template_dirs search paths for override 2015-09-03 15:55:12 -05:00
Griatch
cc2b094bc6 Moved lineditor into utils/eveditor.py. The line editor is accessed by simply importing the class (same as EvTable, EvMenu etc), so the utils.get_line_editor function was removed. 2015-07-09 14:37:09 +02:00
Jonathan Piacenti
a5887d23e2 Make command ambiguity handler pluggable. 2015-06-20 13:18:50 -05:00
Peter Finlayson
0c076b3966 removed references to closed issue #241 2015-05-18 19:30:34 +02:00
Griatch
64c6d06d0f Fixed the loading of the menu_login contrib, doing some cleanup in the error reporting at the same time. Also added evennia to the search path for cmdsets and typeclasses so that one can give the path to e.g contrib when loading. 2015-05-17 00:49:41 +02:00
Griatch
37763ceca5 Added MAX_CONNECTION_RATE, MAX_COMMAND_RATE for throttling various aspects of input as a DoS measure as per #640. 2015-05-15 01:51:09 +02:00
Griatch
63ddf1cbae Update settings_default.py
Added a more correct description to the WEBSOCKET_CLIENT_URL setting to emphasize it is entered without a port number.
2015-04-21 20:14:29 +02:00
Griatch
e3c3214f9f The at_initial_setup hook was called with the wrong name in setup_default. Fixed now. Resolves #743. 2015-04-17 11:37:44 +02:00
Griatch
3ebc55da82 Changed datetime setter to use utils.timezone instead of naive datetime stamps, as per #728. 2015-03-27 07:05:13 +01:00
Jonathan Piacenti
89a39a8481 Pull line editor out of contrib and into main. 2015-03-26 17:10:42 -05:00
Griatch
4f384dc514 Added support for screen readers via the new option command (which merges the ability to set the screenreader mode with the encoding command). The new setting.SCREENREADER_REGEX_STRIP allows to customize what the screenreader mode strips. 2015-03-16 23:30:37 +01:00
Griatch
e778582dca removed the individual typeclass path prefixes from settings file, replacing it with the general TYPECLASS_PATH since typeclasses are now more likely to be grouped together anyway. 2015-03-15 16:36:25 +01:00
Griatch
de579df367 Updated the is_typeclass method to be more general. Fixed an inconsistency with typeclass path prefixes. 2015-03-15 16:24:20 +01:00
Griatch
04a1d9c238 Added CONN_MAX_AGE setting to 7hrs to avoid 'database has gone away' errors with MySQL default settings. Resolves #619. 2015-03-06 21:21:07 +01:00
Griatch
96ac3f967b Merged the devel-branch. 2015-03-01 13:06:48 +01:00
Griatch
b015f4802a Added better docstrings to subpackages and cleaned out some places which were unclear. 2015-02-23 17:46:42 +01:00
Griatch
68e8062007 Refactored the way default channels are added. 2015-02-23 16:15:29 +01:00
Griatch
68d294d007 Refactored and cleaned up the idmapper directory; it's been so changed by evennia that it makes little sense to keep the original structure (which was intended for adding an app into). Resolved the unittest errors with the idmapper. 2015-02-23 15:06:30 +01:00
Jonathan Piacenti
c03bac5efd Upgrade test runner to derive from DiscoveryRunner. 2015-02-23 15:06:30 +01:00
Griatch
3281221c99 Made dummyrunner work with a settings mixin for setting the hasher and permission of clients. MUCH faster dummyrunner operation now! 2015-02-10 21:13:10 +01:00
Griatch
9d63b03635 Some extra info to settings file 2015-02-10 10:28:06 +01:00
Griatch
dc20174531 Removed mention of ROOT_DIR, deleted docs/ directory and moved locale/ under evennia/. 2015-02-09 22:31:23 +01:00
Griatch
0115db3805 Reworked batchprocessor to correctly handle paths. Started looking at changing loation of some other folders. 2015-02-09 22:18:52 +01:00
Jonathan Piacenti
52fa4dd60b Made test running environment more robust and consistent. 2015-02-08 18:34:12 -06:00
Griatch
5a7866d572 Updated settings for new refactor. 2015-02-02 20:18:50 +01:00
Jonathan Piacenti
b95ff4e976 Fixed web settings. 2015-01-16 08:36:46 -06:00
Griatch
4298dddf29 Made more verbose message when not finding a typeclass. 2015-01-15 21:49:05 +01:00
Griatch
a34312245a Added example bodyfunctions script back to contrib. Fixed the default lookup-paths of scripts. 2015-01-15 21:27:25 +01:00
Griatch
42e7d9164e Fixed a wrong path in logging settings. 2015-01-11 18:01:52 +01:00
Griatch
8e020bfb62 Moved dummyrunner under bin/. 2015-01-10 17:56:33 +01:00
Griatch
d0ef05202d Can now log into the server and do basic operations. Not fully tested yet. 2015-01-08 22:58:13 +01:00
Griatch
ab052b8301 Fixed bugs, made server start. Still cannot reload. 2015-01-08 19:56:54 +01:00
Griatch
0c9bf08c5a Refactored and fixed a lot of bugs. Creates the database but still does not properly load the settings file. 2015-01-08 01:25:32 +01:00
Griatch
c96c5a1fc7 Updated the game template, renaming subdir typeclasses rather than types since the latter collides with the python library module of the same name. 2015-01-08 00:04:18 +01:00
Griatch
c2e15f33a3 Added serversession configurability and some other cleanup. 2015-01-07 18:37:27 +01:00
Griatch
2c46ede247 Added more overloading modules and cleaned up the template some more. 2015-01-07 18:21:28 +01:00
Griatch
ad3f19896c Changed all src/ and ev references to evennia 2015-01-07 15:36:32 +01:00
Griatch
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
Renamed from lib/settings_default.py (Browse further)