Commit Graph

5020 Commits

Author SHA1 Message Date
ZNC-Jenkins 6115bc8d34 Update translations from Crowdin for de_DE es_ES fr_FR id_ID nl_NL ru_RU 2018-12-10 00:26:34 +00:00
Alexey Sokolov dda8bfe1f1 Merge branch '1.7.x' 2018-12-09 22:51:08 +00:00
Alexey Sokolov ad247cd2a5 Update alpine to 3.8 in Dockerfile for nightlies 2018-12-09 22:51:00 +00:00
Rosen Penev a28c5f8056 Fix compilation with LibreSSL < 2.7.0
LibreSSL was stubborn and did not implement all of OpenSSL 1.1 despite
advertising support for it. Fixed in 2.7.0.

Close #1623
2018-12-09 22:50:50 +00:00
Alexey Sokolov c9b9e30188 Travis: run parts of the Docker build even for pull requests 2018-12-09 22:30:24 +00:00
Alexey Sokolov 61a4e6e9d9 Merge branch '1.7.x' 2018-12-09 15:46:11 +00:00
Alexey Sokolov 7445e4b8dd Fix adding the last allowed network in webadmin.
Close #1584
2018-12-09 15:44:18 +00:00
Alexey Sokolov f3eca21bae Merge branch '1.7.x' 2018-11-26 23:02:21 +00:00
Alexey Sokolov 519294a70a Merge pull request #1620 from neheb/dep2
Fix compilation without deprecated APIs in OpenSSL 1.1
2018-11-26 23:01:50 +00:00
Alexey Sokolov ca4977879d Don't show server passwords on ZNC startup.
Fix #1599
Close #1607
2018-11-26 22:58:50 +00:00
Rosen Penev f6eb43673c Fix compilation without deprecated APIs in OpenSSL 1.1
Prior commit was tested with 1.0.2. This one with 1.1.
2018-11-26 14:35:24 -08:00
ZNC-Jenkins 030bc4b37c Update translations from Crowdin for pt_BR 2018-11-25 00:27:57 +00:00
ZNC-Jenkins 4c5e6eee18 Update translations from Crowdin for pt_BR 2018-11-25 00:27:21 +00:00
Alexey Sokolov 0199ffe698 Merge branch '1.7.x' 2018-11-10 18:05:28 +00:00
Rosen Penev dddcef52b9 Fix compilation without deprecated APIs in OpenSSL
Added a few implicit headers that don't get included anymore and switched
to OpenSSL 1.0.0's THREAD API when supported.

Close #1615
2018-11-10 18:04:03 +00:00
Alexey Sokolov a31df2474b Travis: Stop testing on OS X 10.11.
It continuously fails now:
/Users/travis/.travis/job_stages: line 104: pip3: command not found

While it's possible to fix this error, we still have newer macs in
Travis.
2018-11-10 00:33:28 +00:00
ZNC-Jenkins a1aca29427 Update translations from Crowdin for fr_FR 2018-11-02 00:26:18 +00:00
Alexey Sokolov 482f1ae31c Remove file which was accidentally added by automation 2018-11-01 07:56:52 +00:00
Alexey Sokolov b00cc30982 Merge branch '1.7.x' 2018-09-30 10:47:55 +01:00
ZNC-Jenkins 36e8f55bb9 Update translations from Crowdin for fr_FR 2018-09-30 00:26:44 +00:00
Alexey Sokolov 070d680e22 Merge pull request #1600 from Al-tay/1.7.x
Create fr-FR translation
2018-09-28 23:07:29 +01:00
Altay 0304a6516c Create fr-FR translation
Add French translation option.
2018-09-28 19:49:33 +02:00
ZNC-Jenkins 4cda4b5c45 Update translations from Crowdin for fr_FR 2018-08-19 00:26:52 +00:00
ZNC-Jenkins 1d57ffeaa3 Update translations from Crowdin for fr_FR 2018-08-10 00:26:43 +00:00
ZNC-Jenkins 2f4b158fd1 Update translations from Crowdin for ru_RU 2018-08-09 00:26:09 +00:00
ZNC-Jenkins f16b2958a5 Update translations from Crowdin for de_DE es_ES id_ID nl_NL pt_BR ru_RU 2018-08-08 00:26:34 +00:00
ZNC-Jenkins 0714a9ec23 Update translations from Crowdin for de_DE es_ES fr_FR id_ID nl_NL pt_BR ru_RU 2018-08-08 00:26:26 +00:00
Alexey Sokolov 7f89a6f484 Merge branch '1.7.x' 2018-08-08 00:15:41 +01:00
Alexey Sokolov 34509981d3 Merge branch '1.7.x' of github.com:znc/znc into 1.7.x 2018-08-08 00:15:34 +01:00
Alexey Sokolov 61513e96b7 Merge pull request #1585 from Wolf480pl/adduser-fix
Fix memory leak and null dereference in CZNC::LoadUsers when reading invalid config
2018-08-08 00:02:56 +01:00
Chris Tyrrel 327969cc55 controlpanel: Add missing return to ListNetMods
Close #1589
2018-08-08 00:00:55 +01:00
Alexey Sokolov 33c612ba5c Merge pull request #1590 from TheWug/remove-child-sigmask
Unblock signals when spawning child processes.
2018-08-07 23:59:10 +01:00
Ryan S e73060ad59 Unblock signals when spawning child processes.
The signal mask is inherited by children, so if we don't remove it
the shell module spawns processes which are accidentally resistant
to most signals.

see: man sigprocmask (znc uses pthread_sigmask, but they act the same)
2018-08-03 09:14:41 -07:00
ZNC-Jenkins 33cc6a2a2c Update translations from Crowdin for fr_FR 2018-08-01 00:26:26 +00:00
ZNC-Jenkins e2a96470a0 Update translations from Crowdin for 2018-08-01 00:25:56 +00:00
ZNC-Jenkins d58563a880 Update translations from Crowdin for es_ES 2018-07-27 00:26:09 +00:00
ZNC-Jenkins e8093e06e4 Update translations from Crowdin for de_DE id_ID nl_NL pt_BR ru_RU 2018-07-26 00:26:33 +00:00
Alexey Sokolov 18871dab8d admindebug: use \n instead of \r\n 2018-07-26 01:10:52 +01:00
Alexey Sokolov 8a1f8c358e admindebug: language/style fixes 2018-07-26 01:10:52 +01:00
Jos Ahrens d7e94d7ac5 admindebug: Enforce need of TTY to turn on debug mode
Fix #1580
Close #1581
2018-07-26 01:10:31 +01:00
Wolf480pl 80f9baf0a6 Fix memory leak and null dereference in CZNC::LoadUsers
Before this commit, when pUser->SetBeingDeleted(true) is executed,
pUser is an empty unique_ptr, because release() was already called
on it. Therefore, pUser->SetBeingDeleted is unidefined behaviour.

Also, AddUser only takes ownership of the passed user pointer if it
succeeds. In case of a failure, it's the caller's responsibility to
delete the user.

Fix this by keeping a raw pointer to the user, and handling it
accordingly when AddUser fails.

I have no idea whether SetBeingDeleted is necessary there, leaving it
just in case.

Maybe it would be better if we could change the semantics of
AddUser to always take ownership of the pointer,
or even take unique_ptr, but I have no idea how to adapt Python
bindings in modpython to such change.
2018-07-25 17:25:38 +02:00
ZNC-Jenkins 1e69758015 Update translations from Crowdin for nl_NL 2018-07-18 14:36:36 +00:00
ZNC-Jenkins 8f2269083a Update translations from Crowdin for es_ES 2018-07-18 14:36:34 +00:00
ZNC-Jenkins cb867d6b71 Update translations from Crowdin for de_DE id_ID nl_NL pt_BR ru_RU 2018-07-18 14:31:35 +00:00
ZNC-Jenkins a021784ebf Update translations from Crowdin for de_DE es_ES id_ID pt_BR ru_RU 2018-07-18 14:31:23 +00:00
Alexey Sokolov 7b95e2ee6e Merge branch '1.7.x' 2018-07-17 23:00:24 +01:00
Alexey Sokolov bae80fd383 Return version number to 1.7.x 2018-07-17 22:58:48 +01:00
Alexey Sokolov c426898b3a Increase the version number to 1.7.1 znc-1.7.1 2018-07-17 22:48:03 +01:00
Alexey Sokolov b52fecc42d Merge branch 'master' of github.com:znc/znc 2018-07-14 07:30:12 +01:00
Alexey Sokolov 29fab65723 Merge 1.7.x to master 2018-07-14 07:28:08 +01:00