Commit Graph

966 Commits

Author SHA1 Message Date
William Pitcock 73a3435109 All modules converted to use privsets by porting the macro over.
New macro, HasPrivilege() does most of the work here, the old IsOper*() macros
are deprecated, and will likely be removed later.
2008-08-17 08:36:17 -05:00
William Pitcock 34cb09ceea Make a reference to privset in Client.localClient. 2008-08-17 08:23:40 -05:00
William Pitcock 665e79e999 privilegeset_ref(): return the privilegeset 2008-08-17 08:22:56 -05:00
William Pitcock 5a6d4202d1 Make use of the new default privset!! 2008-08-17 08:08:23 -05:00
William Pitcock 001f5f6731 ircd initialization: add a "default" privset with no privs. 2008-08-17 08:06:28 -05:00
William Pitcock 83c037c058 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-08-17 07:53:32 -05:00
William Pitcock 3ddb54d905 update oper line 2008-08-17 07:53:29 -05:00
Jilles Tjoelker d2e6d8d715 Add 328 numeric (ChanServ channel URL) to the header files. 2008-08-17 14:49:01 +02:00
William Pitcock f6189c43ab same bug 2008-08-17 07:47:06 -05:00
Jilles Tjoelker c73d999576 Remove another servlink remnant. 2008-08-17 14:46:29 +02:00
William Pitcock 39352a39f2 fix another stupid bug, gah 2008-08-17 07:46:18 -05:00
William Pitcock 76eca655f9 Make sure extended privilege sets are added to the registry. 2008-08-17 07:44:46 -05:00
William Pitcock 7ce46e0447 Allow : to be in 'string' values. 2008-08-17 07:41:52 -05:00
William Pitcock b8be4a3f4c Initial work on getting privsets working. 2008-08-17 07:40:27 -05:00
William Pitcock 120b37f94f oper_conf structure: add privset association. 2008-08-17 07:32:30 -05:00
William Pitcock 48de3c1852 Add some privsets for opers here. 2008-08-17 07:17:25 -05:00
William Pitcock de0e9f373b Add config magic for privset{} parsing. 2008-08-17 07:10:23 -05:00
William Pitcock 0e52880760 Add privilegeset_extend(). 2008-08-17 06:35:49 -05:00
William Pitcock 9291987bba Add basic PrivilegeSet API. 2008-08-17 06:27:59 -05:00
Valery V Yatsko e6451707d9 branch merge 2008-08-17 09:33:47 +04:00
Valery V Yatsko 2d9a60fe7e fixed warnings on src/ircd.c compilation 2008-08-17 09:33:05 +04:00
Valery V Yatsko 40b8b28e1b run autoreconf 2008-08-17 09:27:15 +04:00
Valery V Yatsko 767fdd62fe fixed chm_adminonly extension - IsOperAdmin replaced with IsAdmin.. hm.. but possibly we need to allow hidden opers/admins to enter protected
channels?
2008-08-16 23:34:32 +04:00
Valery V Yatsko 200e53e8f2 added improvement in TODO related to support compilation without parser/lexer generators present in OS 2008-08-16 23:24:28 +04:00
Valery V Yatsko 2b97b8ed52 put cygwin/mingw/native win32 (+shared modules) support in TODO (need discussion), currently ratbox3 could be compiled under cygwin/mingw 2008-08-16 22:52:31 +04:00
Valery V Yatsko 5f5fc333fb forgot to remove check for cygwin from configure.ac 2008-08-16 22:50:22 +04:00
Valery V Yatsko 77c9f49528 removed cygwin check from configure.ac 2008-08-16 22:45:09 +04:00
Valery V Yatsko 9b37ad07c3 ircd-ratbox -> charybdis 2008-08-16 22:38:13 +04:00
Valery V Yatsko 2a64312fdc seed random not even every 300 seconds, but on startup also 2008-08-16 22:30:28 +04:00
Valery V Yatsko 2b454b76dc egd fixed 2008-08-16 22:29:33 +04:00
Valery V Yatsko 5d2fe5036e comment to fix egd (not work currently) 2008-08-16 22:24:28 +04:00
Valery V Yatsko 6145bb6027 no more servlink - removed 'servlink_path' from reference.conf and source files 2008-08-16 22:23:56 +04:00
Valery V Yatsko 02be96f211 Updated reference.conf 2008-08-13 23:17:43 +04:00
Valery V Yatsko 1080ffb015 Removed note that we support cygwin (no, we don't) 2008-08-13 22:57:09 +04:00
Valery V Yatsko 8932c8d84e atheme-services -> charybdis for application.sh script 2008-08-13 22:53:36 +04:00
Valery V Yatsko 3df643b140 Extension for +A (admin only) channel mode, currently belongs to type chm_staff as operonly, seen in various networks. 2008-08-13 21:04:27 +04:00
Jilles Tjoelker 74e0c6e660 fix a crash in the rb_bh_gc code
from libratbox svn r25871 (androsyn)
2008-08-12 22:37:29 +02:00
Jilles Tjoelker 97a6160b45 Allow /list on a named +p channel.
A full /list already included +p channels.
2008-08-12 22:34:37 +02:00
Valery V Yatsko 77cc3211c7 Charybdis never had old kline/config format - removed notes about them 2008-08-12 18:09:30 +04:00
Valery V Yatsko b61d17a68a Made README.FIRST much actual (most copied from ircd-ratbox) 2008-08-11 23:29:22 +04:00
Valery V Yatsko 670f0c247e sync with libratbox upstream - r25870 2008-08-11 23:20:24 +04:00
Valery V Yatsko cc430906e0 Updated TODO 2008-08-09 18:46:05 +04:00
Jilles Tjoelker ade4ed6379 Add conf files to be used for automated testing. 2008-08-09 15:38:31 +02:00
Valery V Yatsko 3ae41b440a TODO: test suite as in ircu? should include configuration files & certificates for setting up local debug network containing 3 servers in it +
possibly configuration file for test services (atheme)?
2008-08-08 20:06:00 +04:00
Valery V Yatsko a0775df0ed fixed typo in sslproc.c 2008-08-08 20:01:52 +04:00
Valery V Yatsko b01b826d26 ilog -> inotice in ircd_restart_cb (ircd.c) 2008-08-06 23:57:45 +04:00
Valery V Yatsko 94c100153c from ircd-ratbox r25799 by androsyn: give a bit more info when libratbox calls logging callbacks 2008-08-06 23:12:02 +04:00
Valery V Yatsko c870fa9f9a Restricted +O (operonly) channel mode to be set only by ircops
(chm_staff)
2008-08-04 21:59:58 +04:00
Valery V Yatsko fba62b0151 Moved extern chmode_flags declaration from channel.h to chmode.h, as
it's actually declared in the second one
2008-08-04 21:51:15 +04:00
Valery V Yatsko e76989521a Branch merge 2008-08-04 21:45:56 +04:00