Commit Graph

1497 Commits

Author SHA1 Message Date
Alexey Sokolov 2f65dbbc64 Integrate disconkick module to core.
Fix #968
2015-06-04 22:02:39 +01:00
Alexey Sokolov f8f097a5db Make CTCP replies editor in webadmin more fancy when JS is enabled. 2015-06-04 21:39:37 +01:00
Alexey Sokolov 477a9ddd5a Make server editor in webadmin more fancy, when JS is enabled
See #145
2015-06-03 00:18:17 +01:00
Alexey Sokolov a3ed8147d0 Merge pull request #860 from ammaraskar/table_sorting
Implement table sorting in webadmin, addresses #40
2015-05-10 17:02:32 +01:00
Alexey Sokolov 0cdda5ad93 Merge pull request #962 from wolfy1339/pr-455-fix
Add third class to the port input [Fixes #446]
2015-05-09 08:48:44 +01:00
wolfy1339 9d61e5a400 Add third class to the port input [Fixes #446]
Addimg this class makes it so the input has a defined width.
Fixes znc/znc#446
2015-05-07 18:43:29 -04:00
wolfy1339 7c94c2cb34 Add extra td
Fixes znc/znc#446
2015-05-06 20:24:33 -04:00
Alexey Sokolov d884ff76c0 Merge branch '1.6.x' 2015-04-06 22:42:25 +01:00
Alexey Sokolov 21834d3aba Improve breadcrumbs in webadmin.
Fix #227
2015-04-06 22:40:55 +01:00
Alexey Sokolov 2fe416987f Merge pull request #912 from jpnurmi/sasl
SASL: add webadmin interface (closes #910)
2015-04-05 11:49:49 +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 cd832aaf69 Fix CUser::GetUserClients() and CUser::GetAllClients() in modpython.
Thanks to Lymia for reporting it.
2015-04-04 17:47:59 +01:00
Alexey Sokolov cc0574b084 Add drag-and-drop to SASL webpage 2015-04-04 10:28:38 +02:00
J-P Nurmi 72223febcf SASL: add webadmin interface (closes #910) 2015-04-04 10:28:38 +02:00
Thomas Ward 7f6380ae8b Update 'User Deleted' message to match format
The User Deleted output for a success does not match the rest of the output formats for other commands and needs to match the same 'standard' for outputs.
2015-03-30 11:36:12 -04:00
Ammar Askar 01da1d7f7d Use small triangles for sorting indicators 2015-03-08 02:13:44 +05:00
J-P Nurmi e62ed5f300 modperl & modpython: fix GetType() at module construction time 2015-03-07 21:54:33 +01:00
Alexey Sokolov 4549197301 Merge pull request #881 from Kriechi/improve-stickychan
improve stickychan
2015-03-07 15:24:57 +00:00
Alexey Sokolov 0179e857da Merge branch 'master' of github.com:znc/znc 2015-03-06 20:57:50 +00:00
Alexey Sokolov e1ac6c49cb Merge branch '1.6.x' 2015-03-06 20:57:18 +00:00
Alexey Sokolov 343035e172 Explain in webadmin why encoding settings are disabled. 2015-03-05 23:13:58 +00:00
J-P Nurmi a5b4a29c00 Revert StripControls implementation (#850)
This reverts commits 27d78795a7 and
f27109f1b4. It was decided that the
functionality is provided by a separate module instead, to avoid
unnecessarily bloating the core.
2015-03-04 09:50:00 +01:00
J-P Nurmi a67f929b7d Add stripcontrols module (#387)
This replaces #850. It was decided that the functionality is provided
by a separate module instead, to avoid unnecessarily bloating the core.
2015-03-04 09:47:49 +01:00
J-P Nurmi 05c96a16d1 Merge remote-tracking branch 'origin/1.6.x' 2015-03-01 09:19:01 +01:00
Alexey Sokolov 11c815d5ba Merge pull request #833 from Mkaysi/nickserv
nickserv: use NICKSERV instead of PRIVMSG
2015-02-28 20:59:21 -08: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
J-P Nurmi 21c93c1658 controlpanel: $user and $network (#847)
IMHO these placeholder names are the most obvious choice and easiest
to remember. For old-timers and to retain compatibility, $me is still
supported. For the advanced users there's also $net for convenience.
2015-02-28 01:10:58 +01:00
Alexey Sokolov 18897e47d9 Merge pull request #897 from jpnurmi/override
Add missing override keywords (#816)
2015-02-26 21:19:41 -08:00
J-P Nurmi dd0bc69413 Add missing override keywords (#816) 2015-02-27 00:24:02 +01:00
J-P Nurmi 75b210e841 Search'n'replace remaining NULL occurrences (#816) 2015-02-26 20:58:01 +01:00
Thomas Kriechbaumer 8f3f5b4dcc improve stickychan
* save registry on every stick/unstick action
* auto-save if channel key changes
2015-02-26 11:14:08 +00:00
J-P Nurmi 36a03ce29f Fix dead assign/init found by clang static analyzer
Value stored to 'pUser' (during its initialization) is never read
2015-02-26 08:32:49 +01:00
Alexey Sokolov f353c7aeef Merge pull request #844 from jpnurmi/delserver
controlpanel: add delserver command (closes #810)
2015-02-25 22:01:27 -08:00
J-P Nurmi 6002bd5c2b Remove unnecessary virtual keyword occurrences
This makes it convenient to 'grep virtual' and 'grep override' :)
2015-02-25 18:33:09 +01:00
J-P Nurmi 539c519cce Mods: use case-insensitive wildcmp() for channel/host matching
Fixes #822
2015-02-23 22:35:46 +01:00
ManiacTwister 27d78795a7 Also strip controls from private messages 2015-02-23 22:15:01 +01:00
ManiacTwister f27109f1b4 Implemented StripControls for channel messages and notices 2015-02-23 22:14:58 +01:00
J-P Nurmi be5f26ba18 Merge remote-tracking branch 'origin/1.6.x' 2015-02-23 09:39:12 +01:00
Alexey Sokolov 72678cc60c Merge pull request #874 from jpnurmi/webadmin
Fix #872: webadmin checkboxes
2015-02-22 21:36:06 -08:00
OGAWA Hirofumi c6d093a53a Change to return the value from OnUserQuit() as request 2015-02-22 04:33:15 +09:00
OGAWA Hirofumi 85941f87c0 Extend clearbufferonmsg module and some znc commands for flexible buffer clear
Current clearbufferonmsg clears buffer on some user actions (OnMsg,
OnCTCP, OnAction, OnNotice, OnPart, OnTopic). And user can't change
this fixed built-in rule.

This built-in rule to clear buffer is too inflexible. So, this
extends clearbufferonmsg to satisfy more users on different
situations.

Add args to clearbufferonmsg to allow that user choose callbacks to clear.

msg    - clear on OnUserMsg callback
ctcp   - clear on OnUserCTCP callback
action - clear on OnUserAction callback
notice - clear on OnUserNotice callback
part   - clear on OnUserPart callback
topic  - clear on OnUserTopic callback
quit   - clear on OnUserQuit callback

all    - set all options above

By default, clear on msg, ctcp, action, notice, part, topic. (except
quit for backward compatibility).

Example usage in znc.conf:

[set all options]
	LoadModule = clearbufferonmsg all

[on quit and part]
	LoadModule = clearbufferonmsg !all quit part
2015-02-22 04:33:15 +09:00
OGAWA Hirofumi feec20b013 Add OnUserQuit() for extending clearbufferonmsg
Add OnUserQuit() callback. On smartphone, user doesn't want to see
same lines repeatedly. But, meanwhile, user doesn't want to miss lines
when connection was lost.

To do it, this uses OnUserQuit() callback. With this callback,
clearbufferonmsg can clear buffer if user quited client explicitly.
And when connection was lost, buffer is still not cleared.
2015-02-22 04:33:14 +09:00
J-P Nurmi c0abef2c00 Merge remote-tracking branch 'origin/1.6' 2015-02-19 09:37:47 +01: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
J-P Nurmi 00b1a7eedf Use CString::StartsWith()
Replace the use of deprecated CString::Equals(str,bool,int) by
CString::StartsWith(str,cs) which is more pleasant to read.
2015-02-18 00:42:25 +01:00
Ammar Askar 0985132fc6 Implement table sorting in webadmin, addresses #40 2015-02-14 03:07:12 +05:00