cflakes
4274bdc5d1
Add the cool charset module to "extra". It normalizes character sets,
...
so if your client sends e.g. ISO-8859-1, and users on your IRC server
want UTF-8, this module can help you.
Or, the other way around, if users on your IRC server send messages
with weird charsets that your client doesn't understand, this module
can convert them to UTF-8 or something for you (as long as you know
the names of the source charsets, at least).
More explanation will be added to the wiki shortly.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1942 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 21:45:13 +00:00
cflakes
fb8b8e4258
Fixed lastseen template to reflect the new user deletion confirmation page.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1941 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 20:43:23 +00:00
cflakes
50451bec2f
Fixed GetParam call in the notes module.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1940 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 20:37:24 +00:00
cflakes
e8791a85ec
Make del_user page look nicer.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1939 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 20:36:42 +00:00
cflakes
db9a9bfaa9
Adjusted the GetParam calls in webadmin.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1938 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 20:33:03 +00:00
psychon
2e6881c378
Webadmin: Use a dedicated page for confirming user deletes
...
The old Javascript way didn't work when one had javascript disabled.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1937 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 14:46:45 +00:00
cflakes
9c5068a754
WebMods: Fix cookie check and menu entry variables to use the new GetParam methods.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1936 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 14:45:22 +00:00
psychon
54073d1147
HTTPSock: Split up parameter access
...
Every function on CHTTPSock which works with request parameters now has a new
flag bool bPost which decides whether only POST or GET parameters should be
used.
This breaks everything which tries to access GET parameters, but once this is
fixed we should be pretty safe against CSRF.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1935 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 14:09:23 +00:00
cflakes
68c4931e2d
WebMods: Delete obsolete login.tpl template. The login form has been
...
on / and /help and so on for some months.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1934 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 13:52:19 +00:00
cflakes
298d7f0997
WebMods: Following the last commit, this adds the CSRF check token
...
to existing action="post" forms. Right now, we don't have much of a
real protection against CSRF yet, but psychon is working on making
that happen :)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1933 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 13:35:06 +00:00
psychon
b0d140e2ed
Webmods: Only accept POST requests with a secret parameter
...
This is a first step against CSRF. Thanks to flakes for the idea.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1932 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 13:04:51 +00:00
psychon
eaaddf01bb
Webmods: Only accept "/login"
...
Nothing uses a "/login/bla"-style URI and thus we shouldn't have to check for it
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1931 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 12:52:03 +00:00
psychon
635fb4bc00
Update to latest Csocket
...
This adds Csock::ConvertAddress() which produces printable addresses. We use
this function in CZNCSock to strip away 4in6 prefixes (e.g. ::ffff:127.0.0.1).
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1930 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 11:17:42 +00:00
psychon
e2b91a32c9
Move some common pid file code into new InitPidFile()
...
Patch by reed, thanks again. :)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1929 726aef4b-f618-498e-8847-2d620e286838
2010-04-24 08:34:33 +00:00
psychon
0f6c1f9e16
Look, an invisible pink unicorn!
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1928 726aef4b-f618-498e-8847-2d620e286838
2010-04-23 16:38:03 +00:00
psychon
fe6a930a01
Add ./configure --enable-run-from-source
...
Unless this flag is used, znc will no longer look for modules in ./modules/
because this might be exploitable by lucky attackers.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1927 726aef4b-f618-498e-8847-2d620e286838
2010-04-23 16:27:21 +00:00
cflakes
16ad0950ea
Add support for an optional user-specified quit message to the DISCONNECT command that would be used instead of the message specified in the config file.
...
Patch by reed! Thanks!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1926 726aef4b-f618-498e-8847-2d620e286838
2010-04-23 09:09:07 +00:00
psychon
46b70f654d
Move the HTTP/IRC switching to CIncomingConnection
...
This new class waits for the first line from the client and checks if it's an
HTTP request and then passes the connection on to the irc or http code.
Before this, the IRC parser handled this as a special case which wasn't as
nice-looking as this is. :)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1925 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 18:20:12 +00:00
psychon
eb44919005
Move CListener and CRealListener into their own files
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1924 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 16:52:30 +00:00
psychon
92cce35f90
Move discon_kick, blockuser and lastseen out of extra/
...
discon_kick is renamed to disconkick, seems more consistent with the other
modules.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1923 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 15:52:50 +00:00
psychon
a489a3f8ff
Move imapauth and email to extra/, remove webchat
...
webchat will come back later in more shiny and with more blinky-blink!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1922 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 15:36:50 +00:00
cflakes
62a46f6fca
Cleanup: Remove unused/dead "WebLogoutCounters" code from User.h.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1921 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 14:58:00 +00:00
cflakes
fcdaa4b308
Remove some superfluous WebRequiresLogin and WebRequiresAdmin implementations from modules. Thanks to psychon for noticing.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1920 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 14:56:44 +00:00
cflakes
3225e8fbdf
Move the dangerous shell module to "extra".
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1919 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 14:46:14 +00:00
cflakes
057da383ea
Web-enabled the stickychan module. You can now stick+unstick channels from the web.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1918 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 14:10:56 +00:00
cflakes
56fb03622b
WebMods: minor fix to the looks of the default skin's login box.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1917 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 12:31:31 +00:00
cflakes
edc102268b
WebMods: Remove totally obsolete MSIE JS variable.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1916 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 12:23:04 +00:00
cflakes
cea6ad3469
WebMods: Added a message to the home/index page that
...
informs the user if no Web-enabled modules have been loaded.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1915 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 12:02:41 +00:00
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
4bc058109b
Minor "all vs both" addport help fix.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1913 726aef4b-f618-498e-8847-2d620e286838
2010-04-14 19:04:21 +00:00
cflakes
254024ce05
WebMods: Ice skin: Fixed menu and successbar/errorbar.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1912 726aef4b-f618-498e-8847-2d620e286838
2010-04-14 18:58:32 +00:00
cflakes
892b85fae9
First round of updates to the ice skin. Yummy.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1911 726aef4b-f618-498e-8847-2d620e286838
2010-04-14 07:50:23 +00:00
cflakes
813c611d9e
Added BrianC to the authors file. He contributed various patches already. :)
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1910 726aef4b-f618-498e-8847-2d620e286838
2010-04-13 22:35:34 +00:00
cflakes
140e8103b0
Small fix to default skin's tables. Very long words in td
...
cells are still not being wrapped, but that's not something
browsers support right now, so users will have to deal with it.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1909 726aef4b-f618-498e-8847-2d620e286838
2010-04-13 22:22:00 +00:00
cflakes
28740dea1c
Make the default skin 100px wider. This adds extra space for the menu and takes away
...
a little space from the content so the menu never overlaps the content...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1908 726aef4b-f618-498e-8847-2d620e286838
2010-04-13 21:21:32 +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
e77adef048
Update to latest Csocket
...
This gets rid of some openssl-related warnings from valgrind's memcheck and adds
Csock::GetPeerFingerprint().
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1905 726aef4b-f618-498e-8847-2d620e286838
2010-04-11 19:00:30 +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
f8d0174054
Add a getter for CUser::m_bIRCAway
...
Patch by Loriaki via sf.net patch tracker, thanks.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1903 726aef4b-f618-498e-8847-2d620e286838
2010-04-11 11:29:55 +00:00
psychon
ae5d15af46
Update AUTHORS
...
flakes is getting annoying enough to move up and reed seems to actually use
partyline. ;)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1902 726aef4b-f618-498e-8847-2d620e286838
2010-04-11 09:01:30 +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
2443c22a83
Add {List,Add,Del}Port to *status
...
Patch by BrianC, thanks a lot. (With some minor modifications)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1899 726aef4b-f618-498e-8847-2d620e286838
2010-04-08 16:04:56 +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
57cfa9502f
Re-intend stuff I was previously to lazy to
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1897 726aef4b-f618-498e-8847-2d620e286838
2010-04-07 19:28:39 +00:00
psychon
226d8db5da
aclocal says I suck
...
But I suck back!
configure.in:6: warning: underquoted definition of ZNC_AUTO_FAIL
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1896 726aef4b-f618-498e-8847-2d620e286838
2010-04-07 17:03:09 +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
521695fbd9
Fail less badly if openssl isn't found
...
Instead of erroring out, openssl is now disabled with a warning if it's not
found, unless you explicitly used --enable-openssl in which case configure will
error out again.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1894 726aef4b-f618-498e-8847-2d620e286838
2010-04-07 16:30:55 +00:00
psychon
f023242555
Switch to using $SSL instead of $NOSSL in configure
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1893 726aef4b-f618-498e-8847-2d620e286838
2010-04-07 16:13:17 +00:00