Commit Graph

3342 Commits

Author SHA1 Message Date
Anders Bergh a7e8775efe Q module: Don't enable the UseCloakedHost option by default.
On QuakeNet's ircd you can't unset user mode +x once set. But loading
the Q module will set it immediately, possibly requiring a reconnect
if you don't want to use a cloaked host.

Signed-off-by: Anders Bergh <anders1@gmail.com>
2014-04-11 17:15:16 +02:00
Alexey Sokolov 90bc025906 Add encoding to controlpanel's help 2014-04-08 07:39:01 +01:00
Kyle Fuller b396cafdb2 Merge pull request #518 from teward/patch-1
Reword ClearBindHost/ClearUserBindHost success msg
2014-03-27 01:59:25 +00:00
Thomas Ward 12d81e1d4e Reword ClearBindHost/ClearUserBindHost success msg
The ClearBindHost and ClearUserBindHost success messages do not make a distinction on whether it's a network bind host that's being cleared or whether it's a user bind host that's being cleared.  I think that this should be reworded to make the distinction.
2014-03-26 20:10:15 -04:00
Alexey Sokolov 73bc8d5959 Merge pull request #512 from Nothing4You/fix-another-controlpanel-bindhost-issue
Fix *controlpanel not checking whether the bindhost is in the whitelist
2014-03-20 20:42:51 +00:00
Richard Schwab e77edb409e Fix *controlpanel not checking whether the bindhost is in the whitelist 2014-03-18 14:04:15 +01:00
Alexey Sokolov 2cfc6ce979 Merge pull request #510 from Nothing4You/fix-controlpanel-bindhost
Fix BindHost in SetNetwork in *controlpanel to check permissions
2014-03-17 10:14:04 +00:00
Richard Schwab 530bbb5b0d Fix BindHost in SetNetwork in *controlpanel to check permissions 2014-03-17 09:30:04 +01:00
Alexey Sokolov 1925737b84 Merge pull request #509 from Nothing4You/controlpanel-setnetwork-bindhost
Add BindHost to Get/SetNetwork in *controlpanel
2014-03-16 17:17:35 +00:00
Richard Schwab cdd16f3933 Add BindHost to Get/SetNetwork in *controlpanel 2014-03-16 17:12:04 +01:00
Alexey Sokolov 335a363ac4 Travis: apply ASan/TSan flags to ZNC, not SWIG 2014-03-09 23:18:05 +00:00
Alexey Sokolov e11eb08f8e Travis: add ASan and TSan builds 2014-03-09 23:11:47 +00:00
Alexey Sokolov 5c725afabd Travis: change efnet server to a working one 2014-03-08 19:47:58 +00:00
Alexey Sokolov 6295cea25f Don't ask for listen host in --makeconf
It confuses people too much.
Who wants ZNC to listen on localhost, may change settings immediately
after, via webadmin or /msg *status
2014-03-08 19:08:36 +00:00
Alexey Sokolov 9f95a8f944 Merge pull request #502 from jpnurmi/send-buffer
Add CChan::SendBuffer(client, buffer) overload
2014-03-06 22:40:23 +00:00
J-P Nurmi 2b0c47aa8e Add CChan::SendBuffer(client, buffer) overload
This allows interested parties eg. modules to to send a partial
buffer playback without reinventing the wheel.
2014-03-04 08:27:10 +01:00
Alexey Sokolov a8e7b908c0 Merge pull request #494 from jpnurmi/client-raw-hook
Add module hooks for raw client and server messages
2014-03-03 23:46:39 +00:00
J-P Nurmi 76bfa99dd0 Add module hooks for raw client and server messages 2014-03-04 00:24:15 +01:00
Alexey Sokolov 77652768c6 Merge pull request #493 from jpnurmi/server-time
Promote server-time formatting to Utils
2014-03-03 22:44:49 +00:00
Alexey Sokolov 7d2f74acf4 Merge pull request #500 from jpnurmi/find-chans
Add CIRCNetwork::FindChans()
2014-03-03 22:38:41 +00:00
Alexey Sokolov 5237e89bc3 Fix message tags parser and add test of it 2014-03-03 22:35:56 +00:00
Alexey Sokolov 0696a6ed23 Cleanup old tests (pre-gtest) 2014-03-03 21:38:18 +00:00
Alexey Sokolov 4b446cdf5a Merge pull request #501 from jpnurmi/message-tags
Add CUtils::Get/SetMessageTags()
2014-03-02 23:22:29 +00:00
J-P Nurmi ed25ca21e6 Add CIRCNetwork::FindChans() 2014-03-02 23:24:34 +01:00
J-P Nurmi 5f8f747704 Add CUtils::Get/SetMessageTags() 2014-03-02 23:18:39 +01:00
J-P Nurmi bbd84a06bf Promote server-time formatting to Utils 2014-03-02 02:01:40 +01:00
Uli Schlachter 0a0be7710f configure: Fix --disable-charset
Somehow I ended up only testing the automatic detection and the error message
from --enable-charset. I totally forgot that --disable-charset should skip the
whole check.

Thanks to Robby for reporting this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-01 16:57:09 +01:00
Alexey Sokolov 618d9c58a4 Fix chansaver's channel keys by adding other OnMode() hooks 2014-02-27 00:49:45 +00:00
Alexey Sokolov 40536fbf00 Merge pull request #498 from psychon/configure-flag-for-charset
configure: Add --enable/disable-charset
2014-02-25 20:09:54 +00:00
Uli Schlachter a074c23e39 configure: Add --enable/disable-charset
This override the auto detection. If --enable-charset is given, but icu can't be
found, configure will error out.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-02-25 17:13:01 +01:00
Alexey Sokolov ef533a4283 Merge pull request #496 from psychon/config-reasoning
configure: Give a reason for disabled features
2014-02-25 00:21:16 +00:00
Uli Schlachter 4676fa0a7f configure: Give a reason for disabled features
This adds a short reason to the summary at the end of configure (for options
where it makes sense, e.g. not debug or ipv6).

Example:

  charset:      no (icu-uc not found via pkg-config)

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-02-24 18:27:07 +01:00
Alexey Sokolov 97207113d0 webadmin: default uriprefix is "/" 2014-02-17 00:58:37 +00:00
Alexey Sokolov a83c8239cf Fix znc-buildmod
It failed to build some modules...

Thanks to kay45 for reporting this
2014-02-17 00:48:42 +00:00
Alexey Sokolov 1c8e9b9355 Merge pull request #485 from uu1101/uriprefix
Allow serving the web interface under a subpath
Fix #480
Fix #138
2014-02-17 00:44:37 +00:00
uu1101 26a9d73cba Set favicon URL to respect the prefix
When not specified, browsers tend to send favicon request to
/favicon.ico. This commit tells the browsers to look for it under the
URIPrefix.
2014-02-16 12:45:10 +01:00
uu1101 f6a881eeb2 Redirect to URIPrefix for paths outside the prefix 2014-02-16 12:45:10 +01:00
uu1101 c0974d9910 Don't support relative redirects 2014-02-16 12:45:10 +01:00
uu1101 46975cd9f1 Use absolute URIs in Redirect
Although most browsers seem to accept relative redirects, it is not
allowed by HTTP/1.1.

This commit changes relative URIs to absolute ones when redirecting.
2014-02-16 12:45:10 +01:00
uu1101 4376b373d8 Prepend URIPrefix to web interface links
Prefix links in templates with URIPrefix and add the input field to the
Listener editor.

The URIPrefix is provided as a top-level template variable. All URIs
have been changed to have the prefix prepended.
2014-02-16 12:45:10 +01:00
uu1101 d796fc8312 Add prefix on redirects and strip it on requests 2014-02-16 12:45:09 +01:00
uu1101 88c85b0396 Add URIPrefix listener option 2014-02-16 12:45:09 +01:00
uu1101 d3ddb9b69d The Listener of a RealListener is never NULL 2014-02-15 14:57:33 +01:00
uu1101 7a9ce630ef Add CString::StartsWith and CString::EndsWith 2014-02-15 12:41:54 +01:00
Alexey Sokolov bdc3bfe918 Merge commit 'refs/pull/488/head' of github.com:znc/znc 2014-02-10 20:58:11 +00:00
Alexey Sokolov 62cd47424f Merge pull request #486 from dgw/gitignore-versioncpp
Add version.cpp to .gitignore
2014-02-10 20:42:29 +00:00
dgw f33212b902 Add new columns to listsockets tmpl 2014-02-10 23:25:31 +04:00
dgw b98ae214b2 Add traffic stats to listsockets webadmin table
Table is not displaying, however. Odd.
2014-02-10 21:52:18 +04:00
dgw 36202ca890 add src/version.cpp to gitignore 2014-02-10 21:04:02 +04:00
dgw f244d7ab45 Add socket traffic stats to listsockets response
Not yet added to Web interface though.
2014-02-10 20:53:45 +04:00