aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
Commit message (Expand)AuthorAgeFilesLines
* Make errors from the config parser more detailed.Gravatar Sadie Powell2025-11-301-3/+16
* Update copyright headers.Gravatar InspIRCd Robot2025-03-281-1/+1
* Avoid the use of ConvToStr in string concatenation.•••This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually. Gravatar Sadie Powell2025-03-011-4/+4
* Allow ConfigTag::getCharacter to return NUL for an empty field.Gravatar Sadie Powell2024-10-161-2/+5
* Add a config variable for the example dir.•••This makes including example files easier on system-wide installs. Gravatar Sadie Powell2024-08-301-0/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
* Fix directory includes to always be in a consistent order.Gravatar Sadie Powell2024-06-171-5/+9
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+0
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-7/+8
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-07-151-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-07-151-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-07-131-1/+7
|\|
| * Fix parsing end-of-file comments that don't end with a newline.Gravatar Sadie Powell2023-07-121-1/+7
* | Allow <define> tags to not redefine a variable if already set.•••This is useful for having a provider config which uses entities but has defaults to fall back to when they are not defined. Gravatar Sadie Powell2023-07-091-4/+5
* | Expand the file path in DoOpenFile not DoInclude.Gravatar Sadie Powell2023-07-031-7/+10
* | Replace FileReader with something more sensible.Gravatar Sadie Powell2023-07-031-21/+4
* | Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-1/+1
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-6/+7
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-7/+7
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-6/+2
* | Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-1/+2
* | 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-4/+4
|\|
| * Fix some minor config parser error messages.•••- Fix starting the column count for the first line on one instead of zero. This is incremented when reading the first character so starting at 1 causes an off by one error. - Fix showing "last tag was on line ..." message when there is an error before any tags. Gravatar Sadie Powell2022-12-311-5/+12
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-4/+4
* | Refactor the internals of the oper system.•••- Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. Gravatar Sadie Powell2022-11-281-15/+0
* | Fix a compiler error on Alpine and macOS.Gravatar Sadie Powell2022-11-161-0/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-161-2/+19
|\|
| * Fix the previous commit on Windows.Gravatar Sadie Powell2022-11-091-2/+4
| * Log when the uid/gid of config files might be wrong.Gravatar Sadie Powell2022-11-081-2/+29
* | More const correctness.Gravatar Sadie Powell2022-10-231-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
* | Fix more warnings discovered with -Weverything.Gravatar Sadie Powell2022-09-051-1/+1
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-6/+5
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-4/+4
* | Centralise the logging of malformed config values.Gravatar Sadie Powell2022-06-251-24/+24
* | Fix an inverted condition in configparser.Gravatar Sadie Powell2022-06-251-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-06-221-0/+2
|\|
| * Also add hex colour escapes to the formatting entity list.Gravatar Sadie Powell2022-06-201-0/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-05-251-1/+1
|\|
| * Fix some compiler warnings on i386.Gravatar Sadie Powell2022-05-251-1/+1
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-10/+8
* | Slim down the globally included files.Gravatar Sadie Powell2022-04-301-0/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-161-0/+9
|\|
| * Add a method to ConfigTag to help with retrieving a single character.Gravatar Sadie Powell2022-04-101-0/+10
* | Move FilePosition to be with the config stuff it is used by.Gravatar Sadie Powell2022-01-181-0/+12