Commit Graph

162 Commits

Author SHA1 Message Date
Alexey Sokolov a85735a641 Add a command for listing all users' networks.
Fix #224
2012-10-02 19:59:07 +07:00
Alexey Sokolov 0577894d26 Warn if mod dir of old network contains files when moving. 2012-09-30 20:44:24 +07:00
Alexey Sokolov b5102355cb Add a way to move networks between users.
It should help for migrating old multiuser setup to new multinetwork
one.

Fix #217
2012-09-30 16:23:50 +07:00
Alexey Sokolov d9ec39d818 Clarify in --makeconf how network name should look like. 2012-09-26 01:45:38 +07:00
Alexey Sokolov 9b2898f603 Implement setting "Max number of networks" for user.
Fix #226
2012-09-20 01:24:47 +07:00
Alexey Sokolov 9edcc716d5 *admin was renamed to controlpanel.
But znc --makeconf and config writer didn't know that.
2012-09-16 18:26:32 +07:00
Alexey Sokolov 38ff2a9400 Add space before AppendTimestamp for colorless lines.
Thanks to fred for reporting it.
2012-09-07 20:22:12 +07:00
Alexey Sokolov 19d5c8a7f0 Fix Config parsing.
Wtf did that mean?

P.S. clang's warnings are awesome.
2012-09-03 03:01:26 +07:00
Alexey Sokolov c3f3dddddc Show loading of networks during startup.
Only modules and servers were shown, without explanation which networks
do they belong to.
2012-08-27 23:08:08 +07:00
Alexey Sokolov ee8f0b0958 Fix fred's build. 2012-08-22 23:39:30 +07:00
Kyle Fuller 3347390cfc CString: Don't repeat ourselves 2012-08-19 23:06:28 +07:00
Alexey Sokolov da336049b3 Fix linkage on cygwin.
ZNC_NO_NEED_TO_DO_ANYTHING_ON_MODULE_CALL_EXITER is required in
libznc.dll, but it was defined in main.cpp

Again thanks to Lizzy Eilson
2012-08-19 16:30:47 +07:00
Alexey Sokolov 6851242a5d Revert "Fix also Buffer.cpp to use struct timeval"
This reverts commit d3840bba19.
2012-08-19 16:10:28 +07:00
Alexey Sokolov d3840bba19 Fix also Buffer.cpp to use struct timeval 2012-08-19 15:28:39 +07:00
Alexey Sokolov b2fa3a7f61 Fix #197 and more warnings in ZNCString.cpp 2012-08-18 22:40:30 +07:00
Alexey Sokolov 892727ba2c Fix more warnings and #197 2012-08-17 01:16:34 +07:00
Alexey Sokolov 395ae4fc9f Oh, I forgot to add a back-compatibility crap. 2012-08-16 21:29:07 +07:00
Alexey Sokolov a6716486c9 Fix modperl startup.
User.h and Utils.h should not depend on each other, and instead of name
of default method need to have a function in CUtils, which hashes using
default method (such function is in CUser now)
2012-08-15 03:03:55 +07:00
Kyle Fuller e06c3f5e88 Broken merge 2012-08-14 21:49:48 +07:00
Kyle Fuller 67299ebfa8 Fix a bunch of conversion warnings #197 2012-08-14 19:31:14 +07:00
Kyle Fuller e54f423ace Merge pull request #204 from kylef/nick
Send a nick change to clients connecting with a different nick
2012-08-14 05:18:16 -07:00
Kyle Fuller 7c1e41acc7 Don't replace our motd with a different servers motd
Fixes #167
2012-08-12 22:22:19 +07:00
Alexey Sokolov 27aa7036f5 Fix #117 2012-08-10 19:32:27 +07:00
Alexey Sokolov 2370567f9c Don't show message about missing motd by default.
To enable it, load missingmotd module.
Fix #202
2012-08-09 22:58:20 +07:00
Alexey Sokolov d37cb447a0 Use gettimeofday instead of clock_gettime.
POSIX.1-2008 deprecates gettimeofday...
So perhaps it will be changed back in future.

For now gettimeofday is more portable :(
2012-08-09 00:37:16 +07:00
Alexey Sokolov 44b382c6fc Update server-time implementation to match new standard. #181 2012-08-05 09:45:48 +07:00
Alexey Sokolov cacc5044e8 Fix build.
Thanks again goes to fred
2012-07-28 21:33:08 +07:00
Alexey Sokolov bf5d9c8517 Fix build.
Thanks to fred for reporting this.
2012-07-28 21:26:02 +07:00
Kyle Fuller 85a3115b8d Send a nick change to clients connecting with a different nick
Before we was hoping that the client was using the nick from 001, not all
clients supported this.

Closes #170
2012-07-28 03:09:08 +07:00
Kyle Fuller 8a44c87272 Don't require CTimer's label to be unique if its empty (Fixes #92) 2012-07-28 00:09:15 +07:00
Kyle Fuller 721d603383 Support messages directed to specific user prefixes
Closes #195
2012-07-28 00:07:46 +07:00
Alexey Sokolov a988546961 Make description of AddServer a bit more clear. 2012-07-27 09:05:42 +07:00
Alexey Sokolov 62c9ac1a0b using in headers is evil :( 2012-07-26 20:46:11 +07:00
Alexey Sokolov 07cb02c5d8 Show 410 to client for unknown CAP subcommand.
It's in CAP specs.
2012-07-24 19:51:53 +07:00
Alexey Sokolov a131127770 Show commit id in version for git builds. 2012-07-21 23:27:53 +07:00
Alexey Sokolov a88d9c7a7f Fix a warning in Csocket.cpp.
The patch was sent upstream too.
2012-07-21 23:27:03 +07:00
Alexey Sokolov 80acaa7c16 Add ShowBindHost command. 2012-07-19 01:08:16 +07:00
Alexey Sokolov cebc093254 Per-network bind hosts.
Fix #147
2012-07-19 00:59:41 +07:00
Alexey Sokolov 7951a50200 Use loadmod --type=type syntax for modules.
See github issue #171
2012-07-18 22:15:51 +07:00
Alexey Sokolov 2858ab4b26 Add more control codes and comments. 2012-07-05 00:29:30 +07:00
Kyle Fuller a53d997586 Only prepend the timestamps with \0F if they use formatting
This fixes a bug with fish implementation and append timestamps
2012-07-04 16:09:02 +01:00
Kyle Fuller 4ae6cb3061 DETACH: Don't show Detached from <channel> 2012-07-04 02:21:31 +01:00
Kyle Fuller 981963a41e Don't send our password required notice until after CAP negotiation 2012-06-28 21:15:12 +01:00
Kyle Fuller bb73c600e4 bNoChange in On{,De}{Op,Voice} wast incorrect
Fixes #128
2012-06-28 21:03:04 +01:00
Alexey Sokolov 6cddfe8454 Merge branch 'master' of github.com:znc/znc 2012-06-28 19:00:24 +07:00
Alexey Sokolov 0e89334741 Load cyrusauth for old configs instead of saslauth. 2012-06-28 18:59:31 +07:00
Kyle Fuller 8f6b5977aa Don't show Buffer playback/complete messages with server-time 2012-06-24 21:25:41 +01:00
Kyle Fuller 283fe7a72b Send a 464 ERR_PASSWDMISMATCH to clients which do not supply a password
"Returned to indicate a failed attempt at registering a connection for
which a password was required and was either not given or incorrect."
2012-06-02 13:31:49 +01:00
Alexey Sokolov 8231abfe55 Check for all module types on startup.
Instead of only global ones.
2012-06-01 09:39:17 +07:00
Alexey Sokolov fa0132900e Tell user what's going on before potential crash.
Custom modules compiled for older ZNC can crash ZNC.
Because now ZNC checks for list of available modules on startup in order
to check whether it's installed or not, it can crash right on startup.

Now it outputs nice message about checking for modules before that.

See github issue #172
2012-05-27 13:02:05 +07:00