aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
|
* HasModePermission: fix inverted condition.Gravatar Peter Powell2019-04-211-1/+1
|
* HasModePermission: use IsModeChar.Gravatar Peter Powell2019-04-191-1/+2
|
* Rename HasPermission to HasCommandPermission.Gravatar Peter Powell2019-04-191-2/+2
|
* Remove the 'noisy' mode for HasPrivPermission.Gravatar Peter Powell2019-04-191-13/+3
| | | | This was only used in one place.
* Fix an off-by-one error in User::GetModeLetters().Gravatar Peter Powell2019-02-171-1/+1
|
* Replace GetServerPort() with server_sa.port().Gravatar Peter Powell2019-02-151-7/+2
|
* Rename User::nping to nextping for consistency with lastping.Gravatar Peter Powell2019-02-151-2/+2
|
* Move <oper:class> and <oper:vhost> to core_oper.Gravatar Peter Powell2019-02-051-11/+0
|
* Fix erroneously sending RPL_YOURDISPLAYEDHOST to HAProxy clients.Gravatar Peter Powell2019-01-281-1/+1
|
* Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-241-1/+1
|
* Implement support for the extended tag space for client tags.Gravatar Peter Powell2019-01-241-23/+19
|
* Call the OnUserInit hook from earlier in UserManager::AddUser.Gravatar Peter Powell2019-01-201-0/+4
| | | | | This fixes messages being lost when sending them to a user who has only just connected to the server.
* Redo OnSetEndPoint logic to fix duplicate clones (#1549).Gravatar linuxdaemon2019-01-141-14/+22
|
* Fix a crash when the core_oper module is not loaded.Gravatar Peter Powell2018-12-121-7/+8
|
* Merge branch 'insp20' into master.Gravatar Peter Powell2018-09-241-5/+15
|\
* | Send the 001-004 numerics and MOTD/LUSERS from core_info.Gravatar Peter Powell2018-08-221-33/+3
| | | | | | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* | Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Gravatar Peter Powell2018-08-141-2/+3
| |
* | Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-94/+85
| | | | | | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* | Move message parsing to ProcessBuffer and fix edge cases in it.Gravatar Peter Powell2018-08-101-1/+1
| |
* | Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-101-2/+2
| | | | | | | | | | | | | | | | | | In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
* | Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-301-3/+8
| |
* | Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-301-2/+2
| |
* | Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-5/+5
| |
* | Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | | | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* | Add a module which implements the HAProxy PROXY v2 protocol.Gravatar Peter Powell2018-07-261-0/+6
| |
* | Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
| |
* | Remove Log() calls made unnecessary by the previous commit.Gravatar Peter Powell2018-07-201-1/+0
| |
* | Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-2/+2
| |
* | Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-0/+1
|\|
| * Remove swhois messages set in the oper block on deoper.Gravatar Peter Powell2018-04-091-0/+1
| | | | | | | | Closes #1240.
* | Optimize some behaviour in the core (#1476).Gravatar Dylan Frank2018-04-091-7/+10
| |
* | Improve performance under load of OnDataReady and remove C-isms.Gravatar systocrat2018-01-251-15/+38
| | | | | | | | | | | | | | Re-use variables initialized within loop, const-ify config variables accessed repeatedly, remove eol_found label. Merges #1451.
* | Remove duplicated code in LocalUser::GetServerPort().Gravatar Peter Powell2018-01-201-8/+1
| |
* | Fix User::ChangeRealHost() to change the real host properly.Gravatar Peter Powell2017-12-231-1/+13
| |
* | Rename <security:hidewhois> to <security:hideserver>.Gravatar Peter Powell2017-12-221-4/+4
| | | | | | | | | | The previous name was horrible and didn't describe what the setting actually does.
* | Inherit non-core connect class settings properly.Gravatar Peter Powell2017-11-201-1/+26
| | | | | | | | Based partially on a patch by Attila.
* | Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
| |
* | Add a class which encapsulates the concept of token lists.Gravatar Peter Powell2017-11-131-27/+6
| |
* | Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-2/+1
|\|
| * Use InvalidateCache in the sockaddrs overload of OnSetClientIP.Gravatar Peter Powell2017-11-051-2/+1
| | | | | | | | This was done to the string variant in d3b82b2f7f.
* | Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-9/+43
| | | | | | | | | | This removes the need to invalidate the cache after changing a user's hostname.
* | Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-271-4/+4
| |
* | Clean up the initialization of ConnectClass and ServerConfig.Gravatar attilamolnar2017-10-151-6/+4
| |
* | Fix RPL_SERVERVERSION treating the modes as a single parameter.Gravatar Peter Powell2017-10-041-2/+2
| |
* | Get rid of irc::sockets::satoap().Gravatar Peter Powell2017-09-121-2/+1
| | | | | | | | | | This function is being misused in all but one scenario. It isn't really worth keeping IMO.
* | Move <dns:timeout> out of the core.Gravatar Peter Powell2017-09-031-1/+1
| |
* | Make the build reproducible by removing time related macros.Gravatar Peter Powell2017-08-261-1/+1
| | | | | | | | | | | | | | | | The compile time on boot is not accurate as it will only change when the translation unit containing it is edited. The startup time in RPL_SERVERCREATED is a lot more useful than the compilation time. ngIRCd also implements this behaviour.
* | Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-2/+2
|\|
| * Merge pull request #1230 from SaberUK/insp20+ipcacheGravatar Attila Molnar2017-05-171-2/+2
| |\ | | | | | | [2.0] Invalidate the caches properly when User::SetClientIP is called.