Commit Graph

1479 Commits

Author SHA1 Message Date
Alexey Sokolov 13ce4e3a1e webadmin: Don't autocomplete password in user settings even in Firefox
Fix #1163
2016-02-04 23:39:49 +00:00
Alexey Sokolov 65521d9e43 webadmin: Fix error message on invalid user.
Calling PrintErrorPage twice doesn't work very well.

See #1163
2016-02-04 23:18:49 +00:00
Alexey Sokolov 66daadfee8 sasl: add option to show which mechanisms failed and succeeded
Fix #770
2016-01-17 12:04:53 +00:00
Alexey Sokolov 5d014193b4 Don't require reconnect after changing encoding. 2016-01-09 18:18:44 +00:00
Alexey Sokolov c21e60ad7a Fix memory leak in modperl.
The reason is the same as it was for modpython in #1017
2016-01-07 01:14:21 +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 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 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
Mikaela Suomalainen aa631a5ee7 perform: add descriptions for commands
Thanks @ChasedSpade

Closes #1100
Closes #1102
2015-09-21 16:46:17 +03:00
Mikaela Suomalainen c8ab811a29 cert: add description for the "info" command 2015-09-20 23:31:37 +02:00
J-P Nurmi 3c2ec45d4c Fix more warnings [-Winconsistent-missing-override] 2015-09-20 17:30:48 +02:00
Alexey Sokolov 9493964a3d Merge pull request #1087 from Mikaela/route_replies
route_replies: make the timeout error more clear
2015-09-20 15:16:13 +01:00
Alexey Sokolov 073e538094 Merge pull request #1104 from Mikaela/module-descriptions
Add descriptions for missing commands in lastseen & certauth & route_replies
2015-09-20 15:14:14 +01:00
Mikaela Suomalainen f1cc0e4492 lastseen & certauth & route_replies: add missing descriptions 2015-09-20 16:28:50 +03:00
Mikaela Suomalainen 535d28bf32 route_replies: make the error more clear 2015-09-20 16:27:31 +03:00
Mikaela Suomalainen f54ad1f220 perform: say "number" instead of "nr"
I think it's inconsistent that perform uses abbreviation "nr" of "number"
while it talks about "command" instead of "cmd".
2015-09-19 16:32:40 +02:00
KindOne 6aed12f17d autovoice: Check for autovoices when we are opped.
Fixes #120
2015-09-17 23:17:00 +02:00
Jos Ahrens b67f9182d6 Fix stickychan joining inaccessable channels.
Channels that raise this error are unlikely to ever be unblocked,
either due to a jupe, or because the name contains illegal characters.
2015-09-09 18:47:56 +02:00
Alexey Sokolov 65e36c8daf s/NULL/nullptr/ in modpython's codegen.pl 2015-08-05 00:17:22 +01:00
Alexey Sokolov eda13bd1f0 Update codegen.pl too. See #1017 2015-08-05 00:10:58 +01:00
Alexey Sokolov b8330296a2 Fix memory leak in modpython.
Update typemaps for CString from latest SWIG.

The relevant change is "free p;" -> "delete p;"
CString object itself was deleted, but its destructor wasn't called,
so it couldn't free the underlying character data.

Fix #1017
2015-08-04 23:44:48 +01:00
J-P Nurmi 0058b47d42 Fix #1007: modules_online uses wrong ident 2015-07-28 12:27:01 +02:00
Alexey Sokolov 34d9183ff1 Hint in webadmin how to delete current port 2015-07-10 20:01:12 +01:00
Alexey Sokolov fce3d781bb Mention ExpandString in CTCP replies in webadmin 2015-06-05 08:04:33 +01:00
Alexey Sokolov 21834d3aba Improve breadcrumbs in webadmin.
Fix #227
2015-04-06 22:40:55 +01:00
Alexey Sokolov 094f74640a Fix CUser::GetUserClients() and CUser::GetAllClients() in modpython.
Thanks to Lymia for reporting it.

(cherry picked from commit cd832aaf69)
2015-04-04 18:34:03 +01:00
Alexey Sokolov 343035e172 Explain in webadmin why encoding settings are disabled. 2015-03-05 23:13:58 +00:00
J-P Nurmi 1180467a87 Fix chansaver loading
CModules::LoadModule() sets the module type _after_ construction.
The constructor cannot therefore do actions based on the module
type. Move loading to OnLoad().
2015-02-28 21:15:46 +01:00
Alexey Sokolov 72678cc60c Merge pull request #874 from jpnurmi/webadmin
Fix #872: webadmin checkboxes
2015-02-22 21:36:06 -08:00
J-P Nurmi d7598a76dc Merge pull request #878 from Mkaysi/sasl16
modules/sasl.cpp: update help for "set"
2015-02-19 09:29:36 +01:00
Mikaela Suomalainen 2082362b0b modules/sasl.cpp: update help for "set"
This is the same as #793, but for correct branch.

Closes #793
2015-02-19 10:08:45 +02:00
Thomas Kriechbaumer ac3570f18a fix savebuff timer initialization
closes #868
2015-02-19 08:34:01 +01:00
Mikaela Suomalainen 848085db68 sasl: fix help text for requireauth
Closes #875
2015-02-19 08:30:41 +02:00
J-P Nurmi 44705b7f47 Fix #872: webadmin checkboxes
Don't claim all networks/users have loaded a module when there are none
2015-02-18 11:29:28 +01:00
Alexey Sokolov f9a4507669 Add a global setting whether to show ZNC version or not
Close #820
Close #821
2015-01-30 23:01:06 +00:00
Alexey Sokolov 046f5e273c Clarify in webadmin that timestamp format is useless with server-time 2015-01-25 19:17:43 +00:00
Alexey Sokolov 7b1133de77 sample should be network module, not user module.
Network modules are easier to write
2015-01-18 21:26:42 +00:00
J-P Nurmi 045f7752cb savebuff: save & load query buffers - fixes #802
The old internal storage format was:

    ::__:SAVEBUFF:__::<buffer lines>

The new storage format for channels:

    ::__:CHANBUFF:__::<buffer name>
    <buffer lines>

The new storage format for queries:

    ::__:QUERYBUFF:__::<buffer name>
    <buffer lines>

See #802 for details why the storage format had to be changed. Reading
the old storage format is still supported so old saved buffers load as
appropriate.
2015-01-16 21:13:44 +01:00
Alexander Færøy 5ae5ff46db Q: Ignore JoinAfterCloaked unless UseCloakedHost is set
This patch ignores the value of JoinAfterCloaked unless UseCloakedHost
is set. Without this patch, it's possible to enable JoinAfterCloaked,
but not have UseCloakedHost enabled, which means that no channel will
ever be joined automatically by ZNC.

Fixes: #602
2015-01-11 17:42:26 +01:00
Alexey Sokolov 5608e4f201 Oops, I'm not familiar with our CSS 2015-01-11 09:06:15 +00:00
Alexey Sokolov 00b38dc164 Enable editing trusted fingerprints in webadmin 2015-01-11 09:04:31 +00:00
Alexey Sokolov 7504cb205b modpython: Enable default arguments feature of SWIG 3.0.4
Some corner cases are disabled for now, until SWIG fixes them.
See #809 for details.
2015-01-09 08:26:38 +00:00
Falk Seidel 2e29d49a53 Welcome to 2015 2014-12-31 11:28:38 +01:00
Mikaela Suomalainen 94c0c244be webadmin: suggest ISO-8859-15 if non-UTF-8 char...
...set must be recommended.
2014-12-30 13:34:35 +02:00
Edoardo Spadolini beee1f74bc Mention username as well as password in the sasl module help 2014-12-26 10:30:35 +01:00
Edoardo Spadolini eac2469275 Remove DH-BLOWFISH and DH-AES from the sasl module 2014-12-26 10:19:42 +01:00
Alexey Sokolov fd4c355e46 Let's use recommended value by default for new users 2014-12-25 14:42:52 +00:00
Alexey Sokolov e943f8b370 Fix crash in Add User page in webadmin
Thanks to JordanJ2 for reporting it
2014-12-25 13:00:27 +00:00
Alexey Sokolov c48729fe8b Fix some int_t types in modperl/modpython 2014-12-23 14:20:06 +00:00
Alexey Sokolov 4ba00559ac Recommend UTF-8 in webadmin
Fix #790
2014-12-23 14:19:30 +00:00