aboutsummaryrefslogtreecommitdiff
path: root/include/modules/sql.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* Fix various documentation comments.Gravatar Sadie Powell2021-03-311-3/+3
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+4
* Update my name and email address.Gravatar Sadie Powell2019-12-311-1/+1
* Add GetId() to the SQL::Provider class.Gravatar Peter Powell2019-11-131-1/+8
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-301-1/+1
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-1/+1
* SQL: Add HasColumn() to check if a result contains a named column.Gravatar Daniel Vassdal2018-04-071-0/+9
* Fix building on Windows (mostly).Gravatar Peter Powell2018-02-171-1/+1
* Make InspIRCd::Format return std::string instead of const char*.•••Using the latter is problematic as if you don't copy the return value before calling Format again your formatted message will be overwritten by something else. This bug was observed in m_callerid where InspIRCd::Format was being used for formatting two arguments the latter of which was being overwritten with the former. We could have preserved the return type and just copied the string but then callers would have had to deallocate the string once they have finished with it which is an undesirabable burden to put on callers. Gravatar Peter Powell2018-01-031-6/+5
* 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-80/+155
* 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
* Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-1/+1
* Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-0/+184