Commit Graph

81 Commits

Author SHA1 Message Date
Alexey Sokolov 73b2daf24d Increase the version number to 1.0 2012-11-06 22:41: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 9b2898f603 Implement setting "Max number of networks" for user.
Fix #226
2012-09-20 01:24:47 +07:00
Alexey Sokolov 39ba5f28ea Fix errors on cygwin (more proper fix) 2012-08-19 16:14:17 +07:00
Alexey Sokolov c06db11513 Revert "Fix few errors on cygwin."
This reverts commit b77e697273.
2012-08-19 16:10:32 +07:00
Alexey Sokolov b77e697273 Fix few errors on cygwin.
I hate timeval...

Thanks to Lizzy Eilson for reporting this.
2012-08-19 15:25:09 +07:00
Alexey Sokolov a4d99e2726 Fix compilation.
These lines are not needed.

They even fail to compile on some compilers.

Thanks to Han` and fred for reporting this.
2012-08-15 19:39:22 +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
Alexey Sokolov 9fd4149d73 Fix modperl and modpython compilation.
Also fix few string-related inconsistences.
2012-08-15 00:38:23 +07:00
Kyle Fuller 67299ebfa8 Fix a bunch of conversion warnings #197 2012-08-14 19:31:14 +07:00
Alexey Sokolov 8360e906d5 It was bad idea to set *macEXITER to false inside MODULECALL :(
There're places where it's initialized to true before calling
MODULECALL.
2012-08-12 03:12:42 +07:00
Alexey Sokolov 27aa7036f5 Fix #117 2012-08-10 19:32:27 +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
Kyle Fuller 721d603383 Support messages directed to specific user prefixes
Closes #195
2012-07-28 00:07:46 +07:00
Alexey Sokolov 62c9ac1a0b using in headers is evil :( 2012-07-26 20:46:11 +07:00
Alexey Sokolov a131127770 Show commit id in version for git builds. 2012-07-21 23:27:53 +07:00
Alexey Sokolov cebc093254 Per-network bind hosts.
Fix #147
2012-07-19 00:59:41 +07:00
Kyle Fuller 981963a41e Don't send our password required notice until after CAP negotiation 2012-06-28 21:15:12 +01:00
Alexey Sokolov 27f42d1118 Rename (non-) KeepBuffer to AutoClearChanBuffer.
It should be a less confusing name...
2012-05-09 22:32:12 +07:00
Alexey Sokolov ff0a8bc94e Fix compilation of timestamps in -D
On some architectures time_t is not the same as long int.

Thanks to fred for reporting this.
2012-05-04 22:44:31 +07:00
Alexey Sokolov dc8cdd40de Make debug lines a bit smaller.
Well, a byte actually, not bit...
2012-04-14 19:07:11 +07:00
Alexey Sokolov 3e458a98e4 Merge some work by Jens-Andre Koch
Only his changes to the core are presented here.
Unfortunately, the skin itself looks ugly on Opera,
and simply doesn't work on Firefox...

Merge branch 'master' into znc-ation

Conflicts:
	modules/data/lastseen/tmpl/lastseen_WebadminUser.tmpl
	modules/data/webadmin/tmpl/settings.tmpl
2012-04-10 23:19:15 +07:00
Alexey Sokolov 28f6809af8 Webadmin: edit listen ports 2012-03-31 06:48:24 +07:00
Alexey Sokolov 95053f4db4 Increase the version number to 0.207 2012-03-29 23:28:25 +07:00
Jens-Andre Koch 92ec938150 Added Webskin "znc-ation" 2012-03-28 12:24:27 +02:00
Alexey Sokolov 30b99d58f3 Show list of timezones in webadmin. 2012-03-23 01:16:25 +07:00
Alexey Sokolov 1d4d657e23 Deprecate TimezoneOffset 2012-03-22 23:21:25 +07:00
Alexey Sokolov f0cab46c3f Merge https://github.com/znc/znc/pull/78 (TZ)
Conflicts:
	modules/admin.cpp
	src/User.cpp
2012-03-22 22:58:46 +07:00
Alexey Sokolov 355d5feb7a Move TZ-related code to own place. 2012-03-22 22:20:41 +07:00
Alexey Sokolov e83efead26 Nicify webadmin interface for flood protection. 2012-03-22 13:22:13 +07:00
Alexey Sokolov 19dff7cded Remove decl of func whose definition was removed. 2012-03-22 12:19:45 +07:00
Kyle Fuller 6999c8222d ResetJoinTries once we enable a channel
Fixes #83
2012-03-21 22:25:45 +00:00
Kyle Fuller db7c47f97d Rewrite the JOIN channel logic, dropping MaxJoins
Instead we fill the JOIN line up with as many channels as we can fit in
an IRC line. Rate limiting is done per command now, making MaxJoins
unnecessary.
2012-03-21 22:06:54 +00:00
Alexey Sokolov fb2b5193bc Show link to http://znc.in from web 2012-03-22 04:27:26 +07:00
Alexey Sokolov c98abf00a5 Implement protection from flood.
For ZNC-server connection
2012-03-21 19:48:26 +07:00
Alexey Sokolov 3aa6b581fc Csock: able use non-int number of secs for timer.
This patch happened in upstream csocket too, so update won't break
anything.
2012-03-20 09:03:44 +07:00
Alexey Sokolov 819776873d Add SSL/IPv6/DNS info to znc --version 2012-03-15 01:38:37 +07:00
Kyle Fuller f44b7fc7c4 Clear channel buffers if keep buffer is disabled and we're online 2012-03-06 17:55:14 +00:00
Kyle Fuller c54b3d0b87 webadmin: Implement clone user
Closes #127
2012-02-24 17:26:04 +00:00
Uli Schlachter 252e6d7151 Threaded DNS: Handle spurious wakeups
As DarthGandalf noticed, POSIX allows spurious wakeups from pthread_cond_wait.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-02-19 12:13:25 +01:00
Kyle Fuller 59ad967d77 Merge branch 'queue' 2012-02-14 19:32:03 +00:00
Uli Schlachter 0bdb18a427 Threaded DNS: Use a thread pool
When a DNS thread is done with its lookup, instead of existing immediately, it
now waits for another DNS lookup to do instead. This avoids the cost of
starting/stopping threads all the time.

To make sure that (for whatever reason) the number of waiting threads doesn't
get too high, threads exit if there are more than two DNS threads idling around
with nothing to do.

Fixes #132.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-02-14 20:28:28 +01:00
Kyle Fuller e47f76db6c Allow the connection queue to be paused 2012-02-14 19:22:33 +00:00
Kyle Fuller e08d53dcd5 Show network modules on the web interface menu
Closes #121
2012-02-13 23:58:32 +00:00
Kyle Fuller b1ed9c9b74 Add methods to CModule to get the web path
Add these values to the template and use them when linking to any module
2012-02-09 17:07:28 +00:00
Kyle Fuller b1593238d5 Make the URL's for web modules include the module type (#121) 2012-02-09 14:19:26 +00:00
Uli Schlachter ec3317a8e5 Merge branch 'debug_timestamps' of ssh://github.com/HaleBob/znc 2012-02-05 21:18:39 +01:00
Uli Schlachter 233897b3a8 threaded DNS: Remove an unneeded function
This inlines the function into its only caller.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-02-04 14:15:52 +01:00
Uli Schlachter 94c7b04245 Threaded DNS: Remove TDNS mutex
POSIX actually guarantees for us that this white is atomic and thus a partial
write is not allowed.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-02-04 14:15:52 +01:00