Robby
f118960a25
Update copyright to 2016. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
2016-01-28 20:24:49 +01:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Michał Zegan
e4068249dd
Anope will now fork even when not started from a tty, like init scrpits.
...
It is useful for init systems or startup scripts, because it allows easily waiting until services connect to the uplink, without them forking it wouldn't be possible to tell if they finished initialization or not unless they would communicate directly with init systems like systemd.
2014-12-12 19:53:30 +01:00
Adam
d9949320c7
Don't try to setuid down until after we signal the parent to exit, unless we're not forking. Also don't issue the run as root warning if we're going to setuid later.
2014-06-28 23:15:59 -04:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -04:00
Adam
43219d3906
Do not apply module changes on rehash until after the new config has been applied. Fix renaming opertypes on reload.
2014-04-06 23:01:10 -04:00
Adam
e2d456d4ce
Do not setuid/gid down until after modules are loaded
2014-02-26 19:24:32 -05:00
Adam
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
9bf9cfcf5e
If using db_flatfile:fork, don't allow multiple saves to happen at one time on shutdown/restart wait for any pending saves to finish
2013-12-26 16:08:56 -05:00
Adam
96af354ad5
Send channel topics on initial burst, sync chanels after db load, and try to after unserializing persist on
2013-12-02 02:01:39 -05:00
Adam
353ee5cc93
Fix xline uid generation when the one chosen already exists
2013-10-05 00:33:03 -04:00
Adam
fde83f6564
Rethink jupe/squit thing somewhat. Workaround for the inspircd rsquit/squit mess
2013-07-26 21:40:16 -04:00
Adam
3dc64bac4d
Fix issues with 'Me' related to previous commit
2013-07-26 08:45:44 -04:00
Adam
998925c90a
Fix rehashing via SIGHUP and m_mysql
2013-07-04 01:19:40 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
22658d63bd
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
2013-05-26 17:13:11 -04:00
Adam
3f5f84c92c
The const char* specialization of this no longer works
2013-05-05 21:18:47 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
4f9b7874d6
Pass new config and the new config reader to the OnReload event, aswell as call it on module load on modules that hook to it
2013-04-11 00:08:28 -05:00
Adam
854bc4db0c
Move around some of Init() to fork() before initing the socket engine, as some engines cant survive a fork()
2013-04-04 22:12:48 -05:00
Adam
91ad9d22ca
Fix Windows build
2013-03-01 00:57:24 -05:00
Adam
501503b7a5
On startup check all object types
2013-02-24 20:14:15 -05:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
c1077faa28
Optimize much of the database code and serialize code.
2012-12-13 06:12:56 -05:00
Adam
a4468dd56e
Allow modules to use the encryption modules to encrypt arbitrary things.
...
Made enc_old depend on enc_md5.
Allow not loading any encryption modules if you want to only use an
external mechanism.
Removed ns_sendpass since it's just a bad idea.
2012-11-30 02:53:03 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
ac57f41c87
We no longer have to use the rungroup provided at build time, it is specified in the config now
2012-11-07 19:36:59 -05:00
Adam
b07928eea9
Clean up ngircd proto mod slightly, and send sqlines before introducing clients
2012-10-30 15:50:39 -04:00
Adam
0b9db15efc
Add os_dns, a way to control your DNS zone via services
2012-10-22 00:54:30 -04:00
attilamolnar
912f068fe4
Fix wrong error message when --dbdir has no argument
2012-10-09 23:31:20 +02:00
Adam
89428a9d10
Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish
2012-10-01 01:56:57 -04:00
Adam
1af64a9bbb
Fix Windows
2012-09-02 08:30:54 -04:00
Adam
675b113c3e
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
2012-05-06 21:43:50 -04:00
Adam
573e49a7ea
Reworked live SQL support yet again
2012-04-23 05:08:26 -04:00
Adam
fc00406079
Fixed ./services --version etc not getting printed when stdout is a file/pipe/not a tty
2012-04-22 02:57:17 -04:00
Adam
a26f4b9a9a
Bug #1389 - readd RNG seed in the config and start DNS query ids off on a random number
2012-03-13 17:45:07 -04:00
DukePyrolator
b7a6d518b0
fixed the --dir commandline parameter
2012-03-04 10:18:25 +01:00
Adam
e73013830d
Fixed missing #include in init.cpp
2012-02-25 22:45:51 -05:00
Adam
ee5cd8493e
Use C++11's explicit override feature if available
2012-02-18 15:04:26 -05:00
Adam
a9772cde21
Clean up and reorganize our header files
2012-02-14 15:13:27 -05:00
Adam
086790d633
Removed our RNG and just use the systems, it's not very widely used. Also made DNS query ids not random as they don't need to be.
2012-02-13 00:10:45 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
e5851addd6
Fixed saving databases with MySQL when shut down by SIGINT
2011-12-19 16:07:28 -05:00
Adam
b5ff856f47
Windows
2011-11-08 17:29:16 -05:00
Adam
9dd71c427d
Fixed the signal/fork/wait mess hopefully once and for all. fork() did not copy kqueue descriptors on freebsd which caused problems
2011-10-29 21:16:50 -04:00
Adam
39ac438b8d
Ignore sigchld/usr2 sent to the child process after fork
2011-10-27 15:09:31 -04:00
Adam
d0513d6506
A few minor fixups
2011-10-22 16:11:26 -04:00
Adam
ad2ef75cbe
Fixed a race condition with installing signal handlers and forking
2011-10-22 11:20:50 -04:00
Adam
230b3bc884
Only fork if we are at term
2011-10-20 13:38:37 -04:00