Commit Graph

608 Commits

Author SHA1 Message Date
cflakes
3a41bc388f WebMod-enabled the lastseen module. Especially useful for setups with many users,
makes finding inactive accounts easy.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1880 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 16:58:47 +00:00
cflakes
9a82f7e3cd Remove obsolete (since now automatic) ESC=HTML flags.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1879 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 16:22:58 +00:00
cflakes
dd67b21597 Re-add lost options, fix some space, adjust some captions.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1875 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 14:11:22 +00:00
cflakes
b5e144b521 "dark-clouds" now looks okish again, still needs some finishing touches applied, but generally fine.
The MOTD textarea will use a monospace font now.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1873 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 13:44:47 +00:00
cflakes
eac271f9d2 Re-add missing IPv4 column for listeners on webadmin's settings page.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1872 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 12:58:14 +00:00
cflakes
51cf28c061 More skin updates on the way from webadmin to webmods. Not yet done.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1871 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 12:42:00 +00:00
cflakes
bd2764b34d WebAdmin: Show global settings previous to user settings.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1870 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 11:56:10 +00:00
cflakes
6c5421b021 Deleted obsolete modules/webadmin dir, copied CSS files for ice & default to
webskins dir, made default the _default_ skin, moved dark-clouds to dark-clouds,
added /skinfiles/ feature to base skins on each other (and not only on default).

Next up: re-adding help texts that got lost during webadmin->webmods transition,
making skins look nice again.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1868 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 10:27:33 +00:00
cflakes
8575a6eae4 Add missing DenyLoadMod check in admin.cpp, following
up revision 1845. Patch by Nirjen, thanks again!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1864 726aef4b-f618-498e-8847-2d620e286838
2010-03-31 21:41:30 +00:00
cflakes
555be2b724 "Fix" trailing whitespace in /settings' textareas.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1856 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 10:17:56 +00:00
cflakes
3fbcb24e78 Fix (hide) "Add Channel" link while creating new users. Regression
from porting webadmin to webmods.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1854 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 09:59:37 +00:00
cflakes
79e7316e87 Minor webmods skin fixes.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1853 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 09:48:23 +00:00
cflakes
bb79dd338f Added "Connect to IRC & automatically re-connect" checkbox to webadmin.
Sets the internal "automatically connect" flag just like /msg *status connect and
/msg *status disconnect do. Idea by Advis0r, thanks!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1851 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 09:16:09 +00:00
cflakes
b3b937fa2d Fix admin.cpp. Search and replace isn't what it used to be.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1847 726aef4b-f618-498e-8847-2d620e286838
2010-03-28 21:06:40 +00:00
cflakes
263d596379 Fix whitespace and general cleanup for admin.cpp. Let's hope this doesn't break anything. :P
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1846 726aef4b-f618-498e-8847-2d620e286838
2010-03-28 21:04:25 +00:00
cflakes
5afb3097a5 Add LoadModule, UnLoadModule, ListMods commands to the admin module.
This means that admins can now load user modules for other users.

Patch by Nirjen. Thanks, great job!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1845 726aef4b-f618-498e-8847-2d620e286838
2010-03-28 20:37:48 +00:00
psychon
5267e647e7 autoreply: Ignore messages from self
antiidle and autoreply didn't like each other, that's fixed now.

Thanks to Werring for reporting this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1828 726aef4b-f618-498e-8847-2d620e286838
2010-03-12 12:22:40 +00:00
psychon
6acaebf775 Add "Listen4" config option
"Listen6" and "Listen4" now do what the name implies and "Listen" listens on
both ipv4 and ipv6 (unless a bind host was set which forces something
different).

This also changes webadmin appropriately.

Thanks to DarthGandalf for the idea and the patch.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1816 726aef4b-f618-498e-8847-2d620e286838
2010-03-08 17:23:53 +00:00
psychon
3e780e8058 route_replies: Send 353 through ForwardRaw353()
Before, route_replies bypassed this function which caused "wrong" replies to
/names, because clients who didnt understand it still got NAMESX and UHNAMES
replies.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1811 726aef4b-f618-498e-8847-2d620e286838
2010-03-07 13:24:14 +00:00
psychon
5a02c73794 saslauth: Error out "better" on invalid module arguments
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1809 726aef4b-f618-498e-8847-2d620e286838
2010-03-07 13:12:41 +00:00
psychon
5d9a22f6cc Use CString::Split() in more places
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1808 726aef4b-f618-498e-8847-2d620e286838
2010-03-07 11:08:26 +00:00
psychon
333dd00867 notes: Remove an unused member variable
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1805 726aef4b-f618-498e-8847-2d620e286838
2010-03-04 14:04:34 +00:00
prozacx
c27713cc1d Added support for cookies and sessions. Logging in is now done via cookies.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1799 726aef4b-f618-498e-8847-2d620e286838
2010-03-01 01:22:02 +00:00
prozacx
e4f907dc42 Added a bunch of admin checks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1793 726aef4b-f618-498e-8847-2d620e286838
2010-02-24 06:31:58 +00:00
prozacx
0129916d4b The link to add channels was hidden if no channels already existed
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1790 726aef4b-f618-498e-8847-2d620e286838
2010-02-24 04:57:55 +00:00
prozacx
c9b2f4e063 Removed a cerr used in debugging
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1789 726aef4b-f618-498e-8847-2d620e286838
2010-02-24 04:35:59 +00:00
silverleo
7215efe434 Fix input checkbox widths, which rendered badly on some browsers.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1788 726aef4b-f618-498e-8847-2d620e286838
2010-02-23 19:52:00 +00:00
prozacx
45caa26d86 Renamed GetWebNavTitle() to GetWebMenuTitle() to keep in line with the name of the Menu.tmpl file
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1787 726aef4b-f618-498e-8847-2d620e286838
2010-02-23 06:09:21 +00:00
psychon
4ede77ba99 blockuser: Make user name comparison case-sensitive
Because user names in znc *are* case sensitive.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1786 726aef4b-f618-498e-8847-2d620e286838
2010-02-22 18:44:54 +00:00
prozacx
a06ae1e7c3 Fixed which skin name gets checked when you're editing a user other than yourself
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1785 726aef4b-f618-498e-8847-2d620e286838
2010-02-22 16:59:04 +00:00
prozacx
ad92c58c42 Initial commit of webmods - still lots of work to be done
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1784 726aef4b-f618-498e-8847-2d620e286838
2010-02-22 07:40:22 +00:00
psychon
472bc6f5c7 autoattach: Attach on channel actions
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1778 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 17:11:56 +00:00
psychon
115b170890 Another patch by DarthGandalf, thanks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1777 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 17:06:42 +00:00
psychon
1d88f564dc Fix a bunch of style suggestions from cppcheck[1]
Thanks to DarthGandalf for this patch. You must be bored. :P

[1] cppcheck.sf.net


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1776 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 16:21:07 +00:00
psychon
ec828fd081 Fix all overloaded Csock::ReadData() functions
CSocket changes the prototype, we follow.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1767 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 13:16:44 +00:00
psychon
17fdbf35bb Fix a small memory leak in webadmin
If the two passwords entered didn't match, webadmin leaked a CUser instance.
This was found by cppcheck, too.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1762 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:42:49 +00:00
psychon
0d85b13785 Handle more messages in partyline
partyline channels now also know about notices, /me and ctcp.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1758 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:09:23 +00:00
psychon
702faeeed5 Revert r1738-1742
This broke webadmin, changed CString::Token()'s behavior possibly breaking a lot
of stuff just before a release and added an unused config entry.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1748 726aef4b-f618-498e-8847-2d620e286838
2010-02-08 13:49:44 +00:00
cflakes
7bb6c2ad7a AppendTimestamp, PreprendTimestamp, DCCVHost and DenySetVHost (also affects DCCVHost) are now also changable via the admin module. Basic patch by psychon!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1747 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:21:48 +00:00
cflakes
82cf73d5c6 Removed an unnecessary exclamation mark from the admin module.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1746 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:02:32 +00:00
cflakes
f5848f5176 Added support for changing the "IsAdmin" flag to the admin module.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1745 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:01:42 +00:00
cflakes
fe55984467 Added support for the MaxJoins and JoinTries variables to the admin module.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1744 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 17:52:42 +00:00
cflakes
4759c75a2f Added missing IsAdmin checks to the admin module. DenyLoadMod and DenySetVHost are now properly adhered to.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1743 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 17:45:20 +00:00
prozacx
d2881ee9d1 Fixed a bug introduced in r1740 where template files weren't being found
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1741 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 04:53:06 +00:00
psychon
4fe56b2472 partyline: Send the user list on forced rejoin
When a client tries to part from a channel to which it was fixed, we sent it a
join again to make it rejoin (bad irssi for not waiting for the server's reply
to PART!).

The problem here was that we didn't send the nicklist and thus the channel
appeared empty. This fixes SF.net #2802684.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1731 726aef4b-f618-498e-8847-2d620e286838
2010-02-03 16:47:48 +00:00
cflakes
f06d68a77c Removed default-checked yet quite useless and annoying "[add ]your current ip" checkbox from webadmin's edit user page. The new default skin never had it, this completely removes it from the other skins and from the module.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1722 726aef4b-f618-498e-8847-2d620e286838
2010-01-25 21:54:55 +00:00
cflakes
cb0cc03e2e Use a nice, non-serif font for the "ice" webadmin skin instead of the browser default font (which usually is Times New Roman or something)!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1721 726aef4b-f618-498e-8847-2d620e286838
2010-01-24 17:50:32 +00:00
cflakes
286722eda5 Revamped default webadmin skin. It's very grayish, but looks way more like 2010 than the old default skin does.
The blue favicon.ico has been copied from the other webadmin skins.
Here's a screenshot: http://img402.imageshack.us/img402/2452/zncsettings126435334747.png


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1720 726aef4b-f618-498e-8847-2d620e286838
2010-01-24 17:19:07 +00:00
cflakes
0212052cdb Update to the flooddetach module: fixing a compile warning on x86 as reported by SilverLeo. Thanks!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1717 726aef4b-f618-498e-8847-2d620e286838
2010-01-19 20:10:15 +00:00
cflakes
44661c2d31 Following the bug report at [1] and a short discussion on IRC, this changes webadmin HTML pages' default charset to UTF-8. Since we do not have a routine that detects an input's charset or even converts it to UTF-8, this will cause ISO-8859-1(1) or other non UTF-8 encoded inputs that have been set e.g. as module arguments from IRC or from a non-UTF-8 shell console to show up garbled in webadmin. A possible fix would be to convert strings to UTF-8 before inserting them into the templates. We'll see what the future holds.
[1] http://sourceforge.net/tracker/index.php?func=detail&aid=2933280&group_id=115828&atid=672821


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1716 726aef4b-f618-498e-8847-2d620e286838
2010-01-18 19:52:16 +00:00