Commit Graph

4348 Commits

Author SHA1 Message Date
Alexey Sokolov f33809585f Move Message sizes asserts to their definitions, and add missing ones. 2015-11-21 10:50:52 +00:00
Alexey Sokolov c283d7a07b Fix include guard of Message.h 2015-11-21 10:35:03 +00:00
Alexey Sokolov f3bc06c47d Revert "znc.service.in: add datadir & instructions"
This reverts commit 28f7f57666.

Close #1165
2015-11-21 00:40:24 +00:00
Alexey Sokolov 2cb6599c87 Merge pull request #1184 from TingPing/tingping/servicefile
Fix bindir in service file
2015-11-15 23:34:38 +00:00
Patrick Griffis be60ebb4b7 Fix bindir in service file 2015-11-15 18:26:15 -05:00
Alexey Sokolov 622b48427c Merge pull request #1166 from Mikaela/systemd
znc.service.in: add datadir & instructions
2015-11-15 22:28:51 +00:00
Alexey Sokolov 6ec64ebfba Merge branch '1.6.x'
Conflicts:
	ChangeLog.md
	configure.ac
	third_party/Csocket
2015-11-15 18:21:11 +00:00
Alexey Sokolov 840acbfb5d Merge branch '1.6.x' of github.com:znc/znc into 1.6.x 2015-11-15 18:00:48 +00:00
Alexey Sokolov e2d313d3ba Revert version changes after releasing 1.6.2 to 1.6.x 2015-11-15 17:59:43 +00:00
Alexey Sokolov 55b5c24255 Increase the version number to 1.6.2 znc-1.6.2 2015-11-15 17:36:31 +00:00
Mikaela Suomalainen 28f7f57666 znc.service.in: add datadir & instructions
Closes #1165
2015-11-10 09:28:24 +02:00
Alexey Sokolov 1e46ea821a Merge pull request #1176 from KindOne-/master
Add test for controlpanel module
2015-11-08 16:47:34 +00:00
KindOne 6ac59ee4df Add test for controlpanel 2015-11-06 20:45:38 -05:00
Alexey Sokolov f909cf1ce0 Merge pull request #1178 from Mikaela/travis
.travis.yml: encrypt IRC notification settings
2015-11-06 11:27:07 +00:00
Mikaela Suomalainen 429e0451e4 .travis.yml: encrypt IRC notification settings
Thanks @petemoore at #795
2015-11-06 13:16:59 +02:00
Alexey Sokolov 622c07b864 Merge pull request #1171 from walliski/logNameFix
Make $USER and $NETWORK case sensitive in logs
2015-11-04 22:52:43 +00:00
Alexey Sokolov 92ce58d25f ZNC 1.6.2-rc1 znc-1.6.2-rc1 2015-11-02 21:10:51 +00:00
Alexey Sokolov 4048483da0 Update Csocket: fix build without sslv3 (#1146) 2015-11-02 00:36:08 +00:00
Alexey Sokolov 2d0e2ebbde Don't package appveyor config in tarball
[skip ci]
2015-11-01 23:03:50 +00:00
Alexey Sokolov 29847146cf Make channel test more reliable 2015-11-01 23:01:05 +00:00
Alexey Sokolov 900a11a1a9 Fix test which I've just broken 2015-11-01 22:44:50 +00:00
Alexey Sokolov 585b380189 How did I manage to write invalid JOIN test? 2015-11-01 22:26:24 +00:00
Alexey Sokolov 2eb1164f94 AppVeyor: fix fork() on 32 bit cygwin in shell module.
[2015-10-31 22:44:22.609963] (user/test) CLI -> ZNC [PRIVMSG *shell :echo blahblah]
      0 [main] znc 2624 child_info_fork::abort: address space needed by 'simple_away.so' (0x380000) is already occupied
[2015-10-31 22:44:22.618538] (user/test) ZNC -> CLI [:*shell!shell@/home/appveyor PRIVMSG nick :Failed to execute: Resource temporarily unavailable]
2015-11-01 19:15:27 +00:00
Alexey Sokolov 34026d39dc Add test for shell module 2015-10-31 20:36:58 +00:00
Alexey Sokolov 81fd078157 Merge branch '1.6.x' 2015-10-31 11:58:30 +00:00
Alexey Sokolov fa4c01e49d Add missing return statement to dcc module.
It was harmless, but it makes Coverity happier.
2015-10-31 02:30:04 +00:00
Alexey Sokolov 0d8bb7e597 Merge branch '1.6.x'
Conflicts:
	modules/cyrusauth.cpp
	modules/keepnick.cpp
	modules/notes.cpp
2015-10-30 14:56:28 +00:00
Alexey Sokolov 096dc5b320 Fix some unitialized fields in modules.
They are not used before OnLoad anyway, but Coverity will be happier.
2015-10-30 14:52:51 +00:00
Alexey Sokolov c8edabb035 Fix memory leak when reading invalid znc.conf
Found by https://scan.coverity.com/
2015-10-30 14:36:01 +00:00
Alexey Sokolov 5e337647b1 Add test for invalid channel config. 2015-10-30 14:33:46 +00:00
Alexey Sokolov 3f9bc71bb2 Travis: don't build twice for coverity (again) 2015-10-30 01:52:44 +00:00
Alexey Sokolov 3236240029 Merge branch '1.6.x' 2015-10-30 01:18:49 +00:00
Alexey Sokolov f6aa35c6fb Really fix #528
The previous fix (5e6e3be3) left a possibility to use-after-delete,
though it has been much harder to accidentally trigger.

If AddChan(pChan) fails, it deletes pChan, so the new crash was
happening during showing of error message.

Test for this is at master branch: 9777a1a667

Thanks to https://scan.coverity.com/ for pointing at this.
2015-10-30 01:16:29 +00:00
Alexey Sokolov 9777a1a667 Add test for fix of #528 2015-10-30 01:06:39 +00:00
Alexey Sokolov bc77cf795f Show different labels for build badges for travis/appveyor. 2015-10-28 07:40:54 +00:00
Alexey Sokolov 07d9b6efb0 Coverity: don't build ZNC twice, enable verbose make, enable cyrus 2015-10-28 01:01:13 +00:00
Alexey Sokolov 2de6d34ef7 Coverity: Run ./bootstrap.sh before ./configure 2015-10-28 00:06:37 +00:00
Alexey Sokolov 96d9651e9d Setup Coverity scan. 2015-10-28 00:02:19 +00:00
Walliski 54ab10a311 Removed AsLower from $USER and $NETWORK since these are case sensitive 2015-10-27 01:35:57 +02:00
Chris Tyrrel 2b4f3bdac8 Fix recently introduced crash in controlpanel.
See #1051
2015-10-26 00:16:34 +00:00
Alexey Sokolov cf1c56557a Merge pull request #1154 from jreese/server-details
#1147: show new server name when jumping
2015-10-25 20:08:32 +00:00
John Reese 9aff0cd566 See #1147: show new server name when jumping
This updates the connect command in *status to retrieve the next server
object before triggering the jump, thereby allowing it to display the
next server's name rather than a generic message.
2015-10-25 12:41:00 -07:00
Alexey Sokolov 69b031c43c Workaround test failure on cygwin64 2015-10-24 11:56:23 +01:00
Alexey Sokolov db550a3aa0 Add one more small test. 2015-10-20 08:12:34 +01:00
Alexey Sokolov a35a5d3bc8 Test: add typedef for a widely used type 2015-10-20 08:02:46 +01:00
Alexey Sokolov 38288a17e9 Test: slightly more compact output 2015-10-20 08:00:36 +01:00
Alexey Sokolov 3856e7ba2f Merge pull request #1150 from jreese/simple-away
Fix #1133: Add MinClients option to simple_away
2015-10-20 07:37:50 +01:00
Alexey Sokolov 933aa6db0c Add some more tests and fix a bug which sometimes blocked login of users.
This bug wasn't released yet.
cc @jpnurmi
2015-10-18 23:22:32 +01:00
Alexey Sokolov eb450ee885 Test: extract some building blocks to make future tests easier 2015-10-18 22:23:42 +01:00
Alexey Sokolov 1caf6541a0 Test: workaround some Qt's annoyances, and add one more small test. 2015-10-18 21:39:59 +01:00