Commit Graph

3603 Commits

Author SHA1 Message Date
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
Alexey Sokolov 591b95ed54 MacOS X: require SWIG 2.0.12
To fix build of modpython
2014-02-09 23:46:14 +00:00
Alexey Sokolov b7592008af Merge pull request #484 from KiNgMaR/singleton
Allow more control over CZNC singleton
2014-02-08 18:03:06 +00:00
Ingmar Runge ec6607ccf5 Use CZNC::DestroyInstance(). 2014-02-08 01:32:12 +01:00
Ingmar Runge 4c505946ac Patch ZNC core for more control over singleton... 2014-02-08 01:25:28 +01:00
Alexey Sokolov 17d97bba6b Merge pull request #482 from KiNgMaR/win32-file-move
work around Win32 rename() issue using native API
2014-02-07 20:48:08 +00:00
Alexey Sokolov 17b1b3c0f6 Merge pull request #481 from KiNgMaR/squash-some-warnings
squash some compiler warnings
2014-02-07 20:23:18 +00:00
Alexey Sokolov 200c5da15f Merge pull request #483 from KiNgMaR/issue464
Possible fix for issue #464
2014-02-06 22:37:38 +00:00
Ingmar Runge 13040d9c72 Fix AddServerThrottle. 2014-02-06 23:36:01 +01:00
Ingmar Runge 39468f6aa2 certauth: improve const correctness 2014-02-06 18:46:07 +01:00
Ingmar Runge f4a7386ad4 certauth: case insensitive hex key comparison
As noted in issue 464, comparing the hex representation of the public
key fingerprint should be case insensitive.
2014-02-06 18:42:22 +01:00
Ingmar Runge d80e989dba work around Win32 rename() issue using native API 2014-02-06 18:06:29 +01:00
Ingmar Runge b3021f913e squash some compiler warnings 2014-02-06 17:52:42 +01:00
Alexey Sokolov 4e5a45f73e Fix build of modperl under MacOS X, again 2014-02-01 16:08:56 +00:00
Alexey Sokolov 2858da4c76 Don't create ~/.znc/modules/
It confuses people too much
2014-02-01 16:08:56 +00:00
Alexey Sokolov 95cfc2228f Merge pull request #479 from TheWug/pullreq
Fixed issues brought up in IRC
2014-01-31 14:34:39 -08:00
Wuggingston Wugsalot d2cd657cfe Minor cosmetic changes
Refactored difficult-to-grok code involved with displaying alias
Fixed crash on alias error when a user isn't associated with a network
2014-01-31 17:11:22 -05:00
Alexey Sokolov dbdfa1e612 Merge pull request #466 from dgw/fix-shell-timeout
Remove accidental timeout in shell module
2014-01-27 14:18:04 -08:00
Alexey Sokolov 55c299fec6 Support encodings in *controlpanel 2014-01-27 00:27:07 +00:00
Alexey Sokolov 225b494761 Don't reread list of TZs every time 2014-01-27 00:26:30 +00:00
Alexey Sokolov 05ca849339 Don't ask if user wants to create znc.pem or not
Sure they want!
2014-01-27 00:07:17 +00:00
Alexey Sokolov 60b2f559dc Fix alias mod to compile with old compilers 2014-01-25 17:08:31 +00:00
Alexey Sokolov 17354c527f Add libicu-dev to travis config 2014-01-25 14:02:40 +00:00
Alexey Sokolov 366158d907 Add charset to version info 2014-01-25 13:50:07 +00:00
Alexey Sokolov cfc1227171 Drop old charset module
It didn't work well with webadmin
2014-01-25 13:50:07 +00:00
Alexey Sokolov c0a5ecb40b Add support for character encodings
Previous commit added support of it to Csocket.
When encoding is specified, core will convert incoming messages to UTF-8,
and outgoing messages from UTF-8.
When no encoding is specified, it will do nothing to bytes, like before.
This is to be changed somewhere in future, to have UTF-8 on wire by
default too.
When encoding's name starts with *, incoming messages will be treated as
UTF-8, if it is already correct UTF-8. Otherwise, it's converted.

Fix #151
Fix #366
2014-01-25 13:50:07 +00:00
Alexey Sokolov 6012cdee77 Update Csocket to e818c7b0d31b0ed71c74f9d0035b58efd73f3988
This adds support for character encodings, and decreases CPU usage in
some cases
2014-01-25 13:50:07 +00:00
Alexey Sokolov 72d08dcdd6 Merge pull request #472 from galdor/master
Include the command name in ERR_INVALIDCAPCMD messages
2014-01-23 16:21:56 -08:00
Nicolas Martyanoff f215ec602f Include the command name in ERR_INVALIDCAPCMD messages
As described in the IRCv3 Client Capability Negotiation document
(http://ircv3.org/specification/capability-negotiation-3.1).
2014-01-23 12:44:07 +01:00
Kyle Fuller 5950b1d68b Merge pull request #468 from marsjaninzmarsa/patch-1
Disable autocomplete password on add_edit_user.tmpl
2014-01-23 00:53:08 -08:00
Kuba Niewiarowski 1587103d36 Disable autocomplete password on add_edit_user.tpml
Autocomplete should be desabled because in default web browsers fill this resoulting "Invalid user settings" message when for example user changes skin.
2014-01-23 01:58:45 +01:00
Uli Schlachter c5f31f0a4d autogen.sh: Check for pkg-config before calling automake
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-01-22 20:58:52 +01:00
dgw 38fc398c2a Remove accidental timeout in shell module 2014-01-21 00:26:01 +04:00
Alexey Sokolov 72f171dd0d Don't redefine _FORTIFY_SOURCE if compiler already defines it 2014-01-19 10:13:30 +00:00
Wuggingston Wugsalot 18a02abfd3 Added alias module for ZNC-side command interception and processing 2014-01-18 21:38:58 +00:00
Wuggingston Wugsalot adafe9d197 Added CString::Join and CString::Convert
CString::Join works like python's string join, except that it takes 2
iterators (or pointers) instead of a whole collection
CString::Convert casts a string to another type using an intermediary
stringstream.
2014-01-18 21:37:59 +00:00
Alexey Sokolov be6094a464 Merge commit 'refs/pull/445/head' of github.com:znc/znc 2014-01-18 17:27:07 +00:00
Alexey Sokolov f456b274b5 Warn users about port 6667 in --makeconf
This should decrease chance of web browsers failing to connect to ZNC
2014-01-18 12:28:38 +00:00
Andrew Northall 0f8441fdff Channel name cannot contain space 2014-01-18 03:24:23 +00:00
Alexey Sokolov 4e2c5e78f0 Merge pull request #449 from dgw/ircline-nickserv
ircline.org nickserv message support
2014-01-17 13:25:46 -08:00