aboutsummaryrefslogtreecommitdiff
path: root/src/commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add insp::find_value, insp::to_ptr and switch code to use them.Gravatar Sadie Powell2026-04-041-5/+2
|
* Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-311-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2026-03-311-1/+1
| |
* | Move service types to their own namespace.Gravatar Sadie Powell2026-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | - ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them.
* | Switch modules from reference<> to shared_ptr<> and weak_ptr<>.Gravatar Sadie Powell2026-03-291-3/+3
| |
* | Rewrite sepstream and move to stringutils.Gravatar Sadie Powell2026-03-141-4/+5
| |
* | Clean up the casemapping checking and comparison code.Gravatar Sadie Powell2026-03-131-1/+1
| |
* | Rework sending server protocol messages.Gravatar Sadie Powell2026-03-121-63/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace CmdBuilder with MessageBuilder. This has a less footgun API. All message building has to go through this now so we can implement other message formats in the future. - Replace the message parsing in WriteLine with an analogue to PreProcessOldProtocolMessage. This should be much faster. - Move parameter translation from the core to spanningtree. - Change EncodeParameter to return the value instead of updating in place. - Replace the OnBuild*Message events with one OnServerMessage that can now access all parts of the message and change them.
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-081-3/+3
|\|
| * Allow Command::IsUsableBy to be used for server-originated messages.Gravatar Sadie Powell2026-03-081-2/+2
| |
| * Deduplicate command usability checks into Command::IsUsableBy.Gravatar Sadie Powell2026-03-061-22/+18
| |
* | Replace IS_* with member functions.Gravatar Sadie Powell2026-03-081-2/+2
| | | | | | | | | | | | - All user types get an Is* function. - Only local users are cast using the old function so only local users get an As* function.
* | Convert TranslateType to an enum class.Gravatar Sadie Powell2026-03-061-4/+4
| |
* | Deduplicate command usability checks into Command::IsUsableBy.Gravatar Sadie Powell2026-03-051-22/+18
| |
* | Switch parameter count fields to use size_t.Gravatar Sadie Powell2026-03-021-10/+10
| |
* | Rename ServiceProvider::creator to service_creator and add GetSource.Gravatar Sadie Powell2026-03-021-1/+1
| |
* | Massive rework of how internal service providers work.Gravatar Sadie Powell2026-03-021-1/+6
| | | | | | | | | | | | | | | | | | - ServiceType is dead. All modules use RegisterService now. - Modules can implement UnregisterService which is called from DelService now. - Split the service type prefix into its own field. - Renamed Service::name to Service::service_name. This revealed a few bugs.
* | Rename ServiceProvider methods to avoid shadowing issues.Gravatar Sadie Powell2026-03-021-8/+9
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2026-02-281-0/+2
|\|
| * Fix RPL_ENDOFNAMES for real this time.Gravatar Sadie Powell2026-02-281-0/+2
| |
* | Implement support for per-command maximum targets.Gravatar Sadie Powell2026-02-271-1/+21
| | | | | | | | Closes #2157.
* | Add a numeric helper for ERR_NOPRIVILEGES.Gravatar Sadie Powell2026-02-261-10/+3
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-11-011-10/+0
|\|
| * All core numerics should be in numeric.h not in .cpp files.Gravatar Sadie Powell2024-10-261-10/+0
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-09-091-16/+16
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2024-09-071-1/+1
| |
| * Check the connection state of a command before the parameter count.Gravatar Sadie Powell2024-09-031-7/+7
| | | | | | | | | | | | Works around a bug in irssi. Closes #2103.
| * Normalise the case of MOD_RESULT variables.Gravatar Sadie Powell2024-08-311-8/+8
| |
* | Use C++20 <format> instead of fmtlib when available.Gravatar Sadie Powell2024-08-221-1/+1
| |
* | Always use fmtlib directly.Gravatar Sadie Powell2024-06-071-1/+1
|/
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
|
* Normalise the case of ServerStats.Gravatar Sadie Powell2023-07-131-2/+2
|
* Make MaxTargets a size_t.Gravatar Sadie Powell2023-07-031-1/+1
|
* Rename command_parse to commands.Gravatar Sadie Powell2023-05-081-0/+503
|
* Move the contents of commands to command_parse.Gravatar Sadie Powell2023-05-081-121/+0
|
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-2/+2
|
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
|
* 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
| |
* | Rename session registration to connection to avoid a semantic conflict.Gravatar Sadie Powell2022-10-291-2/+2
| | | | | | | | | | | | We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works.
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-1/+3
| |
* | Move numerics to the source files where they are actually used.Gravatar Sadie Powell2022-06-261-0/+10
| |
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-1/+1
| |
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-1/+1
| |
* | Convert UserType to be a uint8_t and move inside User.Gravatar Sadie Powell2020-11-101-5/+5
| |
* | Clean up a bunch of contructors and destructors.Gravatar Sadie Powell2020-11-011-4/+0
| |
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-4/+4
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| |