Henddher Pedroza
bbae3cea47
Increase test coverage for puzzles module
2018-09-15 01:36:33 -05:00
Henddher Pedroza
2e376a32cb
Enforce parts and results to be DefaultObject not DefaultCharacter, DefaultRoom nor DefaultExit with tests. Tests for @lspuzzlerecipes and @lsarmedpuzzles
2018-09-14 23:28:56 -05:00
Henddher Pedroza
e51ff36801
Minor cleanup
2018-09-14 21:58:18 -05:00
Henddher Pedroza
533302e3c0
Merge branch 'master' of https://github.com/evennia/evennia into puzzles
2018-09-13 21:25:47 -05:00
Henddher Pedroza
8312d24600
Revamp _bad_recipe() helper function and fix @puzzle command empty name
2018-09-13 20:00:50 -05:00
Griatch
e6a9ca796d
Merge pull request #1648 from Henddher/bug1459
...
EvForm tracebacks with dissimilar line length
2018-09-13 15:04:18 +02:00
Henddher Pedroza
921b354b9e
@armpuzzle tests
2018-09-10 20:00:08 -05:00
Henddher Pedroza
c3b8614526
PuzzleRecipe as DefaultScript; not as DefaultObject. Misc tests
2018-09-09 22:43:26 -05:00
Henddher Pedroza
5aeb0c50d7
Tests for puzzles
2018-09-03 20:54:33 -05:00
Henddher Pedroza
3a6f693c96
Documentation corrections and clarifications
2018-09-02 22:48:42 -05:00
Henddher Pedroza
17c07bb47e
Addition of CmdListPuzzleRecipes and CmdListArmedPuzzles
2018-09-02 22:34:17 -05:00
Henddher Pedroza
f54e2d2cd6
Merge branch 'puzzles' of https://github.com/Henddher/evennia into puzzles
2018-09-02 19:21:25 -05:00
Henddher Pedroza
280dd3f4eb
When multiple puzzles are matched, show their names to the caller and
...
then randomly pick one
2018-09-02 19:19:21 -05:00
Henddher Pedroza
11099f5b35
typo in classname
2018-09-02 16:46:57 -05:00
Henddher Pedroza
d0e632bb49
Puzzles System - first cut:
...
PuzzlePartObject: typeclass for puzzle parts and results.
PuzzleRecipeObject: typeclass to store prototypes of parts and results.
PuzzleSystemCmdSet: commands to create, arm and resolve puzzles.
2018-09-02 15:38:17 -05:00
Henddher Pedroza
ad295e8d3e
Code review: succint and pythonic statements
2018-08-23 20:44:31 -05:00
Henddher Pedroza
d98599621b
#1459 : force evform.raw_form to have all lines of the same length - effectively a rectangle
2018-08-21 19:54:26 -05:00
Griatch
a53957096f
Merge pull request #1645 from FatherGrishnak/patch-1
...
Update to fix #1644
2018-08-16 21:06:27 +02:00
FatherGrishnak
da4f8f2358
Update manager.py
2018-08-15 00:55:13 +00:00
Griatch
acffae8e37
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
5175a61ed9
Update to fix #1644
2018-08-14 08:31:09 +00:00
Aris (Karim) Merchant
8721ac227e
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
2cf26e9d09
Merge pull request #1639 from bookofportals/fix-docker-ps
...
Add procps dependency to Dockerfile
2018-07-31 11:47:25 +02:00
Griatch
075288cf67
Merge pull request #1640 from bookofportals/command-callable-check
...
Change callability check
2018-07-31 09:09:50 +02:00
Aris (Karim) Merchant
7f9a2930ad
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
7e6fa58260
Merge branch 'master' into fix-docker-ps
2018-07-28 16:47:49 -07:00
Griatch
4d2ce107d4
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
78e84200c5
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
f21d625ae2
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
37e2e309ef
Fix to redirect default at_first_login msg to right session
2018-07-21 14:13:58 +02:00
Griatch
c063a5afb2
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
040a94b1ee
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
1872153c55
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
2cf8f3a97b
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
df866fb3f3
Add annotate method to TypedManager to filter by typeclass appropriately.
2018-06-28 08:23:52 -04:00
Griatch
8d8adbbc77
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
a6d0802202
Move query/unpickling out of loop for mutelist.
2018-06-19 04:12:46 -04:00
Griatch
1c9cce7c2f
Backport inlinefunc regex update from develop olc branch. Resolves #1498 .
2018-06-17 01:26:18 +02:00
Griatch
199325abaf
Clarify channel log rotate setting is in bytes
2018-06-13 00:55:44 +02:00
Griatch
3931d877ae
Merge pull request #1626 from TehomCD/fix_saverlist_add
...
Fix __add__ in SaverList
2018-06-12 19:00:40 +02:00
Griatch
831f2baacd
Merge pull request #1621 from TehomCD/fix_duplicate_scripts
...
Fix duplicate script calls
2018-06-12 18:59:51 +02:00
Griatch
b8e71fdeaf
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
26205acc39
Fix __add__ in SaverList
2018-05-29 23:05:34 -04:00
Tehom
058c65074e
Handle scripts with negative intervals.
2018-05-10 19:40:58 -04:00
Tehom
9ee420458c
Fix paused tasks.
2018-05-10 19:30:58 -04:00
Tehom
59d136f405
Add special handling for scripts when flushed from cache to avoid duplicate ExtendedLoopingCalls.
2018-05-10 19:23:59 -04:00
Griatch
5335f21718
Update CODING_STYLE.md
2018-04-25 21:53:28 +02:00
Tehom
ebf0fcf0e3
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
24fc553784
Make EvTable respect col-widths while retaining total table width.
...
Resolves #1614 .
2018-04-22 14:50:17 +02:00
Tehom
b34920059b
Add yet more hyphens.
2018-04-22 07:37:14 -04:00