Commit Graph
100 Commits
Author SHA1 Message Date
Kyle Fuller 720bde6543 Merge pull request #933 from teward/patch-1
Update 'User Deleted' message to match format
2015-03-30 18:02:43 +01:00
Kyle Fuller f874fbebe8 Merge pull request #880 from md-5/patch-3
Fix logo URL
2015-02-22 13:43:52 +00:00
Kyle Fuller 4d44bfe10f Merge pull request #870 from jpnurmi/startswith
Use CString::StartsWith()
2015-02-18 11:23:45 +00:00
Kyle Fuller cf633ee435 [log] $WINDOW should be last because it could contain %
Thanks to @NuclearW for spotting
2014-09-30 18:28:20 +01:00
Kyle Fuller 1aec51876b Merge pull request #584 from Mkaysi/folks
modules/autoop.cpp & autovoice.cpp: Be more gender neutral.
2014-06-27 16:20:01 +01:00
Kyle Fuller ed7119b5bc Update to latest version of Csocket
Fixes #536
2014-04-24 19:28:37 +01:00
Kyle Fuller e3bb292d25 Merge pull request #535 from anders/qinvite
Q module: Don't send one JOIN per invite.
2014-04-23 17:39:13 +01:00
Kyle Fuller 5e90bc380b [Csocket] Support and default to TLSv1.2
Updates to 21ac28cc29e9256a21a9aa217e29638360c266d0 of Csocket
2014-04-20 23:35:29 +01:00
Kyle Fuller bc795f03cb [chansaver] Correctly load from all module types 2014-04-20 19:32:49 +01:00
Kyle Fuller ef5050e3ab [chansaver] Add support for loading as a global module
This also fixes a bug where loading the module as a network causes other
channels in different networks to be saved

Closes #529
2014-04-16 07:02:39 +00: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
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
Kyle Fuller c99eedaac3 Merge pull request #456 from Un1matr1x/master
Welcome to 2014 - year 10 with ZNC
2014-01-03 02:23:31 -08:00
Kyle Fuller a4e275408a Merge pull request #425 from KindOne-/patch-2
Correct typo in controlpanel.
2013-10-31 04:36:19 -07:00
Kyle Fuller e7ff40f785 Fix a crash when you delete a user with more than one attached client
Fixes #403
2013-09-17 18:55:22 +02:00
Kyle Fuller fabf94a38b Merge pull request #400 from stephank/patch-1
Add missing include for `sys/stat.h`.
2013-09-11 12:04:16 -07:00
Kyle Fuller f73d766c8a Merge pull request #334 from grawity/route-whois
route_replies: Add some WHOIS numerics
2013-04-28 03:43:59 -07:00
Kyle Fuller 78be38d802 Allow block_motd to be loaded per-network and globally
Closes #326
2013-04-21 12:31:30 +01:00
Kyle Fuller b42f57e1e0 Merge pull request #324 from Elizacat/master
Fix minor memory leak
2013-04-18 06:31:13 -07:00
Kyle Fuller ca2878614f Merge pull request #321 from Elizacat/master
Implement DH-AES password encryption scheme.
2013-04-16 04:14:22 -07:00
Kyle Fuller 19de8d3565 Ignore the .version_extra file 2012-12-22 17:44:20 +00:00
Kyle Fuller 6a55c3a0ee Make /znc detach case insensitive
Closes #213
2012-12-22 17:41:24 +00:00
Kyle Fuller 9e7110175a DETACH should support the same syntax as PART (except no message)
Closes #225, this isn't the same as #225, but `/msg *status detach` is
something different, since it supports wildcard matching.
2012-12-22 17:16:57 +00:00
Kyle Fuller 3347390cfc CString: Don't repeat ourselves 2012-08-19 23:06:28 +07:00
Kyle Fuller 4059c5666f We don't need to find the znc binary 2012-08-17 21:47:31 +07:00
Kyle Fuller e06c3f5e88 Broken merge 2012-08-14 21:49:48 +07:00
Kyle Fuller 8e2de0d497 Merge branch 'conversion' 2012-08-14 19:42:09 +07:00
Kyle Fuller 67299ebfa8 Fix a bunch of conversion warnings #197 2012-08-14 19:31:14 +07:00
Kyle Fuller e54f423ace Merge pull request #204 from kylef/nick
Send a nick change to clients connecting with a different nick
2012-08-14 05:18:16 -07:00
Kyle Fuller 7c1e41acc7 Don't replace our motd with a different servers motd
Fixes #167
2012-08-12 22:22:19 +07:00
Kyle Fuller f8dc7d5cd5 route_replies: Follow rfc1459
Closes #190
2012-08-12 21:49:08 +07:00
Kyle Fuller 85a3115b8d Send a nick change to clients connecting with a different nick
Before we was hoping that the client was using the nick from 001, not all
clients supported this.

Closes #170
2012-07-28 03:09:08 +07:00
Kyle Fuller 8a44c87272 Don't require CTimer's label to be unique if its empty (Fixes #92) 2012-07-28 00:09:15 +07:00
Kyle Fuller 721d603383 Support messages directed to specific user prefixes
Closes #195
2012-07-28 00:07:46 +07:00
Kyle Fuller 373490f2d1 Don't try and unload ourself, we can't do this
Closes #194
2012-07-17 00:42:18 +01:00
Kyle Fuller 9be208c242 Drop znc-config, change znc-buildmod so it doesn't need znc-config
This fixes issues where znc-buildmod was grabbing a different ZNC installation
from path.
2012-07-04 22:21:37 +01:00
Kyle Fuller a53d997586 Only prepend the timestamps with \0F if they use formatting
This fixes a bug with fish implementation and append timestamps
2012-07-04 16:09:02 +01:00
Kyle Fuller d1e4550663 route_replies: MAP can result in ERR_NOPRIVILEGES, WHOWAS can contain ERR_WASNOSUCHNICK 2012-07-04 15:07:13 +01:00
Kyle Fuller 114fabfebe Add flood protection settings to *admin
Closes #158
2012-07-04 03:42:57 +01:00
Kyle Fuller 619436736b *admin: Add {Get,Set}Network command 2012-07-04 03:30:00 +01:00
Kyle Fuller 4ae6cb3061 DETACH: Don't show Detached from <channel> 2012-07-04 02:21:31 +01:00
Kyle Fuller 981963a41e Don't send our password required notice until after CAP negotiation 2012-06-28 21:15:12 +01:00
Kyle Fuller bb73c600e4 bNoChange in On{,De}{Op,Voice} wast incorrect
Fixes #128
2012-06-28 21:03:04 +01:00
Kyle Fuller 8f6b5977aa Don't show Buffer playback/complete messages with server-time 2012-06-24 21:25:41 +01:00
Kyle Fuller 63ab3c099d Rename --enable-sasl to --enable-cyrus to help confusion
Many people think --enable-sasl was needed for the sasl module
2012-06-18 04:51:58 +01:00
Kyle Fuller eb59be7905 Use standard HTML table elements instead of custom classes
Fixes #169
2012-06-08 13:51:45 +01:00
Kyle Fuller 283fe7a72b Send a 464 ERR_PASSWDMISMATCH to clients which do not supply a password
"Returned to indicate a failed attempt at registering a connection for
which a password was required and was either not given or incorrect."
2012-06-02 13:31:49 +01:00
Kyle Fuller cab14055de Merge the sasl module from znc-contrib 2012-05-20 23:47:46 +01:00
Kyle Fuller a2f0f8dcdb saslauth: Fix an incompatibility with older versions of GCC
Reported by KindOne
2012-05-16 19:43:03 +01:00
Kyle Fuller 623ba081b3 rfc1459 states that PART can take multiple channels
Parameters: <channel>{,<channel>}

Fixes #175
2012-05-14 19:38:51 +01:00
Kyle Fuller faf503712e saslauth: Allow creating new users on first login 2012-05-14 19:04:45 +01:00
Kyle Fuller 2a4940f23e saslauth: Cleanup module, don't refuse logins if we can't provide them 2012-05-14 19:04:45 +01: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
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
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
Kyle Fuller 38ce17906c Don't forward WHO replies with multi-prefix to unsupported clients 2012-03-21 15:23:16 +00: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
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
Kyle Fuller fc8e789b08 Don't show network modules title if we don't have any network modules 2012-02-19 18:44:54 +00:00
Kyle Fuller 11e5f7636d Add 381 to the buffer (You are now an IRC Operator) 2012-02-19 14:39:03 +00:00
Kyle Fuller 8863d853c9 Allow disabling the use of adding networks for non admins
Closes #122
2012-02-15 16:27:47 +00:00
Kyle Fuller b9ff3ddcb1 The connect queue shouldn't be unpaused when ZNC starts 2012-02-14 19:34:02 +00:00
Kyle Fuller 59ad967d77 Merge branch 'queue' 2012-02-14 19:32:03 +00:00
Kyle Fuller 30fb68023b Pause connect queue should pause and resume a timer
So we don't cheat the connect delay
2012-02-14 19:22:50 +00:00
Kyle Fuller a206eb7488 identfile: Pause the connection queue while we have a locked file 2012-02-14 19:22:41 +00:00
Kyle Fuller e47f76db6c Allow the connection queue to be paused 2012-02-14 19:22:33 +00:00
Kyle Fuller ec1202daf3 {unload,reload}mod: Don't get modinfo if the type is defined
This allows us to unload a module if we supply the type and mod info
cannot be loaded (such as if the module file has been moved).
2012-02-14 12:10:07 +00:00
Kyle Fuller e08d53dcd5 Show network modules on the web interface menu
Closes #121
2012-02-13 23:58:32 +00:00
Kyle Fuller 0538140a97 webadmin: Tell the user how to connect to a network on the network page 2012-02-12 21:18:59 +00:00
Kyle Fuller 5c844cf81a Send nick changes to clients before we use call the OnNick module hook
This fixes a bug where sending anything to a client, such as with
PutModule will fail because it will refer to the new nick before the
client knows about it. The watch module did this.
2012-02-12 20:07:57 +00:00
Kyle Fuller b450fde4f6 autoop: Check for autoops when we are opped ourself #120 2012-02-09 19:32:07 +00:00
Kyle Fuller b1ed9c9b74 Add methods to CModule to get the web path
Add these values to the template and use them when linking to any module
2012-02-09 17:07:28 +00:00
Kyle Fuller b1593238d5 Make the URL's for web modules include the module type (#121) 2012-02-09 14:19:26 +00:00
Kyle Fuller 2a901da465 partyline: Use the clients nickname in the channel, not PREFIX+username
This means that every reference to my own user will instead show my
clients nickname. This will prevent the client from seeing itself, and
the real nick for your client in the channel.
2012-02-07 19:24:56 +00:00
Kyle Fuller 7f21e73d3d Kick all clients who are in partyline channels when the module is unloaded 2012-02-07 19:21:30 +00:00
Kyle Fuller 89543cefc3 partyline: RemoveUser should use the clients nickmask 2012-02-07 18:14:23 +00:00
Kyle Fuller 4f1fa01306 Allow connecting to partyline without a network
Fixes #74
2012-02-07 17:52:25 +00:00
Kyle Fuller 3c803441ea Use CModCommand in partyline 2012-02-07 17:09:06 +00:00
Kyle Fuller f706ac55c2 Display a 401 when a partyline user is not attached
Send private partyline messages to each client seperately using the
correct nickname for that client. It may differ if they are user clients
or network clients where they are not connected to an IRC server.

I have created macro's for the nickname prefix so this could easily be
changed.

Use 401 instead of 403 for user/channel not found

Fixes #21
2012-02-07 16:54:22 +00:00
Kyle Fuller 991e7f2fac README: Explain that we need to run ./autogen.sh if compiling from git
Closes #70
2012-01-27 23:51:02 +00:00
Kyle Fuller 6a2b5a23c7 README: Display the writing module links more clearly 2012-01-19 14:24:34 +00:00
Kyle Fuller 9a0af843b7 Make *raw a network module by default 2012-01-18 01:04:39 +00:00
Kyle Fuller b447169011 Allow setting a network-specific settings the same as the user setting
Fixes #94
2012-01-17 22:01:19 +00:00
Kyle Fuller f5dbe86543 CTCP's with no values should not be passed to the client
Fixes #105
2012-01-17 21:40:14 +00:00
Kyle Fuller 2d9a537c33 "no" should be false in CString::ToBool() 2012-01-15 05:18:13 +00:00
Kyle Fuller c8f1a08b58 *admin: SetChan takes the network as an argument 2012-01-15 04:17:45 +00:00
Kyle Fuller 13cfb161c9 Add outgoing lines to the buffer if we are "offline" 2012-01-15 03:54:52 +00:00