]> jfr.im git - irc/evilnet/znc.git/log
irc/evilnet/znc.git
7 years agoUse <th> in <thead> instead of <td>
wolfy1339 [Thu, 22 Sep 2016 15:40:50 +0000 (11:40 -0400)] 
Use <th> in <thead> instead of <td>

Ref: #1308

7 years agoAdd test results to Jenkins
Alexey Sokolov [Wed, 21 Sep 2016 07:41:43 +0000 (08:41 +0100)] 
Add test results to Jenkins

7 years agoShow jenkins badge through shields.io
Alexey Sokolov [Sun, 18 Sep 2016 00:41:35 +0000 (01:41 +0100)] 
Show jenkins badge through shields.io

It supports custom label, e.g. "freebsd" as here.

[skip ci]

7 years agoSimplify jenkins file and enable integration test
Alexey Sokolov [Sat, 17 Sep 2016 17:23:54 +0000 (18:23 +0100)] 
Simplify jenkins file and enable integration test

7 years agoFix OpenSSL CMake build on OS X
Alexey Sokolov [Sat, 17 Sep 2016 00:52:47 +0000 (01:52 +0100)] 
Fix OpenSSL CMake build on OS X

See #1311

7 years agoJenkins: cleanup the workspace differently
Alexey Sokolov [Sat, 17 Sep 2016 10:09:56 +0000 (11:09 +0100)] 
Jenkins: cleanup the workspace differently

git clean doesn't work

7 years agoJenkins should clean workspace before new build
Alexey Sokolov [Sat, 17 Sep 2016 09:51:36 +0000 (10:51 +0100)] 
Jenkins should clean workspace before new build

if build agent is reused

7 years agoRemove additional github commit status update from jenkins.
Alexey Sokolov [Sat, 17 Sep 2016 08:09:30 +0000 (09:09 +0100)] 
Remove additional github commit status update from jenkins.

There is a status update already, which I didn't see during earlier
tests.

7 years agoAdd jenkins badge to readme
Alexey Sokolov [Sat, 17 Sep 2016 01:38:47 +0000 (02:38 +0100)] 
Add jenkins badge to readme

7 years agoAdd a Jenkins pipeline config to test ZNC on FreeBSD
Alexey Sokolov [Sun, 11 Sep 2016 00:54:31 +0000 (01:54 +0100)] 
Add a Jenkins pipeline config to test ZNC on FreeBSD

7 years agoMerge branch '1.6.x'
Alexey Sokolov [Tue, 13 Sep 2016 21:41:01 +0000 (22:41 +0100)] 
Merge branch '1.6.x'

Conflicts:
modules/schat.cpp
src/SSLVerifyHost.cpp
src/Utils.cpp

7 years agoMerge pull request #1311 from welwood08/openssl-1.1
Alexey Sokolov [Tue, 13 Sep 2016 19:41:48 +0000 (20:41 +0100)] 
Merge pull request #1311 from welwood08/openssl-1.1

OpenSSL 1.1 compatibility

7 years agoFix use of a feature deprecated in OpenSSL 1.1
William Elwood [Sat, 3 Sep 2016 13:40:59 +0000 (14:40 +0100)] 
Fix use of a feature deprecated in OpenSSL 1.1

If OpenSSL 1.1 is configured in such a way that features deprecated in 1.1.0 are not built, then compile errors would result here.

7 years agoFix use of a feature deprecated in OpenSSL 0.9.8
William Elwood [Sat, 3 Sep 2016 13:27:56 +0000 (14:27 +0100)] 
Fix use of a feature deprecated in OpenSSL 0.9.8

If OpenSSL 1.1 is configured in such a way that features deprecated in 0.9.8 are not built, then compile errors would result here.
I also noticed a potential memory leak where pRSA was not always freed before early return from this function - fixed by using C++11 unique_ptr.

7 years agoFix compile errors caused by OpenSSL 1.1
William Elwood [Sat, 3 Sep 2016 13:23:12 +0000 (14:23 +0100)] 
Fix compile errors caused by OpenSSL 1.1

7 years agoMerge pull request #1314 from RealKindOne/master
Alexey Sokolov [Mon, 12 Sep 2016 22:18:57 +0000 (23:18 +0100)] 
Merge pull request #1314 from RealKindOne/master

route_replies: fix module to check if we are not connected to a network.

Close #1299

7 years agoroute_replies: fix module to check if we are not connected to a network.
KindOne [Mon, 12 Sep 2016 08:45:15 +0000 (04:45 -0400)] 
route_replies: fix module to check if we are not connected to a network.

psychon gets credit for this code change.

7 years agoScript modules should also use the new name of translation methods
Alexey Sokolov [Sun, 11 Sep 2016 23:10:57 +0000 (00:10 +0100)] 
Script modules should also use the new name of translation methods

7 years agoFix warning in Utils.cpp
Alexey Sokolov [Sun, 11 Sep 2016 23:07:29 +0000 (00:07 +0100)] 
Fix warning in Utils.cpp

7 years agoRename translation methods to be not one letter.
Alexey Sokolov [Sun, 11 Sep 2016 23:01:45 +0000 (00:01 +0100)] 
Rename translation methods to be not one letter.

It fixes several warnings, when the name was shadowed by a local "p".

7 years agoMerge branch '1.6.x'
Alexey Sokolov [Thu, 8 Sep 2016 23:17:43 +0000 (00:17 +0100)] 
Merge branch '1.6.x'

Close #1313

7 years agoFix build on OS X after fixing build on Cygwin
Alexey Sokolov [Thu, 8 Sep 2016 23:17:20 +0000 (00:17 +0100)] 
Fix build on OS X after fixing build on Cygwin

7 years agoMerge branch '1.6.x'
Alexey Sokolov [Thu, 8 Sep 2016 21:26:51 +0000 (22:26 +0100)] 
Merge branch '1.6.x'

7 years agoFix TSAN on Travis
Alexey Sokolov [Thu, 8 Sep 2016 21:19:25 +0000 (22:19 +0100)] 
Fix TSAN on Travis

7 years agoMerge branch '1.6.x' of github.com:znc/znc into 1.6.x
Alexey Sokolov [Thu, 8 Sep 2016 21:14:47 +0000 (22:14 +0100)] 
Merge branch '1.6.x' of github.com:znc/znc into 1.6.x

7 years agoMerge pull request #1312 from welwood08/gtest
Alexey Sokolov [Sun, 4 Sep 2016 21:02:43 +0000 (22:02 +0100)] 
Merge pull request #1312 from welwood08/gtest

Fix `make test` in 1.6.x

7 years agoFix `make test` in 1.6.x since GoogleTest has moved to new hosting
William Elwood [Sun, 4 Sep 2016 11:08:29 +0000 (12:08 +0100)] 
Fix `make test` in 1.6.x since GoogleTest has moved to new hosting

7 years agoMerge commit 'refs/pull/1308/head' of github.com:znc/znc
Alexey Sokolov [Thu, 25 Aug 2016 22:15:27 +0000 (23:15 +0100)] 
Merge commit 'refs/pull/1308/head' of github.com:znc/znc

7 years agoReorder lines in .gitignore
Alexey Sokolov [Thu, 25 Aug 2016 22:14:08 +0000 (23:14 +0100)] 
Reorder lines in .gitignore

7 years agoUpdate .gitignore to cover more generated files
xnrand [Thu, 25 Aug 2016 16:05:39 +0000 (18:05 +0200)] 
Update .gitignore to cover more generated files

7 years agoImprove accessibility of add/edit channel
Tyler Spivey [Wed, 24 Aug 2016 07:19:01 +0000 (00:19 -0700)] 
Improve accessibility of add/edit channel

7 years agoImprove accessibility of add/edit network
Tyler Spivey [Wed, 24 Aug 2016 07:13:47 +0000 (00:13 -0700)] 
Improve accessibility of add/edit network

7 years agoImprove accessibility of list users
Tyler Spivey [Wed, 24 Aug 2016 06:09:33 +0000 (23:09 -0700)] 
Improve accessibility of list users

7 years agoImprove accessibility of traffic info
Tyler Spivey [Wed, 24 Aug 2016 06:08:56 +0000 (23:08 -0700)] 
Improve accessibility of traffic info

7 years agoImprove accessibility of global settings
Tyler Spivey [Wed, 24 Aug 2016 06:08:15 +0000 (23:08 -0700)] 
Improve accessibility of global settings

7 years agoImprove accessibility of add/edit user
Tyler Spivey [Wed, 24 Aug 2016 05:21:51 +0000 (22:21 -0700)] 
Improve accessibility of add/edit user

Add labels and change tr to th in thead elements.

7 years agoImprove accessibility of login form
Tyler Spivey [Tue, 23 Aug 2016 20:15:11 +0000 (13:15 -0700)] 
Improve accessibility of login form

7 years agoMerge pull request #1277 from xnrand/master
Alexey Sokolov [Sat, 20 Aug 2016 11:08:41 +0000 (12:08 +0100)] 
Merge pull request #1277 from xnrand/master

Add network-specific settings for cert validation

7 years agoMerge pull request #1304 from RealKindOne/master
Alexey Sokolov [Mon, 15 Aug 2016 19:46:09 +0000 (20:46 +0100)] 
Merge pull request #1304 from RealKindOne/master

Remove reference for attaching queries.

7 years agoRemove reference for attaching queries.
KindOne [Mon, 15 Aug 2016 01:12:14 +0000 (21:12 -0400)] 
Remove reference for attaching queries.

This was added in commit 85b84078f8d6c34f6ba13d11f512c824ec459f7a from pull request 1072.

Pull request 1014 would of made this command possible, but it was never pulled.

7 years agoFix cygwin build
Alexey Sokolov [Tue, 19 Jul 2016 21:24:27 +0000 (22:24 +0100)] 
Fix cygwin build

(cherry picked from commit f1ef8c79db7f8d04c5105eb817bd57a9c3ea0b4e)

7 years agoFix bad merge
Alexey Sokolov [Sun, 31 Jul 2016 11:00:32 +0000 (12:00 +0100)] 
Fix bad merge

7 years agoMerge branch '1.6.x'
Alexey Sokolov [Sun, 31 Jul 2016 09:37:38 +0000 (10:37 +0100)] 
Merge branch '1.6.x'

7 years agoFix OnInvite in modpython and modperl.
Alexey Sokolov [Sun, 31 Jul 2016 09:35:19 +0000 (10:35 +0100)] 
Fix OnInvite in modpython and modperl.

They were silently not called.

Close #1283

7 years agoAdd more debug output to test which often hangs on cygwin
Alexey Sokolov [Sat, 30 Jul 2016 08:19:52 +0000 (09:19 +0100)] 
Add more debug output to test which often hangs on cygwin

7 years agoRemove another line which I added only for debug...
Alexey Sokolov [Fri, 29 Jul 2016 22:28:10 +0000 (23:28 +0100)] 
Remove another line which I added only for debug...

7 years agoRemove line which I added for debug...
Alexey Sokolov [Fri, 29 Jul 2016 22:25:31 +0000 (23:25 +0100)] 
Remove line which I added for debug...

7 years agoCombine test of buildmod to single file.
Alexey Sokolov [Fri, 29 Jul 2016 22:21:08 +0000 (23:21 +0100)] 
Combine test of buildmod to single file.

7 years agoFix a null pointer dereference.
Alexey Sokolov [Fri, 29 Jul 2016 19:56:21 +0000 (20:56 +0100)] 
Fix a null pointer dereference.

It sometimes happened when user attaches to a channel.

No released version is affected.

Thanks to Zoddo for the report!

7 years agoFix cygwin build
Alexey Sokolov [Tue, 19 Jul 2016 21:24:27 +0000 (22:24 +0100)] 
Fix cygwin build

7 years agoMerge pull request #1294 from torarnv/priv-buffer-playback-signals
Alexey Sokolov [Sun, 17 Jul 2016 22:12:16 +0000 (23:12 +0100)] 
Merge pull request #1294 from torarnv/priv-buffer-playback-signals

Add OnPrivBufferStarting/Ending signals, similar to Chan buffers

7 years agoAdd OnPrivBufferStarting/Ending signals, similar to Chan buffers
Tor Arne Vestbø [Wed, 13 Jul 2016 13:15:56 +0000 (15:15 +0200)] 
Add OnPrivBufferStarting/Ending signals, similar to Chan buffers

Allows hooking into query buffer playback before and after all the
lines of the query buffer are replayed. The EModRet return value
has no effect at the moment, but may be used in the future to e.g.
prevent playback. The Chan version of these signals use EModRet to
skip emitting the status message, but not the whole playback.

7 years agoMerge pull request #1292 from dgw/issue-1291
Uli Schlachter [Fri, 8 Jul 2016 10:20:48 +0000 (12:20 +0200)] 
Merge pull request #1292 from dgw/issue-1291

[sasl] Do not try to convert entire "verbose" command to bool

7 years agoMerge pull request #1290 from torarnv/fix-gettimeofday-ret
Alexey Sokolov [Fri, 8 Jul 2016 09:28:23 +0000 (10:28 +0100)] 
Merge pull request #1290 from torarnv/fix-gettimeofday-ret

Fix inverted gettimeofday() return value handling

7 years ago[sasl] Do not try to convert entire "verbose" command to bool
Uli Schlachter [Fri, 8 Jul 2016 07:06:00 +0000 (02:06 -0500)] 
[sasl] Do not try to convert entire "verbose" command to bool

Fixes #1291

7 years agoCentralize logic to get current server time
Tor Arne Vestbø [Tue, 5 Jul 2016 16:40:42 +0000 (18:40 +0200)] 
Centralize logic to get current server time

A few different implementations of computing the current time were
spread out through the code base, most of them using gettimeofday().

This centralizes the logic in CUtil::GetTime() for easier maintenance,
and also allows all call sites to get the benefit of the clock_gettime()
code path on systems that support it.

7 years agoMerge pull request #1289 from torarnv/echo-message-time
Alexey Sokolov [Tue, 5 Jul 2016 20:41:01 +0000 (21:41 +0100)] 
Merge pull request #1289 from torarnv/echo-message-time

Don't strip timestamp when sending echo-messages

7 years agoFix inverted gettimeofday() return value handling
Tor Arne Vestbø [Tue, 5 Jul 2016 15:40:53 +0000 (17:40 +0200)] 
Fix inverted gettimeofday() return value handling

The gettimeofday function returns 0 for success, not for failure. As a
result of the inverted logic we were losing millisecond precision when
parsing incoming messages on non-HAVE_CLOCK_GETTIME systems (macOS).

7 years agoDon't strip timestamp when sending echo-messages
Tor Arne Vestbø [Tue, 5 Jul 2016 14:19:28 +0000 (16:19 +0200)] 
Don't strip timestamp when sending echo-messages

We preserve the time of the original message by making a copy of it,
and just changing the nick, which we then pass on to the CMessage
overload of PutClient, which converts the timestamp into a @time tag.

7 years agoMerge pull request #1282 from Zarthus/always-send-nick-in-notice
Alexey Sokolov [Sun, 26 Jun 2016 19:55:02 +0000 (20:55 +0100)] 
Merge pull request #1282 from Zarthus/always-send-nick-in-notice

Always send the users name in NOTICE when logging in.

7 years agoAlways send the users name in NOTICE when logging in.
Jos Ahrens [Mon, 20 Jun 2016 07:06:00 +0000 (08:06 +0100)] 
Always send the users name in NOTICE when logging in.

8 years agoMerge pull request #1280 from teward/patch-1
Alexey Sokolov [Sat, 11 Jun 2016 23:19:29 +0000 (00:19 +0100)] 
Merge pull request #1280 from teward/patch-1

Update default SSL ciphers, using Mozilla Intermediate recommendations, 2016-06-03

8 years agoUpdate default SSL ciphers
Thomas Ward [Fri, 3 Jun 2016 15:40:37 +0000 (11:40 -0400)] 
Update default SSL ciphers

Use an updated list of Default Ciphers, pulled from the same Mozilla recommendations.

This was pulled by me on June 3, 2016, thought we should update the cipherlist since it's been 5 months since it was last updated.

8 years agoAdd network-specific config for cert validation
xnrand [Thu, 19 May 2016 23:17:26 +0000 (01:17 +0200)] 
Add network-specific config for cert validation

Added the following two network-specific configuration options that can
be changed via controlpanel or webadmin:

* TrustAllCerts: Will trust ALL certificates when enabled, effectively
  disabling TLS certificate validation.
  Default value: false
* TrustPKI: Whether or not to trust PKI-valid certificates. Setting this
  to false will make znc trust only trusted certificates added by the
  user.
  Default value: true

With default values, behavior is exactly the same as before.

This is based on the work of Roelf Wichertjes. See YourBNC/znc@5c747598.

See znc/znc#866.

8 years agoMerge pull request #1272 from Zarthus/patch/security-fail2ban-cmds-admin
Alexey Sokolov [Wed, 11 May 2016 07:10:52 +0000 (08:10 +0100)] 
Merge pull request #1272 from Zarthus/patch/security-fail2ban-cmds-admin

fix #1271: Disallow non-admin users to use fail2ban commands

8 years agofix #1271: Disallow non-admin users to use fail2ban commands
Jos Ahrens [Tue, 10 May 2016 20:13:47 +0000 (22:13 +0200)] 
fix #1271: Disallow non-admin users to use fail2ban commands

8 years agoThe previous commit should work with ./configure too
Alexey Sokolov [Sun, 1 May 2016 23:03:29 +0000 (00:03 +0100)] 
The previous commit should work with ./configure too

8 years agoExplain modperl that ZNC uses UTF-8 internally
Alexey Sokolov [Sun, 1 May 2016 22:59:11 +0000 (23:59 +0100)] 
Explain modperl that ZNC uses UTF-8 internally

Thanks to jiggawattz for showing the issue

8 years agomodperl: fix reloading of module which couldn't be loaded before
Alexey Sokolov [Sun, 1 May 2016 13:23:37 +0000 (14:23 +0100)] 
modperl: fix reloading of module which couldn't be loaded before

Thanks to dudz for report

8 years agoMerge pull request #1261 from kylef/kylef/strip-resetfg-bg
Alexey Sokolov [Sun, 17 Apr 2016 17:44:22 +0000 (18:44 +0100)] 
Merge pull request #1261 from kylef/kylef/strip-resetfg-bg

Strip background colours when we reset foreground

8 years ago[CString.StripControls] Improve test coverage formatting
Kyle Fuller [Mon, 11 Apr 2016 20:57:19 +0000 (21:57 +0100)] 
[CString.StripControls] Improve test coverage formatting

8 years ago[CString.StripControls] Srip bg colours when we reset fg
Kyle Fuller [Mon, 11 Apr 2016 20:49:03 +0000 (21:49 +0100)] 
[CString.StripControls] Srip bg colours when we reset fg

8 years agoMerge branch '1.6.x'
Alexey Sokolov [Fri, 1 Apr 2016 21:16:58 +0000 (22:16 +0100)] 
Merge branch '1.6.x'

8 years agoSwitch ZNC-Linker channel notification of Travis to MetaNova's server
Alexey Sokolov [Fri, 1 Apr 2016 21:15:50 +0000 (22:15 +0100)] 
Switch ZNC-Linker channel notification of Travis to MetaNova's server

8 years agoMerge pull request #1257 from staticfox/tweaks
Alexey Sokolov [Thu, 31 Mar 2016 23:00:41 +0000 (00:00 +0100)] 
Merge pull request #1257 from staticfox/tweaks

Small misc cleanups

8 years agotemplate: Iterate over size_type
staticfox [Thu, 31 Mar 2016 14:32:57 +0000 (10:32 -0400)] 
template: Iterate over size_type

8 years agogitignore: Ignore code made by swig and codegen.pl
staticfox [Thu, 31 Mar 2016 14:30:41 +0000 (10:30 -0400)] 
gitignore: Ignore code made by swig and codegen.pl

8 years agotemplate: Don't re-declare sEnglishes
staticfox [Thu, 31 Mar 2016 14:20:04 +0000 (10:20 -0400)] 
template: Don't re-declare sEnglishes

8 years agoMerge pull request #1250 from Adam-/master+configwritetimer
Alexey Sokolov [Sat, 26 Mar 2016 18:52:36 +0000 (18:52 +0000)] 
Merge pull request #1250 from Adam-/master+configwritetimer

Add config write delay configuration setting

8 years agoChange Channel SetInConfig/SetKey to use ECONFIG_DELAYED_WRITE
Adam [Tue, 8 Mar 2016 18:55:45 +0000 (13:55 -0500)] 
Change Channel SetInConfig/SetKey to use ECONFIG_DELAYED_WRITE

8 years agoAdd config write delay setting
Adam [Tue, 8 Mar 2016 18:52:51 +0000 (13:52 -0500)] 
Add config write delay setting

8 years agoRevert broken test of shell module...
Alexey Sokolov [Mon, 14 Mar 2016 21:20:40 +0000 (21:20 +0000)] 
Revert broken test of shell module...

8 years agoMerge branch '1.6.x'
Alexey Sokolov [Fri, 4 Mar 2016 22:27:51 +0000 (22:27 +0000)] 
Merge branch '1.6.x'

8 years agoFix error in *controlpanel when setting bindhost of another user.
Alexey Sokolov [Fri, 4 Mar 2016 22:24:46 +0000 (22:24 +0000)] 
Fix error in *controlpanel when setting bindhost of another user.

Thanks to Kult for reporting this.

8 years agoFix #1248: segfault in shell module.
Alexey Sokolov [Fri, 4 Mar 2016 08:04:03 +0000 (08:04 +0000)] 
Fix #1248: segfault in shell module.

It happened when client disconnects.

8 years agoUpdate integration test after change in webadmin
Alexey Sokolov [Wed, 24 Feb 2016 23:01:39 +0000 (23:01 +0000)] 
Update integration test after change in webadmin

8 years agoTranslate strings which were hiding in webadmin.js
Alexey Sokolov [Wed, 24 Feb 2016 22:25:58 +0000 (22:25 +0000)] 
Translate strings which were hiding in webadmin.js

8 years agoWeb: don't put text of checkboxes on top of each other.
Alexey Sokolov [Wed, 24 Feb 2016 22:07:41 +0000 (22:07 +0000)] 
Web: don't put text of checkboxes on top of each other.

It was fine for English, but with other languages labels can be longer.

8 years agoTranslateable webadmin to Russian.
Alexey Sokolov [Thu, 4 Feb 2016 22:59:07 +0000 (22:59 +0000)] 
Translateable webadmin to Russian.

8 years agoMake more core strings translateable
Alexey Sokolov [Thu, 4 Feb 2016 22:58:35 +0000 (22:58 +0000)] 
Make more core strings translateable

8 years agoModules web subpages should have translateable titles
Alexey Sokolov [Thu, 4 Feb 2016 22:48:18 +0000 (22:48 +0000)] 
Modules web subpages should have translateable titles

8 years agoFix couple of bugs in i18n when source string contains non-ASCII characters.
Alexey Sokolov [Thu, 4 Feb 2016 21:21:37 +0000 (21:21 +0000)] 
Fix couple of bugs in i18n when source string contains non-ASCII characters.

8 years agoFix date of 1.6.3 release in ChangeLog
Alexey Sokolov [Wed, 24 Feb 2016 08:05:18 +0000 (08:05 +0000)] 
Fix date of 1.6.3 release in ChangeLog

8 years agoTreat real name similarly to quit message, except that the number isn't shown.
Alexey Sokolov [Tue, 23 Feb 2016 22:28:05 +0000 (22:28 +0000)] 
Treat real name similarly to quit message, except that the number isn't shown.

See #818 and #1244

8 years agoMerge branch '1.6.x'
Alexey Sokolov [Tue, 23 Feb 2016 22:23:39 +0000 (22:23 +0000)] 
Merge branch '1.6.x'

8 years agoRevert version to 1.6.x after release of 1.6.3
Alexey Sokolov [Tue, 23 Feb 2016 21:37:38 +0000 (21:37 +0000)] 
Revert version to 1.6.x after release of 1.6.3

8 years agoZNC 1.6.3
Alexey Sokolov [Tue, 23 Feb 2016 21:23:42 +0000 (21:23 +0000)] 
ZNC 1.6.3

8 years agoZNC 1.6.3-rc2
Alexey Sokolov [Thu, 18 Feb 2016 22:21:35 +0000 (22:21 +0000)] 
ZNC 1.6.3-rc2

8 years agoDon't save ZNC version to config as part of quit message.
Alexey Sokolov [Thu, 18 Feb 2016 22:18:08 +0000 (22:18 +0000)] 
Don't save ZNC version to config as part of quit message.

Introduce one more string for ExpandString.

Fix #1244

8 years agoFix cmake build with broken sasl
Alexey Sokolov [Sun, 14 Feb 2016 19:23:46 +0000 (19:23 +0000)] 
Fix cmake build with broken sasl

See #1243