Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							93da47a670 
							
						 
					 
					
						
						
							
							Fix PostgreSQL warnings on startup  
						
						... 
						
						
						
						fixes  #11798  
					
						2016-05-17 10:32:38 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							90f102abf3 
							
						 
					 
					
						
						
							
							Ensure that program status updates are immediately updated in DB IDO  
						
						... 
						
						
						
						fixes  #11767  
					
						2016-05-11 14:03:40 +02:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							4a32211de2 
							
						 
					 
					
						
						
							
							Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries  
						
						... 
						
						
						
						fixes  #11639  
					
						2016-04-21 09:17:40 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							d5c0d7366d 
							
						 
					 
					
						
						
							
							Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString  
						
						... 
						
						
						
						fixes  #11635  
					
						2016-04-20 18:21:39 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							83e0bcddce 
							
						 
					 
					
						
						
							
							IDO: Ensure that the notification insert id is passed to contactnotification inserts  
						
						... 
						
						
						
						We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.
This patch also removes the old notification insert id cache
which was broken in many ways.
fixes  #11387  
						
						
					 
					
						2016-03-29 15:12:24 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							04a4049a4d 
							
						 
					 
					
						
						
							
							Increase query queue size for testing  
						
						... 
						
						
						
						refs #10963  
						
						
					 
					
						2016-02-12 14:15:24 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							599929b0f6 
							
						 
					 
					
						
						
							
							Update copyright headers for 2016  
						
						
						
						
					 
					
						2016-01-12 08:29:59 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							6387bec049 
							
						 
					 
					
						
						
							
							Fix duplicate key violation for downtimes  
						
						... 
						
						
						
						refs #10829  
						
						
					 
					
						2015-12-16 13:57:29 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							346c0cbb3c 
							
						 
					 
					
						
						
							
							Fix crash in Ido*Connection::InternalExecuteMultipleQueries  
						
						... 
						
						
						
						fixes  #10862  
					
						2015-12-16 11:29:06 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							ef8ba6e275 
							
						 
					 
					
						
						
							
							Implement additional query statistics for DB IDO  
						
						... 
						
						
						
						fixes  #10860  
					
						2015-12-16 10:46:27 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							1add333a57 
							
						 
					 
					
						
						
							
							DB IDO: Add a log message when the connection handling is completed  
						
						... 
						
						
						
						fixes  #10857  
					
						2015-12-15 16:50:17 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							5b48559d75 
							
						 
					 
					
						
						
							
							Implement support for re-ordering groups of IDO queries  
						
						... 
						
						
						
						fixes  #10855  
					
						2015-12-15 15:29:48 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							96fa29793c 
							
						 
					 
					
						
						
							
							Avoid duplicate config and status updates on startup  
						
						... 
						
						
						
						fixes  #10765  
					
						2015-12-15 14:25:08 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							0239acc48e 
							
						 
					 
					
						
						
							
							Fix invalid notification_id in DB IDO query  
						
						... 
						
						
						
						fixes  #8976  
					
						2015-12-15 11:59:06 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							da3d21091c 
							
						 
					 
					
						
						
							
							Fix priority ordering for IDO queries  
						
						... 
						
						
						
						fixes  #10829 
refs #8714  
					
						2015-12-15 11:58:50 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							15ca9987fa 
							
						 
					 
					
						
						
							
							Implement support for priorities in the WorkQueue class  
						
						... 
						
						
						
						fixes  #8714  
					
						2015-12-10 17:06:00 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							fba0b493cd 
							
						 
					 
					
						
						
							
							Make sure that all strings in the IDO database are UTF8-encoded  
						
						... 
						
						
						
						fixes  #10554  
					
						2015-12-10 12:26:19 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							d78a081727 
							
						 
					 
					
						
						
							
							Improve performance data for DB IDO  
						
						... 
						
						
						
						refs #9079  
						
						
					 
					
						2015-11-07 07:51:41 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							3b902b51e2 
							
						 
					 
					
						
						
							
							Change session_token to integer timestamp  
						
						... 
						
						
						
						fixes  #10529  
					
						2015-11-05 18:05:30 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							339c0b6d84 
							
						 
					 
					
						
						
							
							Fix missing field initializer in DB IDO  
						
						... 
						
						
						
						refs #10436  
						
						
					 
					
						2015-10-29 22:27:09 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							cf5735e3df 
							
						 
					 
					
						
						
							
							DB IDO: Remove deleted custom variables  
						
						... 
						
						
						
						We cannot clear the custom variable tables on startup and then re-insert
all known custom vars. Instead we "fixed" it by leaving them
in the database only updating their value if changed. We certainly
forgot about deleted custom vars at that point.
Since the older fix must stay in place, we'll use a session
token stored in the backend to check whether the custom
variable has been updated/inserted in the current session, or not.
If the session token does not match, the custom vars are deleted
at the end of the config dump. Ugly but fairly the only performant
solution as CVs don't have an object_id.
fixes  #10436  
						
						
					 
					
						2015-10-29 16:00:06 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							5ad0c67485 
							
						 
					 
					
						
						
							
							Fix: IDO tries to execute empty UPDATE queries  
						
						... 
						
						
						
						fixes  #10473  
					
						2015-10-28 07:46:04 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							c3385e6e38 
							
						 
					 
					
						
						
							
							DB IDO should provide its connected state via /v1/status  
						
						... 
						
						
						
						fixes  #10383  
					
						2015-10-16 13:02:41 +02:00 
						 
				 
			
				
					
						
							
							
								Jean-Marcel Flach 
							
						 
					 
					
						
						
						
						
							
						
						
							4ef9761fee 
							
						 
					 
					
						
						
							
							Implement status api handler  
						
						... 
						
						
						
						Global statistics, features, etc.
fixes  #10116  
						
						
					 
					
						2015-09-23 16:59:07 +02:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							6fa58a520c 
							
						 
					 
					
						
						
							
							Implement config object sync  
						
						... 
						
						
						
						Adds object version.
refs #9927  
						
						
					 
					
						2015-09-17 14:20:43 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							fa6c0fe173 
							
						 
					 
					
						
						
							
							Fix string escape problem with PostgreSQL >= 9.1 and standard_conforming_strings=on  
						
						... 
						
						
						
						fixes  #9244  
					
						2015-09-05 14:08:35 +02:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							071d2f18fb 
							
						 
					 
					
						
						
							
							Rename DynamicObject/DynamicType to ConfigObject/ConfigType  
						
						... 
						
						
						
						fixes  #9914  
					
						2015-08-15 20:40:41 +02:00 
						 
				 
			
				
					
						
							
							
								Paul Richards 
							
						 
					 
					
						
						
						
						
							
						
						
							a3065d8b79 
							
						 
					 
					
						
						
							
							Update PGSQL driver to reflect changes in MySQL driver  
						
						... 
						
						
						
						Fixes  #8989 
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de> 
					
						2015-04-12 15:22:56 +02:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							72a7b08480 
							
						 
					 
					
						
						
							
							Move implementation code from thpp files into separate files  
						
						... 
						
						
						
						fixes  #8890  
					
						2015-03-28 11:08:12 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							cd20044e4f 
							
						 
					 
					
						
						
							
							Implement the pending_queries metric for the IDO check task  
						
						... 
						
						
						
						refs #8688  
						
						
					 
					
						2015-03-13 12:00:30 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							8573636cc9 
							
						 
					 
					
						
						
							
							Fix crash in Dependency::Stop()  
						
						... 
						
						
						
						This partially reverts the fix in #8436 
fixes  #8687 
refs #8436  
						
						
					 
					
						2015-03-12 11:44:55 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							a4d37132bf 
							
						 
					 
					
						
						
							
							Implement a check for IDO database connections  
						
						... 
						
						
						
						fixes  #8688  
					
						2015-03-12 10:19:12 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							94fde1a6b2 
							
						 
					 
					
						
						
							
							Add support for using the 1.12.0 IDO database schema  
						
						... 
						
						
						
						fixes  #8689  
					
						2015-03-12 10:19:12 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							60d5959ba4 
							
						 
					 
					
						
						
							
							Remove incorrect VERIFY  
						
						... 
						
						
						
						fixes  #8628  
					
						2015-03-09 06:51:22 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							bb4beefca9 
							
						 
					 
					
						
						
							
							Add missing "return"s in Ido*Connection::Reconnect  
						
						
						
						
					 
					
						2015-03-05 15:57:46 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							4d63351561 
							
						 
					 
					
						
						
							
							Fix some compile warnings  
						
						
						
						
					 
					
						2015-03-04 08:26:15 +01:00 
						 
				 
			
				
					
						
							
							
								Jean-Marcel Flach 
							
						 
					 
					
						
						
						
						
							
						
						
							9ed21563ff 
							
						 
					 
					
						
						
							
							Use RequestShutdown with exitcode instead of Application::Exit  
						
						... 
						
						
						
						fixes  #8436  
					
						2015-02-27 14:43:30 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							6dd33fa751 
							
						 
					 
					
						
						
							
							Make sure to not ignore fields which are set to an empty string  
						
						... 
						
						
						
						fixes  #8496  
					
						2015-02-23 15:25:04 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							f57bd0b38c 
							
						 
					 
					
						
						
							
							Fix incorrect callback method name  
						
						... 
						
						
						
						fixes  #8451  
					
						2015-02-17 12:40:19 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							1c4501da19 
							
						 
					 
					
						
						
							
							DB IDO: Require schema version 1.13.0  
						
						... 
						
						
						
						refs #8425  
						
						
					 
					
						2015-02-12 14:22:24 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							ea2ac81003 
							
						 
					 
					
						
						
							
							Remove name and return value for stats functions  
						
						... 
						
						
						
						fixes  #6171  
					
						2015-02-07 22:36:17 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							1a23ae94f9 
							
						 
					 
					
						
						
							
							Implement support for updating the program_end_time column  
						
						... 
						
						
						
						fixes  #6923  
					
						2015-02-04 15:25:10 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							091d79ea4a 
							
						 
					 
					
						
						
							
							Don't execute DB updates for agent host objects  
						
						... 
						
						
						
						fixes  #8296  
					
						2015-01-27 15:11:45 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							78bfd0204c 
							
						 
					 
					
						
						
							
							Update copyright year  
						
						
						
						
					 
					
						2015-01-22 12:00:23 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Friedrich 
							
						 
					 
					
						
						
						
						
							
						
						
							effb834d3f 
							
						 
					 
					
						
						
							
							Increase DB IDO query queue limit  
						
						... 
						
						
						
						fixes  #8152  
					
						2015-01-09 11:23:29 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							873e294158 
							
						 
					 
					
						
						
							
							Refactor the WorkQueue class to make error reporting easier  
						
						... 
						
						
						
						refs #7709  
						
						
					 
					
						2014-12-18 15:11:57 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							9eeb64a780 
							
						 
					 
					
						
						
							
							Update livestatus and statusdata to properly support booleans  
						
						... 
						
						
						
						fixes  #8100  
					
						2014-12-17 08:54:28 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							5dd0bbfe31 
							
						 
					 
					
						
						
							
							Fix another problem with boolean values in SQL queries  
						
						... 
						
						
						
						refs #8100  
						
						
					 
					
						2014-12-16 21:43:03 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							5e1182a5c7 
							
						 
					 
					
						
						
							
							Fix incorrect SQL values for boolean fields  
						
						... 
						
						
						
						fixes  #8100  
					
						2014-12-16 21:28:13 +01:00 
						 
				 
			
				
					
						
							
							
								Gunnar Beutner 
							
						 
					 
					
						
						
						
						
							
						
						
							e52b2b6509 
							
						 
					 
					
						
						
							
							Fix incorrect IDO queries  
						
						... 
						
						
						
						fixes  #7634  
					
						2014-11-11 16:36:20 +01:00