Commit Graph

4846 Commits

Author SHA1 Message Date
Alexey Sokolov
6b6bbdcaeb Merge pull request #1513 from throwaway-user/master
Don't echo-message and self-message messages to *status and *modules
2018-04-15 10:15:21 +01:00
ZNC-Jenkins bot
19a53c0994 Update translations from Crowdin (#1509) 2018-04-13 08:27:28 +01:00
Nobody Atoll
55d44c21a7 Fix echo-message regression from 1.6.x
This patch prevents PRIVMSGs from clients frmo being echoed to other clients if their target has the status prefix.
2018-04-12 18:34:15 -04:00
Alexey Sokolov
d6bfe504ae When Boost is not found via CMake, tell what exact features are disabled 2018-04-04 08:14:52 +01:00
ZNC-Jenkins bot
b9743d8320 Update translations from Crowdin (#1502) 2018-04-04 01:40:11 +01:00
Alexey Sokolov
c6a04023a4 Reformat test 2018-04-04 01:21:09 +01:00
Alexey Sokolov
9de990715b More translateable strings (fix #1354) 2018-04-03 22:31:20 +01:00
Alexey Sokolov
f3ddbccedd Fix unit test after string changes 2018-04-02 12:19:01 +01:00
Alexey Sokolov
1e08e5c702 Move gtest's printer for CString to a place visible to all tests 2018-04-02 12:17:14 +01:00
Alexey Sokolov
10c98e01a8 Why did I make this public? 2018-04-01 12:23:16 +01:00
Alexey Sokolov
2052d61952 Merge branch 'master' of github.com:znc/znc 2018-04-01 12:07:18 +01:00
Alexey Sokolov
1e23a36e1d More translateable strings (#1354) 2018-04-01 12:06:29 +01:00
Alexey Sokolov
fd15c43711 Update date in comment about default SSL ciphers 2018-04-01 00:37:06 +01:00
Alexey Sokolov
1eceb5a5c7 More translateable strings (#1354) 2018-04-01 00:35:51 +01:00
ZNC-Jenkins bot
82a9325375 Update translations from Crowdin (#1500) 2018-03-27 23:30:28 +01:00
Alexey Sokolov
d8327977ca Add socket test to modperl 2018-03-27 22:49:23 +01:00
Alexey Sokolov
6eaa93f8da Fix python sockets after latest changes.
The issue was triggered by CCoreTranslationMixin being parent of
CZNCSock, and DisableReadLine wasn't found as attribute anymore.

Thanks to obiw4n for report.
2018-03-27 22:26:05 +01:00
Alexey Sokolov
5b3d2c1c19 More translateable strings (#1354) 2018-03-26 23:51:31 +01:00
Alexey Sokolov
f1f95dd6d8 Merge branch 'master' of github.com:znc/znc 2018-03-26 08:47:50 +01:00
Alexey Sokolov
1665c8640a Fix plurals in some /znc commands (#1354) 2018-03-26 08:47:27 +01:00
ZNC-Jenkins bot
c8dabadebb Update translations from Crowdin (#1499) 2018-03-26 08:46:59 +01:00
Alexey Sokolov
6ca2d5caa0 More translateable strings, #1354 2018-03-25 22:57:05 +01:00
Alexey Sokolov
2e31a8ee97 README: mention i18n 2018-03-19 00:54:28 +00:00
Alexey Sokolov
ece09d11b5 README: recommend out of tree build 2018-03-19 00:47:46 +00:00
Alexey Sokolov
9ba1ea463e README: clarify modpython requirements 2018-03-19 00:46:53 +00:00
Alexey Sokolov
5d603b0932 Fix non-default location of znc.pem when upgrading configs from pre-1.7.
New options SSLDHParamFile and SSLKeyFile were pointing at the default
location instead of the same as SSLCertFile.

Thanks to @xelra for the report.
2018-03-15 22:14:00 +00:00
ZNC-Jenkins bot
9791d2c18e Update translations from Crowdin (#1493) 2018-03-12 08:10:14 +00:00
Alexey Sokolov
2f3cc23e1a Reflect absense of ABI in cygwin DLL name: in autoconf too 2018-03-12 00:13:17 +00:00
Alexey Sokolov
ec7e07e7f0 Reflect absense of ABI in cygwin DLL name 2018-03-12 00:05:10 +00:00
Alexey Sokolov
aab7656766 Travis: python on OS X conflicts with python3 now? 2018-03-11 20:47:25 +00:00
Alexey Sokolov
bc412ef20d Travis: don't install openssl on OS X, it's installed already 2018-03-11 20:38:41 +00:00
Alexey Sokolov
908fa96b3f Modernize several modules to use CMessage 2018-03-11 17:26:30 +00:00
Alexey Sokolov
a8d2df3852 Add PutIRC(CMessage) and PutIRCRaw()
Close #1193
2018-03-11 16:44:49 +00:00
Alexey Sokolov
8da45322f0 Fix CClient::PutClient comment, add CClient::PutClientRaw 2018-03-11 15:54:20 +00:00
Alexey Sokolov
15ccaca41a Stop buffering and echoing CTCP requests and responses to other clients, except for /me
Fix interaction between self-message and CTCP:
CTCP request from client A gets reflected from ZNC to client B, because
B has self-message. B sees this as a usual CTCP request (from the same
nick), and replies (to the same nick). ZNC reflects that response to A
because A has self-message, and also passes that response to IRC server,
which sends that response back to ZNC, which sends it to its both clients.

Close #1488
2018-02-18 23:04:14 +00:00
Alexey Sokolov
658a6e6f90 Lie to modules less: make OnUserRaw strings raw 2018-02-18 22:14:18 +00:00
Alexey Sokolov
48df7c7fe2 Switch some modules to newer API 2018-02-18 22:04:02 +00:00
Alexey Sokolov
1b69373b6b Fix latest changes in integration test in autoconf mode 2018-02-14 08:39:58 +00:00
Alexey Sokolov
5cb50eccd1 Save channel key on user JOIN even if user was not on the channel yet,
which is the usual case.

Fix #1223
2018-02-14 08:30:21 +00:00
Alexey Sokolov
986bb8dc6d Add test for away-notify and cap-notify
Fix #1360
2018-02-13 21:55:32 +00:00
Alexey Sokolov
70dabc07dc Split integration test file to several files. 2018-02-13 21:25:17 +00:00
Alexey Sokolov
e3a1308a04 Make order of EXPECT_EQ more natural, after upgrade to new GTest. 2018-02-13 08:41:53 +00:00
Alexey Sokolov
c30e5ef9fd Fix tests for #1402 2018-02-12 09:04:50 +00:00
Alexey Sokolov
eccf5911ae Fill Message.GetChan() in user-originated module callbacks if the channel exists.
Close #1402
2018-02-11 15:13:11 +00:00
Alexey Sokolov
5a09a81c35 Fix interaction between crypt and echo-message.
Close #1481
2018-02-11 14:17:51 +00:00
Alexey Sokolov
5cdbe33eaf Add GetText()/SetText() methods to more CMessage types.
They are aliases for existing methods, to simplify code reuse.
2018-02-11 14:10:11 +00:00
Alexey Sokolov
008170b153 Merge branch 'master' of github.com:znc/znc 2018-02-10 15:58:20 +00:00
Alexey Sokolov
a2470b3dd3 Make chan modes and permissions to be char instead of unsigned char.
Deprecate old module hooks which accept mode as unsigned char.

SWIG handles unsigned char as int, but char as a string.
Before this commit, usage of HasPerm from perl modules required this:
either $chan->HasPerm(ord('@')) or $chan->HasPerm(ord($ZNC::CChan::Op)).
Now ord() is not necessary, and these calls work too:
$chan->HasPerm('@') and $chan->HasPerm($ZNC::CChan::Op).

Fix #1486
2018-02-10 15:55:55 +00:00
Alexey Sokolov
8d7dac00a4 Merge pull request #1492 from citrus-it/patch-1
Stop creating files with odd permissions.
2018-02-09 23:26:13 +00:00
Andy Fiddaman
6362844853 Stop creating files with odd permissions.
bits are being set in file mode rather than open flags. As a result file permissions get strange bits set.

```
build# ls -l /etc/opt/znc/znc.conf
-rwS------   1 znc      znc        1.62K Feb  9 14:47 /var/opt/ooce/znc/configs/znc.conf
build# stat -c %a /etc/opt/znc/znc.conf
4600
```
2018-02-09 22:25:06 +00:00