psychon
48a0ecd653
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
4c698aa622
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
639eb30580
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
0a5f73c650
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
1bc56a6748
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
b9576f0ed1
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
400ce30051
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
da41b236b7
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
8317d19e52
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
2d12d1a547
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
ed3c02ce8d
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
386cc21e00
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
ad892aa764
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
psychon
8cebad9a42
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
a65637edd4
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
1e64d348ce
Another round of visual updates to dark-clouds.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1890 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 16:39:00 +00:00
cflakes
8e15e85919
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
psychon
a185b523f7
Install webskins to the right directory and fix some spelling
...
If one used --with-module-prefix=bla to set a different than the default
module-prefix, the files were still installed to the default directory.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1888 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 15:36:19 +00:00
cflakes
4d5ade7c8f
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
9ea1d2cf8e
Clarify the meaning of returning false from OnWebRequest.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1886 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 15:17:23 +00:00
cflakes
c655135ac4
Fix dark-clouds' error and success bars' looks.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1885 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 15:16:53 +00:00
cflakes
6a51f30039
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
3dc1afb189
Fixing some invalid XHTML markup.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1883 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 11:17:24 +00:00
psychon
0c7b2f96d2
Cosmetic fix for the debug output
...
PrintStaticFile() called ExpandFile() twice if debug output was enabled which
caused it's DEBUG() error messages to be printed twice.
It then called CHTTPSock::PrintFile() to print the actual file. PrintFile()
always sends a result page, no matter if this is an error page or a proper
result page. Thus we should always return PAGE_DONE here, since PAGE_NOTFOUND
was already handled.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1882 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 18:54:44 +00:00
cflakes
2361421c43
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
ad456c2669
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
1f3816a2e5
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
611e4e6d4e
Do not create empty directories if one does ./znc --datadir=NON_EXISTING_DIR
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1878 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 15:58:04 +00:00
cflakes
e67b07f07a
Do not expose ZNC's version number through the web interface
...
unless there's an active user session.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1877 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 15:20:22 +00:00
cflakes
3366c02777
Miscellaneous fixes and improvements to the look of dark-clouds and forest.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1876 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 14:24:25 +00:00
cflakes
d338b3d08c
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
1b79a28b37
Fix forest skin.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1874 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 13:46:29 +00:00
cflakes
7aadc8e250
"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
32a42f1375
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
dad7d73a3c
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
f8811a1897
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
silverleo
7a21198dbb
Renamed the default css file to properly work after the changes done in r1868
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1869 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 11:02:37 +00:00
cflakes
e4f8935c17
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
psychon
7285bb9cc7
Entirely my fault, sorry :(
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1867 726aef4b-f618-498e-8847-2d620e286838
2010-04-01 08:41:57 +00:00
psychon
b66b3f8950
Add functions for modifing the ports on which znc listens
...
Patch is based on a patch from BrianC, thanks a lot.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1866 726aef4b-f618-498e-8847-2d620e286838
2010-04-01 08:39:10 +00:00
psychon
dd905ba3eb
CRealListener: Inform CListener about being destroyed
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1865 726aef4b-f618-498e-8847-2d620e286838
2010-04-01 08:28:45 +00:00
cflakes
9d82e9b920
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
psychon
8b865f7c82
Include Socket.h in HTTPSock.h
...
CHTTPSock is derived from CSocket, so it obviously needs its definition.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1863 726aef4b-f618-498e-8847-2d620e286838
2010-03-31 18:48:48 +00:00
psychon
4eb7d604a2
GetSession(): Properly cache the result
...
This function caches its result for not-logged-in users since r1857. With this
commit, it also now works properly for logged-in ones.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1862 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 19:52:17 +00:00
psychon
2039f4e831
Bugfix for CWebSock::GetRequestCookie()
...
When a module page is requested, m_sModName is set. When then GetSession() tries
to look up its session cookie, it doesn't find it since GetRequestCookie()
actually looks up Mod::<modname>::<cookie name>.
The fix is to look up the global cookie name if the mod one doesnt exist.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1861 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 19:49:51 +00:00
psychon
43db68026c
Don't forward our own QUITs to clients
...
Colloquy disconnects if it receives a QUIT from the server. Also, the old
behavior wasn't really consistent, a quit was only forwarded if the user was in
any non-detached channels.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1860 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 15:09:32 +00:00
psychon
9bf75ce0e7
Remove CWebSock::m_bLoggedIn
...
We can just check if m_pUser is NULL for the very same thing.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1859 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 12:20:31 +00:00
psychon
fd750daa5f
Use GetSession() instead of m_spSession
...
m_spSession could be a NULL pointer while GetSession() new returns a NULL
pointer.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1858 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 12:11:27 +00:00
psychon
ede188aaa5
Make sure CWebSock::GetSession() only generates one session
...
When one sent a basic-auth header, OnLogin() was called with the request's data
which caused a GetSession() call which generated a new session. Sadly, this
session wasn't saved anywhere, so a new one session was generated later when
OnPageRequest() triggered. This could lead to a NULL pointer dereference.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1857 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 12:06:27 +00:00
cflakes
7d39481460
"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