Commit graph

7417 commits

Author SHA1 Message Date
henddher
1ebb41d592 Fixes broken tests in crafting contrib. 2021-10-22 16:43:16 -05:00
Griatch
8d5b48d4cc
Merge pull request #2563 from GulliblePsychologist/issue-2562
Webclient authentication sometimes fails (fixes #2562)
2021-10-14 21:22:41 +02:00
GulliblePsychologist
6b33d57b62 Fixes #2562 2021-10-14 01:11:17 +01:00
Griatch
8dca3895c0
Merge pull request #2560 from dimitrilw/dev-docs-fstrings
Dev docs fstrings
2021-10-13 00:01:19 +02:00
Griatch
cd2540b6aa Merge branch 'develop' of github.com:evennia/evennia into develop 2021-10-12 23:56:54 +02:00
Griatch
ae8a3b9a92 Add magic-crafting example to crafting readme. Resolve #2554 2021-10-12 23:52:52 +02:00
Dimitri
1a55462c51 Merge branch 'dev-docs-fstrings' of github.com:dimitrilw/evennia into dev-docs-fstrings 2021-10-12 12:13:51 -06:00
Dimitri
ee56cc8c5e correct typo "npt" -> "npc" 2021-10-12 12:13:42 -06:00
Dimitri
7e90599482 issue #2243 -- prefer f-strings over %-interpolation
edited docs to prefer f-strings, then str.format(), and remove %-interpolation

additional ad-hoc documentation fixes, as opportunities seen:
- replace Built-In Function (BIF) "min" variable with "mins"
- prefer BIF str(var) over "%s" % var
- reformat some code examples to clarify multiple args passed to functions
- change some single-quote strings to double-quotes for consistency
- fix mismatched parens

misc edits:
- add .vscode/ to gitignore
2021-10-12 12:13:42 -06:00
Dimitri
a15083413e correct typo "npt" -> "npc" 2021-10-12 12:11:14 -06:00
Griatch
9b9d198a4f
Merge pull request #2559 from dimitrilw/dev-i2262-docstring-location
Dev i2262 docstring location
2021-10-12 19:20:32 +02:00
Griatch
f1bfef0218
Merge pull request #2558 from dimitrilw/dev-docs-no-reuse-BIFs
Dev docs no reuse BIFs
2021-10-12 19:17:39 +02:00
Dimitri
809adcb9b1 Merge branch 'dev-docs-no-reuse-BIFs' of github.com:dimitrilw/evennia into dev-docs-no-reuse-BIFs 2021-10-12 07:14:42 -06:00
Dimitri
5cf651bef4 fix #2549 -- no reuse BIF names
- fixed docs to not demonstrate reuse of built-in function
  names "str" and "int", even when within a one-off script

- note: did *not* change the "str" and "int" shown in
  Howto/Starting/Part1/Learning-Typeclasses.md file,
  as those are class variables (i.e., Character.str and
  Character.int), which does not replace the BIFs of
  str() and int(). Therefore, methods inside the class
  can still use the python BIFs. While this is possibly
  confusing to new python programmers, it is also not
  within the scope of #2549.

misc edits:
- add .vscode/ to gitignore
2021-10-12 07:14:38 -06:00
Dimitri
ba404e432a Merge branch 'dev-docs-fstrings' of github.com:dimitrilw/evennia into dev-docs-fstrings 2021-10-12 07:14:18 -06:00
Dimitri
d25f6e4559 issue #2243 -- prefer f-strings over %-interpolation
edited docs to prefer f-strings, then str.format(), and remove %-interpolation

additional ad-hoc documentation fixes, as opportunities seen:
- replace Built-In Function (BIF) "min" variable with "mins"
- prefer BIF str(var) over "%s" % var
- reformat some code examples to clarify multiple args passed to functions
- change some single-quote strings to double-quotes for consistency
- fix mismatched parens

misc edits:
- add .vscode/ to gitignore
2021-10-12 07:14:04 -06:00
Dimitri
dfb6bb70db Merge branch 'dev-i2262-docstring-location' of github.com:dimitrilw/evennia into dev-i2262-docstring-location 2021-10-12 07:13:00 -06:00
Dimitri
a743a6dd01 issue #2262 -- add docstring for location arg 2021-10-12 07:12:12 -06:00
Griatch
9820bccc98
Merge pull request #2557 from dimitrilw/dev-fix-md-fmt-in-Links-doc
fixed broken links & nested bullets
2021-10-12 10:18:48 +02:00
Griatch
acf8f49665
Merge pull request #2556 from dimitrilw/dev-tweak-diku-users-helpfile
small edits to the Evennia-for-Diku-Users.md file
2021-10-12 10:15:43 +02:00
Dimitri
24b6718f0b fixed broken links & nested bullets 2021-10-11 09:45:59 -06:00
Dimitri
e0fa23f418 small edits to the Evennia-for-Diku-Users.md file
- fix demo C block's semicolons
- minor edits for readability
- punctuation tweaks
2021-10-10 15:17:50 -06:00
Dimitri
49d2c09acb issue #2262 -- add docstring for location arg 2021-10-10 13:28:27 -06:00
Dimitri
81e5f482ed issue #2243 -- prefer f-strings over %-interpolation
edited docs to prefer f-strings, then str.format(), and remove %-interpolation

additional ad-hoc documentation fixes, as opportunities seen:
- replace Built-In Function (BIF) "min" variable with "mins"
- prefer BIF str(var) over "%s" % var
- reformat some code examples to clarify multiple args passed to functions
- change some single-quote strings to double-quotes for consistency
- fix mismatched parens

misc edits:
- add .vscode/ to gitignore
2021-10-10 10:59:33 -06:00
Dimitri
e17e4f9b33 fix #2549 -- no reuse BIF names
- fixed docs to not demonstrate reuse of built-in function
  names "str" and "int", even when within a one-off script

- note: did *not* change the "str" and "int" shown in
  Howto/Starting/Part1/Learning-Typeclasses.md file,
  as those are class variables (i.e., Character.str and
  Character.int), which does not replace the BIFs of
  str() and int(). Therefore, methods inside the class
  can still use the python BIFs. While this is possibly
  confusing to new python programmers, it is also not
  within the scope of #2549.

misc edits:
- add .vscode/ to gitignore
2021-10-09 21:21:23 -06:00
Griatch
22cf6f2305 Make EvMore auto-exit and change display text. Resolve #2361. 2021-10-09 18:44:18 +02:00
Griatch
6b66b0f367 Refactor Permissions documentation 2021-10-09 17:21:37 +02:00
Griatch
fb9a274c20 Add strip_unsafe_input/INPUT_CLEANUP_BYPASS_PERMISSIONS helpers to strip unsafe input on a per-command level. Resolves #1738. 2021-10-09 16:27:58 +02:00
Griatch
3cb45a6cc4 Add .permissions.check() to easily do straight perm-checks without lockstrings 2021-10-09 16:23:13 +02:00
Griatch
6e9d32f78d Make @lazy_property handlers read/write protected to avoid common newbie mistakes, like assigning obj.locks = [] 2021-10-09 14:33:40 +02:00
Griatch
fae76d9a53 Add LOCALECHO client option for clients not supporting local echoing. Resolve #2258. 2021-10-09 00:36:17 +02:00
Griatch
a7b1ac9b23 Add confirm to set/edit for non-string Attributes. Resolves #2222 2021-10-09 00:11:30 +02:00
Griatch
a0bc874f0f Ask for confirm in default account creation. Resolves #1523 2021-10-08 22:46:50 +02:00
Griatch
5fcb8e9d32 Change assign to use .key instead of .name. Resolve #2530. 2021-10-08 01:06:50 +02:00
Griatch
25f793c964 Refactor return_apperance hook to make it easier to override. Resolves #2530, Resolves #2362. 2021-10-08 01:04:55 +02:00
Griatch
6940c4b8d6 Resolve merge conflict 2021-10-06 08:47:48 +02:00
Griatch
8822cd3cb0
Merge pull request #2546 from shaunoakenfull/2249
triple quotes
2021-10-06 08:46:40 +02:00
Griatch
40b5de8041 Merge branch 'master' into develop 2021-10-06 08:45:22 +02:00
Griatch
80cfd698a0
Merge pull request #2545 from shaunoakenfull/master
Fix typo in comment
2021-10-06 08:45:00 +02:00
Shaun Oakenfull
6444ad928a triple quotes
[Documentation] add triple quotes for docstring
2021-10-06 08:52:09 +10:00
Shaun Oakenfull
d32e32c534 Revert "add triple quotes for docstring"
This reverts commit c2973d953f.
2021-10-06 08:49:10 +10:00
Shaun Oakenfull
c2973d953f add triple quotes for docstring 2021-10-06 08:46:04 +10:00
Shaun Oakenfull
d40dcb26a2 Fix typo in comment
environments typo corrected.
2021-10-06 08:24:21 +10:00
Griatch
5301b50702 Merge branch 'master' into develop 2021-10-05 23:25:20 +02:00
Griatch
6908fec3d9 Up min Django version to 3.2. Update recommended. 2021-10-05 23:22:50 +02:00
Griatch
4f592e3bce Disable timekeeping test to work with slower CI build env 2021-10-05 22:20:14 +02:00
Griatch
a1882fde08 Move scipy requirement to requirements_extra.txt 2021-10-05 22:04:55 +02:00
Griatch
a515de966c Merge branch 'issue_2506' of https://github.com/Henddher/evennia into Henddher-issue_2506 2021-10-05 21:59:01 +02:00
Griatch
c4f0a7ff62 Merge branch 'master' into develop 2021-10-05 21:56:43 +02:00
Griatch
8f90bceb97
Merge pull request #2542 from Henddher/issue_2261
Issue 2261
2021-10-05 21:56:27 +02:00