aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix SQL modules using "provider" in <database> instead of "module".Gravatar Peter Powell2018-09-271-1/+1
| | | | This fixes a regression introduced in 97a1d642.
* 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.Gravatar Peter Powell2017-12-221-23/+23
| | | | | | | | | | | | | - 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.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-4/+4
| | | | GCCs warnings for this are much better than Clangs.
* Add PackageInfo directives for Debian.Gravatar Peter Powell2017-10-211-0/+1
|
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-4/+4
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* 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 functionsGravatar Attila Molnar2015-04-121-10/+11
| | | | Remove enum EventType
* Change type of some associative containers to their flat versions, including ↵Gravatar Attila Molnar2014-12-151-1/+1
| | | | Extensible storage
* 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 ↵Gravatar Attila Molnar2014-03-151-1/+1
| | | | containing it
* 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 ↵Gravatar attilamolnar2013-08-301-6/+1
| | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
|
* Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-4/+4
| | | | | | | | 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.
* 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.Gravatar Peter Powell2013-05-151-11/+11
| | | | | | | | | | - 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.
* | Timer changes and TimerManager enhancementsGravatar attilamolnar2013-04-211-4/+9
| | | | | | | | | | | | | | 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
* | Tidy up source files:Gravatar Peter Powell2013-04-121-1/+1
| | | | | | | | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* | 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()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+1
|
* Change empty string assignments to .clear() or remove them entirelyGravatar attilamolnar2012-11-281-1/+1
| | | | Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
* 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 beforeGravatar danieldg2010-03-131-51/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12633 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement OnUnloadModule for postgresGravatar danieldg2010-03-131-10/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12627 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert pgsql to SQLv3Gravatar danieldg2010-03-131-586/+222
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12626 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix SQL modules not all using AddService, noticed by MorpheusGravatar danieldg2010-03-051-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12595 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some more incorrect socket useGravatar danieldg2010-03-021-11/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12585 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ServiceProvider for inter-module dependenciesGravatar danieldg2009-11-161-13/+3
| | | | | | | | | | | 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
* Allow static build of inspircd without module supportGravatar danieldg2009-11-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReaderGravatar danieldg2009-10-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix module unmapping with culled Module objectsGravatar danieldg2009-10-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-18/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compilation of SQL modules, use GlobalCulls to clean up deleted modulesGravatar danieldg2009-09-301-10/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11780 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-10/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7