aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chanhistory.cpp
Commit message (Expand)AuthorAgeFilesLines
* Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-3/+2
* Make clientprotocol{msg,event} and numericbuilder non-default headers.Gravatar Sadie Powell2022-06-261-0/+1
* Move numeric helper classes to their own header.Gravatar Sadie Powell2022-06-261-1/+2
* Modernize the syntax of various templates.Gravatar Sadie Powell2022-06-231-1/+1
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
* Fix various edge cases in extensible synchronisation.•••- Fix not forwarding the accountid extensible if it is set. - Rename the variadic Set() overload to SetFwd(). - Re-add the `const T&` overload of Set(). - Move `bool synced` to SimpleExtItem from StringExtItem. - Only sync extensibles if their instance is marked as syncable. Gravatar Sadie Powell2022-01-211-1/+1
* Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-3/+3
* Mark all mode classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* Rename Simple{Channel,User}ModeHandler to match other mode handlers.Gravatar Sadie Powell2021-06-011-1/+1
* Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-5/+5
* Use string_view in IsCTCP.Gravatar Sadie Powell2021-04-081-1/+1
* Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-6/+5
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-04-061-18/+24
|\
| * Automatically prune the history lists in chanhistory.Gravatar Sadie Powell2021-04-031-18/+24
* | Use emplace_back where possible.Gravatar Sadie Powell2021-03-301-1/+1
* | Add a forwarding overload of SimpleExtItem#Set.Gravatar Sadie Powell2021-03-171-1/+1
* | Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-1/+1
* | Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-3/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-12/+14
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
| * Refactor OnUserPostMessage in the chanhistory module.Gravatar Sadie Powell2021-02-241-11/+13
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-131-7/+12
|\|
| * Add a user mode which allows disabling receiving channel history.•••Closes #1830. Gravatar Sadie Powell2021-01-111-6/+22
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Pascalize Cap::set and rename Cap::get to IsEnabled.Gravatar Sadie Powell2020-07-201-1/+1
* | 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-6/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-041-1/+2
|\|
| * Fix the chanhistory module not storing CTCP ACTIONs.Gravatar Sadie Powell2020-01-311-1/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-10/+42
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+6
| * Rename <chanhistory:notice> to <chanhistory:prefixmsg>.•••This name is a lot lessambiguous. Gravatar Sadie Powell2020-01-031-4/+4
| * Make chanhistory skip CTCPs when storing messages.•••Sending historic CTCPs to clients can only end badly. Gravatar Sadie Powell2020-01-031-1/+1
| * Make chanhistory replay notices as well as privmsgs.Gravatar Sadie Powell2020-01-031-7/+9
| * Fix the chanhistory module not replaying message tags.Gravatar Sadie Powell2020-01-031-3/+27
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-23/+30
|\|
| * Extract history sending logic in chanhistory to its own function.Gravatar Peter Powell2019-07-211-23/+30
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-10/+15
|\|
| * Split ServerEventListener into {Broadcast,Link,Sync}EventListener.•••There is no reason to have these events in one big handler and it causes unnecessary event hooks to be created by having them like this. The ServerEventListener class still exists for compatibility Gravatar Peter Powell2019-07-151-2/+2
| * Use DurationString() in the 'Replaying ...' message.Gravatar Matt Schatz2019-07-041-1/+1
| * Show the mode syntax in ERR_INVALIDMODEPARAM.Gravatar Peter Powell2019-06-121-0/+1
| * chanhistory: recreate the mode parameter instead of saving it.Gravatar Peter Powell2019-06-121-7/+11
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-1/+1
|\|
| * Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-6/+6
|/
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-2/+2
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-121-1/+1
* Move IsValidDuration into the core.Gravatar Peter Powell2018-11-241-15/+1
* Fix the chanhistory module being inconsistent across servers.•••Closes #331. Gravatar Peter Powell2018-10-011-2/+11