Commit Graph

1586 Commits

Author SHA1 Message Date
John Reese
fdff38f0e6 Fix #1133: Add MinClients option to simple_away
This adds a new option and command to the module, "MinClients", that
specifies the minimum number of clients that must be connected for the
module to considered the user as available.  If fewer clients are
connected than the minimum, the user will be marked away, even if there
are still clients attached.  The default value is "1", which replicates
the existing behavior of the module.

To modify the MinClients value, `/msg *simple_away MinClients [<value>]`
is available.  Running the command without parameters will display the
current value instead of modifying it.
2015-10-12 17:54:17 -07:00
Alexey Sokolov
9f151c5bc9 Merge pull request #1130 from Zarthus/alias-dump-command
alias: add 'dump' command to copy your config between users.
2015-10-02 20:53:34 +01:00
Jos Ahrens
9f63a491af Fixes a weird sentence in clientnotify syntax help. 2015-10-02 19:40:20 +02:00
Jos Ahrens
a83aedd932 alias: add 'dump' command to copy your config between users.
This fixes issue znc/znc#1114 - and also a small consistency fix
2015-09-27 13:24:04 +02:00
J-P Nurmi
e879203d54 Merge branch '1.6.x'
Conflicts:
	modules/bouncedcc.cpp
2015-09-20 23:36:44 +02:00
Mikaela Suomalainen
c8ab811a29 cert: add description for the "info" command 2015-09-20 23:31:37 +02:00
J-P Nurmi
f4c22aff6c Incorporate CIRCSock::ForwardRaw353() into CClient::PutClient() 2015-09-20 23:22:02 +02:00
J-P Nurmi
439ea98da9 crypt: add missing override [-Winconsistent-missing-override] 2015-09-20 23:18:31 +02:00
Alexey Sokolov
3032664a65 Merge pull request #813 from anthonyryan1/master
Expand crypt module to cover Notices, Actions & Topics
2015-09-20 19:36:44 +01:00
Anthony Ryan
baeb1daa69 Expand crypt module to cover Notices, Actions & Topics
Improves compatibility with mircryption.
2015-09-20 14:14:26 -04:00
J-P Nurmi
3c2ec45d4c Fix more warnings [-Winconsistent-missing-override] 2015-09-20 17:30:48 +02:00
Alexey Sokolov
9493964a3d Merge pull request #1087 from Mikaela/route_replies
route_replies: make the timeout error more clear
2015-09-20 15:16:13 +01:00
Alexey Sokolov
073e538094 Merge pull request #1104 from Mikaela/module-descriptions
Add descriptions for missing commands in lastseen & certauth & route_replies
2015-09-20 15:14:14 +01:00
Mikaela Suomalainen
f1cc0e4492 lastseen & certauth & route_replies: add missing descriptions 2015-09-20 16:28:50 +03:00
Mikaela Suomalainen
535d28bf32 route_replies: make the error more clear 2015-09-20 16:27:31 +03:00
J-P Nurmi
078eef5ba9 partyline: send RPL_ISUPPORT regardless of network or IRC connection
The behavior of IRC clients is unpredictable if they don't get the
appropriate CHANTYPES for partyline channels. Thus, send RPL_ISUPPORT
with the appropriate CHANTYPES also when a client is not connected to
a network, or when the network is not connected to IRC.
2015-09-20 02:19:58 +02:00
J-P Nurmi
c0f6b68c05 Merge branch '1.6.x' 2015-09-20 02:19:46 +02:00
Mikaela Suomalainen
f54ad1f220 perform: say "number" instead of "nr"
I think it's inconsistent that perform uses abbreviation "nr" of "number"
while it talks about "command" instead of "cmd".
2015-09-19 16:32:40 +02:00
J-P Nurmi
74f6d3839b Merge branch '1.6.x' 2015-09-17 23:18:20 +02:00
KindOne
6aed12f17d autovoice: Check for autovoices when we are opped.
Fixes #120
2015-09-17 23:17:00 +02:00
J-P Nurmi
db64e34e28 Merge branch '1.6.x' 2015-09-09 18:49:47 +02:00
Jos Ahrens
b67f9182d6 Fix stickychan joining inaccessable channels.
Channels that raise this error are unlikely to ever be unblocked,
either due to a jupe, or because the name contains illegal characters.
2015-09-09 18:47:56 +02:00
J-P Nurmi
795ea45f69 CIRCSock::ForwardRaw353(): use CMessage 2015-09-07 00:00:24 +02:00
J-P Nurmi
ce0ddd3aac Merge pull request #1059 from jpnurmi/networklesshooks
Don't require network for OnUserXxxMessage() hooks
2015-09-04 23:29:49 +02:00
J-P Nurmi
81e6d0bbf2 Don't require network for OnUserXxxMessage() hooks
- OnUserJoinMessage()
- OnUserPartMessage()
- OnUserTopicMessage()
- OnUserActionMessage()
- OnUserCTCPMessage()

Supersedes #503
2015-09-02 23:46:05 +02:00
J-P Nurmi
2b18d6ee38 Merge pull request #1020 from jpnurmi/traffic
Calculate per-network traffic (#963)
2015-09-02 01:01:13 +02:00
Chris Tyrrel
c2626f6052 ControlPanel: Move syntax of GetNetwork and SetNetwork 2015-08-30 11:19:21 -06:00
Andreas Lutro
3a3155f9d5 make adminlog path customizable
Close #1001
2015-08-24 20:12:15 +01:00
reality
c95621dc48 Extend awaystore with -chans option, which records channel hilights to the awaystore as well as only PMs.
Close #851
2015-08-23 22:33:55 +01:00
Toon Schoenmakers
03e3920ced Add options for log module to hide joins, quits and nick changes.
Fix #601
Close #613
2015-08-23 21:20:36 +01:00
Alexey Sokolov
1a574f95ae Merge pull request #978 from alprs/log-timestamp
log: Add -timestamp option (cont.)
2015-08-23 20:38:42 +01:00
Andreas Lutro
c2201a59d6 work on log module argument parsing 2015-08-23 20:17:44 +02:00
Alexey Sokolov
baa51aa4b8 Merge branch 'pyeval' 2015-08-23 18:20:41 +01:00
Alexey Sokolov
01c73ff5f0 Move pyeval module to the right place.
Also make 'network' work better when pyeval is a user module.
2015-08-23 18:18:25 +01:00
Alexey Sokolov
e93b029a3a Link modules against libznc.dll.a on cygwin instead of cygznc-1.7.dll, as it's being built now anyway. 2015-08-22 13:05:57 +01:00
Alexey Sokolov
4aba9fed17 Fix znc-buildmod on cygwin when installed to not /usr
1. Use import library, so don't require -L/bin anymore
2. Move -lznc from LDFLAGS to LIBS
3. Fix variables in znc-buildmod. It worked before only because
   ${exec_prefix} was resolving to empty string, and /bin == /usr/bin on
   cygwin.
2015-08-22 12:42:28 +01:00
J-P Nurmi
013203cfb5 webadmin: make the traffic info page visible for non-admins 2015-08-22 01:59:08 +02:00
J-P Nurmi
c36aa6c832 webadmin: show per-network traffic info
Close #963
2015-08-22 01:27:24 +02:00
J-P Nurmi
d19a040f2d Remove flawed Add/Del/List/BindHost(s) (close #983) 2015-08-17 15:35:29 +02:00
J-P Nurmi
c17c8c022b Buffer message tags and the original timestamps 2015-08-15 12:28:38 +02:00
J-P Nurmi
645fa855e0 webadmin: allow reseting chan buffer size by entering an empty value 2015-08-14 19:35:24 +02:00
Chris Tyrrel
bfab89edba webadmin: renamed chan setting 'buffer' to 'buffersize'
close #1029
2015-08-14 19:03:12 +02:00
Chris Tyrrel
ae0d0937e2 controlpanel: renamed chan setting 'buffer' to 'buffersize'
close #1029
2015-08-14 19:03:07 +02:00
J-P Nurmi
76ac81c032 webadmin: C++11 range-based for loops 2015-08-13 19:45:08 +02:00
J-P Nurmi
fdebdac32b modules_online: C++11 range-based for loops 2015-08-13 17:51:47 +02:00
J-P Nurmi
0188281f58 perform: C++11 range-based for loops 2015-08-13 17:51:47 +02:00
J-P Nurmi
ae1d73fc56 savebuff: C++11 range-based for loops 2015-08-13 17:51:47 +02:00
J-P Nurmi
46a0807d5b stickychan: C++11 range-based for loops 2015-08-13 15:22:55 +02:00
J-P Nurmi
c920282fd1 sasl: C++11 range-based for loops 2015-08-13 15:21:12 +02:00
J-P Nurmi
0e0cbba158 autovoice: C++11 range-based for loops 2015-08-13 13:51:37 +02:00