Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
3371941be5
Allow users to opt-out of being added to channel access lists.
2023-11-23 15:10:03 +00:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +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
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
5fa3d8f929
Use emplace() instead of insert(std::make_pair()).
2022-12-09 16:50:29 +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
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02:44 +00:00
Sadie Powell
095a25d473
Add the anope_override keyword to methods that lack it.
2021-04-27 21:41:19 +01: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
Peter Powell
6617d29b52
Fix a bunch of broken indentation.
2019-12-14 18:38:13 +00: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
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
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
Adam
c9008cdafa
Fix access dup check to account for accounts
2014-11-15 02:13:10 -05:00
Adam
62a01dcc87
Set access masks to the case of the nick they match, if any
2014-10-14 21:09:41 -04:00
Thomas Fargeix
96583892c6
Add a chanserv/access/list privilege
...
Replace the existing chanserv/access/list command access,
only used in cs_xop, by a privilege with the same name.
It which allows read-only access to cs_access, cs_flags, cs_xop
and cs_akick, while the already-existing chanserv/access/modify
privilege allows to modify them.
2014-10-12 10:52:48 -04:00
Adam
063d9bf5f6
Allow "modify" in flags to be optional
2014-08-03 18:33:56 -04:00
Zantox
3bea089793
Updated ChanServ Command English Language
2014-06-25 02:09:43 -04:00
Adam
df321a118e
Fix access lists showing the wrong mask if the display nick for a group
...
expires but the group still exists. This can cause access entries for
nicks to not be deleted whenever the nicks are deleted.
2014-05-14 19:10:23 -04:00
Adam
22976b8a7c
Fix flags +* or -* sometimes incorrectly reporting opers as overriding when they are not
2014-02-11 17:33:28 -05:00
Adam
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
2c3e8a76c9
Check override permission in cs_flags for modifying existing entries too
2013-11-18 17:18:00 -05:00
Adam
15e527fa70
Add missing .founder checks to cs_flags
2013-11-16 15:14:15 -05:00
Adam
cc2a999b4e
Allow founders to change flags even if they don't have any matching access entries on the channel
2013-11-16 10:04:26 -05:00
Adam
aa6c3f3474
Show (none) on flags list if a user is on the access list but has no flags
2013-11-09 05:47:14 -05:00
Adam
fa7cee9759
Don't allow users to remove non-flags access entries that are >= them with /cs flags, also spotted by TGS
2013-11-08 17:47:13 -05:00
Robby-
82006b868f
cs_entrymsg: Check for the correct override privilege.
...
Make some more commands check if Read-Only mode is active.
cs_flags: Show a meaningful message when a user is not found on the access list.
os_set: Add missing capabilities to the readonly help output.
OperServ: Add logging to certain commands.
NickServ: Undo logging for listings.
2013-10-05 00:33:03 -04:00
Robby-
bf67b9ee5c
Make column titles in listings translatable.
...
Make some more strings translatable, and remove some that don't need translation at all.
Make expirytimes and units translatable.
Make predefined messages in listings also translatable.
Make the remaining command descriptions translatable.
Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable.
2013-09-27 19:11:02 -04:00
Adam
80c02740d0
Translate listformatter properly
2013-09-27 19:11:02 -04:00
Adam
ce7a32a994
Do not have cs_access try to represent non levels access entries as levels access entries. Sometimes it cant accurately be done and it confuses people.
2013-08-22 01:13:28 -04:00
Adam
9f8b4ac382
Allow access and flags to take privilege names
2013-07-04 01:21:14 -04:00
Adam
7f971043bc
Allow channels on access lists
2013-07-03 22:45:00 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
22658d63bd
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
2013-05-26 17:13:11 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
4f9b7874d6
Pass new config and the new config reader to the OnReload event, aswell as call it on module load on modules that hook to it
2013-04-11 00:08:28 -05:00
Adam
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -05:00
Adam
fc1d7ea89b
Switch Destroy methods to delete
2013-02-14 20:58:01 -05:00
Adam
25cec015e8
Made access del by nick and other functions from 326f1a really delete objects
2013-02-05 09:45:48 -05:00
Robby-
15b37c1e38
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
2013-02-02 07:30:53 +01:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
00256fdba8
Made access provider modules permanent. They don't cleanup their access entries currently and if they did it would delete them.
2012-10-24 23:30:21 -04:00