aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Make the constructor of ModuleEventListener protected.Gravatar Sadie Powell2023-08-201-3/+5
|
* Don't include "regex/" in the link data of the filter/rline modules.Gravatar Sadie Powell2023-08-181-0/+6
|
* Fix big list limits and expose the limit to TellListTooLong.Gravatar Sadie Powell2023-08-121-8/+9
|
* Fix list modes unintentionally being case sensitive.Gravatar Sadie Powell2023-08-122-0/+33
| | | | Closes #907.
* Rename the error log level to critical.Gravatar Sadie Powell2023-08-111-11/+7
| | | | | "ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions.
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-1/+1
|
* Move stdalgo::string::{equalsci,tocstr} to utility/string.Gravatar Sadie Powell2023-08-112-32/+27
| | | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com> Co-authored-year: 2016
* Move stdalgo::string::join to utility/string and templatise separator.Gravatar Sadie Powell2023-08-113-20/+25
|
* Rename utility/string_view to utility/string.Gravatar Sadie Powell2023-08-111-0/+0
|
* Make config file cache invalidation more useful.Gravatar Sadie Powell2023-08-061-3/+3
|
* Rework how away state is stored internally.Gravatar Sadie Powell2023-08-042-14/+20
| | | | | This will be necessary for implementing pre-away as well as some changes for WATCH compatibility with Unreal.
* Make the X-line quit message format a lot more flexible.Gravatar Sadie Powell2023-07-212-5/+7
|
* Add a typedef for the Template::Replace map.Gravatar Sadie Powell2023-07-211-1/+4
|
* Allow timers to not be restarted after changing the interval.Gravatar Sadie Powell2023-07-211-1/+1
| | | | This is useful if you're changing them from Tick.
* Windows build cleanup.Gravatar Sadie Powell2023-07-151-1/+8
| | | | | | | [skip alpine ci] [skip irctest ci] [skip macos ci] [skip ubuntu ci]
* Rename several Windows files to use the same naming scheme.Gravatar Sadie Powell2023-07-151-1/+1
| | | | | | | [skip alpine ci] [skip irctest ci] [skip macos ci] [skip ubuntu ci]
* Simplify the codes that InspIRCd can exit with.Gravatar Sadie Powell2023-07-131-42/+0
| | | | | | | The custom codes that InspIRCd exits with are not very useful and can confuse init systems like systemd which assume that certain exit codes mean certain things. INSPIRCD_BINARY_EXIT was a workaround for this in v3 but considering thatsers have to check the logs anyway so we may as well just use EXIT_SUCCESS and EXIT_FAILURE.
* Normalise the case of ServerStats.Gravatar Sadie Powell2023-07-131-2/+2
|
* Improve the inlining of some channel functions.Gravatar Sadie Powell2023-07-071-17/+5
|
* Update KickUser to match PartUser.Gravatar Sadie Powell2023-07-061-12/+17
|
* Make PartUser inline and add an overload that takes an iterator.Gravatar Sadie Powell2023-07-061-6/+20
| | | | | The return value of PartUser is not used 99% of the time so this allows the compiler to optimise it out.
* Invalidate the file cache when reading SSL certs.Gravatar Sadie Powell2023-07-031-1/+1
| | | | | | | This fixes reading the same file when the SSL certs are reloaded without a full rehash (e.g. via SIGUSR1 or /REHASH -ssl). This also reverts 8f0d732e38.
* Replace FileReader with something more sensible.Gravatar Sadie Powell2023-07-034-66/+36
|
* Fix a minor Doxygen comment issue.Gravatar Sadie Powell2023-07-031-1/+1
|
* Make MaxTargets a size_t.Gravatar Sadie Powell2023-07-031-1/+1
|
* Refactor the ServerConfig class.Gravatar Sadie Powell2023-07-031-137/+108
| | | | | | All fields are now ordered in the most memory efficient way and all public fields use the correct case. Every member has been redocumented to match the current documentation style.
* Move ServerLimits inside ServerConfig.Gravatar Sadie Powell2023-07-031-39/+48
|
* Fix shun matching (again) and document what the matches do.Gravatar Sadie Powell2023-07-031-3/+6
|
* Refactor Change{Displayed,Real}Host to match other Change* methods.Gravatar Sadie Powell2023-06-301-4/+4
|
* Remove OnPreChange{Host,RealName} events and deboolify methods.Gravatar Sadie Powell2023-06-292-26/+5
| | | | These have not ever been used as far as I can see.
* Misc grammar fixes.Gravatar Sadie Powell2023-06-292-3/+3
|
* Fix matching IP shuns.Gravatar Sadie Powell2023-06-291-1/+2
|
* Retain the "real" username properly like we do for hostnames.Gravatar Sadie Powell2023-06-298-72/+108
| | | | | | | | | | | | | | 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.
* Inline various User methods.Gravatar Sadie Powell2023-06-251-7/+13
|
* Make Numerics::CannotSendTo properly aware of extbans.Gravatar Sadie Powell2023-06-222-2/+8
|
* Make JoinUser return a Membership instead of a Channel.Gravatar Sadie Powell2023-06-221-2/+2
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-06-171-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-06-161-1/+1
| |
* | Only regenerate cloaks if a cloak of that type exists.Gravatar Sadie Powell2023-06-071-0/+5
| | | | | | | | This prevents unnecessary recloaking which may result in spam.
* | Fix some typos in the cloak header.Gravatar Sadie Powell2023-06-061-2/+2
| |
* | Allow secondary cloak methods to be used on link synchronisation.Gravatar Sadie Powell2023-06-061-0/+9
| | | | | | | | | | | | | | | | If a server has a conditional cloak method (e.g. account) as the primary cloak method it doesn't make sense to use it for link consistency. With this change a secondary cloak method can request that it is used instead of the primary if the primary does not mark itself as link sensitive.
* | Misc XLine cleanup.Gravatar Sadie Powell2023-06-051-5/+5
| |
* | Make XLine::Matches const.Gravatar Sadie Powell2023-06-052-14/+14
| |
* | Add a DelLine override that takes an XLine pointer.Gravatar Sadie Powell2023-06-051-0/+12
| |
* | Make XLine::Displayable const.Gravatar Sadie Powell2023-06-052-7/+7
| |
* | Convert DelLine from const char* to const std::string&.Gravatar Sadie Powell2023-05-301-1/+1
| |
* | Fix casing of metadata in function and event names.Gravatar Sadie Powell2023-05-302-6/+6
| | | | | | | | Metadata is one word not two so it shouldn't be capitalised like this.
* | We can't explicitly specify the signedness here as it causes issues.Gravatar Sadie Powell2023-05-171-2/+2
| | | | | | | | This reverts commit 023ca96054191b66643425d673acb66c08fa1048.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-05-161-2/+2
|\|
| * Fix some minor Doxygen issues.Gravatar Sadie Powell2023-05-161-2/+2
| |