11174 Commits

Author SHA1 Message Date
Sir Pogsalot
8f9d909a05 Merge pull request #190 from attilamolnar/insp21+namesx
[2.1] Add support to m_namesx for altering /WHO replies
2012-06-12 08:24:43 -07:00
attilamolnar
3dde78c5fc Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire <jmw@debian.org> for the patch
Fixes issue #98 reported by @guikcd

Conflicts:
	make/template/main.mk
2012-06-12 20:23:16 -07:00
attilamolnar
0f9b6f82cd New module to support IRCv3 extras, namely account-notify, away-notify and extended-join CAPs 2012-06-12 20:20:21 -07:00
attilamolnar
1c85268fd7 m_services_account Send an AccountEvent with an empty accountname when a user logs out of an account
Update relevant modules
2012-06-12 20:20:21 -07:00
attilamolnar
4d55cc169b Cut the ending \n from all lines in included (exec)files 2012-06-12 20:20:21 -07:00
attilamolnar
2e14fd4485 Add deprecation warnings for m_chanprotect and m_halfop, remove them from the config
Fixes issue #9
2012-06-12 20:20:21 -07:00
attilamolnar
72abc79581 m_spanningtree Fix desync issue #37 reported by @Joah 2012-06-12 20:20:21 -07:00
Sir Poggles
87ff50de0a Be consistent with Robby's qQ snomask changes 2012-06-12 20:20:21 -07:00
Sir Poggles
1111fab8a0 fgets(): refer to the buffer size (no literals) 2012-06-12 20:20:21 -07:00
Peter Powell
5f1adb0269 README changes. 2012-06-12 18:52:38 -07:00
Sir Pogsalot
3b8085ae7e Merge pull request #205 from Robby-/insp21-swapipquit
[2.1] Snomask qQ: Swap quit message and IP for easier parsing by bots or scripts
2012-06-12 01:48:50 -07:00
Sir Pogsalot
9726a62a0d Merge pull request #209 from Robby-/insp21-m_check+ipgecos
[2.1] m_check: Include IP and gecos in host/IP-mask lookup results
2012-06-12 00:39:05 -07:00
Robby-
675ee7fa4a m_check: Include IP and gecos in host/IP-mask lookup results 2012-06-12 06:37:52 +02:00
Robby-
3df92f36e7 Snomask qQ: Swap quit message and IP for easier parsing by bots or scripts 2012-06-12 04:38:59 +02:00
attilamolnar
d7dad41dd7 m_namesx Add support for altering /WHO replies to be compliant with the specification 2012-06-07 21:14:48 +02:00
Adam
986a8c3126 Fixed nix build 2012-06-06 01:16:18 -04:00
Adam
f8d7653acf Fixed Windows build.
Squash commit of the following from 2.0:
  commit cbd0b938d1e6a24c082fd510f3f6bb45a1ba3ce0
  commit d392720f7fe4e3a85aec0f431b24d852d186d353
  commit 30477f569bbd21590ad0687b5f09012deeb2b40e
  commit 4707f65e75867e443cbab8a5dcb0379341537263
  commit e37621e04ea3b80c6f57c89873e530506f8d5587
  commit 92cac06fc2e4207614efe0292d6cdf2954ff30a9

Plus many additional 2.1 specific fixes.
2012-06-06 01:03:17 -04:00
Robin Burchell
be8fbc6b70 Merge pull request #178 from attilamolnar/insp21+identfix
[2.1] Fix several problems with m_ident
2012-06-01 01:05:09 -07:00
attilamolnar
36cabb64ce m_ident Don't give a potentially non null terminated buffer to strrchr(), allow the usage of an overriden IsIdent() instead of using a hardcoded version of it, fix casting User pointers to LocalUser pointers blindly 2012-05-31 02:11:50 +02:00
attilamolnar
6704b47327 m_ident Interpret ident responses correctly, fixes issue #86 reported by @Robby- 2012-05-30 23:20:19 +02:00
Robin Burchell
6fd12cf31f Merge pull request #177 from Robby-/insp21-moddesc
[2.1] Module description updates
2012-05-30 02:56:52 -07:00
Robin Burchell
53e198ef08 Merge pull request #176 from attilamolnar/insp21+chopfix
[2.1] Fix last character being chopped off in included (exec)files
2012-05-30 02:56:09 -07:00
Robin Burchell
65f2f6ee45 Merge pull request #174 from Robby-/insp21-cfgcorrections
[2.1] Add more documentation about logging, aswell as make text, tab and space corrections to the configs.
2012-05-30 02:55:12 -07:00
Robin Burchell
4ee279810e Merge pull request #169 from attilamolnar/insp21+spanningtreeapi
[2.1] Stop exposing the raw linking protocol to modules
2012-05-30 02:52:36 -07:00
Robin Burchell
ffe747171e Merge pull request #158 from gholms/md5-memset
[2.1] md5: zero the whole MD5Context, not only part of it
2012-05-30 02:44:46 -07:00
Robin Burchell
5949b9ed72 Merge pull request #164 from attilamolnar/insp21+silentjoinfix
[2.1] Don't send a MODE on join when the join was silenced by a module
2012-05-30 02:43:47 -07:00
Robin Burchell
ba1672b16c Merge pull request #167 from attilamolnar/insp21+spanningtree1204
[2.1] Spanningtree protocol version 1204
2012-05-30 02:34:13 -07:00
Robby-
a4a79134b3 Module description updates 2012-05-30 03:44:30 +02:00
attilamolnar
d253b04627 Fix last character being chopped off in included (exec)files (e.g. motd and rules) 2012-05-30 00:42:39 +02:00
Robby-
c8f5edcbb5 Add more documentation about logging, aswell as make text, tab and space corrections to the configs 2012-05-30 00:24:34 +02:00
attilamolnar
1fd8d55ed1 Stop exposing the raw linking protocol to modules 2012-05-29 21:26:48 +02:00
attilamolnar
ef970fe35b m_spanningtree Add channel timestamp to FTOPIC in protocol version 1204
Fixes issue #148
2012-05-29 20:56:54 +02:00
attilamolnar
6085b184de m_spanningtree Add timestamp to channel METADATA, introduce protocol version 1204
Fixes issue #119
2012-05-29 20:55:36 +02:00
attilamolnar
f6fc3aa4b3 Fix printf-style WriteAllExcept not obeying serversource parameter 2012-05-29 15:47:58 +02:00
attilamolnar
6552ea2876 Silence the MODE too if a join was silenced by a module not just the JOIN
This leaked information when a module gave privs to the joining user in OnCheckJoin
Fix CycleHostsFromUser having the opposite effect
2012-05-29 15:47:46 +02:00
Robin Burchell
364584596e Merge pull request #157 from attilamolnar/insp21+statszfix
[2.1] Improve bandwidth usage statistics (/STATS z)
2012-05-29 01:20:55 -07:00
attilamolnar
fa06edca54 Use socketengine functions for sending and receiving data instead of plain send() and recv() so /STATS z displays correct bandwidth usage 2012-05-28 22:10:42 +02:00
Garrett Holmstrom
01f013cbec md5: zero the whole MD5Context, not only part 2012-05-28 13:08:50 -07:00
Robin Burchell
8fb1b91c5a Merge pull request #153 from attilamolnar/insp21+showwhoisfix
[2.1] m_showwhois Fix potential crash in WHOISNOTICE handler
2012-05-28 04:24:17 -07:00
Robin Burchell
82c1d7572e Merge pull request #151 from attilamolnar/insp21+incrementuidfix
[2.1] Fix generating invalid UIDs after current_uid is 000Z99999
2012-05-28 04:23:38 -07:00
attilamolnar
cd9c91300a m_showwhois Fix potential crash in WHOISNOTICE handler 2012-05-28 01:30:57 +02:00
attilamolnar
29fe44220d Add testsuite tests for UID generation 2012-05-28 00:40:02 +02:00
attilamolnar
357cd8615a Move initialization code for current_uid to InspIRCd constructor 2012-05-28 00:35:07 +02:00
attilamolnar
a9cacb8437 Fix generating invalid UIDs after current_uid is 000Z99999 (next UID became 000[AAAAA) 2012-05-28 00:26:56 +02:00
Robin Burchell
1aea7bb788 Merge pull request #143 from attilamolnar/insp21+sestatsfix
[2.1] Count the actual number of sent/received bytes in SocketEngine statistics
2012-05-27 06:09:17 -07:00
Robin Burchell
83369478fe Merge pull request #147 from SaberUK/insp21-typo-fixes
[2.1] Typo fixes.
2012-05-27 06:07:47 -07:00
Peter Powell
00396bfa46 Debian typo fixes. 2012-05-25 19:52:52 +01:00
Adam
eda37fbd25 Fixed m_mlock 2012-05-23 19:01:57 -04:00
attilamolnar
2b4c313cbe Count the actual number of sent/received bytes in SocketEngine instead of the buffer size passed to the send/receive functions 2012-05-23 18:52:18 +02:00
Robin Burchell
64a5a6c172 Merge pull request #140 from SaberUK/insp21-unistd-windows
[2.1] Fix compile error caused by unistd.h not existing on Windows.
2012-05-23 07:56:45 -07:00