Commit Graph

1648 Commits

Author SHA1 Message Date
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
NuclearW
3bf9350769 Store CTCP ACTIONs recieved as well as normal PRIVMSGs.
Prepends CTCP ACTION messages recieved with a "* " before storing them.
Additionally change AddMessage to accept const CString&
2014-07-21 17:24:03 -04:00
Bill Bierman
47e5967d43 NickServ module will now correctly identify NickServ on tddirc.net 2014-07-01 10:36:46 -10:00
Mikaela Suomalainen
19ab051c12 Make autoop & autovoice gender neutral. 2014-06-27 08:55:39 +03:00
Alexander Færøy
ef1639e7e0 Join channels immediately after spoof if set
This patch makes the client start joining its channels as soon as its
spoof if set, if the user uses JoinAfterCloaked.
2014-06-18 21:04:20 +02:00
Alexey Sokolov
64fb99a469 Merge commit 'refs/pull/568/head' of github.com:znc/znc 2014-06-10 21:58:13 +01:00
Vasily Fomin
0467b69535 Fixes issue #505: Module links in webadmin should use _blank.
Wikipedia "Icon External Link"
(http://commons.wikimedia.org/wiki/File:Icon_External_Link.png)
is being used as an icon for the external link.
2014-06-10 21:30:37 +02:00
orchid-hybrid
b129e209e8 Update autoop.cpp
Fix indentation and key/channels display for users removed by deleting all hostmasks
2014-06-08 10:27:16 -04:00
orchid-hybrid
73f89c79fe Update autoop.cpp
show key and channels when deleting a user by removing all their hostmasks
2014-06-08 10:44:52 +01:00
orchid-hybrid
baf14adf0c Update autoop.cpp
Set it so that when you remove all hostmasks of a user, the user is also deleted
2014-06-08 10:18:39 +01:00
orchid-hybrid
9189e4d90c Update autoop.cpp
formatting improvements
2014-06-08 09:58:15 +01:00
orchid-hybrid
20f925de19 Update autoop.cpp
Further improvements to autoop module:

* Tabulate the data vertically with a new column for each hostname
* Rename table column to Hostmasks
* <mask>,[<mask>] inside help for AddHosts
* Help for AddUser updated
2014-06-08 09:38:46 +01:00
orchid-hybrid
ba1ff0ec2a Update autoop.cpp
Added support for multiple comma separated hostmasks per user. Added new commands to add and remove hostmasks. Kept the table column names the same so as to not break back-compatability.

I have tested adding and removing several hostmasks for multiple users and checked that it does auto-op them correctly, looks good!
2014-06-08 08:34:17 +01:00
Alexey Sokolov
638b3b58da Merge branch 'master' of github.com:znc/znc 2014-06-01 21:10:40 +01:00
Alexey Sokolov
a3f4f1ebd9 Merge commit 'refs/pull/557/head' of github.com:znc/znc 2014-06-01 21:06:25 +01:00
Vasily Fomin
4338ae5cc5 Show empty checkbox if module can be loaded by the topic column.
Fix const correctnes of the CModInfo::SupportsType method.
2014-06-01 21:37:39 +02:00
Sam Dodrill
9246dc3da4 modules/autoreply: Prefer NOTICE over PRIVMSG
Fixes RFC 1459 compliance and helps prevent bot loops between ZNC and
other chatbots.

Closes issue #556
2014-06-01 10:35:02 -07:00
Vasily Fomin
16b268deef Update pages template so no unnecessary global JS variable is being introduced. 2014-05-30 22:44:26 +02:00
Vasily Fomin
16697d93ce Fixes seg fault with new user page.
Refactor loops and templates so less code is needed.
2014-05-30 00:13:09 +02:00
Alexey Sokolov
66fecf8e97 Merge pull request #559 from ahf/quakenet-join-after-cloaked
Quakenet Join after Cloaked
2014-05-29 22:34:53 +01:00
Alexander Færøy
c59e4d1bee Add JoinAfterCloaked setting to q.cpp
This patch adds a new setting to the Q module, JoinAfterCloaked, that
allows the user to specify whether ZNC should postpone joining channels
before the user is cloaked.

Fixes #286
2014-05-29 23:10:38 +02:00
Alexander Færøy
db0e0995e2 Add OnJoining module hook.
This patch adds an OnJoining module hook that allows a module to allow
or disallow joining any given channel.
2014-05-29 23:10:30 +02:00
Alexander Færøy
2264812a14 Use HMAC-SHA-256 instead of HMAC-MD5 2014-05-29 18:07:01 +02:00
Vasily Fomin
3ad285243d Add "Loaded" flag to the user page. 2014-05-29 17:49:41 +02:00
Vasily Fomin
78f7897dfc Add "Loaded" flag to the network page. 2014-05-29 17:39:48 +02:00
Vasily Fomin
4bdaa3cc22 Add "Loaded" flag to the global settings page. 2014-05-29 17:14:32 +02:00
Alexey Sokolov
4304798a97 Merge pull request #549 from dgw/no-webadmin-arg-autocomplete
Simple solution to #546
2014-05-19 22:44:37 +01:00
dgw
9aee99608d webadmin: module argument autocomplete="off"
This is a concern for nickserv, and possibly also modules like awaystore.
2014-05-11 16:29:57 -04:00
kobuki
5d13cd9da2 Receiving DCC transfers fail with certain iroffer daemons. The bouncedcc module ignores file name quotes sent by the server (e.g. when the file name contains spaces) and consequently parses the DCC parameters incorrectly.
Fixes #289
2014-05-05 11:48:33 +02:00
Alexey Sokolov
2f0bc0c46c Modpython: fix calling overloaded methods with parameter CString& 2014-05-01 22:20:05 +01:00
Alexey Sokolov
c89771d561 Improve navigation in webadmin: "Save and continue" 2014-04-26 17:47:58 +01:00