aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sqloper.cpp
Commit message (Expand)AuthorAgeFilesLines
* Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+2
* Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* Used std::move where it is neededGravatar GermanAizek2021-06-211-1/+1
* Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-8/+4
* Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
* Convert SQL::Field to be a typedef of optional<string>.Gravatar Sadie Powell2021-03-301-2/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* | Store the SQL row id in the synthesised sqloper config tags.Gravatar Sadie Powell2020-11-031-2/+2
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-1/+1
* | Replace ConfigTag::create with a public constructor.Gravatar Sadie Powell2020-11-031-3/+2
* | Rename ConfigItems to ConfigTag::Items.Gravatar Sadie Powell2020-11-031-1/+1
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-2/+2
* | Convert OperInfo from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-1/+1
|\|
| * Set the minimum length to 1 for most config items with a default.Gravatar Sadie Powell2020-04-091-1/+1
* | Move FindNick to UserManager.Gravatar Sadie Powell2020-02-091-1/+1
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-3/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-1/+8
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+8
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-1/+2
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
| * Fix compatibility issues between sqloper and postgresGravatar B00mX0r2019-04-281-0/+1
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-4/+4
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-6/+6
|/
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-1/+2
* Remove the original line parameter of On{Pre,Post}Command.•••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. Gravatar Peter Powell2018-08-101-2/+2
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-3/+3
* Refactor m_sqloper to be a full opers.conf replacement (#983).•••m_sqloper now supports dynamic fields, works with m_sslinfo, and works with /stats o.Gravatar Dylan Frank2018-04-061-56/+139
* Improve and modernize the SQL system API.•••- Move everything into the SQL namespace and drop the SQL prefix. - Move SQLProvider::PopulateUserInfo to SQL::PopulateUserInfo. - Rename SQLEntry to SQL::Field and clean up. - Rename SQLEntries to SQL::Row. - Rename SQLerror to SQL::Error and clean up. - Rename SQLerrorNum to SQL::ErrorCode and drop the SQL_ prefix. - Rename ParamL to SQL::ParamList. - Rename ParamM to SQL::ParamMap; - Make implementing SQLQuery::OnError mandatory. - Redo most of the documentation in the sql header. Gravatar Peter Powell2017-12-221-11/+14
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-1/+1
* m_sqloper.cpp: Add support for the `active` column•••When active is true the user is allowed to log in. When it is FALSE, he is not. 2.0 users must alter their table (or view) so that it contains this field. Gravatar Daniel Vassdal2015-02-221-1/+1
* Hashing: Redo API•••* Don't assume the printable output of hashes is hex * Add virtual Compare() function, usable for KDFs like BCrypt Some changes and bugfixes are by @attilamolnar, original PR #767 Gravatar Daniel Vassdal2014-08-041-1/+1
* Move typedef OperIndex to ServerConfig::OperIndexGravatar Attila Molnar2014-07-161-1/+1
* Change allocation of InspIRCd::Parser to be physically part of the object con...Gravatar Attila Molnar2014-06-131-1/+1
* Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-6/+1
* Store oper types and opers in separate containersGravatar attilamolnar2013-08-131-2/+2
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
* Modify the log message to contain the log type.Gravatar Peter Powell2013-08-041-5/+5
* Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-6/+6
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-6/+6
* Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-6/+6
* Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-15/+1