Sadie Powell
885462d98e
Merge branch '2.0' into 2.1.
2022-12-31 22:11:19 +00:00
Sadie Powell
33a337dfc0
Update the copyright headers for 2023.
2022-12-31 22:08:50 +00:00
Sadie Powell
24b881c427
Update MODULE_INIT for modern MSVC+ versions.
2022-12-23 15:09:12 +00:00
Sadie Powell
f6e5e6a2b4
Add sockaddrs::str to stringify a sockaddrs properly.
...
Also clean up the socket code slightly.
2022-12-17 12:39:48 +00:00
Sadie Powell
dfdcd3021a
Add support for linking over UNIX sockets.
2022-12-17 11:50:38 +00:00
Sadie Powell
5fa3d8f929
Use emplace() instead of insert(std::make_pair()).
2022-12-09 16:50:29 +00:00
Sadie Powell
09c587bed0
Remove TR1 compatibility layer.
...
This isn't necessary now we use C++17.
2022-03-01 05:09:29 +00:00
Sadie Powell
a8724b5f03
Use noexcept instead of an empty exception specifier.
2022-03-01 05:06:19 +00:00
Sadie Powell
15d51ff033
Document the sysconf header file.
2022-01-13 13:46:29 +00:00
Sadie Powell
2881ba112b
Clean up the predefined variables on Windows.
...
- Use _MSC_VER for detecting MSVC instead of a custom define.
- Remove MINGW as you can use __MINGW32__ to detect this.
- Stop defining _WIN32 as this will always be defined on Windows.
2022-01-13 02:35:23 +00:00
Sadie Powell
40ce51a1a9
Include cstring instead of string.h in services.h
2022-01-13 01:13:46 +00:00
Sadie Powell
6486956401
Fix some methods that should have been marked as CoreExport.
2022-01-13 00:34:51 +00:00
Sadie Powell
33b42ce86e
Use the default CMake modules for finding gettext instead of our own.
2022-01-12 23:05:25 +00:00
Sadie Powell
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
k4bek4be
9b0c7929d9
Multiple updates for unreal4 protocol ( #285 )
...
* Parse PROTOCTL PREFIX and PROTOCTL USERMODES
* Add several previously unhandled modes
* Fix incorrect SJOIN prefix handling
* Enable message tags sending from ircd
* Add timedban matcher
* Add operclass matcher
* Store all client and channel moddata.
* Call unreal's internal unban on /cs unban
* Check for ~a:0 ban
* Add country ban matcher
* Use +B umode for services bots
2022-01-10 15:50:17 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
9befb13ea4
Remove various entries from sysconf which are never actually used.
2022-01-04 15:05:33 +00:00
Sadie Powell
8eb6a4da71
Update more IRCServices references to reflect the current project.
...
- If referring to the specific piece of software use "Anope".
- If referring to services in general use "services".
2022-01-04 14:11:07 +00:00
Sadie Powell
7d1047490e
Consistently use #pragma once across all header files.
...
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
2022-01-04 12:10:32 +00:00
Sadie Powell
c9f93eeaed
Merge branch '2.0' into 2.1.
2022-01-04 00:39:34 +00:00
Sadie Powell
db6b2225b1
Use GNU visibility attributes when on non-Windows.
...
This reduces binary sizes by several megabytes on my system.
2022-01-04 00:39:05 +00:00
Sadie Powell
c6c9d9591c
Remove some obsolete header and function checks.
2022-01-04 00:39:05 +00:00
Sadie Powell
eb81f22a5b
Modernize CXXFLAGS on Unix and enable -Werror on CI.
...
Also clear up warnings that this exposed.
2022-01-04 00:39:05 +00:00
Sadie Powell
a31a7f5a6c
Use C++11 default initializers and destructors where possible.
2022-01-04 00:17:19 +00:00
Sadie Powell
7531e90499
Use C++11 style class/struct initialisation.
2022-01-04 00:17:13 +00:00
Sadie Powell
ba2c82e2f5
Fix some minor issues discovered whilst working on 2.1.
2022-01-03 19:37:33 +00:00
Sadie Powell
dfcc025a19
Remove MARK_DEPRECATED as there's an attribute for this now.
2022-01-03 19:02:44 +00:00
Sadie Powell
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02:44 +00:00
Sadie Powell
aee1e53cb3
Remove support for precompiled headers.
...
This might have been useful two decades ago but on recent hardware
this just makes builds take longer than without them.
2022-01-03 16:27:15 +00:00
Sadie Powell
754c82d047
Remove undefined behaviour around checking if this is null.
2021-11-30 11:04:19 +00:00
Sadie Powell
b9ccd4bb0b
Fix cmake deprecation warning CMP0026.
2021-11-30 10:03:10 +00:00
Sadie Powell
e7e8447fa3
Deduplicate code for checking if a user is securely connected.
2021-08-01 19:23:48 +01:00
Sadie Powell
561b205c4a
Merge branch '2.0' into 2.1.
2021-08-01 18:53:24 +01:00
Josh Soref
fd88b756fc
Fix various spelling issues ( #274 ).
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >.
2021-06-17 15:02:30 +01:00
Sadie Powell
e67c2d5632
Add support for per-mode list limits.
2021-06-04 02:12:09 +01:00
Sadie Powell
376053e0ac
Allow protocol modules to declare that the IRCd supports tags.
...
This is not being used currently but will be soon.
2021-06-01 00:21:41 +01:00
Sadie Powell
cadc6f48e6
Remove nickserv:strictpasswords as it is now obsolete.
2021-05-31 21:44:10 +01:00
Sadie Powell
b6665d5eb9
Add the nickserv:minpasslen option.
2021-05-31 21:16:06 +01:00
Sadie Powell
df4313f5bb
Merge branch '2.0' into 2.1.
2021-05-31 20:57:48 +01:00
Sadie Powell
100b24074d
Improve the message for NICK_IDENTIFY_REQUIRED.
2021-05-23 19:51:40 +01:00
Sadie Powell
095a25d473
Add the anope_override keyword to methods that lack it.
2021-04-27 21:41:19 +01:00
Sadie Powell
c21f6eb5a3
Rip out compatibility code for now-unsupported CMake versions.
2021-04-27 19:20:36 +01:00
Sadie Powell
e2aeab970b
Remove the repeated conditions in cmake endif/else statements.
2021-04-27 17:49:21 +01:00
Sadie Powell
dfc8bd4aa2
Switch SendSVSLogin to take a NickAlias.
2021-04-27 17:31:14 +01:00
Sadie Powell
c68b81eac8
Merge branch '2.0' into 2.1.
2021-02-18 23:59:28 +00:00
Robby
c5a4e8337c
Update copyright to 2021.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2021-01-07 03:31:08 +01:00
Sadie Powell
8b2c1548ab
Merge tag '2.0.8' into 2.1.
2020-10-07 14:42:33 +01:00
Sadie Powell
d0e8392445
Fix the global/global command showing the wrong origin nick.
2020-10-06 15:13:14 +01:00
Sadie Powell
9d6dd4af11
Remove the non-tagged version of IRCDMessage::Run.
2020-09-28 15:28:27 +01:00
Sadie Powell
f430522b41
Rename things from services to anope.
2020-09-28 15:28:27 +01:00