Commit Graph

3550 Commits

Author SHA1 Message Date
J-P Nurmi 65f739980d CString::Starts/EndsWith(): allow specifying case sensitivity 2014-09-29 16:41:07 +02:00
J-P Nurmi e86f43d841 Introduce CaseSensitivity enum class
The enum is a bit more verbose, but leads to more readable code:

str.Equals("foo", true)
// vs.
str.Equals("foo", CString::CaseSensitive)

Deprecate the old Equals() and leave out the length parameter
from the new version => use StartsWith() or StrCmp() instead.
2014-09-29 16:30:45 +02:00
Alexey Sokolov 227f2cfb29 Merge pull request #678 from NuclearW/batch-playback
Add ircv3.2 batch and batch channel and query buffer playback.
2014-09-28 21:37:38 +01:00
Alexey Sokolov 439fd6d285 Merge pull request #679 from jpnurmi/setchan
controlpanel: allow wildcards for getchan & setchan
2014-09-28 21:22:10 +01:00
NuclearW 73b6936d6d Add ircv3.2 batch and batch channel and query buffer playback. 2014-09-28 14:57:06 -04:00
Alexey Sokolov 8e4a001def Merge pull request #683 from NuclearW/onunknownuserraw-docs
Correct documentation for OnUnknownUserRaw
2014-09-28 18:09:46 +01:00
NuclearW be27831bf1 Correct documentation for OnUnknownUserRaw 2014-09-28 00:44:30 -04:00
J-P Nurmi a4b0bee2bc controlpanel: allow wildcards for getchan & setchan 2014-09-26 22:34:35 +02:00
Alexey Sokolov 6346f82c39 Merge pull request #682 from NuclearW/route-replies-metadata
Add ircv3.2 METADATA numerics to route_replies
2014-09-26 21:06:35 +01:00
NuclearW 65e99b8a98 Add ircv3.2 METADATA numerics to route_replies 2014-09-26 14:29:33 -04:00
Alexey Sokolov 97428ce8d4 Merge pull request #673 from Mkaysi/sasl
modules/sasl: disable DH-BLOWFISH & AES by default
2014-09-25 23:28:01 +01:00
Alexey Sokolov f193ea01a6 Merge pull request #672 from teward/readme-patch
Reorganize "Installing" section slightly to put "git building" bit first.
2014-09-25 23:26:21 +01:00
Alexey Sokolov 669991f2d0 Merge pull request #639 from NuclearW/stickychan-reconnect
stickychan: Don't join channels when not connected.
2014-09-25 23:24:51 +01:00
Alexey Sokolov cfca3fe750 Merge pull request #676 from ylfchild/master
fixed typo in configure.ac
2014-09-25 22:50:12 +01:00
ylfchild c4daa57344 fixed typo in configure.ac 2014-09-20 12:06:48 +00:00
Mikaela Suomalainen acf2aa4700 modules/sasl: disable DH-BLOWFISH & AES by default
Atheme has dropped them in their git version.
https://github.com/atheme/atheme/commit/15f6d84

I would also like EXTERNAL to be trid by default, but \*Cert and \*CertFP
aren't so used and that wouldn't probably be accepted.
2014-09-16 13:57:08 +03:00
Alexey Sokolov 3e929609d3 Travis: use -fPIE
TSan sometimes fails to build without it.
https://travis-ci.org/znc/znc/builds/35293091
2014-09-15 06:53:50 +01:00
Thomas Ward de99f5b106 Reorganize "Installing" section slightly
Originally at the time of editing, the "Installation is done with the ..." command blurb comes *before* the notice about if you're building from git.  I believe it is more sane to have that come first in the README section for installing, as it will be seen before the actual installation commands are, so people will first see that if they are building from git they'll need to run `./autogen.sh`.
2014-09-14 20:17:27 -04:00
Your Name a52a8e8db1 Fix finding SWIG 3 on FreeBSD 2014-09-14 08:40:50 +01:00
Alexey Sokolov eb244ad2f5 Merge pull request #669 from jpnurmi/help
Allow wildcards in help command args
2014-09-13 23:41:56 +01:00
Alexey Sokolov d06c6431bd Merge pull request #670 from jpnurmi/quit-msg
Allow network specific quit messages
2014-09-13 23:34:26 +01:00
J-P Nurmi 956cdb4564 webadmin: add support for network specific quit messages (#273) 2014-09-13 23:53:08 +02:00
J-P Nurmi 364ac84642 controlpanel: add support for network specific quit messages (#273) 2014-09-13 23:44:55 +02:00
J-P Nurmi fb99593f75 Allow network specific quit messages (resolves #273) 2014-09-13 23:40:22 +02:00
J-P Nurmi 2901225ff3 Tell user about no help filter matches
It's confusing if misspelled command gives no reply at all.
2014-09-13 22:48:21 +02:00
J-P Nurmi 69e65ea45e Allow wildcards in help command args
Supports the help command for *status, all modules that are using
CModCommand as appropriate, and *controlpanel get/set variables.
2014-09-13 22:46:54 +02:00
Alexey Sokolov 39d14a55e6 Merge pull request #667 from Mkaysi/log
log: use more clear defaults
2014-09-13 19:49:56 +01:00
Mikaela Suomalainen 3f76b8fb1a log: use more clear defaults
Before log module creates everything in same directory and it gets messy
in some time.

Now log module creates directory in format $USER/$NETWORK/$WINDOW and
there log files for every day in ISO 8601 format, YYYY-MM-DD.log.
2014-09-13 15:53:32 +03:00
Uli Schlachter fab17f903c Merge pull request #666 from jpnurmi/ctcp
Fix #664: Custom CTCP will leak the real reply
2014-09-13 14:25:58 +02:00
J-P Nurmi 6d08bc60cf Fix #664: Custom CTCP will leak the real reply 2014-09-13 12:58:10 +02:00
Alexey Sokolov ea53813477 Merge pull request #658 from jpnurmi/makeconf
makeconf cont'd
2014-09-12 22:43:37 +01:00
J-P Nurmi e45aa48a91 makeconf: limit the upper bound for allowed port to 65534
Safari/WebKit: "Not allowed to use restricted network port"
2014-09-09 00:01:08 +02:00
J-P Nurmi fec4d20ace makeconf: revise the output and reduce the noise
Long "would you like ZNC to..." questions are slow to read.
Use short and pithy prompts, and try to fit the line width to
less than 80 characters. Furthermore, Remove Word Capitalization.
2014-09-08 23:36:58 +02:00
J-P Nurmi 2d868a892c makeconf: offer freenode by default 2014-09-08 23:32:20 +02:00
J-P Nurmi 1c72af7d2d makeconf: change the channel input loop to a one-liner
The "would you like to add a channel?" ... "would you like to add
another channel?" loop is very verbose and slow to use. This proposal
makes it a simple one-liner where the user can enter a bunch of chans
using any combination of space/comma/semi-colon as a separator, or
just hit enter to proceed without channels...
2014-09-08 23:10:20 +02:00
Alexey Sokolov f11fb62e62 Merge pull request #659 from jpnurmi/csocket
Update Csocket from upstream
2014-09-08 21:55:35 +01:00
J-P Nurmi b1451a28c4 makeconf: one admin user is enough to get started
Webadmin is more convenient and enabled by default since 7387f00.
2014-09-08 22:47:32 +02:00
J-P Nurmi c73c75181e Update Csocket to 88c633a
The unused m_bBLOCK variable has been cleaned up,
no longer causing a compile time warning.
2014-09-08 22:23:00 +02:00
J-P Nurmi bc2c7d0c98 makeconf: one network is enough to get started
Webadmin is more convenient and enabled by default since 7387f00.
2014-09-08 16:52:04 +02:00
J-P Nurmi 44c3a04462 makeconf: one server is enough to get started
Webadmin is more convenient and enabled by default since 7387f00.
2014-09-08 16:52:04 +02:00
Alexey Sokolov 7d71756167 Merge pull request #655 from jpnurmi/web
Web tweaks
2014-09-07 22:48:26 +01:00
Alexey Sokolov 1ace8b4f44 Merge pull request #656 from jpnurmi/makeconf
makeconf
2014-09-07 22:21:40 +01:00
J-P Nurmi 40aa1bb34d makeconf: promote webadmin 2014-09-07 22:57:13 +02:00
J-P Nurmi 25609ec0bb makeconf: improve alternate location handling 2014-09-07 22:57:12 +02:00
J-P Nurmi 6ec56778e5 makeconf: just warn if the config exists
Don’t require typing yes to continue, it’s inconvenient.
2014-09-07 22:57:12 +02:00
J-P Nurmi a489304a0e makeconf: offer SSL by default if the port is 6697 2014-09-07 22:57:12 +02:00
J-P Nurmi 69e38cafe2 makeconf: use username instead of nick as ident
Username and ident are more likely to match.
2014-09-07 22:57:12 +02:00
J-P Nurmi 139282fe38 makeconf: kill buffer and chan mode questions
Use webadmin/controlpanel to configure buffers and default chan modes
2014-09-07 21:25:07 +02:00
J-P Nurmi 396bdb1eba Utils: improve password prompt
Check if the password is empty before asking to confirm it.
2014-09-07 21:23:28 +02:00
J-P Nurmi b4c0522e78 Utils: fix indentation of bold messages 2014-09-07 21:23:28 +02:00