aboutsummaryrefslogtreecommitdiff
path: root/include/mode.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix various minor Doxygen issues.Gravatar Sadie Powell2026-03-291-1/+1
|
* Move service types to their own namespace.Gravatar Sadie Powell2026-03-291-3/+3
| | | | | | | | | | | - 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-6/+6
|
* Switch typedefs to using statements.Gravatar Sadie Powell2026-03-261-7/+7
|
* Improve support for renaming modes.Gravatar Sadie Powell2026-03-191-4/+14
|
* Clean up the casemapping checking and comparison code.Gravatar Sadie Powell2026-03-131-1/+1
|
* Move <options:defaultmodes> to <channels> and rework.Gravatar Sadie Powell2026-03-121-0/+3
| | | | | | | | | | | | - The default prefix modes are now separate from the default channel modes. This should result in less accidentally broken configs. - The privs are now pre-parsed to a list of mode references. This should improve performance slightly as the repeated mode lookups are gone. It also allows us to write warnings to the debug log when the default privs are invalid. - Channels can now have a default topic.
* Fix various minor Doxygen issues.Gravatar Sadie Powell2026-03-081-1/+1
|
* Get rid of the ModuleRef typedef.Gravatar Sadie Powell2026-03-041-1/+1
| | | | | Eventually this will be moved to shared_ptr but for now the typedef is just hiding the constness of the reference.
* Massive rework of how internal service providers work.Gravatar Sadie Powell2026-03-021-2/+4
| | | | | | | | | - 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.
* Unify command_parse and ctables.Gravatar Sadie Powell2026-02-151-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2024-09-071-1/+1
|
* Use auto in GetLevelRequired and GetSyntax.Gravatar Sadie Powell2024-08-291-5/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+2
|
* Retain the "real" username properly like we do for hostnames.Gravatar Sadie Powell2023-06-291-2/+2
| | | | | | | | | | | | | | This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations.
* Replace ModeAction with bool.Gravatar Sadie Powell2023-01-221-16/+7
| | | | This enum is functionally the same as bool but with weird semantics.
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | Fix some types which were missed when making stuff final.Gravatar Sadie Powell2022-10-301-1/+1
| |
* | Fix various inappropriate uses of UINT_MAX.Gravatar Sadie Powell2022-10-141-1/+1
| |
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-2/+2
| |
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-2/+2
| |
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-6/+6
| |
* | Fix the modehandlers array being bigger than necessaryGravatar Sadie Powell2022-06-231-5/+2
| | | | | | | | We now pack the positions within this array so we can shrink it.
* | Use size_t instead of `unsigned int` in ModeParser.Gravatar Sadie Powell2022-06-111-1/+1
| |
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-9/+13
| |
* | Store a set of list mode pointers in Membership instead of characters.Gravatar Sadie Powell2022-05-171-0/+9
| |
* | Fix various Doxygen comment issues.Gravatar Sadie Powell2022-05-021-1/+1
| |
* | 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/+6
|\|
| * Add a method for finding the next prefix mode above a rank.Gravatar Sadie Powell2022-04-111-0/+6
| |
* | Replace duplicated documentation with @copydoc.Gravatar Sadie Powell2022-04-161-24/+5
| |
* | Pack the mode set more efficiently and add support for numeric modes.Gravatar Sadie Powell2022-03-271-0/+4
| |
* | Add a typedef for the mode status bitset.Gravatar Sadie Powell2022-03-271-0/+3
| |
* | Fix unsigned/const keyword ordering, remove unnecessary consts.Gravatar Sadie Powell2022-03-271-2/+2
| |
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-13/+13
| |
* | Fix a few Doxygen comment errors.Gravatar Sadie Powell2022-01-241-1/+1
| |
* | Add constexpr to the initialisation of various const static fields.Gravatar Sadie Powell2022-01-181-3/+3
| |
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-1/+1
| |
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-6/+11
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-041-3/+7
|\|
| * Fix some "targ" usages which were missed in the earlier commit.Gravatar Sadie Powell2021-07-031-3/+7
| |
* | Move ModeParser::BuildPrefixes to core_mode.Gravatar Sadie Powell2021-07-031-5/+0
| | | | | | | | | | Now we've dropped support for the 1202 protocol we don't need this in the core.
* | Move ModeParser::GiveModeList to core_mode.Gravatar Sadie Powell2021-07-031-8/+0
| | | | | | | | | | Now we've dropped support for the 1202 protocol we don't need this in the core.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-1/+1
|\|
| * Fix various spelling issues (#1883).Gravatar Josh Soref2021-06-211-1/+1
| | | | | | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* | Rename Simple{Channel,User}ModeHandler to match other mode handlers.Gravatar Sadie Powell2021-06-011-4/+4
| |