summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Report failure to load configs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8571 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-4/+22
* Add a counter for errored files•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-1/+13
* Whoops, make it pick up module-handled schemas correctly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8569 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-9/+9
* This works properly now. Files in the file:// schema are loaded by the core.•••Anything else will be loaded by a module, this isnt done yet. For remote includes to work, your <module> tags for the remote includes modules must be in the base inspircd.conf file. This is the only file gauranteed to be avaialble in pass 1 of the two pass config read. At the end of pass 1, all files are opened/downloaded and placed into a map. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8568 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-5/+12
* More stuff for this. Its starting to take shape a bit now, and is tidier than...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8567 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-17/+54
* Begin rethink on this. Warning, this WILL break your ircd if youre using trunk!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8566 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-376/+367
* In prep for remote includes, configuration reading is now two-pass.•••Note that theres an important part missing from here, there can be a NON-BLOCKING delay between the start of pass 2 and the files being available for download. At this point, ServerConfig::Read() should probably return an ENOTREADY or such at which point it gets monitored for ready state. The socket engine is ready at this point so we can poll the socket engine for it. In the case of startup, the socket engine blocks in a private loop, its no good booting the ircd till we have a complete config! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-366/+404
* MODERR tidyups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8524 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-2/+2
* Fix the two FIXMEs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8521 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-6/+1
* Remove our vectors of Module*/ircd_module*, replace with a map of std::pair<i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8513 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-2/+3
* More anal config parsing, validates channel fields, ip address fields (with/w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-031-60/+229
* Tidy up, and make the identifer for a line type be std::string not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-1/+1
* Fix up to pass User*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-4/+4
* More stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8429 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-0/+14
* Fixified some more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8428 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-4/+22
* Clean up XLine conf stuff a little bit, move most of it to configreader. Also...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8425 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-311-3/+51
* Fix for bug in windows with backslash directory seperators in config path whe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8386 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-271-9/+4
* Fix crashes and broken code in connect:parent stuff that got broken with intr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8382 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-261-5/+9
* Make install list list automatically generated from build targets and provide...•••Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module. Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-0/+8
* Implement <connect:limit> - limits how many clients can sit inside a <connect...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8357 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-4/+6
* Remove that goto, capt'n•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8356 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-2/+1
* Disable all connect classes, reenable them as we find them in the config. Thi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8355 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-1/+6
* Finish reference counting connect class stuff. Now rehash removes unused clas...•••Possibly todo in the future: make /rehash update classes that exist in memory, make /rehash mark classes removed from conf (but still exist as refcount > 0) as inactive. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8354 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-1/+23
* Try this w00t, compiles, test running now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8343 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-241-8/+9
* Start of refcount-based rehash stuff for <connect> tags, this is broken and r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8342 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-3/+19
* Visual studio doesnt like throw definitions like this•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-1/+1
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-40/+45
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Move oper classes and types stuff from users to configreader. It may need to ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8215 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-0/+71
* InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which id...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-6/+6
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-4/+4
* class command_t -> class Command. Whey :D•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-3/+3
* Move everything module-related out of InspIRCd and into ModuleManager, there ...•••All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-08-281-5/+4
* Fixes 1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-3/+3
* Tidy up duplicate code, provide GetSID() method on ServerConfig which returns...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-0/+8
* Add <server:id> - this is optional, as stated in the example conf,•••and should only be set if you are getting collisions. The comment also points out that ids where either of the last two letters are numeric are reserved for services use (e.g. 0ZZ or 5CQ) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7917 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+13
* Remove more unnecessary header traffic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-2/+0
* Add options:maxtargets that was somehow omitted, fixes bug #400 (Reported by ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7877 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+1
* Added new announceinvite setting i discussed briefly with w00t and i like mys...•••# The value 'dynamic' varies between 'ops' and 'all' # # settings depending on if the channel is +i or not. # # When the channel is +i, messages go only to ops, # # and when the channel is not +i, messages go to # # everyone. In short, the messages will go to every # # user who has power of INVITE on the channel. This # # is the recommended setting. # git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7841 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-261-0/+2
* Add option to set invite announcements to nobody, ops only, or all users, bas...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-261-1/+16
* Revised fix for bug #367 pointed out during qa by owine, thanks :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7830 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-261-2/+2
* Whoops, i left a value out of the array, and gcc didnt warn!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-201-6/+1
* Whoops! trunk-only fix to config reader so it doesnt bomb out if you omit an ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7767 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-201-1/+6
* Add <connect:maxchans> as per feature bug #338 - combined with the last featu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7761 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-5/+5
* Allow changing of an oper's host on oper up using <type:class> (give it a con...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-1/+1
* Add <connect:inherit> and <connect:name>•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7758 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-2/+16
* Add extra stuff to make it work (and compile)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-6/+20
* Pick up a few error conditions we didnt before in the config reader, and also...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7749 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-24/+30
* Allow rehash to attempt to load missing (and new) lib/cmd_*.so files, to allo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7712 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-111-0/+3
* Check for remote and sighup rehashes here, so that it doesnt crash if there a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7684 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-071-1/+1