aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_showfile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change InspIRCd::ProcessColors to take a string instead of a vector.Gravatar Sadie Powell2024-08-271-1/+1
| | | | | | This is more useful for how MOTDs are processed now as we iterate through them anyway and this allows us to avoid a needless second iteration.
* Update copyright headers.Gravatar InspIRCd Robot2024-07-141-1/+1
|
* Fix MOTD parsing accidentally skipping lines which are blank.Gravatar Sadie Powell2024-07-051-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
|
* Replace FileReader with something more sensible.Gravatar Sadie Powell2023-07-031-6/+10
|
* Fix calling c_str() for parameters that can take a std::string.Gravatar Sadie Powell2023-05-311-1/+1
|
* Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-3/+3
|
* Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-1/+1
|
* Remove some more unnecessary things from the global headers.Gravatar Sadie Powell2023-01-141-0/+1
|
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-2/+2
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-091-2/+11
|\|
| * Fix sending malformed MOTD and showfile messages to clients.Gravatar Sadie Powell2022-12-091-2/+12
| |
* | More const correctness.Gravatar Sadie Powell2022-10-231-1/+1
| |
* | Avoid file_cache in opermotd and showfile.Gravatar Sadie Powell2022-10-121-1/+1
| |
* | Make clientprotocol{msg,event} and numericbuilder non-default headers.Gravatar Sadie Powell2022-06-261-0/+1
| |
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-1/+1
| |
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
| |
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-4/+4
| |
* | Mark all command classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-3/+3
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-4/+3
| |
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
| |
* | Constify variables within loops.Gravatar Sadie Powell2021-04-011-1/+1
| |
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-1/+1
| |
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-2/+2
| |
* | Add stdalgo::iterator_range and switch config tag reading to use it.Gravatar Sadie Powell2020-10-311-3/+1
| | | | | | | | | | This allows us to use range-based for loops which were not possible with the previous config tag system.
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-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-5/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-041-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
| |
| * Remove the preceding - in messages sent by opermotd and showfile.Gravatar Sadie Powell2020-01-241-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-1/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+2
| |
* | ModuleManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
| |
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-3/+3
|/
* Fix some incorrect conditions in the showfile module.Gravatar Peter Powell2018-11-241-2/+2
| | | | Thanks to @genius3000 for pointing this out.
* Improve the output of the showfile module.Gravatar Peter Powell2018-11-241-2/+3
| | | | | | - Omit the starting numeric if a zero numeric is specified. - Omit the ending numeric if a zero numeric is specified or if the end message is empty.
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-3/+4
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Always process MOTD formatting escape codes.Gravatar Peter Powell2018-04-221-2/+1
| | | | | The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more.
* Move a bunch of optional module numerics to the module source file.Gravatar Peter Powell2018-04-221-0/+9
|
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-3/+3
|
* m_showfile Replace User::SendText() call with WriteCommand()Gravatar Attila Molnar2016-03-301-3/+4
|