Commit Graph

172 Commits

Author SHA1 Message Date
Alexey Sokolov 1c8485cebe Update server-time to new specs with ISO 8601 2012-11-24 01:45:36 +07:00
Alexey Sokolov 4036114975 Add CModule::ExpandString()
It chooses which ExpandString() to call, of user or of network.
2012-11-23 21:40:30 +07:00
Alexey Sokolov 978e3b7832 Fix a typo and user modes.
Thanks to KindOne for noticing it.
2012-11-22 01:32:58 +07:00
Alexey Sokolov 94cce5ae38 Update Csocket, fix #254 2012-11-21 00:53:39 +07:00
Alexey Sokolov f54d4d443f Merge commit 'refs/pull/206/head' of github.com:znc/znc 2012-11-07 21:40:37 +07:00
Alexey Sokolov 73b2daf24d Increase the version number to 1.0 2012-11-06 22:41:24 +07:00
Alexey Sokolov a0e9977264 Rename control back to controlpanel...
I shouldn't do this during beta.
2012-10-19 22:51:33 +07:00
Alexey Sokolov 4f1fd1f6db Rename controlpanel to control, fix #240
It's just a shorter name, and hopefully still not as confusing as old
"admin".

Also unrelated change: fix case of few output lines during startup.
2012-10-19 22:14:25 +07:00
Alexey Sokolov ed83ac632d Hide current impl of server-time to znc.in/ namespace
The specs are going to change to support leap seconds properly,
so ZNC implementation will need to be updated.
But it would be too big change now, when 1.0-beta is out.

So support for this capability is delayed for 1.2
2012-10-16 19:50:16 +07:00
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
Austin Morton be76679065 change PutModule to handle multiple lines if need be. fixes #205 2012-07-28 02:11:00 -04: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