Griatch
|
ddb87d6aea
|
Made IRC work with new send mechanism, as per #924.
|
2016-05-22 20:45:39 +02:00 |
|
Griatch
|
8448b513e1
|
Converted msg-arguments to options
|
2016-05-22 20:45:06 +02:00 |
|
Griatch
|
4817ec90b3
|
Changed the OOB message structure to include sending text data as well; still not working fully.
|
2016-05-22 20:45:05 +02:00 |
|
Sina Mashek
|
2d54bc33ab
|
Added support for SSL IRC connections.
|
2016-03-26 02:44:20 -07:00 |
|
Griatch
|
e6a866a150
|
Made Evennia run with Django 1.9
|
2016-02-18 10:12:42 +01:00 |
|
Dan Feeney
|
a5b0ed7df5
|
fixed login error for multisession_mode = 2
|
2015-12-22 10:45:00 -06:00 |
|
Griatch
|
45f973fdb6
|
Made unittests work with changed Session apis. Resolves #808.
|
2015-11-15 20:36:18 +01:00 |
|
Griatch
|
efefe3e5ff
|
First version of changed sessid->session change that starts properly. Not fully tested yet.
|
2015-11-14 21:43:58 +01:00 |
|
Griatch
|
d496606a3c
|
Further development of the reworking of systems using Sessions rather than session id.
|
2015-11-14 20:32:58 +01:00 |
|
Griatch
|
709f5ff5b3
|
Reworked most of the system to use sessions directly instead of sessids by the introduction of on-object sessionhandlers. No debugging done yet.
|
2015-11-14 18:36:19 +01:00 |
|
Ahmed Charles
|
b9bdeb3e9c
|
Replace filter with if/comprehension.
|
2015-11-09 10:11:34 +01:00 |
|
Ahmed Charles
|
de0e42240c
|
Have every class inherit from object.
|
2015-11-09 10:11:34 +01:00 |
|
Ahmed Charles
|
28a754033e
|
Remove unnecessary print functions.
|
2015-11-01 21:21:32 +01:00 |
|
Ahmed Charles
|
c220d5eeeb
|
at_post_puppet should be called after cache_lock_bypass.
at_post_puppet does a look, which results in a perms check, which is wrong
for the superuser because the lock bypass is not up to date.
|
2015-11-01 21:16:41 +01:00 |
|
Griatch
|
c58f858339
|
Reworked that look() methods on Players and Objects into at_look. They were also changed to accept pre-searched target objects rather than the command string. They also return a processed look string rather than sending it directly. The reason for this is that methods on the typeclass should not be handling command parsing - this should be the exclusive job of Command.parse in order to make command parsing completely contained withing one system. Likewise, it makes for more flexibility to not call self.msg() inside at_look but to let the outside caller do this explicitly - it might want to modify and append to the string before sending it off (something not used anywhere yet but which may be interesting). In order to correctly keep parsing entirely in the command body for the player, I made a custom parent for CmdOOCLook and CmdOOC, which does the parsing of the 'playable' characters already at the parse() step, storing the result in the .playable property on the (player-) command. This technique could probably be applied to other player commands looking up the _playable_characters Attribute, in order to centralize it.
|
2015-11-01 17:13:00 +01:00 |
|
Ahmed Charles
|
726e505311
|
Add look() on DefaultPlayer.
|
2015-11-01 15:11:39 +01:00 |
|
Ahmed Charles
|
8a66fc40a9
|
Use with_metaclass from future.utils for python3 compat.
|
2015-11-01 15:11:12 +01:00 |
|
Griatch
|
c7e1a6a086
|
Resolved merge conflicts against master.
|
2015-10-20 00:07:39 +02:00 |
|
Griatch
|
50371b6abd
|
Merged conflicts.
|
2015-10-19 23:32:00 +02:00 |
|
Russell Jones
|
06c3dc0ed3
|
Run "futurize -1 -w -n ."
|
2015-10-01 20:00:28 +01:00 |
|
Griatch
|
fc4beed9ca
|
Made player.idle_time and player.connection_time into properties.
|
2015-09-27 19:59:01 +02:00 |
|
Andrew Ryan Bastien
|
3d36cd343a
|
- Adding support for connection_time and idle_time methods to DefaultPlayer.
|
2015-09-27 19:59:01 +02: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
|
b59340784c
|
Made some cleanup of docstrings to clarify hook load order.
|
2015-09-05 21:49:54 +02:00 |
|
Andrew Bastien
|
2c62e93fb4
|
- Fixed more in at_failed_login(). Forgot a pass, whoops.
|
2015-07-25 18:35:34 +02:00 |
|
Andrew Bastien
|
e0e382e0c6
|
- Added .at_failed_login(session) to default Player typeclass.
- unloggedin.CmdUnconnectedConnect now calls the at_failed_login hook on player if a correct user is entered by an invalid password provided.
|
2015-07-25 18:35:34 +02:00 |
|
Griatch
|
da9c97b699
|
Updated all of players/ directory to Google style docstrings as per #709.
|
2015-06-21 13:51:32 +02:00 |
|
Griatch
|
8e134af019
|
API change: Added no_superuser_bypass kwarg to obj.access, channel.access and player.access methods, to make the call consistent with the full lockhandler.check call. This allows the cmdhandler to use access() to check the 'call' locktype and thus make it available for overloading if so desired. Resolves #752.
|
2015-06-01 20:32:52 +02:00 |
|
Griatch
|
13042e6d1a
|
Updated players/ directory sources to use Google style docstrings, as per #709.
|
2015-05-29 20:23:38 +02:00 |
|
Griatch
|
b59e38caf5
|
Adding migrations for django1.8.
|
2015-04-04 00:08:51 +02:00 |
|
Griatch
|
1a7a6b3fff
|
Removing migrations from repo
|
2015-04-04 00:08:51 +02:00 |
|
Griatch
|
6644effef8
|
Added migrations for the 1.8+ change
|
2015-04-04 00:08:51 +02:00 |
|
Griatch
|
ee1ec3979c
|
Updates for making Evennia compatible with Django 1.8+. Still not fully functioning.
|
2015-04-04 00:08:51 +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 |
|
Griatch
|
78ca2819b2
|
Fixed a bug in is_typeclass and cleaned up some other things in the player/object typeclass. Resolves #722.
|
2015-03-22 10:03:39 +01:00 |
|
Griatch
|
e77d86a8f7
|
Moved default class import markers to base model.
|
2015-03-14 23:14:47 +01:00 |
|
Griatch
|
c20a23a3d4
|
Fixed a lingering traceback pointing to a defunct method in guest code. THIS resolves #703.
|
2015-03-12 20:33:40 +01:00 |
|
Griatch
|
edf6c535a0
|
Removed duplicates in get_all_puppets(), to manage multisession_modes better.
|
2015-03-11 22:05:15 +01:00 |
|
Griatch
|
2085d728a4
|
Removed superfluous get_dbobj kwarg for player.get_all_puppets()
|
2015-03-11 21:55:54 +01:00 |
|
Griatch
|
d752106906
|
Made typeclass loading a little more forgiving, adding a multitude of try-levels to fall back to in case of errors. Default is now to fallback to first settings-set default, then to the library default and only as a last resort fall back to the model. Every fallback step is logged. This should make the missing-hook error of #698 go away and report missing typeclasses in a better way.
|
2015-03-11 00:41:06 +01:00 |
|
Griatch
|
19b1ef8fc9
|
Fixed an unpuppeting bug for bots
|
2015-03-07 15:24:03 +01:00 |
|
Griatch
|
fc56b12f52
|
Made ircbot work correctly with latest code, lead to a fixing of a bug in script creation.
|
2015-03-07 13:22:11 +01:00 |
|
Griatch
|
4dc3a3df09
|
Removed the normal_mode and ignore_empty keywords of puppet/unpuppet_object and instead handling those checks in the calling methods instead. This makes the call clearer. Also changed to using the on-object scripthandler for validation rather than importing and calling the manager unnecessarily.
|
2015-02-28 09:49:41 +01:00 |
|
Jonathan Piacenti
|
aac9ba7b8b
|
Resolve traceback on shutdown.
|
2015-02-28 09:49:41 +01:00 |
|
Jonathan Piacenti
|
9b7d4e656e
|
Fix MULTISESSION_MODE = 3
|
2015-02-28 09:49:41 +01:00 |
|
Jonathan Piacenti
|
9733468098
|
Fix MULTISESSION_MODE = 1
|
2015-02-28 09:49:41 +01:00 |
|
Griatch
|
a87fbff366
|
Started work on #673; refactored the data flow. Still issues with correctly puppeting/unpuppeting in modes > 0.
|
2015-02-26 21:53:19 +01:00 |
|
Griatch
|
c0aafe74ab
|
Removed old deprecation warnings for data= keyword in msg(). The data= keyword is no longer supported.
|
2015-02-26 19:56:14 +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
|
b8daff0663
|
Added migration to rename the default channels. If those were already changed, the settings file will need to be updated with the changed name.
|
2015-02-23 16:26:41 +01:00 |
|