Commit Graph

1648 Commits

Author SHA1 Message Date
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
33ba89282e Fix compilation of modpython
Thanks to gtmanfred, who reported it
2012-10-12 08:29:38 +07:00
Alexey Sokolov
a6ec0c9e55 Don't fail compilation of modperl/python if they are first 2012-10-06 21:10:55 +07:00
Uli Schlachter
84ec49780e Get rid of the modpythin jobhack
This exists to fix a problem where the python swig API was generated multiple
times in parallel with "make -j3". This problems turns out to be due to the
multiple target rule that this commit removes. Such a rule doesn't mean "this
commands generate multiple files at once" but means "you can use this command
for each of these targets".

Fix this by including Makefile.gen instead of calling it in its own make
process. That way we don't need this "meta rule" which just calls another
Makefile but can use the "real" rules immediately.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-09-23 12:03:22 +02:00
Uli Schlachter
9c14a8603c Fix modperl re-building
Make was always rebuilding modperl/ZNC.so because the Makefile was actually
describing a file modperl/ZNC."so". Fix this by getting rid of the unnecessary
pair of quotes.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-09-23 11:18:53 +02:00
Alexey Sokolov
9b2898f603 Implement setting "Max number of networks" for user.
Fix #226
2012-09-20 01:24:47 +07:00
Alexey Sokolov
50e6c1bfab Fix dh-blowfish in sasl module and #230
Idea for the patch by psychon
2012-09-19 08:38:09 +07:00
Alexey Sokolov
48aa157024 Also I forgot to update wiki link. 2012-09-16 19:19:03 +07:00
Jyzee
73f794c455 NickServ module : Make NickServ nickname configurable.
On some networks, NickServ is named differently and this makes NickServ module unable to auto-ident.
This patch enables configuration of NickServ nickname to make it works on such IRC networks.
2012-09-13 05:15:49 +02:00
Adam
7f865cb990 Fix chansaver to not rewrite the config each time a user joins a channel on startup 2012-09-12 19:14:16 -04:00
Alexey Sokolov
59294ccc04 notify_connect links to wiki
Today our thanks go to KindOne
2012-09-07 21:10:49 +07:00
Alexey Sokolov
dbc3ca2574 Fix build of modperl
Thanks to Han` for reporting it
2012-09-07 09:21:04 +07:00
Alexey Sokolov
a9a869488a Fuck those makefiles
It tries to run SWIG for modpython several times simultaneously.
Just force modules to be built in 1 thread for now if modpython is going
to be built.

Makefiles should be thrown away.

Also don't show warning about unused perl, fix #219
2012-09-07 00:44:20 +07:00
Alexey Sokolov
9830be786a Add network and user to Edit channel page in webadmin.
This really needs #227 instead
2012-09-06 23:44:48 +07:00
Alexey Sokolov
c00cc72242 Add details to network table in webadmin.
Fix #222
2012-09-06 23:41:44 +07:00
Alexey Sokolov
0ed928623e webadmin: Show username in Edit Network page. 2012-09-06 23:18:30 +07:00
Alexey Sokolov
58d61539c3 webadmin: Fix using empty value for defaults in user page for buffer size.
Thanks to p3k for finding it.
2012-09-06 19:15:02 +07:00
Alexey Sokolov
0bb18481f6 Link log module to wiki.
Thanks to KindOne for reporting it.
2012-08-30 09:09:23 +07:00
Alexey Sokolov
395499c144 Autocycle: show help on unknown command.
Thanks to KindOne for reporting it.
2012-08-30 09:08:20 +07:00
Alexey Sokolov
f80ae4aad6 Various fixes of modperl and modpython.
Including cygwin support #216
2012-08-27 00:40:11 +07:00
Alexey Sokolov
d9459e1537 Typo fix: awaystore needs an argument 2012-08-26 16:40:00 +07:00
Alexey Sokolov
d56c443715 Perl+python: add arguments help text. 2012-08-26 10:17:50 +07:00
Alexey Sokolov
dcf105a517 Fix modperl's list of available modules.
Commit 8bb7ea5370 broke it.
2012-08-26 10:15:31 +07:00
Alexey Sokolov
e806ad0f67 Merge /mnt/c/cygwin/home/Администратор/znc 2012-08-20 01:03:42 +07:00
Alexey Sokolov
628f3c8ec1 Partially fix modperl build under cygwin. 2012-08-20 00:51:36 +07:00
Alexey Sokolov
f94cb24fed Fix SSL on cygwin. 2012-08-20 00:32:36 +07:00
Alexey Sokolov
502e5d6ace Fix perms of codegen.pl to be +x 2012-08-19 22:13:38 +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
691785fcb4 I'm tired of this :(
Rename admin module to controlpanel.
2012-08-16 21:24:03 +07:00
Alexey Sokolov
cc52a7d2be Add several fixed files for swig.
Workaround for broken swig, which allows old swig versions to work too.

These files should be removed when fixed swig is released.

Thanks to Juvenal for suggestion.
2012-08-15 01:42:46 +07:00
Alexey Sokolov
6b550f214d Fix logic of modperl Makefile 2012-08-15 00:39: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
7a4aa744fe Don't generate mod[perl|python].tar.bz2 2012-08-13 20:40:05 +07:00
Alexey Sokolov
fcc7839771 Improvements to modpython.
1. Be able to write binary data to any sockets, not only to ones created
from python.
2. Add support for CSmartPtr<CWebSession>
2012-08-13 20:01:07 +07:00
Alexey Sokolov
d7bd8d8a04 Merge branch 'master' of github.com:znc/znc 2012-08-12 22:35:57 +07:00
Alexey Sokolov
7e8f281ee5 Add vector<CListener*> to modperl/modpython. 2012-08-12 22:34:02 +07:00
Kyle Fuller
f8dc7d5cd5 route_replies: Follow rfc1459
Closes #190
2012-08-12 21:49:08 +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
9ede566cd2 Generate modpython.tar.bz2 2012-08-08 01:34:28 +07:00
Alexey Sokolov
c050356a24 Generate modperl.tar.bz2 2012-08-08 01:29:18 +07:00
Alexey Sokolov
44b382c6fc Update server-time implementation to match new standard. #181 2012-08-05 09:45:48 +07:00
Alexey Sokolov
325a3471da Fix build.
Thanks to Vampi for reporting this.
2012-07-29 00:10:52 +07:00
Alexey Sokolov
538aa77399 Modperl: read values from MCString #93
Example:
my $x = $self->GetNetwork->GetIRCSock->GetISupport;
$x->get("CHANMODES")

No iterating through all values though :(
2012-07-28 21:25:28 +07:00
Alexey Sokolov
5a3db7f91f Fix vim modeline for modpython.i 2012-07-28 20:27:29 +07:00
Alexey Sokolov
3145c5054c Allow perl modules to be loaded not by modperl 2012-07-28 19:35:22 +07:00
Alexey Sokolov
ff755b8812 Modpython: support OnLoginAttempt.
So python part of #98 is completed.
2012-07-28 11:31:36 +07:00
Alexey Sokolov
ac1b183583 Modpython: MCString as a normal dict-like object.
See github issue #93
2012-07-28 02:57:31 +07:00