Sadie Powell
6d981960da
Merge branch '2.0' into 2.1.
2023-12-20 00:07:51 +00:00
Sadie Powell
b84b1d8166
Misc grammar fixes.
2023-12-17 19:32:45 +00:00
Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
70d72b62df
Avoid needing to cast CurrentUplink by changing it to a size_t.
2023-11-16 21:49:48 +00:00
Sadie Powell
b28180d680
Implement support for the ANONYMOUS SASL mechanism.
2023-11-14 15:02:04 +00:00
Sadie Powell
8e1c7e1e44
Merge branch '2.0' into 2.1.
2023-10-11 15:51:52 +01:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
Sadie Powell
ca2209aaed
Show the SQL service name in the db_sql error message.
...
This should help users diagnose issues easier.
2023-09-05 00:21:31 +01:00
Sadie Powell
adf820c08a
Merge branch 2.0 into 2.1.
2023-08-06 13:36:27 +01:00
Sadie Powell
7f8a0c9d33
Allow Anope to look up multiple DNS results.
...
For fixing bug 1756.
2023-07-11 16:11:57 +01:00
Sadie Powell
aa619f1eeb
Merge branch '2.0' into 2.1.
2023-07-11 12:28:54 +01:00
Sadie Powell
b7458c5da1
Allow access list entries to have a description.
...
This is useful when adding glob matches to the access list as a
reminder of who they actually match.
Resolves https://bugs.anope.org/view.php?id=1613
2023-07-11 12:19:47 +01:00
Sadie Powell
14204353ac
Allow customising the email content type.
...
This will allow people to send emails using HTML or non UTF-8 text.
2023-07-09 14:39:51 +01:00
Sadie Powell
9d0a6ddc67
Merge branch '2.0' into 2.1.
2023-06-03 21:51:07 +01:00
Adam
fbf3b34474
add gettext to conan deps
2023-06-02 23:01:27 -04:00
Adam
66f37139cb
regchannels: remove dependency on no-delete-null-pointer-checks
2023-05-28 21:26:03 -04:00
Adam
0646547c9e
config: remove dependency on no-delete-null-pointer-checks
2023-05-28 21:25:59 -04:00
Sadie Powell
b7abfe5eca
Avoid returning null when a config tag does not exist.
...
This invokes undefined behaviour on modern compilers.
2023-05-04 19:21:02 +01:00
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