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
Adam
fb17bc85ea
Redesign m_ldap to no longer rely on undefined behavior
...
Accessing the same LDAP* from multiple threads at once is always
undefined, even if one thread is just polling ldap_result.
Instead keep one thread per connection and issue blocking queries on the
thread.
2015-03-11 08:48:08 -04: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
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
f21b40bfb4
Set last_realname in m_ldap_authentication when new nicks are registered
2013-12-30 10:50:15 -05:00
Adam
567700b5a6
Also have m_ldap_authentication disable nick grouping if registration is disabled
2013-12-30 10:42:07 -05:00
Adam
e11abdc4f0
Fix m_ldap service names from defaulting ldap/ldap/main
2013-07-21 00:37:21 -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
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
cc4a14b0ba
Removed some hard coded command names in help output
2013-05-17 22:53:55 -04:00
Adam
ef06226521
Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things
2013-05-06 07:40:43 -04:00
Adam
3fbb493d57
Fix extras build
2013-05-06 01:38:27 -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
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
72aa27ede5
Allow m_ldap_authentication to block email changes if emails are controlled by ldap, don't tell users they must change their email during initial user registration
2013-03-13 09:02:31 -05:00
DukePyrolator
06d43baf93
update the users password after a successful ldap authentication
2013-03-03 10:58:39 +01: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
d6e1b92059
Add a module log type
2012-10-27 08:12:04 -04:00
Adam
757ff06011
Fix m_ldap to reconnect automatically if the ldap server goes away
2012-10-10 23:08:00 -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
Adam
9ba7196881
Make CommandSource use references, sometimes we hold them for awhile
2012-09-30 20:30:27 -04:00
Adam
3060375251
Fixed m_ldap_authentication not returning anything if the search for an account game back empty
2012-09-07 06:52:56 -04:00
Adam
9b5f6d3c45
Remove ExtensibleString everywhere
2012-07-01 22:26:05 -04:00
Adam
2dec8e767a
Allow userless command sources
2012-06-18 05:04:30 -04:00
Jeremy
ef88385d85
m_ldap_authentication: Removed the dependency on a specific binddn in favour of searching the tree for matching criteria and using the returned DN
2012-05-15 17:19:50 -04:00
Adam
573e49a7ea
Reworked live SQL support yet again
2012-04-23 05:08:26 -04:00
Adam
ee5cd8493e
Use C++11's explicit override feature if available
2012-02-18 15:04:26 -05:00
Adam
52eaa7d6d6
Windows
2012-01-25 15:48:07 -05:00
Adam
1f2399de36
Added a new database format and sqlite support. Also moved db-convert to a module.
2011-09-25 04:19:15 -04:00
Adam
19e0b87aa1
Removed /bs set msg
2011-09-10 02:05:56 -04:00
Adam
17ea4ed8f5
Fixed service_reference to work correctly with external classes
2011-09-10 02:05:03 -04:00
Adam
ad4c4e462b
Send replies back to uses after m_ldap_authentication processes
2011-08-12 13:08:53 -04:00
Adam
63a4201d15
Fixed these ModuleManager::Attach calls once and for all..
2011-07-31 06:24:24 -04:00
Adam
f858164dee
Rewrote how commands are handled within Anope.
...
This allows naming commands and having spaces within command names.
2011-07-14 02:31:12 -04:00
Adam
583954d3a1
Use module type to determine what type each module is instead of its location in the configuration file.
2011-05-16 04:09:32 -04:00
Adam
284af258bf
Added more useful functions to our LDAP API, allow adding newly registered accounts to LDAP, removed some unnecessary OnPre events and fixed unloading all modules
2011-05-16 04:09:07 -04:00
Adam
c8c23158a4
Moved the core pseudo clients out into their own modules
2011-05-16 04:06:17 -04:00
Adam
905207093b
Made LDAP support recover, release, resetpass, etc.
2011-04-03 18:07:58 -04:00