aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
Commit message (Expand)AuthorAgeFilesLines
* Log SQL queries at the debug log level.•••This makes debugging issues easier. Gravatar Peter Powell2019-06-141-0/+1
* Silence a fallthrough warning in the pgsql module on newer GCCs.Gravatar Peter Powell2019-05-091-0/+2
* Fix SQL modules using "provider" in <database> instead of "module".•••This fixes a regression introduced in 97a1d642. Gravatar Peter Powell2018-09-271-1/+1
* Fix a few things that should be marked as override but aren't.Gravatar Peter Powell2018-08-211-1/+1
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
* SQL: Add HasColumn() to check if a result contains a named column.Gravatar Daniel Vassdal2018-04-071-3/+27
* 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-23/+23
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-4/+4
* Add PackageInfo directives for Debian.Gravatar Peter Powell2017-10-211-0/+1
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-4/+4
* Add CentOS PackageInfoGravatar Adam2016-09-161-0/+1
* Rewrite the build system directive parser.Gravatar Peter Powell2016-09-161-11/+6
* Dispatch EventHandler events to dedicated virtual functions•••Remove enum EventType Gravatar Attila Molnar2015-04-121-10/+11
* Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-1/+1
* Remove current time parameter of the Timer constructorGravatar Attila Molnar2014-07-101-1/+1
* Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-1/+0
* Change allocation of InspIRCd::Timers to be physically part of the object con...Gravatar Attila Molnar2014-03-151-1/+1
* Change all socketengine methods to be staticGravatar Attila Molnar2014-02-081-8/+8
* Allow Timers to delete themselves in Tick()Gravatar Attila Molnar2014-01-301-0/+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
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
* 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-4/+4
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-1/+0
* Merge insp20Gravatar attilamolnar2013-06-061-8/+8
|\
| * m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dGravatar attilamolnar2013-06-041-8/+8
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-2/+2
* | 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-11/+11
* | Timer changes and TimerManager enhancements•••Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded) Timers are removed from the TimerManager automatically at destruction Timers are now stored in a multimap instead of a sorted vector Gravatar attilamolnar2013-04-211-4/+9
* | 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-1/+1
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-4/+4
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-4/+0
|/
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+1
* Change empty string assignments to .clear() or remove them entirely•••Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f Gravatar attilamolnar2012-11-281-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+19
* Remove m_sqlv2.h from these modules, they both use v3 now.Gravatar Dennis Friis2010-10-151-1/+0
* Fix $md5pass and $sha256pass in SQL queriesGravatar Daniel De Graaf2010-08-041-1/+1
* Change SQLv3 to format queries during submission, not before•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12633 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-131-51/+53
* Implement OnUnloadModule for postgres•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12627 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-131-10/+32
* Convert pgsql to SQLv3•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12626 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-131-586/+222
* Fix SQL modules not all using AddService, noticed by Morpheus•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12595 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-051-1/+3
* Fix some more incorrect socket use•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12585 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-021-11/+1
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Use ServiceProvider for inter-module dependencies•••This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-161-13/+3
* Allow static build of inspircd without module support•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-111-1/+1
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-1/+1
* Remove dummy API_VERSION from Version constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Fix module unmapping with culled Module objects•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-141-1/+1
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-18/+14
* Fix compilation of SQL modules, use GlobalCulls to clean up deleted modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-10/+13