Commit graph

7331 commits

Author SHA1 Message Date
Johnny
2be80d0a12 Integrates new Throttle with unconnected Commands; rate limits new account creation (partial fix for #1523). 2018-09-21 17:39:51 +00:00
Johnny
79a12a38d6 Further improvements; Throttle maintains its own storage and no longer requires it to be supplied as an arg. 2018-09-21 17:38:31 +00:00
Johnny
0f3e0fadf7 Reimplements Throttle as a standalone class with improved memory management. 2018-09-21 00:29:52 +00:00
Johnny
ef6be02dee Adds test for Evennia validator. 2018-09-20 22:57:20 +00:00
Griatch
8a66b43a9b Resolve unit tests 2018-09-21 00:24:19 +02:00
Griatch
ecdca08385 Lots of bug fixes, still issues in prototype-update from menu 2018-09-21 00:05:23 +02:00
Johnny
a35539dbd6 Modifies CmdUnconnectedCreate, CmdPassword and CmdNewPassword to use Django password validation before modification. 2018-09-20 21:29:56 +00:00
Johnny
8d63f32d0f Forces validation on Account.set_password() and provides an Account.validate_password() method to validate passwords. 2018-09-20 20:37:48 +00:00
Johnny
682ef98ff6 Implements password validation via the native Django framework. 2018-09-20 00:06:09 +00:00
Griatch
56f90a0d4f Merge branch 'develop' of github.com:evennia/evennia into develop 2018-09-20 00:04:20 +02:00
Griatch
5699d38475 Clean actioninfo in menu between nodes 2018-09-20 00:01:53 +02:00
Griatch
329cb623e3 Fix unit tests 2018-09-19 23:49:46 +02:00
Griatch
09ee1a0269 Cleanup, bug fixes, refactoring 2018-09-19 22:51:27 +02:00
Henddher Pedroza
2700b4409e Add add/del(part) and add/del(results) switches to @puzzleedit to modify recipes 2018-09-18 22:46:01 -05:00
Henddher Pedroza
8cd3634fa7 Add use_success_location_message so contents of room 'see' puzzle solver succeeding. Add parts are interchangeable warning confirmation when new puzzle-recipe matches existing one. 2018-09-17 20:57:11 -05:00
Griatch
bde8281c1e
Merge pull request #1655 from strikaco/urlfix
Adds trailing slash to authenticate endpoint in urls.py to correct we…
2018-09-17 22:18:02 +02:00
Henddher Pedroza
d44552a229 Minor msg editing/formatting 2018-09-16 19:06:48 -05:00
Henddher Pedroza
f6b0ddca94 Add total recipes/armed-puzzles to @lspuzzlerecipes and @lsarmedpuzzles 2018-09-16 19:04:07 -05:00
Henddher Pedroza
b747aa0e05 Bump up coverage for puzzles module 2018-09-16 18:19:04 -05:00
Henddher Pedroza
f70b2b94dd Honor proto parts and results tags 2018-09-16 17:59:47 -05:00
Henddher Pedroza
b466177fc6 Remove one-to-one part/result to puzzle relationship based on puzzle_name. Instead, Tags puzzle_name:_PUZZLES_TAG_CATEGORY are used for matching. This allows to use older PuzzlePartObjects in newly created puzzles by adding the new puzzles' puzzle_name:_PUZZLES_TAG_CATEGORY tag to the old objects.
When creating proto parts and results, honor obj.home, obj.permissions, and obj.locks, and obj.tags
2018-09-16 17:25:57 -05:00
Henddher Pedroza
1c87107b9d Add @puzzleedit and puzzle.db.use_success_message so puzzle resolution message can be customized by builder 2018-09-15 21:08:48 -05:00
Henddher Pedroza
1de840514b E2E tests for puzzles 2018-09-15 12:02:22 -05:00
Griatch
ce4db6cbab Merge branch 'develop' into fix/prototyped-diff 2018-09-15 17:10:54 +02:00
Griatch
822f5f2f61 New version of prototype diff management 2018-09-15 17:10:50 +02:00
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
Griatch
7b4f6716d2 Minor refinement of code comment 2018-09-14 22:24:53 +02:00
Griatch
4a41719205 Merge branch 'force_pdb_up' of https://github.com/vlegoff/evennia into vlegoff-force_pdb_up 2018-09-14 22:15:54 +02:00
Griatch
dcc20270e0 Fix lockhandler import error 2018-09-14 22:12:12 +02:00
Vincent Le Goff
3ddd5ca517 Force evennia.set_trace() to go to the upper frame 2018-09-14 12:51:50 +02:00
Griatch
c23482bcf9 Starting to fix prototype diffs which don't work right 2018-09-14 08:47:46 +02: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
Johnny
0dafd056d3 Adds trailing slash to authenticate endpoint in urls.py to correct weird '/authenticatelogin' path. 2018-09-05 21:45:15 +00:00
Johnny
4ca4e9d52b Adds filtering for sparse values, better/recursive parsing of text field, and regex-based command detection. 2018-09-05 21:35:37 +00:00
Johnny
fa013c53f5 Fixes failing tests. 2018-09-05 21:35:29 +00:00
Johnny
da60d1ed45 Allows more configurable extensibility and addresses PR change requests. 2018-09-05 21:35:20 +00:00
Johnny
15d263cf3b Fixes broken coverage. 2018-09-05 21:35:09 +00:00
Johnny
ba9c3f9f81 Implements user input and server output auditing. 2018-09-05 21:35:02 +00:00
Griatch
87fb56f60a Add evennia.set_trace() for easy launch of debugger 2018-09-04 21:59:31 +02:00
Vincent Le Goff
e5771098b6 Update the building menu, following Griatch's feedback 2018-09-04 20:33:54 +02:00
Griatch
85ad1d14f4 Sync win/unix requirement files 2018-09-04 20:33:48 +02: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