Adam
04f49225c9
httputils: escape ampersand too
2017-06-05 10:10:58 -04:00
Alexander Maassen
bfcfd0b727
Moved m_dns's reverse ip method to sockaddrs::reverse().
...
Updated m_dnsbl to support ipv6.
2017-05-27 09:56:18 -04:00
Adam
0fcc66711b
m_sasl: pass module to logger
2017-03-19 18:55:32 -04:00
Adam
b831cd8a36
Include ip for web clients in command log messages for source
2017-03-16 20:23:57 -04:00
Adam
516ab164f6
redis: check for socket errors when loading database on startup
2017-03-16 20:13:56 -04:00
Adam
3f7c0829ef
os_forbid: match forbids exact on add/del
2017-02-21 09:59:10 -05:00
Adam
beac29b1d0
m_sasl: don't allow logging into unconfirmed accounts
2017-01-22 16:00:06 -05:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Robby
8656b65e39
Update copyright to 2017.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
2017-01-16 03:13:25 +01:00
Adam
ec7ce09ef4
Make User::Mask behave more like 1.8
2016-12-22 20:52:43 -05:00
Adam
4381031994
m_sasl: log hostname/ip, if provided
2016-12-19 19:03:10 -05:00
Adam
65db59b3ec
Remove unnecessary functions from ngircd that duplicate the default behavior, fix a few typos in comments
2016-12-10 23:28:50 -05:00
Adam
8dc687b657
#1682 : store aftype with masks and include cidrs in GetNUHMask
2016-07-03 13:29:27 -04:00
Dominic Hargreaves
fab07d6b75
Optionally strip variable build date from compiled program
...
To aid build reproducibility, don't include the build date/time if
-DREPRODUCIBLE_BUILD is defined.
Based on the patch provided by Alexis Bienvenüe in the Debian report.
Bug-Debian: https://bugs.debian.org/820152
Patch-Name: reproducible_datetime.diff
2016-04-21 23:08:12 +01:00
Adam
a8f66578b1
Merge pull request #161 from Zoddo/charybdis/vhost_svslogin
...
Send vident/vhost in SVSLOGIN with SASL
2016-04-14 19:17:39 -05:00
Adam
a941f9bde0
Remove memos from memoinfo more reliably
2016-04-14 20:15:53 -04:00
Zoddo
82816cb206
Send vident/vhost in SVSLOGIN with SASL
...
Only charybdis seems to support that for the moment.
2016-04-10 18:24:25 +02:00
Adam
79e7c3f98a
Also defer channel deletion when processing sjoins
2016-03-19 16:21:40 -04:00
Peter Powell
52fdc45597
Implement support for SASL 3.2 mechanism lists.
2016-02-28 16:36:43 +00:00
Adam
4e2ca31cf5
Rewrite access path system to be simplier and use recursion
...
Show where access is "from" in chanserv/status
2016-02-13 14:16:29 -05:00
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
38fcf15d62
Put maxlogins logic a few other important places
2016-01-23 10:53:32 -05:00
Adam
8f6f2a2c47
Add sasl log category for auth log messages
2016-01-02 17:15:26 -05:00
Adam
4c1cc0e05d
Cleanup after xlines if directly removed
2015-11-04 20:51:02 -05:00
Adam
1ac4a1d9a5
Defer channel deletion until after i/o. There are some edge cases with events kicking users mid-event that can delete them.
2015-09-17 10:07:30 -04:00
Adam
2f5e880e57
Don't update channel last used time from ns alist access check
2015-09-14 12:24:13 -04:00
Adam
907e192aab
Merge pull request #126 from SaberUK/2.0+typos
...
Fix a ton of typos.
2015-09-06 16:11:50 -04:00
Adam
ceddb8370c
Unset extensibles on larger objects when they destruct
...
Some complex extensibles require the full object to still be alive in
their destructors to keep proper bookkeeping
2015-07-13 17:59:14 -04:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Adam
4c54a3939f
Change git version name back to what it was, which the core uses
2015-03-22 10:26:53 -04:00
Adam
4266d17e8c
Update cmake version parsing code to deal with recent build version changes
...
Update Config.cs to no longer hardcode VS generators, it seems no longer necessary.
Fix new version system, cannot return C++ types from extern C functions
2015-03-12 11:20:18 -04:00
Adam
c5ff7c6868
Show passlen in PASSWORD_TOO_LONG
2015-03-12 08:00:12 -04:00
Adam
310e95a92e
Allow cs clone to clone levels too
2015-03-11 14:36:56 -04: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
7de4b86b7f
Move GIT_VERSION define to build.h, otherwise version.h is bumped per commit which forces a rebuild
2015-02-23 20:43:22 -05:00
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
2264a206d2
Check virtual mode bases better
2015-01-26 15:10:18 -05:00
Adam
32007f81cf
Add networkinfo:nick_chars option to allow configuring additional characters allowed in nicknames
2015-01-10 15:19:40 -05:00
Adam
e1f5e030bc
Change webpanel access add to just add via the commands, split Command::Run into two so I can do this as I need to run named commands for it
2014-12-05 20:24:27 -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
bf8f62c32d
Change Channel::GetModeList to return a copy of the mode list, not a
...
pair of lower/upper bound iterators.
Sometimes when iterating the list, like in cs_mode, we can modify the
contents of it, which combined with mlock always agressively trying to
readd modes to it can do bad things.
2014-08-24 16:39:04 -04:00
Adam
ff93355af8
Hold a reference to the type in Serialize::Checker in the event it goes away, and invalidate the type pointer of objects when the type goes away
2014-06-23 15:44:06 -04:00
Adam
54e98f017c
Always log when the uplink socket errors, and give possibly helpful advise
2014-05-31 21:17:46 -04:00
Adam
f20bac996d
Fix Windows build and update library names to the newer ones.
...
Also fix crash on Windows when unloading a module because it threw an
exception.
2014-05-30 18:14:55 -04:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -04:00
Adam
866f3f32ab
Speed up akill xline checks
...
Cache xline nick, user, host, etc instead of rebuilding it everytime its
requested. Store users ip in sockaddr form and not string form to
prevent having to rebuild sockaddrs when checking xlines.
Also do not try to convert empty config values in Config::Get as this
can be rather common if a non string configuration value is not set, and
the cost of the ConvertException is great.
2014-05-20 21:16:00 -04:00
Adam
20ce170024
Show account names in log messages
2014-05-20 12:19:26 -04:00
Adam
df321a118e
Fix access lists showing the wrong mask if the display nick for a group
...
expires but the group still exists. This can cause access entries for
nicks to not be deleted whenever the nicks are deleted.
2014-05-14 19:10:23 -04:00