Parent Directory
|
Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
- channel.c:channel_demote_members(): rewrite to remove all member flags in a single run. Also members having multiple flags set are now stuffed into the same MODE message (as long as pargs <= MAXMODEPARAMS)
- Bump copyright years
- channel.c: minor documentation fixes
- Bump copyright years
- Stylistical changes
- Stylistical changes
- channel.c:channel_send_members(): replace IRCD_BUFSIZE with sizeof(buf)
- channel.c:channel_send_mask_list(): fixed issue with truncated ban masks
- User mode 'u' and 'b' have been removed - Spam/flooding notices that previously have been sent to user mode 'b' now go to user mode 'f'
- channel.c:check_spambot_warning(): move assignment
- Stylistic changes
- Style corrections; reformatting
- Cleanup ip address matching routine in various places
- channel.c:channel_send_namereply(): update documentation
- channel_mode.c:channel_modes(): minor optimization to save potentially redundant member_find_link() calls
- channel.c:channel_send_namereply(): remove show_eon argument. In hybrid we no longer have a case where a names reply needs to be sent with no RPL_ENDOFNAMES
- Rename channel_member_names() to channel_send_namereply()
- Rename find_channel_link() to member_find_link()
- Add member_get_prefix_len() and make use of it in some places; rename get_member_status() to member_get_prefix()
- Move remove_a_mode() from m_join.c to channel.c and rename it to channel_demote_members(); have m_sjoin.c make use of it as well
- Replace remaining occurrences of IsMember with find_channel_link and remove IsMember entirely
- Remove hardcoded numeric digit from RPL_NAMREPLY
- Fixed various style inconsistencies
- channel.c:msg_has_ctrls(): fixed issued with high ascii erroneously being parsed as control characters due to overflowing 'p' (github issue #19)
- Replace some occurences of sprintf with snprintf
- Move channel invitation related functions to channel_invite.c
- Rename most occurrences of 'client_p' to 'client'
- Extbans have been implemented. Main implementation done by Adam for p4. Currently supported extbans: Matching: $a:<account> Matches users logged into a matching account. $c:<channel> Matches users that are on the given channel. An additional prefix of either @, %, or + can be specified to test for certain channel privileges. $o:<class> Matches IRC operators that have joined a class matching the mask. $r:<realname> Matches users with a matching realname. $s:<server> Matches users that are connected to a server matching the mask. $u:<modes> Matches users having the specified user modes set or not set. $z:<certfp> Matches users having the given TLS certificate fingerprint. Acting: $j:<banmask> Prevents matching users from joining the channel. $m:<banmask> Blocks messages from matching users. Users with voice or above are not affected.
- channel.c:find_bmask(): bmasks are now tested against x->realhost, too
- Stylistic changes
- Replaced most occurences of 'SSL' with 'TLS'
- Bump copyright years everywhere
- Various stylistic changes
- Rename struct Membership to ChannelMember - Rename Channel::last_knock to last_knock_time - Rename Channel::last_invite to last_invite_time - Rename chptr to channel
- Renamed 'creationtime' Channel structure member to 'creation_time'
- Killed CurrentTime
- Should be using monotonic clock almost everywhere now; sort out mixture and misuse of 'firsttime', 'lasttime' and 'since' in the Connection structure
- channel.c:check_spambot_warning(): remove extraneous parentheses
- Make more timers use monotonic time
- channel.c: fixed previous changes to is_banned()
- Tidy up some enums; misc style corrections
- Made Connection::oper_warn_count_down unsigned; clean up some logic in check_spambot_warning()
- Made Connection::join_leave_count and SetOptions::spam_num unsigned
- Update copyright years
- Stylistic changes
- Stylistic changes
- Make use of bool even more
- Make use of the bool data type in some more places
- Make use of the bool data type in some more places
- Make use of the bool data type in some places
- Stylistic changes
- Rename Channel:locmembers to Channel::members_local
- Sprinkle some assert(); cleanup existing ones
- channel.c:channel_do_join(): deduplicate
- channel.c: channel_do_join() is called for local clients only; use NULL as first argument to sendto_server()
- Style corrections
- Killed Connection::aftype. Use Client::ip.ss.ss_family instead.
- Killed userhost.c. Rewrote everything to use ipcache.c
- Stylistic changes
- Add channel_get_list() to channel.c which should be used when accessing channel_list outside of channel.c
- Stylistic changes
- Stylistic changes
- Rip out mempool
- "JOIN 0" is now no longer supported
- Update copyright years
- channel.c:check_spambot_warning(): stylistic changes; improve readability
- channel.c:check_spambot_warning(): remove extraneous parentheses
- Fixed style inconsistencies in various places
- Add chptr->mode.mode manipulation macros
- channel.c:channel_make(): commenting
- channel.c: fixed style inconsistencies
- Removed CAPAB_IE and CAPAB_EX. These are mandatory for some years now.
- Rename get_client_name() to client_get_name()
- Update copyright years
- Style corrections
- channel.c:channel_do_join(): rename variable
- Minor style corrections and constifications
- Implement INVITE expirations
- channel.c, dbuf.c: stylistic changes
- Added 'channel::max_invites' configuration directive
- Get rid of clear_invites_channel() and clear_invites_client(). Use clear_invite_list() instead.
- Remove excessive const keyword on dlink_node pointers
- Fixed svn properties
- channel.c:channel_part_one_client(): update comment
- channel.c, m_message.c: stylistic changes
- Rewrite invite handling to be more flexible for future additions such as client based invite throttling, invite expiration, etc
- channel.c:channel_do_join(): const correctness
- channel.c:add_invite(): trim down client's invite list until there are no more than ConfigChannel.max_channels entries on the list
- channel.c:add_invite(): fixed possible core with channel::max_channels = 0
- Remove excessive 'const'
- Now that we got time_t to work nicely on openbsd with snprintf's conversion specifiers, we ran into a similiar issue on Raspbian/ARMv7's time_t which is of signed 32 bit and doesn't cope at all with %j. Instead of doing tricks, get rid of time_t everywhere and forever and use uintmax_t instead which has at least a 'standardized' conversion specifier associated with it.
- Cleanup/separate RESV conf implementation
- Minor simplifications on clearing lists
- Move resv.* to conf_resv.*
- Constifications; style cleanups in some places
- channel.c: replaced a couple of MyClient() tests with just MyConnect()
- channel.c:channel_send_mask_list(): avoid using list->length directly. use dlink_list_length() instead
- Update copyright years
- Remove trailing whitespaces
- Cache channel name lengths
- Removed client->account backwards compatibility hacks for 8.1
- Added channel mode +T which forbids NOTICEs to be sent to a channel
- channel.c:channel_part_one_client(): fix compile error
- channel.c:channel_part_one_client(): optimization; don't call can_send() when there's no need to
- Add CMEMBER_STATUS_FLAGS / CMEMBER_STATUS_FLAGS_LEN and make use of it in some places (replaces some magic values sprinkled in the code)
- channel.h, channel.c: declared can_join() as static
- channel.c:channel_part_one_client(): fixed broken test on can_send(). Suppressing part messages was completely broken for ages
- Use the %ju conversion specifier for time_t and get rid of these non-portable (unsigned long) casts; replace some uint64_t with uintmax_t
- Merge sendto_channel_local_butone() functionality into sendto_channel_local() and get rid of sendto_channel_local_butone()
- channel.c, motd.c: rename variables
- channel.c: rename some variables
- Removed that dirty strtoken definition in stdinc.h
- The general::oper_pass_resv configuration directive has been deprecated. Added the join:resv and nick:resv operator flags for better fine tuning
- Remove splitmode checking
- Rename several functions in channel.c to comply with naming convention
- Rename server capabilities flags from CAP_* to CAPAB_*
- Get rid of UMODE_ALL
- Make use of the *Flag() macros in some more places
- channel.c:channel_do_join(): removed useless test on conf->reason
- Style corrections; removed trailing whitespaces
- channel.c:clear_invites_client(): add missing documentation
- Renamed clear_invites() to clear_invites_channel() - Added separate clear_invites_client()
- Minor cleanups to CAPAB related code
- Changed some members of the Ban structure to use fixed-size arrays
- Sprinkle some assert()
- Style corrections only
- Fixed style in several places
- channel.c:can_send(): better not to modify the message pointer
- Added channel mode +C which prevents users from sending CTCPS to a channel
- Update copyright years
- Removed useless assert()s
- Style corrections; constifications
- Get rid of NOCAPS
- Style corrections; fixed comments
- Constification
- Renamed Client::svid to Client::account
- Renamed variables
- Renamed variables
- channel.c, channel.h: added clear_invites() and make use of it - ms_sjoin.c:ms_sjoin(): clear invites if the introduced channel has lower TS
- Renamed variables
- Removed pointless test for UMODE_DEAF in both sendto_channel_local() and sendto_channel_local_butone()
- Added support for the "extended-join" client capability
- Constification
- channel.c:msg_has_ctrls(): update documentation
- channel.c:channel_find_last0(): style correction
- Renamed Channel::chname to Channel::name
- Renamed 'localClient' Client structure member to just 'connection'
- Update GPL 2 license headers
- Removed ipv6 detection. We now assume all systems that run hybrid have ipv6 availability and sockaddr_storage.
- channel.c:send_mode_list(): constification
- channel.c: moved 'buf' to send_members() and send_mode_list()
- Renamed structures to meet code conventions
- Renammed global_serv_list to global_server_list
- Bring back channel->locmember list
- channel.c: from p4: move resv channel oper notice to umode reject
- ircd.c: removed 'event_check_splitmode'. Changed 'splitmode_event' to run every 5 seconds if server is in splitmode
- Merged Adam's event system rewrite
- Let mp_pool_get() clear memory
- channel.c:check_splitmode(): logic fixes
- channel.c:get_member_status(): document the magic value of 4
- channel.c, channel_mode.c: update documentation in some places
- channel.c:send_mode_list(): improve documentation
- channel.c:send_mode_list(): renamed variable
- channel.c:send_mode_list(): removed outdated comment
- channel.c: improve documentation
- Renamed global_channel_list to channel_list
- Renamed set_channel_topic() to channel_set_topic()
- channel.c:channel_do_join(): use chptr->chname if we know the channel exists
- Fixed SVSJOIN/SVSPART issues
- Added max_channels to class{} blocks
- Moved duplicated code used by m_svspart.c and m_part.c, aswell as m_svsjoin.c and m_join.c to channel.c
- channel.c: documentation updates
- whitespace commit
- Halfops are now part of the ircd core and enabled by default
- channel.c:send_mode_list(): removed TS5 leftover
- channel.c:send_members(): added missing #ifdef HALFOPS
- Get rid of LOCAL_CHANNELLEN; change CHANNELLEN to 50
- Create 8.2.x branch
- Moved files: s_user.c -> user.c s_misc.c -> misc.c s_serv.c -> server.c
- Channel.c: update documentation
- Fixed inconsistent style in several places
- Style corrections all over the place
- Fixed some comments; cleaned up style here and there
- Get rid of the ID() macro
- Cleanup some places where we no longer need to use ID_or_name()
- channel.c: moved modebuf[] and parabuf[] to send_channel_modes()
- removed unused variables
- Get rid of halfop -> op rewriting for servers that don't support halfops
- Server now no longer accepts TS5 links
- Applied Adam's sendto_one_numeric() changes
- Removed CAP_CHW. This is mandatory since hybrid 6.0 beta 25
- Moved "struct config_channel_entry ConfigChannel" from channel.c to conf.c
- channel_mode.c, channel.c: removed unused header include
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs) - Fixed copyright years
- Implemented "userhost-in-names" client capability
- channel.c: optimized find_channel_link() as suggested by Adam <adam@anope.org>
- channel.c:can_send(): fixed issue with channel mode +n having no functionality. Reported by Fawkes
- White-space commit / style corrections
- Rename Ban::username structure member to Ban::user
- Add usermode 'S' (client is connecte via SSL/TLS). Allows services to keep track of what users are connected via SSL, and allows to see ssl-status of remote clients in a /whois.
- channel.c: optimized can_join(). Do less intensive tests before actually testing for ban/exempt masks
- Don't let non-SSL users join +S channs if ircd has been compiled without SSL support. Spotted by Stuart Walsh
- get_member_status(), valid_wildcard(): constification
- Implemented channel mode +M. Clients that haven't identified their name with NickServ may not speak in a channel that has this mode set
- Update comment
- can_send(): fixed bug where bans were not checked against non-channel members
- can_send(): ops/hops/voices may not speak thru +c; ensure msg_has_controls() isn't called twice for non-chanops
- can_send(): ops/hops/voices may not speak thru +c
- Implemented channel mode +c. Known from other ircds, this mode basically prevents users from sending messages including control codes to a channel that has this mode set
- Unidentified/unregistered nicks may not speak in +R channels
- channel.c:get_member_status(): removed useless NULL pointer test
- Added basic support for libGeoIP - Added exempt configuration option to resv{} blocks
- Constification, replaced few sprintf with snprintf
- Revert to -r1831
- Made all numeric defines use the actual string instead of the numeric value which allows to use gcc's printf format attribute - Remove current message locale implementation
- Minor cleanups to hash.c; removed now unused functions, style cleanups
- Cleanup/reorganize header file layout - Fixed naming convention in some places
- Replaced all occurrences of ircsprintf with sprintf/snprintf and killed sprintf_irc.(c|h)
- Forward-port -r1750 [IMPORTANT: nick and topic lengths are now configurable via ircd.conf. A max_nick_length, as well as a max_topic_length configuration option can now be found in the serverinfo{} block] - OpenSSL 0.9.8s and higher is now required in order to enable ssl support
- channel.c:send_channel_modes(): now that CAP_IE and CAP_EX are mandatory, let's always send invite/ban exception during a burst
- Implemented memory pool allocator which basically is taken from Tor's mempool allocator for Tor cells - Fixed compile warnings in conf_class.c - ./configure --enable-assert works again
- changed match() polarity. match() now returns 0 on match and 1 on non-match This cleans up several places where function pointers of different matching functions like irccmp/strcmp/match are passed to other functions. - added improved collapse() to match.c
- Initial rewrite of the configuration subsystem
- Made m_globops() and ms_globops() use sendto_realops_flags() - Added message-type parameter to sendto_realops_flags() which can be one of SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS - Forward-port -r1617
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to svnroot/ircd-hybrid/trunk
- Removed use_invex, use_except and use_knock configuration options. These features are now enabled by default
- removed &localchannels
- Minor constification changes
- Backed-out -r1429. Unregistered clients may again speak in +R channels
- channel.c:can_join(): use strcmp() instead of irccmp() when comparing channel key (+k)
- Unregistered clients may not talk in a +R channel
- Squash two other compile warnings. ircd now compiles clean with -Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef
- renaming files: ircd_parser.y -> conf_parser.y ircd_lexer.l -> conf_lexer.l s_conf.c -> conf.c s_conf.h -> conf.h s_log.c -> log.c s_log.h -> log.h
- move content of msg.h, ircd_handler.h and handlers.h into parse.h and remove headers accordingly - killed common.h - remove m_killhost.c and m_flags.c from contrib/ - sort out unused header includes here and there
- Start cleaning up macros in client.h. Replace several ClientHasSomeCoolFlag() with simple HasFlag/HasUMode macros.
- make channel::topic and channel::topic_info fixed-size arrays
- add usermode +R; only registered clients may message other clients with that mode set - add channelmode +R; only registered clients may join a channel with that mode set
- Improve services support - Add channelmode +r
- create ircd-hybrid-8 "branch"
- recreate "trunk"
- add new channel modes O and S
- Improve multi-prefix client capability support
- branch off trunk to create 7.3 branch
- move ircd-hybrid-7.2 to trunk
- Add -Wextra -Wcast-align -Wbad-function-cast to CFLAGS if --enable-warnings is specified - Fixed several compile warnings - 64-bit cleanliness fixes, e.g., reorganize data structures to reduce storage/unnecessary padding
- move list manipulation routines from tools.c to list.c - mem_frob() goes to memory.c - sort out redundant/unneeded header includes
- Removed LazyLinks in 7.2 to stop people from asking why we keep broken code for half a decade. LL will be implemented in a smarter fashion in due time
+ patch against truncated NAMES output Submitted by: Murat Deligonul <deligonul@gmail.com>
- At least I noticed it myself, I got it completely backwards when folding in Michael's suggested optimisation.
- optimise Michael's fake channel catcher. Make it work first, then optimise.
- Added channel::disable_fake_channels which disallows creation of channels that have ascii 2, 3, 31 and 160 in their names. - Minor improvements and cleanups to channel name validation routines backported from 7.3
- Backported changes made in HEAD to get rid of Channel::locmembers. This is mainly to save about 5megs of ram on networks like efnet where we have about 600k allocated Membership structures.
- Added missing bracket
- can_send: splitted up some bigass if() statement
- channel_member_names(): properly count the number of prefixes that will be written to lbuf
- Backported CAP changes from HEAD since it doesn't affect any of the ircd's core components and should be supported as soon as possible.
- Unbreak can_send
- Get rid of can_send_part. This also fixes a bug where voiced clients weren't able to send a PART message to the channel. Reported by ThaPrince.
- Imported recent channelban changes from HEAD which have been tested extensively. The match_cidr() fix didn't work in the first try, so I'm not going to bother with further debugging. - Removed match_cidr() and comp_with_mask()
+ MFC support for halfop->op rewriting.
- Improved topic bursting. Read the comment in s_serv.c:send_tb for further info
- Backported revision 315 (trimmed memory usage by moving invited dlink_list to LocalUser struct)
create 7.2 branch, we can move/rename it as needed.
- svn:keywords
- svn:keywords
- Fix svn:keywords
- imported sources - can be moved later according to the directory/branching scheme, but we need the svn up
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
svnadmin@ircd-hybrid.org | ViewVC Help |
Powered by ViewVC 1.1.30 |