aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Expand)AuthorAgeFilesLines
* Retain the "real" username properly like we do for hostnames.•••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. Gravatar Sadie Powell2023-06-291-3/+18
* Fix casing of metadata in function and event names.•••Metadata is one word not two so it shouldn't be capitalised like this. Gravatar Sadie Powell2023-05-301-3/+3
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-04-281-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
* | Remove GetSID, rename sid to ServerId.Gravatar Sadie Powell2023-02-281-1/+1
* | Expose the removed away message in OnUserBack.Gravatar Sadie Powell2023-02-031-1/+1
* | Allow bouncers to introduce a user as away.Gravatar Sadie Powell2023-02-031-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-02-031-0/+6
|\|
| * Fix missing some data when synchronising a new user over a link.Gravatar Sadie Powell2023-02-031-0/+6
* | Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-1/+1
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-2/+2
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-10/+10
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-5/+5
* | Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-1/+1
* | Convert the cloak_md5 module to the new cloak system.Gravatar Sadie Powell2023-01-131-1/+1
* | Fix calling various static functions through a type instance.Gravatar Sadie Powell2023-01-111-3/+3
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-6/+6
* | Avoid copying various shared_ptr usages when not necessary.Gravatar Sadie Powell2023-01-101-4/+4
* | Add a helper class for creating a reference to a DNS manager.Gravatar Sadie Powell2023-01-051-1/+1
* | Sync whether an oper login was performed automatically.Gravatar Sadie Powell2023-01-031-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-251-1/+1
|\|
* | Move <oper:autologin> from m_sslinfo to core_oper and rework.•••- Promote autologin to a core concept with visibility in events. - Replace the binary yes/no value with strict/relaxed/never. This intentionally breaks v3 oper block autologin as admins will need to review them for the security implications of the new behaviour. Gravatar Sadie Powell2022-12-111-1/+1
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-3/+3
* | Refactor the internals of the oper system.•••- 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. Gravatar Sadie Powell2022-11-281-3/+3
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-6/+6
* | Refactor the DNS resolvers in the spanningtree module.Gravatar Sadie Powell2022-10-161-1/+1
* | Rename User::age to User::nickchanged and fix the docs.Gravatar Sadie Powell2022-10-111-2/+2
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-9/+9
* | Use auto in places where it is really obvious what the type is.Gravatar Sadie Powell2022-09-041-3/+3
* | Move aptosa/untosa into the sockaddrs union and add from/from_ip.•••The struct will also now always be zero-initialized by default which removes the footgun which has happened previously where the union has been accessed before being initialized leading to it containing weird values. Gravatar Sadie Powell2022-08-111-3/+3
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-2/+2
* | Make clientprotocol{msg,event} and numericbuilder non-default headers.Gravatar Sadie Powell2022-06-261-6/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-05-251-1/+1
|\|
| * Fix some compiler warnings on i386.Gravatar Sadie Powell2022-05-251-1/+1
* | Deprecate the (raw)version SINFO keys and split out customversion/rawbranch.Gravatar Sadie Powell2022-05-171-9/+12
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-1/+1
* | Store a set of list mode pointers in Membership instead of characters.Gravatar Sadie Powell2022-05-171-1/+1
* | Remove unnecessary arguments to On(Post)Oper.•••These are already accessible from the user object. Gravatar Sadie Powell2022-05-071-1/+1
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-2/+2
* | 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-161-1/+1
|\|
| * Use ERR_UNAVAILRESOURCE for things that should be retried later.•••Also move it to the global numerics header to avoid duplication. Gravatar Sadie Powell2022-04-121-1/+1
* | The target in OnDecodeMetaData can be nullptr sometimes.Gravatar Sadie Powell2022-01-311-1/+1
* | Add the type to the Extensible class.Gravatar Sadie Powell2022-01-311-3/+2
* | Always catch exceptions as a constant reference.Gravatar Sadie Powell2022-01-091-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-271-1/+1
|\|
| * Allow unsetting uniqueusername with metadata too.Gravatar Sadie Powell2021-12-201-1/+1