Sadie Powell
12545ccbde
Use auto in as many places as possible.
2026-03-05 18:04:33 +00:00
Sadie Powell
81aa37543e
Merge branch '2.0' into 2.1.
2026-01-01 18:07:12 +00:00
Sadie Powell
4ac5cf89e3
Update the copyright headers for 2025.
2026-01-01 18:04:37 +00:00
Sadie Powell
62ca6c96eb
Move akick from the core to cs_akick.
2025-11-24 12:41:34 +00:00
Sadie Powell
e2af62352d
Add a workaround for some broken databases.
2025-11-15 00:01:52 +00:00
Sadie Powell
fa0c6ba821
Consistently use the same header layout on all files.
2025-11-12 19:49:59 +00:00
Sadie Powell
d5f2232140
Fix importing some older databases.
2025-07-27 15:42:32 +01:00
Sadie Powell
d3bb930a5e
Fix some inconsistencies with account lookups.
2025-05-17 19:35:03 +01:00
Sadie Powell
0fc1eb3133
Rename one last use of time_registered.
2025-05-17 15:05:13 +01:00
Sadie Powell
be5a0e8108
Serialize using mutable objects not immutable ones.
2025-05-16 15:18:00 +01:00
Sadie Powell
07f57b1108
Be more explicit about what versions compatibility code is for.
2025-05-09 21:43:35 +01:00
Sadie Powell
627b89ec7b
Fix a minor regression in serialising channel data.
2025-04-23 17:33:01 +01:00
Sadie Powell
f5a85c69d2
Remove time from the name of some variables where its obvious.
2025-04-19 22:53:49 +01:00
Sadie Powell
a154532e98
Use insert_or_assign when creating ChannelInfo instances.
2025-03-30 12:42:18 +01:00
Sadie Powell
0802d9d3ff
Reference accounts in the database by their id not their nick.
2025-03-30 11:57:47 +01:00
Sadie Powell
f3e5ccf353
Initialize ChannelInfo in the Modern C++ way.
2025-03-26 11:23:05 +00:00
Sadie Powell
e86fa67e38
Use a set instead of a vector for storing memo ignores.
2025-03-19 10:12:02 +00:00
Sadie Powell
e7b18609f6
Add defines for the core serialisation type names.
2025-03-12 15:53:52 +00:00
Sadie Powell
cdcf0e2f9a
Move serialization from Serializable to a Serialize::Type child.
2025-03-12 15:53:52 +00:00
Sadie Powell
0a82366a6b
Merge branch '2.0' into 2.1.
2025-01-14 13:41:19 +00:00
Sadie Powell
da7f47c1c7
Update the copyright headers for 2025.
2025-01-14 13:30:07 +00:00
Sadie Powell
528b5938ec
Automatically determine SQL column type from the field.
...
Also add more column types to ensure we are storing data in the
best format in the database.
2024-08-14 05:47:55 +01:00
Sadie Powell
b94c3740b9
Make the language around fantasy commands less weird.
2024-06-23 14:36:03 +01:00
Sadie Powell
29e7674e56
Replace convertTo/stringify with non-throwing alternatives.
...
Having these throw is terrible for ergonomics and there are loads
of places where the exception was either silently ignored or not
handled at all. Having a function which returns an optional and
another that returns a default works a lot better imo.
2024-03-11 19:17:29 +00:00
Sadie Powell
579af3c442
Rip out ns_access and related code.
...
This is wildly insecure and has been disabled by default for at
least a decade.
2024-02-29 16:14:15 +00:00
Sadie Powell
c6cb4ba159
Fix some coding style issues.
2024-02-26 15:34:17 +00:00
Sadie Powell
4cc68397dc
Update the copyright headers for 2024.
2024-02-17 19:58:17 +00:00
Sadie Powell
a9ab0c72a6
Use auto in places where the type is unambiguous.
2024-01-06 13:23:37 +00:00
Sadie Powell
a40f8e0b9d
Update the copyright headers for 2024.
2024-01-04 22:25:48 +00:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
Adam
66f37139cb
regchannels: remove dependency on no-delete-null-pointer-checks
2023-05-28 21:26:03 -04: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
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
84ec0903ee
Fix checking if this is null in regchannel.
...
I can't see any places this might be called on a null pointer.
2021-12-02 10:23:05 +00:00
Sadie Powell
754c82d047
Remove undefined behaviour around checking if this is null.
2021-11-30 11:04:19 +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
Robby
c8699c6726
Update copyright to 2020.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2020-01-04 15:51:20 +01:00
Robby
6fbb7cffe9
Update copyright to 2019.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2019-01-01 17:43:35 +01:00
Robby
e03ae0cd85
Update copyright to 2018.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2018-04-25 19:22:13 +02:00
Adam
0c469abe4a
Call OnDelChan prior to unsetting extensibles
...
cs_set uses this to set -P on permanent channels if they are persistent.
Also move similar event in nickcore/nickalias destruction
2017-10-12 19:37:06 -04:00
Adam
c656fe0694
regchannel: fix compile warning from previous commit
2017-03-27 22:25:49 -04:00
Adam
274658f955
Fix autokick destructor to properly remove channel references from accounts
2017-03-27 21:14:32 -04:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Robby
8656b65e39
Update copyright to 2017.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
2017-01-16 03:13:25 +01:00
Adam
cb0cda2f8d
Missed channel deletion in ~ChannelInfo
2016-04-16 18:00:47 -04:00
Adam
ecdccd6ad6
And use account here, user might be null
2016-02-13 18:19:47 -05:00
Adam
4e2ca31cf5
Rewrite access path system to be simplier and use recursion
...
Show where access is "from" in chanserv/status
2016-02-13 14:16:29 -05:00
Robby
f118960a25
Update copyright to 2016. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
2016-01-28 20:24:49 +01:00