Attila Molnar
b74da78a61
Pass the empty tag to Limits when constructing a ServerConfig, remove default ServerLimits constructor
2014-12-09 12:36:24 +01:00
Attila Molnar
1c64da19e1
Add ServerLimits constructor that reads limits from a ConfigTag and use it
2014-12-09 12:35:31 +01:00
Attila Molnar
3a3ff94967
Merge insp20
2014-10-27 15:26:20 +01:00
Peter Powell
6935ce2956
Avoid calling methods on NULL pointers wherever possible.
...
The trick we use to allow this is undefined behaviour and is not
liked by LLVM. We should stop using it but it has the potential to
break to many things for a minor release.
2014-10-13 06:18:14 +01:00
Attila Molnar
6890d6aef7
Remove listmode hiding support from the core
...
This is now handled by m_hidelist
2014-09-10 15:03:21 +02:00
Attila Molnar
7e0e54eba3
Move typedef OperIndex to ServerConfig::OperIndex
2014-07-16 12:32:47 +02:00
Attila Molnar
046da7da9b
Move typedef ClassVector to ServerConfig::ClassVector
2014-07-16 12:30:05 +02:00
Peter Powell
e3bcf95ee9
Prefix all definitions in config.h to avoid potential collisions.
2014-05-23 14:13:51 +02:00
Peter Powell
c511bb56f5
Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.
...
Remove channels/high-join-limit privilege
2014-04-11 16:14:10 +02:00
Peter Powell
f2db4b743f
Make the maximum hostname length configurable in the config.
2014-03-08 13:01:09 +01:00
Attila Molnar
b15cffc167
Move admin settings into core_info
2014-03-07 18:09:21 +01:00
Attila Molnar
7f4a2cc351
Move {prefix|suffix|fixed}{quit|part} into core_user
2014-03-07 18:03:01 +01:00
Attila Molnar
07f817fd47
Read the die and restart password and their hash type on demand
2014-03-07 17:41:20 +01:00
Attila Molnar
5b6ae9c542
Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is defined
2014-02-07 18:21:01 +01:00
Attila Molnar
e244cb2c63
Merge insp20
2014-01-21 18:44:08 +01:00
Attila Molnar
d379dcab40
Read uline state in spanningtree; remove ConfigReader::ulines
2014-01-08 12:41:01 +01:00
Attila Molnar
ff407e6751
Remove unused motd and rules field from ServerConfig
2013-12-18 16:07:50 +01:00
Peter Powell
02830985a1
Move stuff around a bit:
...
- Create FileSystem class:
* Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite.
* Move ServerConfig::ExpandPath to FileSystem.
* Move ServerConfig::FileExists to FileSystem.
* Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem.
- Move FileReader to fileutils.cpp and fix documentation.
- Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
2013-12-15 06:46:35 +00:00
ChrisTX
718a87e7e4
Fix a shadow warning created by ConfigTag::create
2013-09-13 18:00:19 +02:00
attilamolnar
c202dea024
Replace OnRehash() with ReadConfig() that is called on boot, on module load and on rehash
...
This eliminates the need for calling OnRehash() in init()
2013-08-30 13:15:10 +02:00
attilamolnar
5384ddf545
Fix Windows build and a few more problems
2013-08-27 15:03:10 +02:00
attilamolnar
19cc8380fb
Store oper types and opers in separate containers
2013-08-13 14:22:07 +02:00
attilamolnar
6d39615998
Add ConfigTag::getDuration() with optional bounds checking
2013-08-12 19:20:18 +02:00
Peter Powell
29822a263b
Add <path> keys for all of the compile-time paths.
...
Also, make all paths in the config relative to their associated
directory. This reverts a change in 2.0 which turned out to be a
terrible idea, especially for system-wide installations.
2013-08-12 16:53:33 +01:00
Peter Powell
4509cbcc0b
Rename <options:moronbanner> to <options:xlinemessage>.
...
This name is more descriptive of what is actually is used for.
2013-08-10 14:04:09 +01:00
Peter Powell
86f650e6b8
Replace range() with min and max arguments on getInt().
2013-08-10 14:04:09 +01:00
attilamolnar
e4b76e6502
Move host cycle logic into m_hostcycle
2013-08-09 18:10:48 +02:00
Daniel Vassdal
3ae91bafe7
Allow for skipping clone checking before DNS is complete.
2013-07-02 10:55:51 -07:00
Peter Powell
bbeb5ea386
Use iostream instead of C-style file operations.
2013-06-06 01:44:57 +01:00
Peter Powell
7dfcffd685
Start to replace MAXBUF with <limits:maxline>.
2013-06-06 00:41:06 +01:00
attilamolnar
b01dc3cb86
Move a few trivial functions into headers
2013-06-02 00:28:55 +02:00
Peter Powell
5ad9b97fcf
Purge a ton of code related to non <log> related logging.
...
- InspIRCd::OpenLog
- ./inspircd --logfile [file]
This is no longer needed now we have (since 1.2) custom logging.
2013-05-19 17:11:53 +01:00
attilamolnar
c5a4658380
Allow spaces (and more) in oper types
...
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers
Issue #533 suggested by @ankitkv
2013-05-16 01:56:06 +02:00
Adam
8428bbb387
Modularize DNS
...
The DNS modules are temporarily in commands/ so they're loaded automatically
Thanks to Attila for helping with much of this.
2013-04-26 16:59:29 -05:00
Peter Powell
11cafc12d5
Tidy up source files:
...
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
2013-04-12 17:03:05 +01:00
Peter Powell
5c29c53f65
Convert ISUPPORT to use a map instead of a string.
2013-04-11 23:08:03 +01:00
attilamolnar
ebe5b201aa
Migrate u_listmode.h into the core, change +b to use it
2013-04-08 23:13:24 +02:00
attilamolnar
f86f450701
Move whowas settings into cmd_whowas from ConfigReader
2013-04-04 19:05:20 +02:00
attilamolnar
56cae0f3a4
Remove legacy code, mostly related to 1.2 compatibility
2013-04-01 00:54:58 +02:00
attilamolnar
71d53e4883
Remove ServerLimits::Finalise(), it's completely wrong
...
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-12-09 18:12:09 +01:00
attilamolnar
954786c678
Move ServerConfig::ProcessColors() into class InspIRCd, as a helper function
...
Change signature to accept a file_cache reference so modules can use it easily
2012-10-29 18:27:17 +01:00
attilamolnar
6abc0b8ca7
Make ConfigReader::GetSID() return a const reference to a string instead of a string
2012-09-30 03:04:08 +02:00
attilamolnar
7aacf73950
Add a config option to enable/disable the welcome notice sent to clients after successful registration
...
Fixes #284 reported by @hoggeh
2012-08-25 00:37:04 +02:00
Justin Crawford
c79475caa8
Added color codes to /rules, moved the parsing to ServerConfig and cleaned the code up a bit
2012-07-06 09:15:48 -07:00
Peter Powell
808a0a0957
Fix Doxygen syntax errors.
2012-07-05 21:00:35 +01:00
Robby-
46a3904619
Replace copyright headers with headers granting specific authors copyright
2012-04-19 20:58:29 +02:00
Robby-
c376d800eb
Backported Shawn's NoSnoticeStack code from insp21
2012-04-15 10:45:34 +02:00
Jackmcbarn
0afcb5ce88
Fix bug #113
2010-12-23 14:50:11 -05:00
danieldg
950b9e7043
Change <security:operspywhois> to a tristate
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12653 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-22 22:30:21 +00:00
danieldg
f5c631ef86
Add RAWIO log level which is more verbose than DEBUG
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-19 18:06:39 +00:00