Griatch
a461a97576
Format code imports
2022-11-10 22:21:12 +01:00
Griatch
a471f0fd86
Fix dungeon behavior
2022-07-24 20:26:41 +02:00
Griatch
a83f21ef2f
Apply black to cleanup code
2022-06-12 09:46:48 +02:00
Griatch
31b09754a1
Tests for is_ooc lockfunc
2022-03-01 20:20:44 +01:00
Griatch
34cb2af388
Add is_ooc lockfunc, because why not
2022-02-22 23:01:53 +01:00
Griatch
bd3e31bf3c
Run black reformatter on code
2022-02-08 13:03:52 +01:00
Griatch
5859de7054
Change to use super() instead of the old py2 style everywhere
2022-01-26 21:51:55 +01:00
Griatch
19f920b6d4
Clean up all test suites
2022-01-07 16:12:12 +01:00
Griatch
0556f527fe
Add .permissions.check() to easily do straight perm-checks without lockstrings
2021-10-09 16:23:13 +02:00
Griatch
8497dfa933
Check non-hierarchical perms on both account and puppet. Resolve #2351 .
2021-08-07 09:32:46 +02:00
Griatch
8837b93dd2
Update localization
2021-05-29 13:22:19 +02:00
Griatch
7ff8cbb341
I18n string cleanup and refactoring
2021-05-27 17:37:26 +02:00
Griatch
4250ca1a29
Add api customization templates
2021-05-23 18:27:50 +02:00
Griatch
43d678d8ca
Fix bugs in API perm checking
2021-05-23 00:42:30 +02:00
Griatch
fcb6f19287
Reproduce latest PR fix for develop
2020-10-12 21:11:08 +02:00
Griatch
0df87037e7
Ran black on sources, add black config
2020-07-27 21:09:13 +02:00
Griatch
94cf728081
Merge changes from master
2020-07-15 18:07:45 +02:00
Griatch
fff80c4752
Make sure to strip key/value of whitespace in lockfunc kwargs. Resolves #2150
2020-06-28 17:09:41 +02:00
Griatch
a84843d314
Pass category from objtag lockfunc. Resolve #2149
2020-06-28 11:22:07 +02:00
Griatch
345c91e35a
Resolve merge conflicts
2020-05-18 22:52:49 +02:00
Griatch
935c2c6eff
Test tag error claim of #2139
2020-05-18 20:38:04 +02:00
Griatch
8b2b23873f
Run black on sources
2020-04-20 23:39:09 +02:00
trhr
f088207091
fixing fstring
2020-04-16 06:14:03 -05:00
trhr
0f8c0ad9bf
fixing fstring
2020-04-16 05:53:51 -05:00
Griatch
27babf4469
Add inside_rec lockfunc. Resolves #1618
2020-02-17 01:11:31 +01:00
trhr
090157979b
django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: django.utils.translation.gettext(), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy().
2020-02-09 20:14:47 -06:00
Griatch
69d85bd184
Make scripts/objects lists use EvMore. Change EvMore to not justify by default.
2020-01-11 15:49:12 +01:00
Griatch
2676f4574e
Fix stupid bug in holds() lockfunc
2020-01-07 10:16:21 +01:00
Griatch
4ea6209123
Ran black on branc
2019-12-16 20:31:42 +01:00
Griatch
c2c7fa311a
Format code with black. Add makefile to run fmt/tests
2019-09-28 18:18:11 +02:00
Greg Taylor
5e1a672fc2
Remove builtins imports
...
This module is not intended to be used directly in most cases, per:
https://docs.python.org/3/library/builtins.html
None of our usages warrant the explicit import. We also avoid some
confusion as folks dig to see what we are doing to require
importing builtins directly.
2019-09-15 20:29:59 -07:00
Griatch
ed187ad05f
Various fixes from game jam
2019-05-14 10:33:31 +02:00
Griatch
ebb2fb6c1c
Clean up with 2to3
2018-10-13 19:43:17 +02:00
Griatch
72f4fedcbe
Merge with develop and fix merge conflicts
2018-10-01 20:58:16 +02:00
Griatch
6a90ccd0af
Fix lockhandler import error
2018-09-14 22:12:12 +02:00
Griatch
566481310c
Update CHANGELOG, delay import of dummy handler
2018-08-31 09:57:24 +02:00
Griatch
4f72f0ccbb
List lockfuncs in menu, more elaborate doc strings
2018-07-24 20:48:54 +02:00
Griatch
116f6e7505
Fix unittests, resolve bugs
2018-06-10 20:00:35 +02:00
Griatch
054cba42bf
Refactor prototype-functionality into its own package
2018-06-06 19:15:20 +02:00
Griatch
d71b281b56
Merge with develop branch, resolve conflicts
2018-05-09 17:39:10 +02:00
Griatch
2f985c882b
Fix lockhandler singleton implmentation with a dummyobj
2018-04-25 22:34:33 +02:00
Griatch
c9ecd3b997
Add check_lockstring as a function in locks/lockhandler.py
2018-04-22 22:28:43 +02:00
Griatch
641ea746a5
Further stabilizing of spawner storage mechanism and error checking
2018-03-18 17:28:52 +01:00
Griatch
0967c9f668
Add lockhandler.append to update lock string
2018-03-18 16:31:01 +01:00
Griatch
3b7648ec0e
Correct bugs in lock-handling, add more unit tests
2018-02-03 01:17:52 +01:00
Ryan Stein
7d524ac328
Unwrap for expressions in comprehensions, too.
2017-11-02 22:52:16 -04:00
Ryan Stein
6fa280b9fd
Run 2to3.
2017-10-29 13:40:30 -04:00
Griatch
b737c209b1
Correct lockhandler's handling of lock-lists
2017-08-31 20:58:34 +02:00
Griatch
92df3ce5ae
Structure handlers to allow .get() to return lists
...
See #1154 . In the end I didn't modify the Attributehandler and
TagHandler like this, instead I added the `return_list` argument
for cases when one wants a guaranteed return.
2017-08-27 14:56:05 +02:00
Griatch
b278337172
Make PEP8 cleanup of line spaces and character distances as well as indents
2017-08-19 23:16:36 +02:00