Adam
64ca357b13
Make module version system work
2015-02-03 19:38:23 -05:00
Adam
845ca576b4
More properly track topic change sources and allow users with access to change topics through topiclock
2015-01-28 22:57:15 -05:00
Adam
0cd3bfa24f
Fix module event prioritization which was broken with the newer
...
auto-attach event stuff.
Also remove logically dead code from os_defcon, and make os_defcon akill
similar masks to os_session when enforcing session akills.
Fixes #1618 which relies on os_session to be prioritized before
os_defcon.
2014-10-14 18:58:55 -04:00
Adam
e46bcff324
Move nick register event to make it easier for modules to determine if a newly registered nick is confirmed or not. Add confirm event.
2014-10-12 19:25:39 -04:00
Adam
d79dd0b7d7
Pass password to nick register event so modules like m_ldap_authentication can create the respective account using the decrypted password which might not always be available
2014-05-01 18:38:17 -04:00
Adam
72b26043b2
Remove unused event.
...
Mark some oper only usermodes as oper only.
Fix reading SID in TS6_SID_Retrieve
2014-04-18 02:21:06 -04:00
Adam
09bec79b47
Fix 2 crashes from removing the permanent channel mode from channels which do not exist
2014-03-04 04:15: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
Robby-
bd3bed2118
Fix some typos and touch up the configs a little.
2013-10-28 09:13:53 +01:00
DukePyrolator
6cde65a57f
new event OnSetDisplayedHost
2013-10-26 18:33:07 +02:00
Adam
8641b995c4
Merge the two memo del events into one. Since they had the same name it was confusing the event system
2013-09-20 15:21:32 -04:00
Adam
e3c05efe5e
Remove static variables from functions in modules which causes them to be marked as gnu unique objects, which breaks dlclose()/dlopen() on g++ 4.5+
2013-09-16 06:47:42 -04:00
Adam
b93d650b1f
Revert "Shrink to fit module event vectors when modules are removed from them"
...
Sometimes the events call the function the event is in, which causes a resize
while the original function is iterating.
This reverts commit 7f1b5552dc .
2013-08-07 21:19:49 +00:00
Adam
7f1b5552dc
Shrink to fit module event vectors when modules are removed from them
2013-08-07 17:27:18 +00:00
Adam
4865a8cfff
Add m_sql_log
2013-08-07 16:44:35 +00:00
Adam
1e625b6837
Use MessageSource as the source for many IRCDProto funcs
...
Keep track of what user modes are oper only/server only/etc
2013-08-01 13:39:35 +00:00
Adam
6db0186947
Fix not setting the correct compile flags on modules and fix the resulting warnings
2013-07-20 03:06:20 -04:00
DukePyrolator
2ea594d677
added protocol support for incoming NOTICEs
2013-07-08 05:05:13 +02:00
Adam
7f971043bc
Allow channels on access lists
2013-07-03 22:45:00 -04:00
Adam
1a3d9a016d
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-07-01 22:17:52 -04:00
Adam
9956da18e3
Move OnJoinChannel event to trigger after the user has completely joined and document it more about what you should and shouldnt do in it
2013-06-01 21:56:52 -04:00
Adam
b56e71ab14
Move CheckKick event to Channel and make os_forbid use it instead of kicking users in the join event, which does bad things
2013-06-01 14:55:45 -04:00
Adam
f6e2ebe145
Fixup last commit. We have events in log's destructor so we cant log messages from it, and this check in modulemanager is bogus/has a typo
2013-05-28 13:43:45 -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
14dc142a92
Add botserv bot usermode config option
2013-05-18 14:26:18 -04:00
Adam
2428264315
Add Redis database support
2013-05-17 23:04:18 -04:00
Adam
735e234c2c
Fixed some issues and desyncs with creating empty permanent channels on startup & dropping empty channels
2013-05-08 20:26:45 -04:00
Adam
2044b4d3ad
Cleanup of dns stuff based on stuff found making inspircd's module
2013-05-05 01:57:24 -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
f08dbced60
Allow assigning service bots via /invite
2013-04-14 17:39:01 -05: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
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -05:00
Adam
36602224b8
Remove the runtime module directory on non-windows because we no longer overwrite modules on install without deleting them first
2013-04-06 19:34:35 -05:00
Adam
7e7556f064
Merge usefulness of Timer and CallBack classes into Timer, and fix it to really work
2013-03-30 23:39:43 -05:00
Adam
91ad9d22ca
Fix Windows build
2013-03-01 00:57:24 -05:00
Adam
ddaa001daf
Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums
2013-01-21 22:31:16 -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
23e303aaa2
Move enforcer checks on nick and logout to nickserv.cpp
2013-01-03 13:20:10 -05:00
Adam
098157dca8
Don't delete users immediately when quit or killed, instead wait until message processing is done
2013-01-03 12:34:01 -05:00
Adam
6b1f323bb5
Move some of CheckKick to the respective modules
2012-12-28 15:59:33 -05:00
Adam
392b591d09
Allow modules loaded after startup to magically reobtain their database objects. Fix os_dns for sql(live)
2012-12-25 15:52:58 -05:00
Adam
ded89b0d49
Made IRCDProto a Service
2012-11-23 23:10:41 -05:00
Adam
36b1166cf6
Change the return type of ircdmessage to void now that we don't use it, add an ircd message module event, and a few more fixups
2012-11-23 16:56:06 -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
04632bd381
Cleanup of last few commits/warning fix
2012-10-22 17:02:01 -04:00
Adam
0b9db15efc
Add os_dns, a way to control your DNS zone via services
2012-10-22 00:54:30 -04:00
Adam
76a0471c29
Simplify the db_sql_live code since this isn't actually necessary. Fixes a problem internally ovwrwriting data on objects that we have modified and are queued because of assigning something to a serialize_obj reference
2012-10-13 00:37:10 -04:00
Adam
e57b470e83
Made fantasy commands configurable
2012-10-08 04:16:23 -04:00
Adam
b8b63ff115
Remove the asynchronous identifing hack and replace it with something better. Fixes m_*_authentication only being able to properly work when people identify normally using nickserv/identify
2012-10-07 22:39:58 -04:00