Griatch
07f55c8cb6
Make desc/set abide by edit/control locks
2018-03-03 11:01:31 +01:00
Griatch
9f7dcebc5b
Fix bug in accessing attribute through manager
2018-03-03 11:01:31 +01:00
Griatch
fcc103ecea
Add warning if Favico.js library is not reachable
2018-03-03 11:01:31 +01:00
Griatch
cbcb91f487
Catch the case of a prematurely deleted guest account. Resolves #1500 .
2018-03-03 11:01:31 +01:00
Nicholas Matlaga
5817c1b790
add in is_connected property to base objects
2018-03-03 11:01:31 +01:00
Nicholas Matlaga
861c722d30
Change if statement to better handle objects; move options dict before at_msg_receive call to allow channels to be known in hook
2018-03-03 11:01:31 +01:00
arumford
96ebe8d0f3
typo in docstring.
2018-03-03 11:01:31 +01:00
Griatch
223648782f
Allow nick command to list individual nicks
2018-03-03 10:12:34 +01:00
BlauFeuer
4df5b28721
Adds class var options, split to CmdGive +
...
docstring edit, options and docstring edit to CmdNick.
2018-03-02 08:02:31 -05:00
BlauFeuer
4b8000d88f
Adds class var options and split to CmdTeleport +
...
CmdSetObjAlias, CmdCopy, CmdCpAttr, CmdMvAttr,
CmdCreate, CmdDesc, CmdDestroy +docstring edits,
CmdDig, CmdTunnel, CmdFind, CmdScript, CmdTag,
CmdSpawn
2018-03-02 07:58:40 -05:00
BlauFeuer
5357028960
Adds options var to CmdBatchCommands, CmdBatchCode
2018-03-02 07:44:50 -05:00
BlauFeuer
3ee3335a3f
Add class var options to CmdExtendedDesc
...
Inherits from default_cmds.CmdDesc, but unused in
CmdExtendedDesc, so needs to be set empty.
2018-03-02 07:40:43 -05:00
BlauFeuer
f94a083846
Add class var options to CmdSetHelp
2018-03-02 07:38:37 -05:00
BlauFeuer
bd235315ab
Adds class var options to some comms commands
...
CmdCBoot + docstring Switches plural, CmdCemit, CmdPage,
CmdIRC2Chan, CmdIRC2Chan.
2018-03-02 07:37:33 -05:00
BlauFeuer
8cd21defca
Adds class var options to some system commands
...
CmdPy, CmdScripts, CmdService, CmdServerLoad and
plural of Switch is Switches in docstring
2018-03-02 07:31:33 -05:00
BlauFeuer
cd0283d4e7
Add options class var to some admin commands
...
CmdBoot, CmdDelAccount, CmdEmit + Docstring edit,
CmdPerm + Docstring edit.
2018-03-02 07:27:57 -05:00
BlauFeuer
e939ae8424
Added options class variable to CmdOption, CmdQuit
...
docstring Switch is plural for multiple Switches
2018-03-02 07:24:27 -05:00
BlauFeuer
d3a0c70945
Add tests for MUX command added feature
...
Shortened long lines, added tests with different parses
for MUX command added class vars: options and split
2018-03-02 07:22:26 -05:00
BlauFeuer
63718bb090
MUX command add optional self.option, self.split
...
These optional variables aid in parsing, if set.
self.options = (tuple of valid /switches expected by this command
self.split = Alternate string delimiter to separate left/right side.
2018-03-02 07:18:18 -05:00
BlauFeuer
a0626721fc
Mark print line as DEBUG
...
This debug line spams unit tests for comms.
Be sure to note for easy location for later removal.
2018-03-02 07:14:57 -05:00
Griatch
71b6e6cdea
Remove mutual exclusivity between value/strvalue when searching for Attributes with manager
2018-03-01 22:21:22 +01:00
Griatch
047e9f619a
Make get_attribute/tag manager methods return querysets
2018-03-01 21:56:40 +01:00
Griatch
1f1b355263
Don't allow those with 'edit' access to obj to change the 'control' lock.
2018-03-01 20:53:20 +01:00
Griatch
aa9663024c
Make desc/set abide by edit/control locks
2018-03-01 20:23:18 +01:00
Griatch
5b96b09bca
Fix bug in accessing attribute through manager
2018-03-01 20:13:36 +01:00
Griatch
037932aae2
Merge pull request #1552 from BlauFeuer/develop-locate
...
`@locate` alias of CmdFind shows location of find
2018-02-22 19:13:11 +01:00
Griatch
6101ee0a1c
Add warning if Favico.js library is not reachable
2018-02-21 20:34:29 +01:00
Griatch
9d3d627e22
Catch the case of a prematurely deleted guest account. Resolves #1500 .
2018-02-21 20:18:52 +01:00
BlauFeuer
998cc759d5
Add test for CmdFind locate alias and loc switch
2018-02-15 19:41:24 -05:00
BlauFeuer
f2e5e70d9b
Add loc switch to CmdFind and docstring
2018-02-15 17:25:01 -05:00
Griatch
7531e03064
Merge pull request #1571 from chainsol/fix_#1570
...
Change if statement in comms/models.py to fix #1570
2018-02-14 21:06:58 +01:00
Griatch
ad3c58e0da
Merge pull request #1565 from arumford/patch-2
...
typo in docstring.
2018-02-14 21:01:38 +01:00
Nicholas Matlaga
fad008d660
add in is_connected property to base objects
2018-02-13 12:54:03 -05:00
Nicholas Matlaga
11c9d60111
Change if statement to better handle objects; move options dict before at_msg_receive call to allow channels to be known in hook
2018-02-13 12:49:55 -05: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
Griatch
495078a49d
Resolve master merge conflicts
2018-02-08 21:10:23 +01:00
Griatch
827b7214cd
Start better handle a missing uid with auto-login (still issues)
2018-02-08 21:08:19 +01:00
Griatch
2e1ca526c6
Be more lenient with iterables sent to msg(text=..)
...
This will enforce that the text argument must either
be a string or a tuple.
2018-02-08 20:35:00 +01:00
arumford
c5e0c2321b
typo in docstring.
2018-02-07 14:22:38 -06:00
Griatch
8276bcd4dc
Merge branch 'develop' into get_by_tags
2018-02-03 19:42:40 +01:00
Griatch
56aeaf8486
get_by_tag manager can now query for multiple tag/category combinations
2018-02-03 19:42:24 +01:00
Griatch
039308b573
Start setting up unittests for typeclass tests
2018-02-03 16:34:12 +01:00
Griatch
ca9d13bb45
Merge branch 'master' into develop
2018-02-03 16:18:54 +01:00
Griatch
70dbaf8bf4
Update lock docstring. Closes #1563 .
2018-02-03 14:51:49 +01:00
Griatch
7e1057e74e
The at_say hook didn't forward the from_obj keyword to msg().
2018-02-03 11:13:01 +01:00
Griatch
3b7648ec0e
Correct bugs in lock-handling, add more unit tests
2018-02-03 01:17:52 +01:00
Griatch
3ae096859e
Not working. Tried a different query-setup unsuccessfully.
2018-02-01 21:28:35 +01:00
Griatch
daeaf6381a
Resolve merge conflicts
2018-02-01 17:59:55 +01:00
Griatch
756a921673
Merge branch 'master' into develop
2018-01-30 18:57:35 +01:00
Griatch
a74fd55c7b
Make FORCEDENDLINE default for clients we don't know for sure don't want a cr+nl at the end of the telnet line
2018-01-30 18:22:24 +01:00