Commit Graph

1378 Commits

Author SHA1 Message Date
J-P Nurmi
14e09e1a10 Retire awaynick (resolves #661)
== built-in awaynick ==

debug output on startup:

    [ .. ] Loading network module [awaynick]...
    [ !! ] Module [awaynick] aborted: retired module - see http://wiki.znc.in/awaynick
    [ .. ] Loading network module [simple_away] instead...
    [ >> ] [/Users/jpnurmi/znc/lib/znc/simple_away.so]

loadmod client command:

    <jpnurmi> loadmod awaynick
    <*status> Module [awaynick] aborted: retired module - see http://wiki.znc.in/awaynick

webadmin description:

    retired module - see http://wiki.znc.in/awaynick

webadmin load attempt:

    Unable to load module [awaynick] [Module [awaynick] aborted:
    retired module - see http://wiki.znc.in/awaynick]

== external awaynick ==

znc-buildmod:

    $ znc-buildmod awaynick.cpp
    Building "awaynick.so" for ZNC 1.5... [ ok ]

debug output on startup:

    [ .. ] Loading network module [awaynick]...
    [ >> ] [/Users/jpnurmi/.znc/modules/awaynick.so]

loadmod client command:

    <jpnurmi> loadmod awaynick
    <*status> Loaded module [awaynick] [/Users/jpnurmi/.znc/modules/awaynick.so]

webadmin description:

    Change your nick while you are away
2014-10-18 12:12:43 +02:00
Alexey Sokolov
e9ab3e2bcf Merge pull request #703 from jpnurmi/autoop
Fix #597: make autoop save added masks
2014-10-12 16:38:57 +01:00
Alexey Sokolov
241ccc1d70 Merge pull request #706 from jpnurmi/autoattach
fix #690: make autoattach a network module
2014-10-12 16:34:17 +01:00
J-P Nurmi
576f8d4689 fix #690: make autoattach a network module 2014-10-12 00:06:12 +02:00
J-P Nurmi
7b56f94b68 Fix #597: make autoop save added masks 2014-10-10 19:59:27 +02:00
J-P Nurmi
1bacec1dd3 Modules: use public API
Avoid accessing protected member variables directly, so
there's a chance of cleaning up the module API later.
2014-10-06 21:51:36 +02:00
J-P Nurmi
d9ae3fa7c8 controlpanel: rename GetUser() to FindUser()
Avoids conflict with CModule::GetUser()
2014-10-06 21:50:22 +02:00
Cameron Stephen
e570466683 Update Grammar on Modules section of ZNC. 2014-10-05 20:31:13 +02:00
Kyle Fuller
cf633ee435 [log] $WINDOW should be last because it could contain %
Thanks to @NuclearW for spotting
2014-09-30 18:28:20 +01:00
J-P Nurmi
6457bd6dc1 Fix #680 - make channels follow user-level settings when appropriate 2014-09-30 00:34:01 +02:00
Alexey Sokolov
439fd6d285 Merge pull request #679 from jpnurmi/setchan
controlpanel: allow wildcards for getchan & setchan
2014-09-28 21:22:10 +01:00
J-P Nurmi
a4b0bee2bc controlpanel: allow wildcards for getchan & setchan 2014-09-26 22:34:35 +02:00
NuclearW
65e99b8a98 Add ircv3.2 METADATA numerics to route_replies 2014-09-26 14:29:33 -04:00
Alexey Sokolov
97428ce8d4 Merge pull request #673 from Mkaysi/sasl
modules/sasl: disable DH-BLOWFISH & AES by default
2014-09-25 23:28:01 +01:00
Alexey Sokolov
669991f2d0 Merge pull request #639 from NuclearW/stickychan-reconnect
stickychan: Don't join channels when not connected.
2014-09-25 23:24:51 +01:00
Mikaela Suomalainen
acf2aa4700 modules/sasl: disable DH-BLOWFISH & AES by default
Atheme has dropped them in their git version.
https://github.com/atheme/atheme/commit/15f6d84

I would also like EXTERNAL to be trid by default, but \*Cert and \*CertFP
aren't so used and that wouldn't probably be accepted.
2014-09-16 13:57:08 +03:00
Alexey Sokolov
eb244ad2f5 Merge pull request #669 from jpnurmi/help
Allow wildcards in help command args
2014-09-13 23:41:56 +01:00
J-P Nurmi
956cdb4564 webadmin: add support for network specific quit messages (#273) 2014-09-13 23:53:08 +02:00
J-P Nurmi
364ac84642 controlpanel: add support for network specific quit messages (#273) 2014-09-13 23:44:55 +02:00
J-P Nurmi
69e65ea45e Allow wildcards in help command args
Supports the help command for *status, all modules that are using
CModCommand as appropriate, and *controlpanel get/set variables.
2014-09-13 22:46:54 +02:00
Mikaela Suomalainen
3f76b8fb1a log: use more clear defaults
Before log module creates everything in same directory and it gets messy
in some time.

Now log module creates directory in format $USER/$NETWORK/$WINDOW and
there log files for every day in ISO 8601 format, YYYY-MM-DD.log.
2014-09-13 15:53:32 +03:00
J-P Nurmi
7d9f0680c6 webadmin: combine "List Users" & "Add User"
Let add users via the list of users in the similar manner it’s
done for networks. It’s evidently an extra step to add a user,
but on the other hand it gives a nice overview of the users
when adding new ones, and leads to less clutter in the sidebar.
2014-09-07 20:43:29 +02:00
J-P Nurmi
713082ac3e webadmin: add missing page title
Makes sure "Traffic Info" shows up in the breadcrumbs.
2014-09-07 20:43:29 +02:00
J-P Nurmi
22d0fc4759 webadmin: cleanup unused variables 2014-09-07 20:43:26 +02:00
Alexey Sokolov
8ec2a0940c Merge pull request #629 from jpnurmi/help
Revise *status and *controlpanel help output
2014-09-07 16:24:49 +01:00
J-P Nurmi
df08352148 Revise *controlpanel help output
Make the output easier to read by wrapping mandatory argument names
with angle brackets (just like in *status help), and make it possible
to output help for given command(s). Furthermore, output only relevant
variable lists and align casing & arguments in general help & command
specific usage output.
2014-09-07 10:54:00 +02:00
J-P Nurmi
2e42f3103c Fix #624: Can´t rename network via webinterface 2014-09-06 23:15:50 +02:00
Alexey Sokolov
edf5e187a7 Merge pull request #633 from jpnurmi/flooddetach
flooddetach: add command "silent [yes|no]"
2014-09-05 21:52:11 +01:00
J-P Nurmi
5279bb62a0 flooddetach: add command "silent [yes|no]"
Inspired by the route_replis module. Resolves #591.
2014-09-04 10:01:11 +02:00
NuclearW
a1579b7ea4 Reset timer & return from away when a client does a CTCP ACTION 2014-08-28 13:59:54 -04:00
NuclearW
aa18818474 stickychan: Don't join channels when not connected.
When the connection is lost and znc is reconnecting, stickychan would continually try to join channels and spam messages.
2014-08-22 18:18:18 -04:00
Maks Naumov
42b0a794d9 bouncedcc: Fix test for "Connected" state 2014-08-20 11:16:34 +03:00
J-P Nurmi
44b10b5b97 flooddetach: make secs & lines commands rw
Improves the usability of the module.
2014-08-19 20:08:12 +02:00
J-P Nurmi
e5e0bb356e Refactor flooddetach to use command callbacks
This gives a proper help command "for free", and makes
it more pleasant to add new commands (silent) later.
2014-08-19 20:06:04 +02:00
J-P Nurmi
e48fe0a4fc controlpanel: make delchan support wildcards (resolves #609) 2014-08-18 22:27:06 +02:00
Alexey Sokolov
700c899698 Fix build on cygwin after switch to -std=c++11 2014-08-14 00:17:13 +01:00
Alexey Sokolov
3f87b2fdae Merge pull request #618 from DarthGandalf/cxx11
Enable C++11.
2014-08-11 21:36:56 +01:00
Alexey Sokolov
1f89b67a88 Enable C++11.
It bumps requirements for SWIG to 3.0.0, and for compiler.
2014-08-11 21:13:53 +01:00
Alexey Sokolov
f464066088 Merge pull request #616 from psychon/module-jobs2
Add support for CJob cancellation and necessary module support
2014-08-11 21:09:57 +01:00
Alexey Sokolov
83a25c5355 Merge pull request #598 from jpnurmi/query
Full-fledged query buffers
2014-08-07 20:44:11 +01:00
Uli Schlachter
5a6224d2b4 sample: Add an example for CModuleJob
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-08-06 23:31:26 +02:00
Uli Schlachter
970b802073 modpython, modperl: Parse all headers
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-08-06 14:50:59 +02:00
J-P Nurmi
287a020d21 savebuff: handle query buffers 2014-08-04 10:04:22 +02:00
J-P Nurmi
46bd6b05b2 clearbufferonmsg: handle query buffers 2014-08-04 10:04:22 +02:00
J-P Nurmi
2d532fb8b9 webadmin: add support for AutoClearQueryBuffer & MaxQueries 2014-08-04 10:04:21 +02:00
J-P Nurmi
5bed1e537c controlpanel: add support for AutoClearQueryBuffer & MaxQueries 2014-08-04 10:04:21 +02:00
NuclearW
6aaf3ba96a Add timestamp parsing to awaystore away messages
Pass the given reason through CUtils::FormatTime before setting it, allows use of strftime formatting in away messages.
2014-07-29 11:17:17 -04:00
NuclearW
658252948a Add numerics 307 and 379 to route_replies for whois
UnrealIRCd (at least version Unreal3.2.10+) sends numerics 307 and 379 on whois if the client is an IRCop.
These are non-rfc and they can be seen documented here: https://www.alien.net.au/irc/irc2numerics.html
2014-07-21 18:58:00 -04:00
Alexey Sokolov
b1b3888231 Merge pull request #590 from FruitieX/master
Use only lower case characters in log filenames
2014-07-21 23:14:24 +01:00
Rasmus Eskola
9670d0bdc0 make the log filename lower case always
this fixes an annoying bug where two separate log files will be written
if an irc client sends to channel #Foobar and another irc client sends
to channel #foobar.
2014-07-22 00:50:54 +03:00