Commit graph

5684 commits

Author SHA1 Message Date
Griatch
eb30e39f1f Fix bug in multi-object alias targeting. Resolves #1823 2019-06-03 07:01:03 +02:00
Griatch
fb9c328c4b Handle AttributeError in webclient protocol 2019-05-31 08:42:33 +02:00
Griatch
9dac6280c1 Fix MSSP byte error when mixing with unicode 2019-05-30 17:20:52 +02:00
Griatch
190b499e05 Fix TTYPE error on malformed TTYPE from client
Resolves #1848.
2019-05-28 23:13:54 +02:00
Griatch
a81a8fd58e Minor cleanup 2019-05-18 13:20:45 +02:00
Griatch
5c521313d4 Various fixes from game jam 2019-05-14 10:33:31 +02:00
Griatch
a45142a1e5 Add i18n for simplified chinese, courtesy of MaxAlex 2019-05-03 12:31:49 +02:00
Griatch
47e06beb6f Resolve merge conflicts 2019-05-01 19:20:19 +02:00
Griatch
d976b9afe1 Fix edge case with multiple superusers 2019-05-01 19:10:44 +02:00
Griatch
082669fd6e Fixes to inline_python 2019-05-01 15:19:53 +02:00
Griatch
04dba7958d Fixes to inline_python 2019-05-01 15:17:43 +02:00
Griatch
29821a762b Add missing callbacks-handler to ingame_python classes 2019-05-01 15:14:46 +02:00
Griatch
dde42090cf
Merge pull request #1836 from amfl/dockerfile-ports
Dockerfile: Only expose external ports
2019-04-25 13:17:25 +02:00
amfl
e5d816e5f5 Dockerfile: Only expose external ports
- 4005 is the internal webserver port which does not need to be exposed
outside the container.
- 4002 is the external websocket port which does need to be exposed
outside the container.
2019-04-22 12:45:06 +12:00
Griatch
87e280bc4d Add @interactive decorator to use yield to pause in a method 2019-04-21 14:25:39 +02:00
Griatch
d86ab27c82 Merge branch 'develop' of github.com:evennia/evennia into develop 2019-04-19 20:26:50 +02:00
Griatch
bf949eacc5 Merge branch 'loaded_modules_api' of https://github.com/volundmush/evennia into volundmush-loaded_modules_api 2019-04-19 19:58:26 +02:00
Griatch
a0863f8332
Merge pull request #1834 from chason/gametime_bugfix
Fixing bug in gametime module
2019-04-19 09:55:18 +02:00
Griatch
d247fce70e
Merge pull request #1831 from chason/gametime_tests
Adding tests for gametime module
2019-04-19 09:41:29 +02:00
Chason Chaffin
77d15fa7b8
Fixing bug in gametime module
Previously, gametime used the length of the current year and
current month to calculate the future date in the real_seconds_until
function. This caused a small bug when passing over a leap day from
a year without a leap day.

This change uses the datetime module to just increment the year
or month, sidestepping the issue.
2019-04-19 16:19:15 +09:00
Chason Chaffin
00fc88a438
testing for bug found in gametime module
I've found a bug in the gametime module where if your date is the
year before a leap year, and the real_seconds_until function has
to adjust the date (from using an earlier month) over that leap
year, the calculation is off a day since the current function uses
the length of the current year to determine how far to skip ahead

I've changed the current test to *not* test for this bug in the
mainline test (before it was passing because I was using the output
from the current function to determine correctness) and to add a
separate test that is marked as an expected failure for now. I am
working on a fix but it is outside the scope of this PR.
2019-04-19 12:49:27 +09:00
Chason Chaffin
10c94798f4
More fixes on gametime tests
Looks like I *was* causing the previous issues by mocking time.time
2019-04-19 11:32:49 +09:00
Chason Chaffin
24e713f842
Fixing tests for new gametime tests
It appears that some mocks setup for gametime in the contrib
library were causing issues with the gametime tests. I've switched
those mocks to be patches instead so they are cleared out when
the test finishes.
2019-04-19 10:40:19 +09:00
Griatch
3326bfd71e Update CHANGELOG 2019-04-18 22:27:09 +02:00
Griatch
cf48541907 Make AttributeHandler.remove delete by category only as well 2019-04-18 22:24:51 +02:00
Griatch
c256cd6954 Allow TagHandler.remove to remove-by category only 2019-04-18 22:18:16 +02:00
Griatch
364415a545 Make who command use get_display_name 2019-04-18 20:29:50 +02:00
Chason Chaffin
01a67d1d43
Adding tests for gametime module 2019-04-19 00:30:53 +09:00
Griatch
e6d632efde Set default color style closer to Evennia default 2019-04-16 23:31:45 +02:00
Griatch
6807d3c658
Merge pull request #1813 from volundmush/copy_hook
Added at_object_creation_copy hook to DefaultObject.
2019-04-16 18:46:51 +02:00
Andrew Bastien
ba3e7bcad1 Refactored the copy hook and added Kwargs. 2019-04-15 09:47:14 -04:00
Andrew Bastien
f299964441 Added at_object_creation_copy hook to DefaultObject. 2019-04-15 09:44:46 -04:00
Andrew Bastien
81e6fd71a2 Added Base Typeclass loading to Evennia API. 2019-04-15 09:32:02 -04:00
Griatch
b961f282c2 Refactor/remove signal receiver module 2019-04-14 22:53:38 +02:00
Griatch
26a7d0e9e8 Add Django default signals for reference 2019-04-14 22:38:30 +02:00
Griatch
8f8ce6e45d Merge branch 'add_signals' of https://github.com/volundmush/evennia into volundmush-add_signals 2019-04-14 22:19:36 +02:00
Griatch
ca08024d1d Minor cleanups 2019-04-14 21:43:01 +02:00
Griatch
fb5dcc2eff Remove validator container, allow direct setting of options 2019-04-14 21:06:43 +02:00
Griatch
b053104a86 Rework options/optionhandler to use custom save/load functions 2019-04-14 20:29:21 +02:00
Griatch
dc3514c797 Cleanup of options methods, callables 2019-04-14 17:01:32 +02:00
Griatch
b70d8ed70f Refactor containers for inheritance and delayed loading 2019-04-14 15:37:34 +02:00
Griatch
b024c17f8a Resolve merge conflicts, some cleanup 2019-04-14 12:18:15 +02:00
Griatch
08f571bfa2 Improve script self-description 2019-04-14 11:29:17 +02:00
Griatch
76898f918c Move globalhandler into utils.containers, make settings format more flexible, default to base typeclass, add helper functions and some more lenient error handling 2019-04-14 11:24:45 +02:00
Griatch
20d09adeab Merge branch 'gscript_loader' of https://github.com/volundmush/evennia into volundmush-gscript_loader 2019-04-14 09:55:58 +02:00
Andrew Bastien
5a7ee64fc4 Fixed issue with creating new Scripts. Silly tuples! 2019-04-14 03:41:04 -04:00
Andrew Bastien
8823bb1af1 Refactored ScriptHandler into ScriptContainer. Now uses dictionaries with finer control for script launching. 2019-04-14 00:22:53 -04:00
Andrew Bastien
36aba73a32 Refactored with more consistent naming and placement. Fixed the table style wrapper. 2019-04-13 21:47:09 -04:00
Andrew Bastien
ac21c78c5a Refactored signals with better names and more of them. Put them after hook calls. 2019-04-13 18:05:15 -04:00
Andrew Bastien
37d789ee7f Added some Signals. 2019-04-12 20:16:30 -04:00