Commit graph

7431 commits

Author SHA1 Message Date
Griatch
77fe9b884d Link to new doc page 2021-10-30 22:38:04 +02:00
Griatch
6e99239370 Add pronoun parsing for msg_contents inlinefuncs 2021-10-30 22:36:40 +02:00
Griatch
8266c4235b Update in-game links 2021-10-26 22:50:19 +02:00
Griatch
2bfd188718 Change to doc deploy script 2021-10-26 22:32:04 +02:00
Griatch
c9628a276a Further fixes to DefaultObject.search string 2021-10-26 22:01:39 +02:00
Griatch
661a346723 Update DefaultObject.search docstring. Resolve #2264. 2021-10-26 21:54:42 +02:00
Griatch
0b97708614 Merge branch 'develop' of github.com:evennia/evennia into develop 2021-10-26 21:41:37 +02:00
Griatch
f2e27f2a59 Fix doc makefile 2021-10-26 21:34:32 +02:00
Griatch
9af6168357 Merge branch 'master' into develop 2021-10-26 21:32:58 +02:00
Griatch
e89ca2c3e6 Convert master docs to use MyST 2021-10-26 21:32:09 +02:00
Griatch
b69d056ef2 Change to MyST parser 2021-10-26 21:31:20 +02:00
Griatch
dd95de145e
Merge pull request #2576 from Henddher/issue_2519
Addition of test for persisted field of type dictionary.
2021-10-24 19:10:49 +02:00
Griatch
4d61968925
Merge pull request #2574 from Henddher/broken_crafting_test
Fixes broken tests in crafting contrib.
2021-10-24 19:08:20 +02:00
henddher
c15687fcb7 Addition of test for persisted field of type dictionary. 2021-10-22 17:31:32 -05:00
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