Griatch
|
48ebe5e3c2
|
Start refactoring channels
|
2021-04-11 16:17:02 +02:00 |
|
Griatch
|
b449ebe3d4
|
Fix style to Keyword Args
|
2020-10-12 21:13:06 +02: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 |
|
Griatch
|
69d85bd184
|
Make scripts/objects lists use EvMore. Change EvMore to not justify by default.
|
2020-01-11 15:49:12 +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
|
bd33886cc0
|
Remove uses of the 'future' py2->3 module
This is no longer needed, now that we are Py3.7+ only. One
layer of indirection removed, and one less dependency.
|
2019-09-15 00:18:56 -07:00 |
|
Griatch
|
098af3caba
|
Move globalhandler into utils.containers, make settings format more flexible, default to base typeclass, add helper functions and some more lenient error handling
|
2019-04-14 11:24:45 +02:00 |
|
Griatch
|
6844097322
|
Convert to_str to to_bytes
|
2019-01-15 21:03:42 +01:00 |
|
Griatch
|
981119b640
|
Fix merge conflicts
|
2019-01-01 15:19:20 +01:00 |
|
Johnny
|
9ad162ec2c
|
Adds web_get_*_url methods to Channel typeclass.
|
2018-10-28 13:11:23 +00:00 |
|
Johnny
|
c9ddef316f
|
Adds object auditing options to DefaultChannel.
|
2018-10-17 21:37:49 +00:00 |
|
Johnny
|
06fe77a6ef
|
Adds create() method to DefaultChannel object, and unit test.
|
2018-10-17 20:26:51 +00:00 |
|
Griatch
|
72f4fedcbe
|
Merge with develop and fix merge conflicts
|
2018-10-01 20:58:16 +02:00 |
|
Griatch
|
63cae2b187
|
Merge branch 'master' into develop
|
2018-07-21 14:14:43 +02:00 |
|
Tehom
|
fb481c98fb
|
Move query/unpickling out of loop for mutelist.
|
2018-06-19 04:12:46 -04:00 |
|
Griatch
|
84f7fbdd37
|
Add DefaultChannel.basetype_setup and add default locks, empty at_channel_creation to avoid having to use super()
|
2018-02-08 22:46:14 +01:00 |
|
Ryan Stein
|
cd21fb2396
|
Use Python 3's new super() convention.
|
2017-11-02 10:41:41 -04:00 |
|
Ryan Stein
|
6fa280b9fd
|
Run 2to3.
|
2017-10-29 13:40:30 -04:00 |
|
Griatch
|
b278337172
|
Make PEP8 cleanup of line spaces and character distances as well as indents
|
2017-08-19 23:16:36 +02:00 |
|
Griatch
|
5590ee2258
|
Rename all instances of Player->Account.
|
2017-07-07 23:47:21 +02:00 |
|
Griatch
|
0ff1718437
|
Resolve django 1.11 migration errors.
|
2017-06-17 22:15:00 +02:00 |
|
Tehom
|
27c72d7899
|
Decided to remove setting because it seemed unnecessary when this was the purported default behavior anyway. It makes sense that if they want to send to offline, they'd override the option to be True in their channel typeclasses. At least that's my thinking, maybe I'm off base. Remove docstr line that says online arg is not currently used.
|
2017-05-20 23:33:39 -04:00 |
|
Tehom
|
f9c369f869
|
Add method to subscription handler to check online members, and put check in Channel typeclass for using this based on settings option.
|
2017-05-20 23:18:26 -04:00 |
|
Griatch
|
f9e7b01f57
|
Add **kwargs options to at_* hooks to all typeclasses, for greater flexibility for users. Resolves #1276.
|
2017-04-20 20:58:35 +02:00 |
|
BlauFeuer
|
f857a43f4b
|
Markup update, docstring and whitespace fixes
|
2017-02-19 09:46:43 +01:00 |
|
Griatch
|
02a4ac5231
|
Fix bug in latest push.
|
2017-02-04 16:49:29 +01:00 |
|
Griatch
|
628dd268f9
|
Make the at_channel_create method automatically add a new channel to the channelhandler.
|
2017-02-04 16:42:08 +01:00 |
|
Griatch
|
74eebfed6d
|
Refactor code to remove alerts as per lgtm and #1176.
|
2017-01-29 19:02:00 +01:00 |
|
Griatch
|
381e91b822
|
Made channel_prefix honor the emit keyword. Also corrected docstrings of message_transform to correctly note a Msg object is needed instead of a string.
|
2016-11-27 12:08:23 +01:00 |
|
Griatch
|
44e4ff4c1d
|
Change to use the subscriptionhandler in distribute_message to support both players and objects subscribing to channels.
|
2016-10-20 08:08:55 +02:00 |
|
Tehom
|
c32920999b
|
Fixed missing variable in formatting of disconnect string in delcom, made display of @channels more legible and display when someone is Muted rather than not subscribed. Refactored the 'who' list for channels to now be a property of the channel that returns a string of all the subscribers separated by commas, with those who are actively listening (not muted) in bold, and made both '@cwho' and 'allcom who' call to it.
|
2016-10-20 08:08:55 +02:00 |
|
Tehom
|
951cd60a6d
|
Okay, next try! I added 'on' and 'off' as arguments for the base channel command in channelhandler which allows you to unmute or mute the channel respectively, and added the mute and unmute methods to ChannelDB. distribute_message now checks for a subscriber being muted before passing along the message. Reverted the changes to the channel cmdset. Added the 'all' switch to delcom to allow for the deletion of aliases, otherwise it keeps the aliases intact for when they next join the channel.
|
2016-10-20 08:08:55 +02:00 |
|
Griatch
|
056fa5f3d2
|
Removed superfluous import.
|
2016-05-22 20:45:42 +02:00 |
|
Griatch
|
fd50eaddba
|
Fixed an error in channel.msg. Made sure to return a deferred from tail_log_file as its documentation suggests it should.
|
2016-05-22 20:45:42 +02:00 |
|
Griatch
|
5583a8d758
|
Made channels log to a log file by default. Added a default /history switch to the channel commands (for viewing past entries) and implemented a very efficient tail_log_file function to scan the log and display it.
|
2016-05-22 20:45:42 +02:00 |
|
Griatch
|
8448b513e1
|
Converted msg-arguments to options
|
2016-05-22 20:45:06 +02:00 |
|
Ahmed Charles
|
8a66fc40a9
|
Use with_metaclass from future.utils for python3 compat.
|
2015-11-01 15:11:12 +01:00 |
|
Russell Jones
|
06c3dc0ed3
|
Run "futurize -1 -w -n ."
|
2015-10-01 20:00:28 +01:00 |
|
Griatch
|
70762fb2be
|
Updated menu_login contrib to changes in default channel settings. Also made them aware of multisession modes. Resolves #754.
|
2015-06-03 23:08:10 +02:00 |
|
Griatch
|
8e134af019
|
API change: Added no_superuser_bypass kwarg to obj.access, channel.access and player.access methods, to make the call consistent with the full lockhandler.check call. This allows the cmdhandler to use access() to check the 'call' locktype and thus make it available for overloading if so desired. Resolves #752.
|
2015-06-01 20:32:52 +02:00 |
|
Griatch
|
e37079aa5b
|
Converted the comm system folder to use Google style doc strings, as per #709.
|
2015-05-16 11:04:30 +02:00 |
|
Griatch
|
e77d86a8f7
|
Moved default class import markers to base model.
|
2015-03-14 23:14:47 +01:00 |
|
Griatch
|
94778f1c44
|
Run migrations! Made Channel model also accept ObjectDB subscriptions.
|
2015-03-12 20:28:17 +01:00 |
|
Griatch
|
d752106906
|
Made typeclass loading a little more forgiving, adding a multitude of try-levels to fall back to in case of errors. Default is now to fallback to first settings-set default, then to the library default and only as a last resort fall back to the model. Every fallback step is logged. This should make the missing-hook error of #698 go away and report missing typeclasses in a better way.
|
2015-03-11 00:41:06 +01:00 |
|
Griatch
|
515ce71d65
|
Reworked Evennia now passes the unit tests
|
2015-01-09 00:10:18 +01:00 |
|