Commit graph

4588 commits

Author SHA1 Message Date
BlauFeuer
ac41b427c3 class var options renamed switch_options 2018-03-05 14:32:52 -05:00
BlauFeuer
126960f146 class var options renamed switch_options 2018-03-05 14:30:37 -05:00
BlauFeuer
546927dd74 Addresses requested changes + shim code
class variable name changes handled by shim
2018-03-05 14:08:10 -05:00
BlauFeuer
111b1c5136 Merge branch 'develop' into develop-muxcommand 2018-03-05 13:36:39 -05:00
Griatch
38a81486e2 Merge branch 'master' into develop 2018-03-03 18:50:43 +01:00
Griatch
2bc87c0b0d Fix a teleport example missing = 2018-03-03 18:32:39 +01:00
Griatch
b704363cf7 Allow nick command to list individual nicks 2018-03-03 18:32:39 +01:00
Griatch
bbe4a6925a Fix a teleport example missing = 2018-03-03 18:30:48 +01:00
Griatch
4eb38e2b69 Fix unittests 2018-03-03 11:24:20 +01:00
Griatch
3e5f2ef68a Clarify nick-deletion mechanism 2018-03-03 11:01:31 +01:00
Griatch
11ddd26c7e Add nick-command to account cmdset 2018-03-03 11:01:31 +01:00
Griatch
11965a1c34 Store all nicks on caller (don't store 'account-nicks' on caller.account) 2018-03-03 11:01:31 +01:00
Griatch
dbb5373523 Allow nick command to list individual nicks 2018-03-03 11:01:31 +01:00
Griatch
48e35bfbe4 Remove mutual exclusivity between value/strvalue when searching for Attributes with manager 2018-03-03 11:01:31 +01:00
Griatch
6479e445a5 Make get_attribute/tag manager methods return querysets 2018-03-03 11:01:31 +01:00
Griatch
d5c1e53060 Don't allow those with 'edit' access to obj to change the 'control' lock. 2018-03-03 11:01:31 +01:00
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