Commit Graph

672 Commits

Author SHA1 Message Date
cflakes
80724ce64c Do not keep nickserv passwords lingering around as module arguments.
Instead, save them as NV. This also prevents them from showing up in
webadmin.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1914 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 11:20:16 +00:00
cflakes
30d996dae8 WebMods: Finally fixed the default theme. Looks pretty nice now.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1907 726aef4b-f618-498e-8847-2d620e286838
2010-04-13 20:25:44 +00:00
cflakes
7748713afd Added ability to change the TimezoneOffset setting
from the admin module. Patch by BrianC, thanks!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1906 726aef4b-f618-498e-8847-2d620e286838
2010-04-12 15:31:42 +00:00
psychon
48148d6a30 partyline: Fix desync with {add,del}fixchan
Again, thanks to r33d for the patch.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1904 726aef4b-f618-498e-8847-2d620e286838
2010-04-11 11:43:09 +00:00
psychon
78044a7e06 partyline: Minor fix to loading saved channel topics
Follow up patch to r1898.

Patch again by Reed Loden (r33d), thanks a lot.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1901 726aef4b-f618-498e-8847-2d620e286838
2010-04-11 08:58:15 +00:00
cflakes
f823e8cdde Some more skin fixes. Default's menu is still ugly,
and the Ice skin is as well. Soon.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1900 726aef4b-f618-498e-8847-2d620e286838
2010-04-08 16:42:37 +00:00
psychon
4f2c782c86 partyline: Save channel topics across restarts
This implements some feature request on sf.net.

Patch by Reed Loden (r33d), thanks a lot.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1898 726aef4b-f618-498e-8847-2d620e286838
2010-04-08 15:56:19 +00:00
psychon
16464664e8 Fail less badly if perl isn't found
After this, perl, c-ares and openssl now are handled similar if they aren't
found.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1895 726aef4b-f618-498e-8847-2d620e286838
2010-04-07 16:55:27 +00:00
psychon
0c64f53bc9 Make query to *raw send the command to IRC instead of to the client
IMHO this makes way more sense. Really, a lot more sense.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1892 726aef4b-f618-498e-8847-2d620e286838
2010-04-07 16:04:52 +00:00
silverleo
7298f9c2dc Minor fixes to the templates
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1891 726aef4b-f618-498e-8847-2d620e286838
2010-04-06 20:00:21 +00:00
cflakes
36fa066eee Add number of configured channels to lastseen web page output.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1889 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 16:38:32 +00:00
cflakes
50dea12a2e Webadmin now finally displays "failed to load module" messages, thanks to the WebMods framework. Yay!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1887 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 15:18:02 +00:00
cflakes
c2fecba9f7 Some more beauty fixes for dark-clouds. :)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1884 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 14:13:38 +00:00
cflakes
21c30c84d5 Following revision 1880 the lastseen web page should only be visible for admin users.
Thanks to psychon for noticing! :)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1881 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 18:35:59 +00:00
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