Bram Matthys
14e6f115ea
upgrade-conf: use xxx-with-override operclass if can_override is set (and globop or higher)
2015-06-26 15:25:41 +02:00
Bram Matthys
317f80cdea
upgrade-conf: upgrade oper block to new syntax (and a little more to come), remove set::hosts, ..
2015-06-26 15:22:05 +02:00
Bram Matthys
e52ab7e2c6
do make clean the official way ;)
2015-06-26 14:45:41 +02:00
Bram Matthys
329968a425
operclass: add map:real-map and map-ulines (show real map even if flat map, and show u-lined servers even if hide ulines is set)
...
grant map privilege to globop and higher in operclass.default.conf
2015-06-26 11:02:47 +02:00
Bram Matthys
734fd8ad5f
grant override:see to globops and above in operclass.default.conf.
2015-06-26 10:58:18 +02:00
Bram Matthys
a2a31951dc
move 'see' type of overrides (things opers can see from other users because they are oper) to override:see.
...
Like override:see:names:invisible, override:see:whois, override:see:who:onchannel, etc.
2015-06-26 10:56:57 +02:00
Bram Matthys
2769e4860a
default operclasses: allow globop and higher to override whois and names by default (to see users in channels)
2015-06-26 10:49:56 +02:00
Bram Matthys
f981843672
add xxx-with-override operclasses. also to show inheritance.
2015-06-26 10:45:40 +02:00
Bram Matthys
eca9a0e55e
first version of doc/conf/operclass.default.conf. still testing...
2015-06-26 10:38:05 +02:00
Bram Matthys
19dd192bb6
all nested operclass acl's were not working (eg: server:rehash), hope this is the correct fix :)
2015-06-26 10:36:21 +02:00
Bram Matthys
88e52c85d6
server:motd -> server:addmotd, server:omotd -> server:addomotd. hmmmm.. I guess.
2015-06-26 10:16:10 +02:00
Bram Matthys
f51d191751
trace:invisible_users -> trace:invisible-users
2015-06-26 10:08:18 +02:00
Bram Matthys
9de109b373
operclass privs: move kline/gline/(g)zline/shun to tkl:.. group
2015-06-26 09:43:19 +02:00
Bram Matthys
bf56672249
remove set::hosts. use oper::vhost instead.
2015-06-26 09:22:33 +02:00
Bram Matthys
4e4efd2d38
make oper::vhost actually work
2015-06-26 09:18:18 +02:00
Bram Matthys
e3f70594f2
Fix compile problem / upgrade op_can_override()
2015-06-26 09:17:24 +02:00
Travis McArthur
10bfb21321
Remove most of OPCan functionality - more later
2015-06-25 21:46:55 -07:00
Bram Matthys
8fc202a6a6
'make clean' did not clean src/modules/{usermodes,chanmodes,snomasks,extbans}
2015-06-25 22:44:37 +02:00
Bram Matthys
80362e0d9c
Fix compile warnings (and possibly a crash in dcc deny code introduced a week or so ago)
2015-06-25 22:38:22 +02:00
Bram Matthys
0f2af3f506
current 3.4.x git is really bleeding edge now, come back in a day or so:
...
* remove netadmin, services-admin, admin, co-admin.
* remove all oper flags (there are some placeholders for the next... <24hrs..)
* ADMINCHAT and NACHAT are gone, since admin & netadmin no longer exist
* SVSO used oper flags, but this no longer exists, SVSO removed. maybe later we can add some sort of replacement.. maybe..
* re-style the m_oper code a bit
2015-06-25 22:26:53 +02:00
Travis McArthur
1e525cbf93
Update Config to handle directory creation
2015-06-24 17:31:38 -07:00
Travis McArthur
10d6fe2651
Remove old announcements based on "admin" perms
2015-06-24 19:25:45 -04:00
Travis McArthur
527a00dafa
More ACL work, rip out *admin support (mostly...)
...
Not totally tested - I validated it built, I validated ACL validation worked, I validated that most of the ripped out functionality seemed to be absent, eg: we still set the modes (backwards compat w/ services?) but we don't actually check them anywhere, or add them to your whois.
2015-06-24 19:17:40 -04:00
Bram Matthys
dfbc913013
The default set of modules (full functionality) is now called modules.default.conf
...
Added operclass.default.conf which I will later expand after I see more of Heero's work ;)
2015-06-24 18:54:05 +02:00
Bram Matthys
bcc95f67d6
Give 3.2.x users some directory hints if they try to do things the 3.2.x way.
2015-06-24 17:57:12 +02:00
Bram Matthys
5d64a2ff43
Update release notes for alpha4 (unfinished)
2015-06-24 17:29:34 +02:00
Bram Matthys
5286b50c19
We already set the IP in add_connection, no need to do that in check_init again.
...
Fix bug where "insecure link" message was shown despite localhost.
2015-06-22 20:49:40 +02:00
Bram Matthys
d7e9d00e57
Update help.conf to reflect the new modes that are available to halfops
2015-06-22 19:31:14 +02:00
Bram Matthys
efc63dff81
Permit halfops to set more modes than before. The idea is halfops should be able to help out in case of a flood but not be able to change any 'policy decission' modes such as +G, +S, +c, +s.
...
The following modes are now permitted to halfops: +iklmntMKNCR (was: +ikmnt)
2015-06-22 19:29:32 +02:00
Bram Matthys
82d21bf2d9
Perhaps it would be wise to PING servers. Just an idea, mr nenolod.
2015-06-22 19:05:02 +02:00
Bram Matthys
2bbe696df9
example.conf: it's link::password and not link::outgoing::password. Reported by Micko_.
2015-06-22 16:59:36 +02:00
Bram Matthys
3a27176969
Fix compile problem on x86 (32 bit): undefined reference to `_BF_body_r', reported by Micko_.
2015-06-22 13:33:57 +02:00
Bram Matthys
da8e60bd7e
Set permissions on (built-in) UmodeAdd & SnomaskAdd correctly.
2015-06-21 21:04:35 +02:00
Bram Matthys
f819004deb
Make MODE SVSMODE SVSNOOP SVSO all use remove_oper_modes and remove_oper_snomasks. Much better now.
2015-06-21 20:58:51 +02:00
Bram Matthys
dd3c4ac4f4
Insert an extra parameter in UmodeAdd and SnomaskAdd to indicate "unset this on de-oper". Safer and better than in XYZ places in the code.
2015-06-21 20:37:53 +02:00
Bram Matthys
329700f745
Make Snomask +s oper-only. Has always been confusing that it wasn't.
2015-06-21 20:15:26 +02:00
Bram Matthys
c0f18b3e8e
Replace user mode +v ("victim", receive infected DCC notices) with snomask +D (modules/snomasks/dccreject).
2015-06-21 19:48:13 +02:00
Daniel Tan
3eead2069c
Merge pull request #4 from unrealircd/unreal34
...
Merge from unreal34 branch
2015-06-21 20:42:24 +08:00
Bram Matthys
7f5f26d0d8
Move user mode +R to usermodes/regonlymsg
2015-06-21 11:14:24 +02:00
Bram Matthys
9aa21c205f
Whoops. Only hide channels if actually umode +p and not everyone :D
2015-06-21 11:01:39 +02:00
Bram Matthys
8866793bdb
Move user mode +p to usermodes/privacy
2015-06-21 10:40:25 +02:00
Bram Matthys
4e748b7635
Make WHO use HOOKTYPE_SEE_CHANNEL_IN_WHOIS as well in first_visible_channel()
2015-06-21 10:37:05 +02:00
Bram Matthys
c9523e962d
Added HOOKTYPE_SEE_CHANNEL_IN_WHOIS. Make umode +S use it to hide channels.
...
Also make the '?' and '!' prefixes in channels in /WHOIS output more generic:
both mean you only get to see the channel because you are an ircop, but:
'?' means the channel is +s/+p too (so take extra care)
and '!' means the channel is public but for other reasons hidden in /WHOIS, like umode +p (later) or umode +S.
2015-06-21 10:22:16 +02:00
Bram Matthys
16367b7020
cleanup deop and can kick call code (and fix bugs)
2015-06-21 10:21:46 +02:00
Bram Matthys
8cb381cc8e
Move user mode +S to usermodes/servicebot.
...
TODO: hide channels in /WHOIS and some more testing. Tomorrow.. ;)
2015-06-20 21:09:17 +02:00
Bram Matthys
489230cebf
Move user mode +q to usermodes/nokick
2015-06-20 20:05:33 +02:00
Bram Matthys
0ed4171bcc
helps if I add the showwhois.c file
2015-06-20 18:58:16 +02:00
Bram Matthys
10dd6267de
Move user mode +W to usermodes/showwhois
2015-06-20 18:56:08 +02:00
Bram Matthys
69fa434a0c
Removed helpop user mode (not the command) since nowadays it does nothing but add a title to whois. You can use swhois for that, like via vhost::swhois.
2015-06-20 18:42:53 +02:00
Bram Matthys
4ae1eb23f0
Move user mode +B to usermodes/bot module.
...
Also add HOOKTYPE_WHO_STATUS.
2015-06-20 18:30:57 +02:00