aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-4/+3
|
* Rename <options:hostintopic> to <options:maskintopic>.Gravatar Sadie Powell2023-09-211-1/+1
| | | | | This option stores the user *mask* not the user host so the old name is incorrect.
* Make PartUser inline and add an overload that takes an iterator.Gravatar Sadie Powell2023-07-061-12/+3
| | | | | The return value of PartUser is not used 99% of the time so this allows the compiler to optimise it out.
* Retain the "real" username properly like we do for hostnames.Gravatar Sadie Powell2023-06-291-9/+10
| | | | | | | | | | | | | | This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations.
* Make JoinUser return a Membership instead of a Channel.Gravatar Sadie Powell2023-06-221-3/+2
|
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-2/+2
|
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-2/+2
|
* Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-3/+3
|
* Move enforcing channel join limits to core_channel.Gravatar Sadie Powell2023-01-161-25/+0
|
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-6/+6
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-1/+1
| |
* | More const correctness work.Gravatar Sadie Powell2022-12-081-7/+7
| |
* | Refactor the internals of the oper system.Gravatar Sadie Powell2022-11-281-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | - Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system.
* | Rename session registration to connection to avoid a semantic conflict.Gravatar Sadie Powell2022-10-291-1/+1
| | | | | | | | | | | | We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works.
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-1/+1
| |
* | More const correctness.Gravatar Sadie Powell2022-10-231-1/+1
| |
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
| |
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
| |
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-13/+13
| |
* | Make clientprotocol{msg,event} and numericbuilder non-default headers.Gravatar Sadie Powell2022-06-261-0/+1
| |
* | Move numerics to the source files where they are actually used.Gravatar Sadie Powell2022-06-261-0/+6
| |
* | Preallocate the buffer in Membership::GetAllPrefix{Chars,Modes}.Gravatar Sadie Powell2022-05-171-2/+2
| |
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-3/+3
| |
* | Store a set of list mode pointers in Membership instead of characters.Gravatar Sadie Powell2022-05-171-29/+16
| |
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-3/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-051-1/+1
|\|
| * Fix server status messages unintentionally being sent to all users.Gravatar Sadie Powell2022-04-021-1/+1
| | | | | | | | | | | | This fixes normal users seeing timedbans notices. Thanks to @AndrioCelos for pointing this out.
| * Fix the opermaxchans check, properly this time.Gravatar Sadie Powell2022-01-161-1/+1
| |
| * Fix using the oper channel limit even if it is lower than the general limit.Gravatar Sadie Powell2022-01-151-1/+1
| |
* | Add the type to the Extensible class.Gravatar Sadie Powell2022-01-311-1/+2
| |
* | Fix the case of Membership::GetRank.Gravatar Sadie Powell2022-01-311-3/+3
| |
* | Fix a bunch of weird uses of .c_str().Gravatar Sadie Powell2022-01-301-12/+9
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-2/+2
| |
* | Fire OnUserPreJoin regardless of whether the join is an override.Gravatar Sadie Powell2021-05-231-19/+13
| |
* | Switch Channel::ChanModes to use the channel mode map.Gravatar Sadie Powell2021-05-081-5/+3
| |
* | Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-5/+5
| |
* | Migrate collections from insert to emplace.Gravatar Sadie Powell2021-04-181-2/+2
| |
* | Make the reason parameter to PartUser const.Gravatar Sadie Powell2021-04-181-3/+4
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-13/+14
| |
* | Convert various mode methods to take Mode::Change.Gravatar Sadie Powell2021-03-301-4/+5
| | | | | | | | | | | | | | | | - AccessCheck - AfterMode - BeforeMode - OnModeChange - OnRawMode
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
| |
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-1/+1
| |
* | Move ban checking to core_channel.Gravatar Sadie Powell2020-11-301-14/+0
| |
* | Rename ChanMax to MaxChannel for consistency with the other limits.Gravatar Sadie Powell2020-11-271-2/+2
| |