Commit Graph

4798 Commits

Author SHA1 Message Date
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
Alexey Sokolov
9ff4127e33 Merge branch 'master' of github.com:znc/znc 2018-02-09 20:41:58 +00:00
Alexey Sokolov
01507188c3 Update googletest to latest version and cleanup integration test.
https://github.com/google/googletest/pull/1439 makes it possible to
remove horrible hacks I wrote before.
2018-02-09 20:40:28 +00:00
ZNC-Jenkins
fcc710b4b8 Update translations from Crowdin 2018-01-19 19:39:46 +00:00
Falk Seidel
d647eaabc0 Welcome to 2018
The same procedure as last year, Miss Sophie?
The same procedure as every year, James.

[skip ci]
2018-01-19 19:38:58 +00:00
Alexey Sokolov
bb141e4d6f Update csocket submodule, fix build without libicu 2018-01-12 23:45:07 +00:00
ZNC-Jenkins
d4ae311535 Update translations from Crowdin 2018-01-01 23:18:09 +00:00
Alexey Sokolov
57a1fff1af crypt: fix usage of DH_compute_key, close #1469 2018-01-01 23:13:13 +00:00
Fox Wilson
42939c998f Add "AuthOnlyViaModule" global/user setting
Setting AuthOnlyViaModule on a user causes CheckPass to never return true,
causing all authentication attempts using the configured password to fail, both
on IRC connections and for webadmin. This is useful in situations where an
external module (cyrusauth, certauth, imapauth) handles authentication. Setting
the global AuthOnlyViaModule option causes similar behavior across every
user. If AuthOnlyViaModule is set to true globally, it cannot be overridden
per-user.

Close #1474
Close #331
2017-12-22 14:23:17 +00:00
Alexey Sokolov
3d874f6fe4 Update Csocket to fix build with ICU 2017-12-22 14:21:10 +00:00
Alexey Sokolov
90f5392c07 Update Csocket submodule, fix #1362 2017-12-21 23:10:25 +00:00
Alexey Sokolov
d2fb22835c Update GCC version in readme too. #1422 2017-12-21 23:10:25 +00:00
ZNC-Jenkins
58ae4517cb Update translations from Crowdin 2017-12-21 09:14:07 +00:00
Alexey Sokolov
05a5b693f4 Crowdin doesn't require Project-Id-Version in .pot anymore. 2017-12-21 03:10:49 +00:00
Alexey Sokolov
1b90903cb2 Postprocessing for crowdin: cleanup PO-Revision-Date: from .po files 2017-12-21 03:09:33 +00:00
Alexey Sokolov
0d14d725a3 Workaround for https://github.com/travis-ci/travis-ci/issues/8920 2017-12-19 09:27:06 +00:00
Alexey Sokolov
a0cbe130d9 Fix newly introduced warning in modperl 2017-12-17 22:26:46 +00:00
Alexey Sokolov
9474c3dc09 Support ValidateWebRequestCSRFCheck in perl/python. Fix #1424 2017-12-17 22:10:41 +00:00
Alexey Sokolov
ddd3023d5d Refactor default return values of callbacks of perl/python modules
See #1424
2017-12-17 22:03:47 +00:00
Alexey Sokolov
79ec016f05 Bump GCC requirements to 4.8. Close #1442 2017-12-17 15:09:52 +00:00
Alexey Sokolov
31db835ec8 Improve codecov config
See #1447
2017-12-17 11:32:29 +00:00
Alexey Sokolov
bbc43e203c CMakified znc-buildmod should also remove destination before writing new .so
To avoid crash of a running ZNC process.
2017-12-17 10:09:46 +00:00
Alexey Sokolov
5904d3e38b Merge pull request #1472 from GLolol/notice-failed-logins
src/Client: send failed logins to NOTICE instead of PRIVMSG
2017-12-17 02:28:52 +00:00
Alexey Sokolov
f984987e75 Add set -v to travis
https://github.com/travis-ci/travis-ci/issues/8920
2017-12-16 12:29:27 +00:00
Alexey Sokolov
55d993e08f Merge pull request #1462 from znc-jenkins/l10n_master
Update translations
2017-12-15 08:53:26 +00:00
ZNC-Jenkins
9dbe7bb859 Update translations from Crowdin 2017-12-15 01:23:44 +00:00
Alexey Sokolov
35753b9d9d Add Project-Id-Version to .pot files, maybe it'll fix crowdin (#1462) 2017-12-15 00:02:23 +00:00
Alexey Sokolov
4a2c223379 Add comments for translator to .tmpl files (#1473)
They are ignored in CTemplate, because the string doesn't reference it
as {N}
2017-12-14 10:26:07 +00:00
James Lu
f5fc51a63b src/Client: send failed logins to NOTICE instead of PRIVMSG
When connecting to many ZNC networks at once, one failed login causes numerous query windows from *status to pop up. These can be annoying to close depending on the client.
2017-12-13 20:21:21 -05:00
Alexey Sokolov
fd83bb3473 Merge branch 'master' of github.com:znc/znc 2017-12-13 08:30:27 +00:00
Alexey Sokolov
3b3a0ac291 Export CMake target more cleanly.
This allows external modules to use newer C++ versions than C++11.
2017-12-13 00:21:59 +00:00
Alexey Sokolov
bd51ebcdca Merge pull request #1455 from CyberShadow/timeval
Add sub-second precision for timestamp formatting
2017-12-10 11:46:22 +00:00
Alexey Sokolov
9bb8387745 Revert "Avoid calling OnWho on every channel in the network WHO was called in. (#1461)"
This reverts commit 5132ea987e.

Add a comment to explain the old behavior, by courtesy of @psychon
2017-12-10 09:53:00 +00:00
Vladimir Panteleev
15b1f8d8fa Change format syntax to a simple custom %f/%#f scheme 2017-12-10 09:45:58 +00:00
weabot
5132ea987e Avoid calling OnWho on every channel in the network WHO was called in. (#1461) 2017-12-02 23:31:04 +00:00
Uli Schlachter
5c1fb61f45 controlpanel: Change "double" to "number" (#1468)
For a programmer, "double" makes sense as a data type, but for a human this is just a number.
2017-12-02 23:29:00 +00:00
culb
23c78dc318 Update crypt module: Fix for LibreSSL (#1439) 2017-12-02 23:28:02 +00:00
Uli Schlachter
6689705756 Add missing space in "hasno"
Fixes the remaining part of #1465.
2017-11-27 19:45:02 +00:00
Alexey Sokolov
70bf4ad9ba Fix wrong English text, close #1465 2017-11-26 22:12:09 +00:00
Alexey Sokolov
12b3e167ee Add header to all .pot files consistently 2017-11-26 09:54:48 +00:00
Alexey Sokolov
625d70fa85 Remove Guest string and user IP from web UI 2017-11-24 08:24:12 +00:00
Alexey Sokolov
e1f821a782 Crowdin: fix check of pull request existence 2017-11-22 00:26:47 +00:00
Alexey Sokolov
fcb7d39a17 Crowdin: change text of pull request 2017-11-21 22:03:50 +00:00
Alexey Sokolov
f47ad2396f Start moving CI configs into .ci/, add initial crowdin jenkinsfile 2017-11-21 01:00:10 +00:00
Alexey Sokolov
ac80feccd8 Open .tmpl files as utf-8 when extracting translation strings
Write them as utf-8 too...
2017-11-21 00:53:49 +00:00
Alexey Sokolov
4a3f62f1a6 Add Crowdin configs for localization (#1354) 2017-11-14 00:35:54 +00:00
Alexey Sokolov
42a96cf375 Update .pot files 2017-11-13 23:35:36 +00:00
Alexey Sokolov
1a4990c033 Don't use features of Qt 5.6 in the integration test yet 2017-11-12 18:00:33 +00:00
Alexey Sokolov
744bd7d55c Fix use-after-free in znc --makepem
X509_get_subject_name() returns an internal pointer, which was destroyed
by X509_set_subject_name(), and then accessed again in
X509_set_issuer_name().
But X509_set_subject_name() isn't needed at all, because subject name
was modified in place.
2017-11-12 16:45:23 +00:00