summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
2009-10-21Change User::oper to an OperInfo referencedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-20Move ugly .*.inc files into make/template/ where they can be more easily founddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11929 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-19Add a setting to <connect> allowing the threshold for activation of the ↵peavey
penalty system to be set in the configuration, or be disabled by setting it to 0. [jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11922 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-19Close files opened by configreaderdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11915 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-19Prevent path names from being specified in modules, and move moduledir to a ↵danieldg
<path> tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11914 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-18Add <define> configuration tagdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11907 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Add filename/line information to all ConfigTag objectsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11886 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Fix DNSServer not being read on initial config readdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11884 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Add some default values that I missed (thanks for pointing it out, jdhore); ↵danieldg
move file reading into thread git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11881 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Hold reference to the associated ConfigTag inside ConnectClassdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11880 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Rewrite ConfigReader againdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11879 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-16Clean up static allocationsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11878 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-14Fix module unmapping with culled Module objectsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-13Change to new execution directory structuredanieldg
Don't change CWD into bin/ Remove path-resolution hacks from configuration Store pidfile and xline DBs in data, logs in logs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11866 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-13Remove needless chdir() from inspircd executabledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11865 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-13Allow confpath to be a file name in the current directorydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11864 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-12m_exemptchanops by jackmcbarn - channel mode +X to allow per-channel settingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11855 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-12More WriteGlobalSno conversions in rehash, patch by dKingstondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11853 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-12Fix empty SID validation and generationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11851 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-12Fix automatic SID generation when generated value is less than 100danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11850 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03Fix crash due to null address in DNSdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11797 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03Get rid of a bunch of memory-wasting C-style stringsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30Add explicit reference-counting base classdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Flexible SendQdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11766 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-24Move configuration filename specification to start script, to reduce ↵danieldg
hardcoded paths in executable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11759 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Clarify <include:executable> error messagedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11718 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Prevent <include:executable> from running <include:executable> itself ↵danieldg
[jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11710 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-06Compile fixdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11685 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-06Fix rehash unloading core commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11684 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-03Remove HandleInternal and HandleServer, they are duplicated by Request* and ↵danieldg
FakeUser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11672 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Remove strnewdup(), it is a good source of possible memory leaksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11622 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-20Fix access-after-free on rehashdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11534 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Make rehash work more than once per run, and fix some uninitialized values ↵danieldg
in connect classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11505 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Fixes for config readerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-05Don't catch and rethrow, as with the mutexing here removed it's no longer ↵w00t
required. Thanks Special for noticing. This rethrow was also not best-practice, 'throw;' is the recommended C++ way to rethrow an exception. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11496 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-05How about we abort if there were errors, not if there weren't any? Great idea...danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11494 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-05Fix config errors being detected even if there were nonedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11493 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04Exit if there were errors reading configuration on startup.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11486 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01Show config warnings/errors regardless of loglevel on startup.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01Various rehash fixes that it seems were introduced by untested code.w00t
- Remove unused ReportConfigError member - Don't report successful load (and spam modules that failed to load) if there is a config error - Restore server name before attempting to send error string to client(s) otherwise most of them won't recieve the notifications. Fixes bug #891. Still to come: report errors loudly on startup regardless of debug mode. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11450 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-31Rehash message fixes from Ankit, thanksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11447 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-01Fix error reporting on rehashdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11425 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-01Make rehash generate a new ServerInstance->Config objectdanieldg
This makes it possible to cancel a pending rehash, and fixes possible threading issues with rehash and other events. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-25Remove the ServerConfig::DirValid check that breaks symlinksdanieldg
This was included as a security check to prevent symlink attacks, but this is no longer useful; anyone who can exploit the attack now can just modify the ircd itself. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11390 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17Fix memory leak on rehash: opertype used char* instead of std::stringdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11309 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-16Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵w00t
'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23ConfigReaderThread updates: add done flag, remove main-thread-only mutexdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11256 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23ThreadEngine: remove excessive mutex use on thread creationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7