Commit Graph

526 Commits

Author SHA1 Message Date
Alexey Sokolov
2f65dbbc64 Integrate disconkick module to core.
Fix #968
2015-06-04 22:02:39 +01:00
Alexey Sokolov
8552ca0ff9 Bump accepted line length to 2048
To allow message tags and still have some buffer for cases
when server sends too long lines

Related to #971
2015-06-04 08:05:15 +01:00
Alexey Sokolov
8f9aad4580 Merge branch '1.6.x'
Conflicts:
	src/User.cpp
2015-04-28 21:44:07 +01:00
Alexey Sokolov
63a938478a Merge branch 'cap' 2015-04-28 21:41:04 +01:00
J-P Nurmi
28393c309b Fix #954: Startup failure when simple_away is loaded after awaynick 2015-04-28 21:36:25 +01:00
Alexey Sokolov
d7a6a136db Update capability names as they are named in IRCv3.2.
Old names will be available for a while, then removed.
self-message is superseded by echo-message and will be removed in future
too.
2015-04-26 22:37:27 +01:00
Alexey Sokolov
06e365215b Remove CAP CLEAR, because it's useless, and got deprecated in IRCv3.1 2015-04-26 22:36:36 +01:00
J-P Nurmi
7839a596a3 modules: make help more compact
Same as c7b2aea7da but for modules
2015-04-26 21:53:59 +02:00
J-P Nurmi
e3954f4824 Implement IRCv3.2 echo-message capability on the "client side"
http://ircv3.net/specs/extensions/echo-message-3.2.html

TODO: Add echo-message support to CIRCSock when IRCds start supporting it.
Manual echoing won't be necessary for networks that support echo-message.
2015-04-26 19:49:39 +02:00
Alexey Sokolov
21458de7d0 Merge branch '1.6.x'
Conflicts:
	src/Utils.cpp
2015-04-18 17:57:51 +01:00
Alexey Sokolov
00404b8cbb Revert "Make tables... not so tabular."
This reverts commit 2c3064fb56.
2015-04-18 17:38:56 +01:00
Alexey Sokolov
cd1f334f31 Update error message about --datadir
Noone remembers these days that at some point ZNC supported using the
same config directory, but different znc.conf. So now the old message is
just confusing.

However, nowadays many people confuse "/znc foo" in IRC client with
"znc foo" in shell.
2015-04-17 22:56:35 +01:00
Alexey Sokolov
144f7984e4 Don't require CSRF token for POSTs if the request uses HTTP Basic auth.
See #946
2015-04-16 20:57:29 +01:00
Alexey Sokolov
7719213ea6 Merge branch '1.6.x' 2015-04-16 20:32:58 +01:00
Alexey Sokolov
7c64eba693 Last commit broke async auth, e.g. via imapauth. Fix it.
See #946
2015-04-16 20:31:31 +01:00
Alexey Sokolov
0b205db494 Merge branch '1.6.x' 2015-04-16 01:24:43 +01:00
Alexey Sokolov
0167a827a7 Fix compilation warning 2015-04-16 01:23:57 +01:00
Alexey Sokolov
eedcd4c4de Fix rare conflict of HTTP-Basic auth and cookies.
Fix #946
2015-04-16 01:21:57 +01:00
Alexey Sokolov
c7b2aea7da Make help non-table more compact. 2015-04-09 21:25:42 +01:00
Alexey Sokolov
926989342c Cleanup CTable after making it not a table earlier 2015-04-09 21:12:21 +01:00
Alexey Sokolov
1df5d91a53 Merge branch '1.6.x' 2015-04-09 21:06:09 +01:00
Alexey Sokolov
2c3064fb56 Make tables... not so tabular.
Fix #743
Fix #914
Close #922
2015-04-09 07:34:00 +01:00
Alexey Sokolov
d884ff76c0 Merge branch '1.6.x' 2015-04-06 22:42:25 +01:00
Alexey Sokolov
21834d3aba Improve breadcrumbs in webadmin.
Fix #227
2015-04-06 22:40:55 +01:00
Alexey Sokolov
70cc4285f9 Merge branch '1.6.x' 2015-04-06 20:43:41 +01:00
Alexey Sokolov
4596d97502 Remove "-" between "ZNC" and version number.
ZNC 1.6.0 looks better than ZNC - 1.6.0, IMHO
2015-04-06 20:41:57 +01:00
Alexey Sokolov
ce156b590f Merge branch 'master' of github.com:znc/znc 2015-04-03 21:41:06 +01:00
J-P Nurmi
41beb4fb89 Merge remote-tracking branch 'origin/1.6.x' 2015-04-01 07:56:03 +02:00
Eli Young
53254173b1 Write config file when channel is removed (#932) 2015-03-31 17:57:30 -07:00
Thomas Kriechbaumer
8d2ca76838 fail if no config version is not found 2015-03-31 14:29:08 +01:00
Thomas Kriechbaumer
6fcf4d9ca9 update rehash command description 2015-03-31 14:29:08 +01:00
Thomas Kriechbaumer
d542599475 add compatibility for pre-1.0 configs 2015-03-31 14:29:08 +01:00
Thomas Kriechbaumer
a56d4cae6a do not call OnAddUser hook during ZNC startup 2015-03-31 12:15:40 +01:00
Thomas Kriechbaumer
28bb50fa1a refactor config parsing 2015-03-31 12:15:40 +01:00
J-P Nurmi
9814f2a258 Add missing help text for ClearAllBuffers (close #924) 2015-03-12 19:07:00 +01:00
J-P Nurmi
5aa8b0dcef Fix copy ctor/assignment oper warnings of -Weffc++ (#270) 2015-03-07 21:54:33 +01:00
J-P Nurmi
e1ada6c643 TDNSTask & CDNSJob: use member intialization lists [-Weffc++] (#270) 2015-03-07 21:54:33 +01:00
J-P Nurmi
d16f35facc CModule: use member initialization lists [-Weffc++] (#270)
This fixes the problem that CModule::GetType() returned a random
uninitialized value in CModule constructor, which was als the reason
for #905. CModule constructor signature has been changed so that it
optionally takes the type so it can be initialized appropriately.

The new type argument has a default value in order to retain source
compatibility in case some 3rdparty module would call CModule ctor
by hand instead of using the MODCONSTRUCTOR macro.
2015-03-07 21:54:33 +01:00
Alexey Sokolov
d6c2efa540 Merge pull request #916 from jpnurmi/tables
Add ShowChan & minimize ListChans columns
2015-03-07 19:52:33 +00:00
Alexey Sokolov
4549197301 Merge pull request #881 from Kriechi/improve-stickychan
improve stickychan
2015-03-07 15:24:57 +00:00
J-P Nurmi
3382543917 Reduce ListChans columns to name & status (#914) 2015-03-06 22:17:01 +01:00
J-P Nurmi
00ddcd302f Add "ShowChan <#chan>" command for showing channel details (#914) 2015-03-06 22:17:00 +01:00
J-P Nurmi
a5b4a29c00 Revert StripControls implementation (#850)
This reverts commits 27d78795a7 and
f27109f1b4. It was decided that the
functionality is provided by a separate module instead, to avoid
unnecessarily bloating the core.
2015-03-04 09:50:00 +01:00
Alexey Sokolov
e61ee6096f Merge pull request #907 from jpnurmi/weffc++
Use member initialization lists [-Weffc++] (#270)
2015-03-01 12:58:50 -08:00
J-P Nurmi
1d09b41540 Last batch of C++11 range-based for loops (#816) 2015-03-01 21:36:28 +01:00
J-P Nurmi
bb36d40580 CIRCNetwork: use member initialization list [-Weffc++] (#270) 2015-03-01 16:03:59 +01:00
J-P Nurmi
21dc83e58f CUser: use member initialization list [-Weffc++] (#270) 2015-03-01 16:03:59 +01:00
J-P Nurmi
3a951b2b6d CZNC: use member initialization list [-Weffc++] (#270) 2015-03-01 16:03:59 +01:00
J-P Nurmi
1d2650d450 Use member initialization lists [-Weffc++] (#270) 2015-03-01 15:00:10 +01:00
J-P Nurmi
05c96a16d1 Merge remote-tracking branch 'origin/1.6.x' 2015-03-01 09:19:01 +01:00