aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chanhistory.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-4/+4
|
* Don't send chat history to services servers.Gravatar Sadie Powell2024-03-081-1/+1
|
* Rename OnBroadcastMessage to OnRouteMessage.Gravatar Sadie Powell2024-03-081-3/+3
| | | | This is more descriptive of what it actually does.
* Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-1/+0
|
* Allow limiting chanhistory only by the number of lines or duration.Gravatar Sadie Powell2023-04-201-4/+4
|
* Fix parsing <chanhistory:maxduration>.Gravatar Sadie Powell2023-04-201-1/+1
| | | | Closes #2032.
* Refactor the chanhistory mode handler and allow limiting the duration.Gravatar Sadie Powell2023-02-141-23/+44
|
* Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-1/+1
|
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-1/+1
|
* Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-4/+5
|
* Replace ModeAction with bool.Gravatar Sadie Powell2023-01-221-5/+5
| | | | This enum is functionally the same as bool but with weird semantics.
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
|
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+0
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
| |
* | More const correctness work.Gravatar Sadie Powell2022-12-081-1/+1
| |
* | 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.Gravatar Sadie Powell2022-01-211-1/+1
| | | | | | | | | | | | | | | | - 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.
* | 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.Gravatar Sadie Powell2021-01-111-6/+22
| | | | | | | | Closes #1830.
* | 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>.Gravatar Sadie Powell2020-01-031-4/+4
| | | | | | | | This name is a lot lessambiguous.
| * Make chanhistory skip CTCPs when storing messages.Gravatar Sadie Powell2020-01-031-1/+1
| | | | | | | | Sending historic CTCPs to clients can only end badly.