Sadie Powell
1e1cf527d2
Merge branch 'insp3' into master.
2021-03-05 02:32:35 +00:00
InspIRCd Robot
7b1ab06a95
Update copyright headers.
2021-03-05 02:16:11 +00:00
Sadie Powell
4e488cb54d
Refactor classbase/CullResult into Cullable/Cullable::Result.
2021-03-02 05:56:56 +00:00
Sadie Powell
c72c5ead6d
Move aligned_storage to the utility directory and clean up.
2021-03-02 03:05:53 +00:00
Sadie Powell
3f113fc046
Move iterator_range to the utility directory and renamespace.
2021-03-02 02:56:49 +00:00
Sadie Powell
601ddbbb25
Replace defaultdeleter with the C++11 one and rename culldeleter.
2021-01-30 19:53:36 +00:00
Sadie Powell
1b181b42b8
Convert ConfigTag from reference<> to std::shared_ptr<>.
2020-10-31 23:21:15 +00:00
Sadie Powell
441bd151da
Add stdalgo::iterator_range and switch config tag reading to use it.
...
This allows us to use range-based for loops which were not possible
with the previous config tag system.
2020-10-31 22:33:35 +00:00
Sadie Powell
4176261edf
Convert OperInfo from reference<> to std::shared_ptr<>.
2020-10-31 16:55:18 +00:00
Sadie Powell
b755d2a778
Merge branch 'insp3' into master.
2020-05-05 22:03:14 +01:00
InspIRCd Robot
4f9abe96a4
Fixes by misspell-fixer
2020-04-21 00:52:12 -06:00
Sadie Powell
84eb33d4c3
Move FindNickOnly to UserManager.
2020-02-09 19:24:26 +00:00
Sadie Powell
61070d4894
Move FindNick to UserManager.
2020-02-09 17:19:31 +00:00
Sadie Powell
1cdffcaad7
Move FindUUID to the UserManager class.
2020-02-09 17:16:07 +00:00
Sadie Powell
98e4ddfb21
Use C++11 inline initialisation for class members.
2020-02-06 11:25:42 +00:00
Sadie Powell
0966ad5a0a
Make WritePID read directly from the config.
2020-02-06 01:53:16 +00:00
Sadie Powell
1de6f5b4a9
Merge branch 'insp3' into master.
2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Sadie Powell
f8013e0899
Move ISupport logic out of the core and into core_info.
2020-01-05 14:41:06 +00:00
Sadie Powell
f856d5ab8a
Merge branch 'insp3' into master.
2020-01-01 12:33:10 +01:00
Peter Powell
ad50225dc3
Make BindPorts return size_t instead of int.
2019-12-09 01:34:02 +00:00
Peter Powell
cca482b006
Improve behaviour when running as root.
...
- Only give the annoying message about root if --runasroot is not
specified.
- If --runasroot is specified then assume the user knows what they
are doing.
- Move CheckRoot to a static function in inspircd.cpp.
2019-12-08 23:08:57 +00:00
Peter Powell
9ad873886e
Convert InspIRCd::SetSignals to a static function.
2019-12-08 21:30:55 +00:00
Peter Powell
3faa9e3299
Move forking code into a function and remove DaemonSeed.
2019-12-08 21:19:47 +00:00
Sadie Powell
7b68936321
Merge branch 'insp3' into master.
2019-11-13 15:24:45 +00:00
Peter Powell
d0f802e30c
Implement serialisation of users.
...
This allows for various things which will be coming in the future.
e.g. Transferring users to another server on upgrade.
2019-10-14 11:03:03 +01:00
Sadie Powell
ada6646b65
Merge branch 'insp3' into master.
2019-07-27 19:12:29 +01:00
Peter Powell
193eac6490
Fix various cases of broken indentation.
2019-07-26 10:22:42 +01:00
Sadie Powell
cd8b456f97
Merge branch 'insp3' into master.
2019-07-16 16:48:18 +01:00
Sadie Powell
03d3563ef9
Replace socketengine_{pthread,win32} with C++11 threads.
2019-05-15 21:06:09 +01:00
Sadie Powell
1d5b18de82
Merge branch 'insp3' into master.
2019-05-15 15:26:55 +01:00
Peter Powell
6844ce1587
Fix building against older versions of glibc.
2019-05-06 01:57:26 +01:00
Robby
e57d1b19ff
Textual improvements and fixes such as typos, casing, etc. ( #1612 )
2019-04-28 09:14:21 +01:00
Sadie Powell
1fff2f7f87
Merge branch 'insp3' into master.
2019-03-30 22:06:19 +00:00
Matt Schatz
e02c22ff16
Add a function for displaying human-readable durations.
...
Add InspIRCd::DurationString() to take a time_t and return a string
with the duration in a human-readable format (ex: 1y20w2d3h5m9s).
2019-02-18 09:17:38 +00:00
Sadie Powell
b5524ce636
Remove the now unused fakederef class.
2019-02-07 12:18:32 +00:00
Sadie Powell
fb17bba197
Replace the TR1NS macro with the std namespace.
2019-01-25 02:49:03 +00:00
Matt Schatz
f2e3fd5952
Improve X-line text consistency.
...
- Change any "-Line", ":Line", or "*line" to "-line" throughout
the X-line code, comments, and documentation.
- Add periods to the end of some notices.
- Correct a typo in the Q-line code comments.
- Update the filter module documentation (shun addition).
Co-authored-by: Robby <robby@chatbelgie.be>
2019-01-09 10:07:09 +00:00
linuxdaemon
7530285740
Only parse valid durations, don't treat invalid multipliers as seconds ( #1538 )
2018-12-21 19:37:22 +01:00
Peter Powell
cc5aff3e5a
Move IsValidDuration into the core.
2018-11-24 23:27:16 +00:00
Peter Powell
0e6b18ff91
Fix warnings from Doxygen.
2018-10-21 19:18:08 +01:00
Peter Powell
cae87fa047
Switch all core modules still using COMMAND_INIT to MODULE_INIT.
2018-09-23 14:19:06 +01:00
Peter Powell
58a0a7e014
Implement IRCv3 message tag support.
...
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13 21:51:11 +01:00
Peter Powell
9cf448a332
Replace irc::stringjoiner with a generic stdalgo::string::join.
...
This can also be used with different types of collection containing
values which are not a string.
2018-07-26 21:41:36 +01:00
Peter Powell
384ef31bc0
Use CommandBase::Params instead of std::vector<std::string>.
...
This is presently a typedef but will soon be replaced with a class
that encapsulates both tags and parameters.
2018-07-26 20:12:14 +01:00
Peter Powell
b7716ed577
Initial support for listening on UNIX socket endpoints.
2018-07-18 19:22:17 +01:00
Peter Powell
87361360e6
Add InspIRCd::IsHost for checking the validity of hostnames.
2018-07-10 21:14:56 +01:00
Peter Powell
9b8dc77585
Add range checking to ConfigTag::getFloat.
2018-04-16 15:29:58 +01:00
Peter Powell
c9cdf72553
Include modules/whois.h directly from files that use it.
2018-04-08 17:00:58 +01:00
Peter Powell
454c8d3749
Move OnStats from the core to a cross-module event.
...
Some core code still exists in the XLine system but this will be
replaced when the XLine system is replaced later.
2018-04-08 16:54:27 +01:00