554 Commits

Author SHA1 Message Date
Sadie Powell
cefae0ed22 Fix MSVC compatibility issues. 2021-06-07 10:40:18 +01:00
Dominic Hamon
02340285c5
Added -Wshorten-64-to-32 and fixed all warnings. 2021-05-30 20:37:54 +01:00
Sadie Powell
0c750c0608 Move channel logic from InspIRCd to the new ChannelManager class. 2021-05-08 15:31:50 +01:00
Sadie Powell
77802d96ca Use string_view in IsCTCP. 2021-04-08 20:00:46 +01:00
Sadie Powell
a6f81edcdb Take a string_view in irc::equals. 2021-04-08 18:48:52 +01:00
Sadie Powell
7d84e4900f Fix a ton of pedantic compiler warnings. 2021-04-04 23:42:15 +01:00
Sadie Powell
0194f799b9 Merge branch 'insp3' into master. 2021-03-31 15:04:15 +01:00
Sadie Powell
952ee5cc60 Fix various documentation comments. 2021-03-31 10:51:51 +01:00
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