Commit graph

1949 commits

Author SHA1 Message Date
Griatch
4ae65c98fb Made say command color-consistent with pose. Resolves #538. 2014-07-07 22:10:08 +02:00
Griatch
8af76ce669 Fixed a typo in batchprocessor. Resolves #539. 2014-07-07 22:07:04 +02:00
Griatch
ef8e52302a Added spawner.spawn to ev.py 2014-07-06 17:01:09 +02:00
Griatch
1874300ad1 Added at_post_disconnect() hook to Player, to allow for clean deletion of players at disconnect (for example for Guest-account implementation) 2014-07-06 16:20:50 +02:00
Griatch
88efc50054 Fixed outbut listing bug in @set. 2014-07-06 16:08:29 +02:00
Griatch
9dfe620b2b Started moving tag/attribute handlers to TypeObjectManager as per #529 2014-07-06 16:03:27 +02:00
Griatch
e6950aadf2 Changed how lazy-loading of handlers work, using a werkzeug recipe. Much more efficient now. 2014-07-06 13:10:03 +02:00
Griatch
680e603c4d Changed how Tags and Attribues cache and track which objects they use, as suggested in #529. 2014-07-05 20:32:08 +02:00
Griatch
169d0a78f8 Made WHO display Player info, not Character info to un-privileged users, and give more info to privileged users. Resolves #518. 2014-07-01 20:30:35 +02:00
Griatch
fb8cf41b4e Added recursive loop-detection to the spawner. This should avoid accidentally creating infinite self-references in prototype structures. 2014-07-01 20:16:43 +02:00
Griatch
b9c8c1695c Finalized the spawner API and made the @spawn command also take prototypes directly, e.g. @spawn GOBLIN. 2014-07-01 19:39:12 +02:00
Griatch
221d56fecd Made the spawner more streamlined, and allowed the @spawn command to access prototypes in a file specified by the optional PROTOTYPE_MODULES setting. 2014-07-01 04:04:54 +02:00
Griatch
6eafe65076 Implemented src.utils.spawner along with a test command @spawn. This allows for spawning individualized objects based on a prototype dictionary rather than having to make a new Typeclass for small changes. Allows for setting basid properties as well as Attributes and NAttributes. Supports prototype multiple inheritance (see header of src/utils/spawner.py) 2014-07-01 02:14:48 +02:00
Griatch
d05c92792c Some cleanup and making unittests succeed again 2014-07-01 01:10:44 +02:00
Griatch
05d21ef4f7 Updated create.create_object to be faster. Made AttributeHandler.add() handle bulk-adding of Attributes and with a slightly more efficient way to create new Attributes. 2014-07-01 00:46:20 +02:00
Griatch
cda13989f6 Run Migrations! Made Tags unique based on the combination of their db_key, db_category AND their db_tagtype fields. 2014-06-30 20:14:58 +02:00
Griatch
ea059e9874 Renamed evennia_webclient.js to evennia_ajax_webclient.js to match the script name in the html file. 2014-06-30 10:00:43 +02:00
Griatch
115587aa1b Fixed a bug with creating Player from admin. It is hard to add permissions (these are Tags with a special subsetting). This makes the admin not very useful for creating players at the moment. 2014-06-30 00:53:30 +02:00
Griatch
39def4efa9 Made cmdsethandler report syntax-errors in a more informative way. 2014-06-29 21:58:30 +02:00
Kelketek Rritaa
df85edc295 Made template overriding more consistent and created template_overrides dir. 2014-06-29 11:07:11 -05:00
Kelketek Rritaa
0729bf10b7 More consistent arrangement of base templates. 2014-06-29 10:55:29 -05:00
Kelketek Rritaa
54bb593f5e Prevent editing of attributes which are not Python literals through the admin interface. 2014-06-29 09:14:01 -05:00
Kelketek Rritaa
112e7c652d Leftover news app cleanup, .gitignore updated. 2014-06-29 08:29:41 -05:00
Kelketek Rritaa
7499932337 Removed creation of admin media symlink. Fixed media handling. 2014-06-29 08:23:12 -05:00
Kelketek Rritaa
def97b58a8 Renamed static ev directory to evennia_general
Removed defunct news app.
2014-06-29 08:17:04 -05:00
Kelketek Rritaa
a34ddea236 Fixed placement of websocket javascript and template.
Fixed wrong readme in static.

Moved backends.py into web/util
2014-06-29 07:05:45 -05:00
Kelketek Rritaa
a1b596a847 Fixed an issue where saving an attribute/tag would make duplicates. 2014-06-28 18:01:00 -05:00
Kelketek Rritaa
a6187ed997 Minor cleanup in a readme and a method signature. 2014-06-28 16:35:57 -05:00
Kelketek Rritaa
ca3f92acd0 Admin interface greatly improved. Support for editing Attributes added.
Resolves #503. Resolves #201.
2014-06-28 16:30:01 -05:00
Kelketek Rritaa
fa20190467 Added collectstatic to start/reload. 2014-06-28 16:30:00 -05:00
Kelketek Rritaa
7d12c6dd69 Added custom Evennia admin and ability to toggle it. 2014-06-28 16:29:57 -05:00
Kelketek Rritaa
fbe0eab01c Some consistency improvements with URL overrides. 2014-06-28 16:28:24 -05:00
Kelketek Rritaa
16bcc3c9f0 Restructured web resources to better manage static files. 2014-06-28 16:28:14 -05:00
Griatch
05c9d67ffc Made the tab, space and linebreak ansi characters case-insensitive. Resolves #522. 2014-06-28 18:51:04 +02:00
Griatch
bb8c9ce2ab Changed default puppet lock to puppet:pperm(Immortals) by default. Resolves #521. 2014-06-28 18:48:54 +02:00
n0q
b092d29989 Fixed page command to properly repage
Page command was attempting to first page players, then repage players,
then repage chracaters, then fail. Should reliably repage players, now.
Does not permit paging characters.
2014-06-28 18:27:58 +02:00
Griatch
8c5621025b Added oob test command for websocket client. 2014-06-28 18:10:20 +02:00
Griatch
c60a5fdea1 Fixed and refactored OOB system and tested with new websocket client 2014-06-28 18:10:20 +02:00
Griatch
9ba212c264 Working on the OOB system, somewhat unstable at the moment. 2014-06-28 18:10:20 +02:00
Griatch
d59500f574 Updated to a working websocket implementation of webclient. 2014-06-28 18:10:20 +02:00
Griatch
ca1e36da5f First working test version of oob support in the websocket client. 2014-06-28 18:10:20 +02:00
Griatch
a9cf081494 First make of a testing method for oob 2014-06-28 18:10:20 +02:00
Griatch
e6c1ab3df8 First make of a testing method for oob 2014-06-28 18:10:20 +02:00
Griatch
ede6634081 Converted webclient to use websockets on port 8001. Ideally one would make it so the ajax and websocket clients work under the same django wrapper, but for now this functionality is elusive. 2014-06-28 18:10:20 +02:00
Griatch
2a6cfaca7d Some cleanup of the OOB code. 2014-06-28 18:10:20 +02:00
Griatch
cccb60dd6c Update README.md 2014-06-27 10:46:16 +02:00
Griatch
53b204bb76 Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509. 2014-06-15 13:19:38 +02:00
Griatch
3a6a8d5c48 Made objects clear more handlers on deletion, also scramble some methods and all database access wrappers to avoid an object memory instance being accessed after it has been deleted. See #509. 2014-06-15 12:27:48 +02:00
Griatch
81aa43933c Mudlet seems to fail TTYPE handshake if data compression is activated before TTYPE. Should resolve #512. 2014-06-14 20:35:00 +02:00
Griatch
57144b2c21 Made objects auto-unsubscribe from tickerhandler when deleted (resolves #515). Fixed a bug that made typeclass loading mechanism not report errors as verbosely as it could. 2014-06-14 19:31:19 +02:00