aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_rline.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | Initial support for platform-specific module file extensions.Gravatar Sadie Powell2020-11-041-1/+1
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-2/+2
* | Rewrite the regex system from scratch.•••* Move everything to the Regex namespace: - Regex -> Regex::Pattern - RegexException -> Regex::Exception - RegexFactory -> Regex::Engine * Add support for regex flags. - Regex::OPT_CASE_INSENSITIVE performs case-insensitive matching. * Add the Regex::EngineReference class as a friendly wrapper around dynamic_reference_nocheck<Regex::Engine>. * Add the Regex::SimpleEngine template class for automating the implementation of regex factory classes. * Use std::shared_ptr for Regex::Pattern objects instead of making users manage memory manually. Gravatar Sadie Powell2020-07-281-21/+10
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* | Replace the flags_required field with an enum.Gravatar Sadie Powell2020-04-141-1/+1
* | Alow modules to specify multiple syntax lines.Gravatar Sadie Powell2020-04-141-1/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-4/+9
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-191-1/+1
|\|
| * Generalise XLine stats numerics using RPL_STATS from aircd.Gravatar Sadie Powell2020-02-181-1/+1
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-3/+9
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+9
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-5/+5
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-5/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-7/+7
|\|
| * Start using DurationString() in X-line additions and•••a few other modules where it fits better than just showing seconds. Gravatar Matt Schatz2019-02-181-6/+6
| * Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-9/+9
* | ModuleManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-02-051-2/+4
|\|
| * Add the reason to xline removal notices. (#1545)•••Show the reason in manual xline removal SNOTICEs, just like expiry SNOTICEs do. This modifies XLineManager::DelLine() to require another string reference passed to it. Requested by @Robby-.Gravatar Matt Schatz2019-01-241-2/+4
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-16/+16
|/
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-9/+9
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-1/+6
* Store durations as unsigned long not long in XLine and m_filter.Gravatar Peter Powell2018-12-131-2/+2
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-301-2/+2
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-2/+2
* Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-2/+6
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-7/+7
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-1/+1
* Make RLines match against IP as well as hostGravatar genius30002017-10-101-2/+3
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-3/+3
* Clean up CoreException•••- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs Gravatar Attila Molnar2013-12-181-1/+1
* Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-2/+2
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
* Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-3/+1
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Merge insp20Gravatar attilamolnar2013-06-061-3/+2
|\
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-3/+2
* | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-211-2/+2
* | Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-9/+9
* | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-141-2/+2
* | Merge insp20Gravatar attilamolnar2013-04-281-4/+44
|\|
| * m_rline Switch to OnUserRegister hook to disconnect banned users earlierGravatar attilamolnar2013-04-211-2/+10