Commit graph

4418 commits

Author SHA1 Message Date
Henddher Pedroza
e08efc68dc Harden assertions 2018-10-16 20:09:17 -05:00
Henddher Pedroza
dc44dc0176 In @desc command, validate rhs based on = sign present in orig args. Default MUX parsing assigns None to rhs if there is nothing on the right of the = sign. 2018-10-16 19:49:19 -05:00
Henddher Pedroza
6b96e84fd0 Tests for @desc obj= 2018-10-16 19:31:10 -05:00
Griatch
5387419a3d Merge pull request #1645 from FatherGrishnak/patch-1
Update to fix #1644
2018-08-16 21:06:27 +02:00
FatherGrishnak
5e6a29a430 Update manager.py 2018-08-15 00:55:13 +00:00
Griatch
4fe15b0598 Merge pull request #1641 from bookofportals/docker-best-practices
Change Dockerfile to comply with best practices
2018-08-14 17:36:02 +02:00
FatherGrishnak
87456c081f Update to fix #1644 2018-08-14 08:31:09 +00:00
Aris (Karim) Merchant
cb96f6892f Change Dockerfile to comply with best practices
In order of decreasing significance:
* Move addition of all files later to avoid premature build cache
  invalidation
* Add separate instructions to copy over files needed earlier
* Change deprecated MAINTAINER instruction to LABEL maintainer
* Change ADD to COPY, as ADD apparently behaves weirdly in some cases
* Alphabetize dependencies for readability
2018-07-31 13:11:32 -07:00
Griatch
bdba1eacb1 Merge pull request #1639 from bookofportals/fix-docker-ps
Add procps dependency to Dockerfile
2018-07-31 11:47:25 +02:00
Griatch
9a7967f1ee Merge pull request #1640 from bookofportals/command-callable-check
Change callability check
2018-07-31 09:09:50 +02:00
Aris (Karim) Merchant
1feceea4e8 Change callability check
TypeErrors are thrown in a wide variety of situations, most of which
have nothing to do with calling an uncallable object. The appropriate
test is to use the built-in callable() function, which actually
tests if the object is callable.
2018-07-30 16:37:22 -07:00
Aris (Karim) Merchant
86badec4e4 Merge branch 'master' into fix-docker-ps 2018-07-28 16:47:49 -07:00
Griatch
3deb25773b Merge pull request #1638 from robotfactory/patch-1
Python dockerfile depends for telnet tls
2018-07-28 12:01:50 +02:00
Aris (Karim) Merchant
4eb765f155 Add procps dependency to Dockerfile
Certain evennia commands, such as the server command, rely upon
ps to run correctly. Unfortunately, alpine uses the BusyBox ps command,
which is somewhat idiosyncratic in its option handling. Adding
the procps dependency installs a more standard ps command, allowing
server maintenance commands to work correctly. This fixes #1635.

For further background, see gliderlabs/docker-alpine#173.
2018-07-23 17:16:40 -07:00
Johnathan
816c2b90b7 Python depends for telnet tls
Addresses feature request in issue #1637

Installs py2-openssl as well as cryptography, pyasn1, and service_identity
2018-07-23 07:12:47 -04:00
Griatch
27875ba04d Fix to redirect default at_first_login msg to right session 2018-07-21 14:13:58 +02:00
Griatch
14448219fe Merge pull request #1634 from jerryaldrichiii/add-space
Add space to the tutorial's CrumblingWall message
2018-07-09 17:41:56 +02:00
Jerry Aldrich
fe1aa30463 Add space to the tutorial's CrumblingWall message
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-07-09 08:33:47 -07:00
Griatch
f0ce2c8c0a Merge pull request #1631 from TehomCD/fix_annotate_typed_manager
Fix TypeclassManager filtering for annotate, values, values_list methods
2018-06-30 11:12:11 +02:00
Tehom
c729b6b916 Add on missing values and values_list methods while we're at it, for the same reasons. 2018-06-30 02:31:47 -04:00
Tehom
24bdf124f5 Add annotate method to TypedManager to filter by typeclass appropriately. 2018-06-28 08:23:52 -04:00
Griatch
02c70a4563 Merge pull request #1630 from TehomCD/mutelist_performance_fix
Move query/unpickling out of loop for mutelist.
2018-06-19 13:44:25 +02:00
Tehom
fb481c98fb Move query/unpickling out of loop for mutelist. 2018-06-19 04:12:46 -04:00
Griatch
925529837e Backport inlinefunc regex update from develop olc branch. Resolves #1498. 2018-06-17 01:26:18 +02:00
Griatch
0b19902dcd Clarify channel log rotate setting is in bytes 2018-06-13 00:55:44 +02:00
Griatch
e033e1713d Merge pull request #1626 from TehomCD/fix_saverlist_add
Fix __add__ in SaverList
2018-06-12 19:00:40 +02:00
Griatch
cf8a242c02 Merge pull request #1621 from TehomCD/fix_duplicate_scripts
Fix duplicate script calls
2018-06-12 18:59:51 +02:00
Griatch
5862351ad0 Merge pull request #1615 from TehomCD/fix_negative_numbers_in_commandtest
Fix regex in CommandTest breaking negative numbers
2018-06-12 18:57:44 +02:00
Tehom
315977c285 Fix __add__ in SaverList 2018-05-29 23:05:34 -04:00
Tehom
af558ede7c Handle scripts with negative intervals. 2018-05-10 19:40:58 -04:00
Tehom
f0bae25ca0 Fix paused tasks. 2018-05-10 19:30:58 -04:00
Tehom
b4283a642b Add special handling for scripts when flushed from cache to avoid duplicate ExtendedLoopingCalls. 2018-05-10 19:23:59 -04:00
Griatch
e31b9f0d27 Update CODING_STYLE.md 2018-04-25 21:53:28 +02:00
Tehom
80c6d401e5 Call parse_ansi on each returned message before passing to regex to handle individually colored characters. 2018-04-24 06:03:01 -04:00
Griatch
9bbfc422ee Make EvTable respect col-widths while retaining total table width.
Resolves #1614.
2018-04-22 14:50:17 +02:00
Tehom
cb0c2d11f2 Add yet more hyphens. 2018-04-22 07:37:14 -04:00
Tehom
459a26fd74 Add hyphens to some tests. Probably more to come 2018-04-22 07:25:01 -04:00
Tehom
055bf93ac2 Fix regex in CommandTest breaking negative numbers 2018-04-22 06:56:27 -04:00
Griatch
060cfde23e Merge pull request #1610 from TehomCD/fix_commandtest_at_pre_cmd
Fix CommandTest to stop if at_pre_cmd should stop execution.
2018-04-18 09:16:26 +02:00
Tehom
a1ab742587 Fix CommandTest to stop if at_pre_cmd should stop execution. 2018-04-18 02:26:01 -04:00
Griatch
0cbecfa23e Merge pull request #1609 from adityac8/patch-1
Update rpsystem.py
2018-04-16 15:53:48 +02:00
Aditya Arora
99b91111f1 Update rpsystem.py 2018-04-16 18:41:02 +05:30
Griatch
1297316e25 Merge pull request #1607 from CloudKeeper1/patch-8
Wrong symbol on line 499
2018-04-13 20:11:15 +02:00
CloudKeeper1
739680a014 Wrong symbol on line 499
Wrong symbol on line 499
2018-04-14 00:23:52 +10:00
Griatch
3f8ca0312f Merge pull request #1603 from Packetdancer/master
Add support for MUDINFO 1.1 query at login screen
2018-04-01 09:48:33 +02:00
Rachel Blackman
5d37f54b08 Add test for unconnected commands, add INFO command to test set. 2018-04-01 00:39:16 -07:00
Rachel Blackman
b525e13553 Update INFO command to take a single msg() call, and add better docstring. 2018-03-31 23:15:28 -07:00
Griatch
60606898f8 Fix of output handling in msg() when text is None 2018-03-31 12:40:57 +02:00
Rachel Blackman
57b0c03ce5 Add 'INFO' command to unlogged-in command set, so that we can be polled by Mudconnector and Mudstats. 2018-03-29 18:02:45 -07:00
Griatch
6783d5faa0 Remove a boolean check to make numpy arrays work better with .msg() 2018-03-11 10:24:27 +01:00