Sadie Powell
c3e42d4e5d
Make some functions that don't use this
static.
2023-01-11 00:56:15 +00:00
Sadie Powell
b7b72521a7
Fix calling various static functions through a type instance.
2023-01-11 00:56:10 +00:00
Sadie Powell
b2d86bb8a1
Qualify auto correctly in all cases.
2023-01-10 23:30:34 +00:00
Sadie Powell
a982e71041
Fix some unnecessary string copies.
2023-01-10 21:44:35 +00:00
Sadie Powell
a847107bee
Fix using std::move when not appropriate.
2023-01-10 21:43:44 +00:00
Sadie Powell
396f2ab290
Avoid copying various shared_ptr usages when not necessary.
2023-01-10 21:39:08 +00:00
Sadie Powell
b25cd86ddf
Avoid copying shared_ptr<IOHookProvider> when not necessary.
2023-01-10 21:27:29 +00:00
Sadie Powell
1b2916c845
Avoid copying shared_ptr<ConfigTag> when not necessary.
2023-01-10 21:27:18 +00:00
Sadie Powell
a83223378c
Fix calling the base Set/Unset implementation in ListExtItem.
2023-01-10 20:28:29 +00:00
Sadie Powell
74e94eb02d
Merge branch 'insp3' into master.
2023-01-09 18:37:56 +00:00
Sadie Powell
ccbc809c9b
Make Dependabot send pull requests to the insp3 branch.
2023-01-09 18:37:24 +00:00
Sadie Powell
610930face
Deduplicate sending the raw I/O logging warning.
2023-01-09 18:33:37 +00:00
Sadie Powell
573296baea
Fix enabling the raw I/O logging warning when <log:level> is rawio.
2023-01-09 18:16:40 +00:00
Sadie Powell
9c95315763
Fix suspending GDB when the process gets sent a signal.
2023-01-09 18:08:40 +00:00
Sadie Powell
8831595e1a
Rework how users are assigned to connect classes.
...
- Move core connect class checks and <performance:clonesonconnect>
to the core_user module.
- Add pre-change and post-change events for when a connect class
changes.
- Split explicit class changing out into its own method.
- Remove the need to almost always call CheckClass after SetClass.
- Add use counting to the connect class instead of relying on the
shared_ptr use count.
2023-01-08 16:28:40 +00:00
Sadie Powell
94740c6252
Switch sqloper to use a local user lookup instead of IS_LOCAL.
2023-01-08 13:48:44 +00:00
Sadie Powell
1239ee1e14
Merge branch 'insp3' into master.
2023-01-08 13:19:40 +00:00
Sadie Powell
7e103d95dc
Fix DNSBL user/host marks being overwritten by ident/host lookups.
2023-01-07 23:16:31 +00:00
Sadie Powell
9e985f5979
Add some overloads of Find{Nick,UUID,} for local/remote users.
2023-01-07 04:36:31 +00:00
Sadie Powell
756ed58b77
Silence a Valgrind warning in SSLIOHook.
...
Closes #2011 .
2023-01-05 17:23:54 +00:00
Sadie Powell
d7182c584c
Add a helper class for creating a reference to a DNS manager.
2023-01-05 00:41:04 +00:00
Sadie Powell
26c6a8811b
Allow specifying milliseconds and a timespec in the server-time API.
2023-01-04 19:56:57 +00:00
Sadie Powell
3ea463dae7
Misc DNSBL code cleanup.
2023-01-04 18:00:54 +00:00
Sadie Powell
bb9c264dca
Move the shared data in the DNSBL module to its own class.
2023-01-04 17:52:36 +00:00
Sadie Powell
3d1f139467
Sync whether an oper login was performed automatically.
2023-01-03 15:23:04 +00:00
Sadie Powell
ef292c8d80
Fix CanUseSnomask checking the wrong snomask index.
...
We reuse the mode index packing here to avoid duplication.
2023-01-02 22:49:07 +00:00
Sadie Powell
b1e6084b2d
Fix getting the full snomask and mode lists.
2023-01-02 22:49:07 +00:00
Sadie Powell
45ef938965
Get rid of the virtual Has*Permission methods.
...
These are no longer needed now we store privs for the remote oper.
2023-01-02 21:49:20 +00:00
Sadie Powell
4a468f26cc
Allow synching oper privileges between servers.
2023-01-02 21:49:20 +00:00
Sadie Powell
137dbe2fdc
Allow getting all of the oper command/mode/snomask privs.
2023-01-02 21:05:19 +00:00
Sadie Powell
37ce48e61a
Add some useful aliases to OperType.
2023-01-02 19:48:14 +00:00
Sadie Powell
6d6ccfd24b
Add a method for unescaping tags.
2023-01-02 19:22:40 +00:00
Sadie Powell
93088a1ffb
Release v4.0.0 alpha 18.
v4.0.0a18
2023-01-01 13:21:20 +00:00
Sadie Powell
d048778f78
Merge branch 'insp3' into master.
2023-01-01 13:19:45 +00:00
Sadie Powell
b310c28aff
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.
2022-12-31 18:27:50 +00:00
Sadie Powell
1106b97c41
Release v3.15.0.
v3.15.0
2022-12-30 11:33:00 +00:00
InspIRCd Robot
2b810b412a
Update copyright headers.
2022-12-30 11:31:28 +00:00
Sadie Powell
f6bd143ff0
Update module descriptions.
2022-12-30 11:27:46 +00:00
Sadie Powell
5894b4eb80
Update vendored dependencies.
2022-12-30 11:25:25 +00:00
Sadie Powell
f547805018
Rename the SimpleExtItem type parameter to be more descriptive.
2022-12-27 19:29:43 +00:00
Sadie Powell
a752f952af
Allow overriding the deleter in ListExtItem.
2022-12-27 19:29:43 +00:00
Sadie Powell
72b5aec5d5
Add the SimpleExtItem::GetRef method.
2022-12-27 19:29:43 +00:00
Sadie Powell
75de6e0d5c
Add the ListExtItem extension type.
2022-12-27 18:19:10 +00:00
Sadie Powell
baccb43263
Merge branch 'insp3' into master.
2022-12-27 15:27:34 +00:00
Sadie Powell
9b5c86c0b6
Ignore edits to the copyright headers when updating them.
...
This fixes a committer who has run mkheaders from being added to
the copyright headers when it is next run.
2022-12-27 15:01:13 +00:00
Sadie Powell
549105eb53
Use delete_zero in place that it makes sense to.
2022-12-27 14:12:25 +00:00
Sadie Powell
1c2e79ea80
Move cull_delete to be inside of Cullable.
2022-12-27 14:12:10 +00:00
Sadie Powell
ed81ec45ad
Move some stuff from the Windows compat header to where it is used.
2022-12-27 13:50:13 +00:00
Sadie Powell
193408e3b4
Replace the unused padding
argument of Percent::Encode with upper
.
2022-12-27 13:37:38 +00:00
Sadie Powell
beb9c2475c
Fix a C++11-ism in the dnsbl module.
2022-12-26 20:04:17 +00:00