Commit Graph

4514 Commits

Author SHA1 Message Date
Jens-Andre Koch 5e0e14523b - lowered the background color to get more focus on main content 2012-03-28 20:20:32 +02:00
Jens-Andre Koch bfc829d38d - used CString on Info.GetHasArgs 2012-03-28 16:59:51 +02:00
Jens-Andre Koch 0760dbada1 - fixed unintentional modification in chanserver
- added statement about using nuvola icons under LGPL 2.1
- added full license text
2012-03-28 15:26:33 +02:00
Alexey Sokolov 788a469340 Fix certauth to give proper XHTML too. 2012-03-28 20:21:47 +07:00
Alexey Sokolov ef82fce047 Fix XHTMLity of some modules. 2012-03-28 20:17:38 +07:00
Jens-Andre Koch 92ec938150 Added Webskin "znc-ation" 2012-03-28 12:24:27 +02:00
Alexey Sokolov 2f853bee61 A bit more debug output for tdns 2012-03-24 00:36:13 +07:00
Alexey Sokolov 4b3b0a5535 webadmin: Support javascript-disabled browsers. 2012-03-24 00:09:19 +07:00
Alexey Sokolov 4865a2da0c Serve web pages as utf-8 2012-03-23 11:53:20 +07:00
Alexey Sokolov c217004d0e Merge branch 'master' of github.com:znc/znc 2012-03-23 11:14:54 +07:00
Alexey Sokolov 9b3a764a6c Use XHTML 2012-03-23 11:14:29 +07:00
Kyle Fuller ae6b4c390a Allow loading chansaver as a network module 2012-03-22 23:37:55 +00:00
Kyle Fuller da9d080968 identfile: Make sure member values are NULL 2012-03-22 22:49:59 +00:00
Alexey Sokolov b46231b12d Let lang to be the same as xml:lang in web. 2012-03-23 01:17:29 +07:00
Alexey Sokolov 30b99d58f3 Show list of timezones in webadmin. 2012-03-23 01:16:25 +07:00
Alexey Sokolov 1d4d657e23 Deprecate TimezoneOffset 2012-03-22 23:21:25 +07:00
Alexey Sokolov f0cab46c3f Merge https://github.com/znc/znc/pull/78 (TZ)
Conflicts:
	modules/admin.cpp
	src/User.cpp
2012-03-22 22:58:46 +07:00
Alexey Sokolov 355d5feb7a Move TZ-related code to own place. 2012-03-22 22:20:41 +07:00
Alexey Sokolov e83efead26 Nicify webadmin interface for flood protection. 2012-03-22 13:22:13 +07:00
Alexey Sokolov 19dff7cded Remove decl of func whose definition was removed. 2012-03-22 12:19:45 +07:00
Kyle Fuller 6999c8222d ResetJoinTries once we enable a channel
Fixes #83
2012-03-21 22:25:45 +00:00
Kyle Fuller 7969e73f5c route_replies: Use CModCommand 2012-03-21 22:09:13 +00:00
Kyle Fuller db7c47f97d Rewrite the JOIN channel logic, dropping MaxJoins
Instead we fill the JOIN line up with as many channels as we can fit in
an IRC line. Rate limiting is done per command now, making MaxJoins
unnecessary.
2012-03-21 22:06:54 +00:00
Alexey Sokolov fb2b5193bc Show link to http://znc.in from web 2012-03-22 04:27:26 +07:00
Kyle Fuller 7beb7172d6 Set a valid HTML5 doctype before we use HTML5 features
It isn't valid HTML5 to use maxlength with input[type="number"]
2012-03-21 17:32:29 +00:00
Alexey Sokolov 7b42dc7063 Webadmin: use numeric inputs for numbers.
Depending on browser, it can be a spinbox, for example.
HTML5 FTW :P
2012-03-21 22:01:50 +07:00
Kyle Fuller 38ce17906c Don't forward WHO replies with multi-prefix to unsupported clients 2012-03-21 15:23:16 +00:00
Alexey Sokolov bf25eee520 Merge branch 'master' of github.com:znc/znc 2012-03-21 20:14:59 +07:00
Alexey Sokolov afaef88807 Edit flood protection in webadmin. 2012-03-21 20:13:53 +07:00
Alexey Sokolov c98abf00a5 Implement protection from flood.
For ZNC-server connection
2012-03-21 19:48:26 +07:00
Alexey Sokolov 3aa6b581fc Csock: able use non-int number of secs for timer.
This patch happened in upstream csocket too, so update won't break
anything.
2012-03-20 09:03:44 +07:00
Kyle Fuller 5618cf78d7 webadmin: Ask for confirmation when deleting a network
Closes #142
2012-03-19 00:34:41 +00:00
Kyle Fuller 27bebf1ca4 webadmin: The "Name" field on the add network page is the network name 2012-03-16 22:56:08 +00:00
Alexey Sokolov 819776873d Add SSL/IPv6/DNS info to znc --version 2012-03-15 01:38:37 +07:00
Alexey Sokolov 91e2256377 Clarify that only admins can load shell module.
So many people think that anyone can load it, just because they see it
in the list...
2012-03-15 01:10:09 +07:00
Alexey Sokolov 9b5eb910f3 Add Show command to identfile.
It should help us to debug that annoying bug of identfile aborting
connections...
2012-03-15 01:04:27 +07:00
Alexey Sokolov ddb1af86fd Ask for port > 1024 in --makeconf
There're so many people who try lower ports and get permission denied :(
Who really wants to use privileged port, can add it using /znc addport
2012-03-10 08:24:19 +07:00
Kyle Fuller aa9a629bf3 CString("off").ToBool() shouldn't be true 2012-03-06 18:00:43 +00:00
Kyle Fuller f44b7fc7c4 Clear channel buffers if keep buffer is disabled and we're online 2012-03-06 17:55:14 +00:00
Kyle Fuller 9b219289a6 Python: Override __eq__ to allow comparison of strings
Closes #135
2012-02-28 18:08:57 +00:00
Kyle Fuller 9d7c0d050b python: Allow iterating over CModules
Closes #137
2012-02-28 18:05:49 +00:00
Kyle Fuller f4c2f911ae modpython: Remove some global module hooks which won't work
OnLoginAttempt
    OnClientCapLs
    OnGetAvailableMods
2012-02-28 15:51:16 +00:00
Kyle Fuller 5995fc530e Remove references to CAres from mod{python,perl} 2012-02-28 14:16:53 +00:00
Kyle Fuller 961e3a81c6 modpython: Support global module hooks #98
The commit doesn't add support for the following module hooks:

    void OnClientCapLs(CClient* pClient, SCString& ssCaps)
    EModRet OnLoginAttempt(CSmartPtr<CAuthBase> Auth)

The reason for this is they do not currently work with codegen.pl
2012-02-26 15:03:25 +00:00
Kyle Fuller 478dace3f5 send_raw: Add a command to send a line to the current client 2012-02-26 13:24:50 +00:00
Kyle Fuller c328692ed7 c-ares is no longer a optional dependency 2012-02-25 17:18:44 +00:00
Kyle Fuller c54b3d0b87 webadmin: Implement clone user
Closes #127
2012-02-24 17:26:04 +00:00
Alexey Sokolov 7f8fbc2294 Drop antiidle, fakeonline and motdfile.
If someone needs them, feel free to resurrect.
2012-02-21 19:59:10 +07:00
Alexey Sokolov 34d0da2097 Make sources to depend on headers again.
Wrong dependency Makefiles were generated since moving core to src/
2012-02-21 19:40:29 +07:00
Alexey Sokolov 7ac61474ed ZNC-Extra no more.
Few the most useless modules are just removed, the others are moved to
standard modules.
2012-02-21 19:34:36 +07:00