Commit graph

5710 commits

Author SHA1 Message Date
Griatch
005b3f4530 Handle websocket autoconnect and remove session duplicates. Resolves #1851. Resolves #1562. 2019-06-15 22:24:32 +02:00
Griatch
993113b2b7 Move typeclass init later to reduce chance of misordered imports.
Resolve #1852.
2019-06-10 18:29:04 +02:00
Griatch
e742227a2c Correct reverse() calls for typeclassed entities. Resolve #1743 2019-06-10 07:46:09 +02:00
Griatch
5f8e08ecaf Handle spawned attrs with dict, as per #1787 2019-06-09 18:03:53 +02:00
Griatch
e9df197385 Correctly handle OLC save errors 2019-06-09 17:42:26 +02:00
Griatch
5999dc1c3c Escape, correct unicode/byte conversion in AJAX client 2019-06-09 14:41:30 +02:00
Griatch
4bcadc96a0 Resolve merge conflicts 2019-06-09 11:29:37 +02:00
Griatch
78c93b6678 Escape AJAX session input to better protect against XSS attacks. Resolve #1846 2019-06-09 11:21:04 +02:00
Griatch
f4f43158a8 Fix attr search with non-string query. Resolve #1760 2019-06-08 17:40:29 +02:00
Griatch
21a5285954 Make sure to avoid double multi-matches from rpsystem. Resolve #1757 2019-06-08 17:34:30 +02:00
Griatch
c083f767d8 Add makemigration exception for evennia_launcher. Resolve #1839 2019-06-08 00:00:50 +02:00
Griatch
be0cba2ac3 Make default django admin use Django 2.0 url format. Resolve #1842 2019-06-07 23:53:23 +02:00
Griatch
432674ac7c Fix bug saving empty dicts/lists/False to admin. Resolve #1841 2019-06-07 22:14:44 +02:00
Griatch
3416db98d7 Support datetime in admin pickle widgets/forms 2019-06-06 19:56:10 +02:00
Griatch
5064242ef8 Use renderer kwarg for picklefield widget; related to #1843 2019-06-03 22:40:32 +02:00
Griatch
3ef51823d6 Use typeclass-family instead of location/destination for object stats. Resolve #1845 2019-06-03 21:47:29 +02:00
Griatch
94918c8b72 [fix] Fix unit tests 2019-06-03 18:28:11 +02:00
Griatch
08b0f3fbf8 Fix bug in multi-object alias targeting. Resolves #1823 2019-06-03 07:01:03 +02:00
Griatch
e130ec2d6f Handle AttributeError in webclient protocol 2019-05-31 08:42:33 +02:00
Griatch
64acd33d85 Fix MSSP byte error when mixing with unicode 2019-05-30 17:20:52 +02:00
Griatch
7a47c569eb Fix TTYPE error on malformed TTYPE from client
Resolves #1848.
2019-05-28 23:13:54 +02:00
Griatch
52699c06e8 Merge pull request #1844 from DarkSir23/master
Fix header and footer to use DEFAULT_CLIENT_WIDTH
2019-05-20 22:10:37 +02:00
DarkSir23
d152dbc5de Cleaned up extra debugging lines. 2019-05-20 10:50:37 -04:00
Griatch
d242537d80 Minor cleanup 2019-05-18 13:20:45 +02:00
DarkSir23
39d54d8f56 Testing a width fix. 2019-05-17 21:16:25 -04:00
DarkSir23
4094464ec6 Testing a width fix. 2019-05-17 21:02:22 -04:00
DarkSir23
e32a096bf5 Testing a width fix. 2019-05-17 20:56:57 -04:00
DarkSir23
0d5d8ec847 Testing a width fix. 2019-05-17 20:52:40 -04:00
DarkSir23
e5eb54b472 Testing a width fix. 2019-05-17 19:10:37 -04:00
DarkSir23
b74de1c673 Fix for EvMenu width 2019-05-17 19:06:49 -04:00
Griatch
ed187ad05f Various fixes from game jam 2019-05-14 10:33:31 +02:00
DarkSir23
6ebbf9c4ee Fix header and footer to use DEFAULT_CLIENT_WIDTH 2019-05-10 12:19:08 -04:00
Griatch
e6aec78cce Add i18n for simplified chinese, courtesy of MaxAlex 2019-05-03 12:31:49 +02:00
Griatch
43bf2da79c Resolve merge conflicts 2019-05-01 19:20:19 +02:00
Griatch
a630ccd51c Fix edge case with multiple superusers 2019-05-01 19:10:44 +02:00
Griatch
1e7603024e Fixes to inline_python 2019-05-01 15:19:53 +02:00
Griatch
a02758445d Fixes to inline_python 2019-05-01 15:17:43 +02:00
Griatch
c5fe6fff53 Add missing callbacks-handler to ingame_python classes 2019-05-01 15:14:46 +02:00
Griatch
098ec3e512 Merge pull request #1836 from amfl/dockerfile-ports
Dockerfile: Only expose external ports
2019-04-25 13:17:25 +02:00
amfl
7594d22a7d 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
a2bc979503 Add @interactive decorator to use yield to pause in a method 2019-04-21 14:25:39 +02:00
Griatch
866e8611b7 Merge branch 'develop' of github.com:evennia/evennia into develop 2019-04-19 20:26:50 +02:00
Griatch
bc0de360b5 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
176307bbe6 Merge pull request #1834 from chason/gametime_bugfix
Fixing bug in gametime module
2019-04-19 09:55:18 +02:00
Griatch
6fc5325815 Merge pull request #1831 from chason/gametime_tests
Adding tests for gametime module
2019-04-19 09:41:29 +02:00
Chason Chaffin
8fc7815189 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
7ebd6a9f0e 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
552146db5c 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
73f82d0ad1 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
d4590ff600 Update CHANGELOG 2019-04-18 22:27:09 +02:00