Commit Graph

37 Commits

Author SHA1 Message Date
psychon
3b9a9c2b80 Webadmin: Make this work with the browser cache
This moves all static webadmin files (images, css) to the data/ subdirectory
of the skin dir. The webadmin module is changed to redirect requests to
/<skin name>/ to that data directory. The skins are changed to use the
new URL when linking to their stuff. (I only needed to change the path to
the main.css file in each Header.tmpl. Since the .css and the images are now
in the same directory, relative URLs work just fine).

This means that we now generate different URLs after changing the webadmin
skins and the browser cache can do its thing.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1481 726aef4b-f618-498e-8847-2d620e286838
2009-04-06 16:00:23 +00:00
psychon
2430b5f6a6 Fix some minor XSS bug in webadmin's default skin
For some reason it didn't escape module descriptions...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1391 726aef4b-f618-498e-8847-2d620e286838
2009-02-22 15:22:37 +00:00
psychon
6e880c5930 Remove maxlength="16" from the password input boxes in webadmin
This lead to silently truncated passwords which made logins a no-go.

Thanks to Julian for finding this one.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1330 726aef4b-f618-498e-8847-2d620e286838
2009-01-13 17:10:05 +00:00
psychon
b94e784301 Really use relative URLs in webadmin
I forgot the forms and the style sheets. Meh :(

Thanks to gencha for testing a snapshot and noticing that the forms are broken.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1254 726aef4b-f618-498e-8847-2d620e286838
2008-10-18 12:51:25 +00:00
psychon
aca6783f6f Use relative instead of absolute URLs in webadmin
This should make it possible to use webadmin together with apache's mod_proxy.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1253 726aef4b-f618-498e-8847-2d620e286838
2008-10-17 16:27:18 +00:00
psychon
120c1cedf2 Import the dark-clouds webadmin skin bigpresh made. Thanks :)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1210 726aef4b-f618-498e-8847-2d620e286838
2008-09-19 17:24:38 +00:00
psychon
85a70a418c Add JoinTries and MaxJoins config options to webadmin
This also changes the layout of the default skin a little, because it was
a little messed up. I still don't like the result, but meh, send patches!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1187 726aef4b-f618-498e-8847-2d620e286838
2008-09-03 14:28:18 +00:00
psychon
1bb1206472 Webadmin: Add support for timezone offset
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1079 726aef4b-f618-498e-8847-2d620e286838
2008-05-30 14:09:41 +00:00
psychon
0df0e9c234 Remove the *.de webadmin skins
I bet many people will kill me for this...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1078 726aef4b-f618-498e-8847-2d620e286838
2008-05-30 14:07:29 +00:00
psychon
f74ab87e19 And fix a shitload of trailing whitespaces and space / tab mixups in ZNC
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@959 726aef4b-f618-498e-8847-2d620e286838
2008-02-16 12:52:11 +00:00
psychon
69e076b166 chmod a-x graphiX's templates
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@849 726aef4b-f618-498e-8847-2d620e286838
2007-10-22 22:22:11 +00:00
psychon
eb850c933d Fix images.
Someone *cough* x-x *cough* didn't add the images as binary files.
Only the .ico files weren't broken. Fix this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@820 726aef4b-f618-498e-8847-2d620e286838
2007-08-07 20:05:57 +00:00
psychon
f601db2cd8 merge with rev 932 psychon branch:
- module call for /me's
- timestamps for playback and query buffer
- WALLOP stuff / fix
- properly join channels _after_ namesx or uhnames were set up
- dont screw up raws on reconnect when you ran /lusers
- change default quit msg and version reply to CZNC::GetTag(false)
- change CZNC::GetTag() to point to sf.net
- kind of an rewrite for partyline, added fixed channels (this doesnt work on irssi,
		did it ever work?)
- add the timestamp support to webadmin too
- add ConnectDelay config option to avoid being killed because we connected too fast
- make znc handle usermodes correctly


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@799 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:13:17 +00:00
prozacx
58e261a90d Fixed unicode issue - thanks Kuja
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@780 726aef4b-f618-498e-8847-2d620e286838
2006-09-18 00:30:43 +00:00
prozacx
3213954f45 Use js to confirm deletion of users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@777 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 23:39:58 +00:00
prozacx
4c8e99afdb Moved sizes of some inputs into css
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@776 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 23:28:48 +00:00
prozacx
70aafdee8f Moved awaynick functionality into modules/awaynick.cpp module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@775 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 22:57:28 +00:00
prozacx
dd83d0604e Patched using webadmin_charset.patch by psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@774 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 21:17:47 +00:00
prozacx
8acae63765 Skin translated to German by d4n13L
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@737 726aef4b-f618-498e-8847-2d620e286838
2006-06-18 23:55:32 +00:00
prozacx
a2a39993f3 German translation of skin - by d4n13L
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@736 726aef4b-f618-498e-8847-2d620e286838
2006-06-18 23:52:34 +00:00
prozacx
b81c806aaf Stop using '@' user@ip since usernames can have @
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@686 726aef4b-f618-498e-8847-2d620e286838
2006-03-15 18:35:24 +00:00
prozacx
2be6450106 Allow longer usernames
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@685 726aef4b-f618-498e-8847-2d620e286838
2006-03-15 18:33:22 +00:00
prozacx
83a29a4eba Added graphiX skin by d4n13L
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@671 726aef4b-f618-498e-8847-2d620e286838
2006-03-01 09:43:33 +00:00
prozacx
56aadd5c3c Removed class link
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@663 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 07:53:35 +00:00
prozacx
2a7cd84ec0 Made changes to validate on w3.org
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@662 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 07:46:39 +00:00
prozacx
9013b40fe6 Param for channame is now name=
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@661 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 04:19:33 +00:00
prozacx
d2327e7f7a Added new skin 'ice'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@659 726aef4b-f618-498e-8847-2d620e286838
2006-02-18 21:33:28 +00:00
prozacx
60940a3225 Added Switch User and sidebar for non admins
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@658 726aef4b-f618-498e-8847-2d620e286838
2006-02-18 21:32:30 +00:00
prozacx
8fa81829b3 Removed redundant label
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@648 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 00:20:38 +00:00
prozacx
6716e6f686 Added Listen Port table
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@647 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 00:19:54 +00:00
prozacx
7c52a7862e Added some space at the bottom of the page
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@640 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 10:04:36 +00:00
prozacx
aafbdd8000 Moved Skin option to the top
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@625 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 11:09:30 +00:00
prozacx
479f37a29c Added in some default colors
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@623 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 08:52:20 +00:00
prozacx
bd1084acac Added support to change skin in settings page
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@622 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 08:43:48 +00:00
prozacx
cbc9f2b1e5 Favorite Icon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@618 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 06:12:07 +00:00
prozacx
6c7c662baa Fixed path to css
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@614 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 05:56:25 +00:00
prozacx
60a8f677e4 Added template support for webadmin module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@612 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 03:19:13 +00:00