J-P Nurmi
2ad2ee5620
Bring back the smileys - part II
2015-08-22 11:54:33 +02:00
J-P Nurmi
b402c1e582
Merge branch '1.6.x'
...
Conflicts:
src/IRCSock.cpp
2015-08-22 00:18:55 +02:00
J-P Nurmi
b8088a5b02
Fix CMessage::ToString() to ':' -prefix the last param when appropriate
...
Close #1037
2015-08-21 22:08:16 +02:00
Alexey Sokolov
e546cedaa2
Merge pull request #1035 from jpnurmi/server-time
...
Make ZNC request server-time when available (close #839 )
2015-08-20 22:31:24 +01:00
J-P Nurmi
2e85eff2fd
CQuery: fix buffer playback
...
A regression caused by d0a58ff . Unlike for CChan, from which the
snippet was copy-pasted, for CQuery the params actually need to be
passed. Otherwise buffer playback PRIVMSGs have empty target nick.
2015-08-18 12:59:21 +02:00
J-P Nurmi
1f11b10b70
Make ZNC request server-time when available ( close #839 )
2015-08-18 01:42:42 +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
d0a58ff239
Pass CMessage to buffer playback hooks
2015-08-15 13:03:56 +02:00
J-P Nurmi
8a7c79bb78
Pass known/compatible tags to clients
2015-08-15 12:33:23 +02:00
J-P Nurmi
c17c8c022b
Buffer message tags and the original timestamps
2015-08-15 12:28:38 +02:00
J-P Nurmi
ff181a4a85
Add specialized types and hooks for the most common msgs
...
PRIVMSG, NOTICE, JOIN, PART, QUIT, NICK, KICK, TOPIC
2015-08-15 12:27:06 +02:00
J-P Nurmi
50ab019901
CIRCSock::ReadLine(): use CMessage as a helper
2015-08-15 12:27:04 +02:00
J-P Nurmi
a06bf1c985
Introduce a Message type ( #506 )
2015-08-15 12:26:16 +02:00
J-P Nurmi
51caa5c4cf
Add CUtils::ParseServerTime()
2015-08-15 12:26:16 +02:00
J-P Nurmi
2417ca68a8
Prefer Contains() over find() != npos
2015-08-14 13:55:11 +02:00
J-P Nurmi
6a6fbab342
Replace Right(1)[0] with back()
2015-08-14 13:52:14 +02:00
J-P Nurmi
21ed56f46a
Prefer EndsWith(s) over Right(n) == s
2015-08-14 13:52:12 +02:00
J-P Nurmi
4995e7517e
Prefer StartsWith(s) over Left(n) == s
2015-08-14 13:51:44 +02:00
J-P Nurmi
52395fad5e
Prefer TrimSuffix() over Right() + RightChomp()
2015-08-14 12:31:01 +02:00
J-P Nurmi
475acd8f00
Prefer TrimPrefix() over Left() + LeftChomp()
2015-08-14 12:29:42 +02:00
J-P Nurmi
0220979ccf
Fix #124 : OnChanMsg(): nick doesn't have perms
2015-08-11 23:29:19 +02:00
Alexey Sokolov
a3f748448e
Merge branch '1.6.x'
2015-08-11 21:32:33 +01:00
J-P Nurmi
45183612c8
Fix CClient::GetNickMask()
...
A regression introduced by cebc093 . A potentially empty network
specific bind _host_ should not be used as nick mask _ident_.
2015-08-11 14:06:41 +02:00
J-P Nurmi
e93c37fc6b
Cleanup extra semi-colons
2015-08-07 22:00:08 +02:00
Alexey Sokolov
71fc592bfa
Merge pull request #1019 from jpnurmi/ssl
...
CZNC: add missing SSL-related getters and setters
2015-08-07 09:26:43 +01:00
Gustavo Zacarias
9a51195e91
Add <time.h> includes where appropiate
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
2015-08-06 11:20:54 -03:00
J-P Nurmi
a13b4a8e46
CZNC: add missing SSL-related getters and setters
...
- SSLCiphers
- SSLProtocols
- SSLCertFile
2015-08-05 01:05:46 +02:00
J-P Nurmi
dce289a5d4
CUser: add API for removing and clearing allowed hosts
2015-08-04 16:09:27 +02:00
J-P Nurmi
d6d57cb708
Merge branch '1.6.x'
2015-08-01 12:44:06 +02:00
J-P Nurmi
ad99d5f46e
Merge pull request #1013 from DarthGandalf/cap-end
...
Support "CAP :END"
2015-08-01 12:33:26 +02:00
J-P Nurmi
b16faf5058
Merge pull request #990 from jpnurmi/reset
...
Allow reseting channel specific AutoClearChanBuffer & Buffer settings
2015-08-01 12:30:36 +02:00
J-P Nurmi
824cb3cc56
Merge pull request #1011 from jpnurmi/disconkick
...
src/IRCSock.cpp: use *status as kicker
2015-08-01 01:02:14 +02:00
J-P Nurmi
015a8f6502
Merge branch '1.6.x'
...
Conflicts:
src/Client.cpp
znc-buildmod.in
2015-07-31 23:56:04 +02:00
J-P Nurmi
53d9161b20
Merge pull request #998 from jpnurmi/buffer
...
Resolve #967 : separate chan & query buffer size settings
2015-07-31 22:51:03 +02:00
J-P Nurmi
ef06901966
Merge pull request #996 from jpnurmi/account-notify
...
Add support for account-notify and extended-join
2015-07-31 21:50:36 +02:00
Alexey Sokolov
89e99bfe35
Support "CAP :END"
...
Thanks to jaybe for complaining about this.
2015-07-30 22:01:11 +01:00
J-P Nurmi
405546e94c
src/IRCSock.cpp: use *status as kicker
...
Closes #649
2015-07-28 17:45:18 +02:00
J-P Nurmi
b2c83321ef
Fix #1008 : Channel keys get saved in a very wrong way
2015-07-27 02:06:21 +02:00
J-P Nurmi
496a132e32
Resolve #967 : separate chan & query buffer size settings
2015-07-19 00:31:10 +02:00
J-P Nurmi
9242307ff7
Merge branch '1.6.x'
...
Conflicts:
README.md
modules/data/webadmin/tmpl/settings.tmpl
src/Query.cpp
2015-07-14 23:11:17 +02:00
J-P Nurmi
d39b20b505
Fix sources to include their respective header
2015-07-14 19:05:23 +02:00
J-P Nurmi
6246899c56
Add support for extended-join ( #316 )
2015-07-14 18:29:33 +02:00
J-P Nurmi
d070a6e644
Add support for account-notify ( #316 )
2015-07-14 17:02:16 +02:00
J-P Nurmi
d18601180b
Align server-side cap handling code with the client-side
...
Based on d7a6a136db - to make it more
straight-forward to add support for more server-side capabilities.
2015-07-14 16:57:53 +02:00
J-P Nurmi
f28640fe3f
Merge pull request #957 from jpnurmi/cap-notify
...
Add cap-notify & away-notify support
2015-07-12 19:34:31 +02:00
J-P Nurmi
0d75018157
Allow reseting channel specific AutoClearChanBuffer & Buffer settings
...
The trick is to set the value to "-" in controlpanel. Notice that
controlpanel supports wildcards, so this can be used to easily
reset all channels back to defaults if desired.
2015-07-08 22:56:18 +02:00
Alexey Sokolov
bae8724a16
Fix build after previous commit...
2015-07-07 22:26:56 +01:00
Alexey Sokolov
326040cf08
Fix query buffer size for users who has 0 in default channel buffer size.
...
Users who upgrade from <=1.4 to 1.6.0 and have configured 0 for channel buffer, were silently not getting any queries while disconnected anymore.
Thanks to jpnurmi for the idea how to bandaid this in 1.6.x branch.
Proper fix will go to 1.7 and will take form of separate settings for channel and query buffers.
See #967
2015-07-07 20:58:56 +01:00
Alexey Sokolov
f909dc568a
Merge branch '1.6.x'
2015-07-07 20:08:01 +01:00
Pavel Djundik
3bc7b820ac
Don't print local ip address on 404 page, fixes #944
...
(cherry picked from commit 01279a4efa )
2015-07-07 20:07:02 +01:00