Commit graph

182 commits

Author SHA1 Message Date
Griatch
4619dc8818 Fixes in SubscriptionHandler; return subs ordered by pk. 2023-10-01 10:49:42 +02:00
Owllex
5d53e8002e Fix issue with channel nick aliases. 2023-02-25 13:19:00 -08:00
Griatch
0af1bf7561 Better handle malformed regex in nickreplace 2023-01-15 22:33:09 +01:00
Griatch
3ba6bc5468 Add attr= support to create_channel. Resolve #3078 2023-01-15 14:26:31 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Owllex
65ed5d29df Change default ID field to be BigAutoField.
* Add relevant migration files for all apps.
2022-10-31 13:13:02 -07:00
Griatch
43378b4c41 Ran black on sources 2022-09-18 23:58:32 +02:00
Griatch
ef7280f55a Add TagProperty, AliasProperty, PermissionProperty. Default autocreate=True for AttributeProperty. 2022-04-09 15:56:24 +02:00
Griatch
5af84817b5 Update doc strings for DefaultChannel 2022-03-27 18:04:40 +02:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
9c0b44e13a Homogenize manager search methods to return querysets. Resolve #2384. 2022-01-09 17:13:24 +01:00
Griatch
01af303457 Examine-cmd support for script/channels. Resolve #2375. 2022-01-09 14:13:22 +01:00
Griatch
e70337b6d2 Move create methods into managers, leave utils.create as wrappers.
Resolve #2118.
2022-01-09 00:30:32 +01:00
Griatch
19f920b6d4 Clean up all test suites 2022-01-07 16:12:12 +01:00
Griatch
58f86fd3d7 Make common typeclass.delete return True/False to match Object.delete api for consistency. Resolve #2398 2021-11-03 23:20:00 +01:00
Griatch
a51e4af609 Change to MyST parser 2021-10-26 21:31:20 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
1bdcafcef4 Migrating models, many admin tweaks 2021-05-20 23:43:46 +02:00
Griatch
d11ab6d0ee Start cleaning up the admin 2021-05-19 20:33:33 +02:00
Griatch
8e02be23e4 Trying to relocate admin (not working yet) 2021-05-16 23:40:31 +02:00
Griatch
ac459572f5 Add Msg.db_receiver_external field. Resolve #2193. 2021-05-15 09:12:42 +02:00
Griatch
e38604ab02 Clean up Msg objects 2021-05-15 00:33:11 +02:00
Griatch
3218d74381 Run migrations! Added data migration for channel aliases 2021-05-14 23:39:42 +02:00
Griatch
51bef9bf97 Move alias/connect setup to channel class rather than cmd 2021-05-14 21:53:23 +02:00
Griatch
adf484b9df Add channel sub-permission checks for admin/manage switches 2021-05-11 23:19:09 +02:00
Griatch
b9f0af6413 Fix error in Msg manager search 2021-05-10 22:20:30 +02:00
Griatch
7e2a446bda Added new docs for Channels and Msg 2021-05-09 22:37:43 +02:00
Griatch
43651ac867 Allow sending channel message without = for non-space targets 2021-05-09 17:43:28 +02:00
Griatch
858d00c853 Move calling of channel-msg hooks to channel side 2021-05-09 17:01:26 +02:00
Griatch
a95d801b1e Remove channelhandler 2021-05-08 16:30:17 +02:00
Griatch
3c4578b648 Add working unit tests for new channel command 2021-04-22 21:21:58 +02:00
Griatch
6d973f3617 Continuing implementing new channel command 2021-04-14 22:44:11 +02:00
Griatch
2776aa2e20 Adding a new central channel command 2021-04-13 23:56:53 +02:00
Griatch
25e7e5a500 First version of refactored channel hooks 2021-04-11 21:43:21 +02:00
Griatch
48ebe5e3c2 Start refactoring channels 2021-04-11 16:17:02 +02:00
Griatch
d88431b8d3 Merge branch 'master' into develop 2021-01-18 21:35:48 +01:00
Tim Chaplin
9923a0763d Make more commands honor settings.COMMAND_DEFAULT_CLASS
As suggested in mygame\commands\command.py, I'm overriding COMMAND_DEFAULT_CLASS in settings.py to try to make sweeping changes. Having certain commands inherit directly from the base Command class thwarts this.

The only difference between Command and MuxCommand is that MuxCommand defines some custom parsing, but that's overridden by these commands anyway, so there should be no practical difference.

The import change in game_template/commands/command.py was required to fix an exception on server reload caused by the channelhandler.py change (I guess something to do with import order?)
2020-12-27 11:45:25 -05:00
Griatch
8b28900600 Ran black on sources 2020-10-21 21:11:04 +02:00
Griatch
b449ebe3d4 Fix style to Keyword Args 2020-10-12 21:13:06 +02:00
Griatch
90a1a0cba8 Resolve merge conflicts 2020-10-08 23:35:31 +02:00
Griatch
d414cc3ccd Start add docs again 2020-10-08 21:45:18 +02:00
ChrisLR
927130a983 Adds tests for Channels wholist property 2020-10-08 13:59:25 -04:00
Griatch
90e149dc27 Resolve merge conflicts 2020-07-18 23:30:23 +02:00
Griatch
f615886d24 Add unittest for Attr/Tag.batch_add, clarify docstrings. Resolves #2125 2020-07-18 23:10:46 +02:00
Griatch
08190a7ff4 Ensure uniqueness of Msg sender_strings list. Resolves #2127. 2020-07-18 22:47:40 +02:00
Griatch
e5b96a2b79 Add tags= keywords to all create functions, with unit tests. Resolves #2160 2020-07-18 21:36:03 +02:00
Griatch
7fed14d233 Rename docstring Kwargs to Keyword Args 2020-07-10 15:57:57 +02:00
Jaidyn Ann
0d6988244b comms i18n 2020-04-15 21:12:42 -05:00
Griatch
23cbacfa5e Remove duplicate dbref implementation in comms-manager. Resolves #2054 2020-02-12 23:19:20 +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