Michael Friedrich
d80135ee30
Merge pull request #7153 from Icinga/bugfix/windows-plugins
...
Fix compiler warnings in Windows plugins
2019-04-30 14:21:23 +02:00
Michael Friedrich
f206cba394
Merge pull request #7152 from Elias481/fix/mysql8-headers-compatibility
...
account for adjusted interface of mysql8
2019-04-30 14:20:18 +02:00
Michael Friedrich
502c43fb12
Active packages: Don't try to fix broken config packages which are not cached yet
2019-04-30 12:19:35 +02:00
Michael Insel
25c2a2bb53
Fix compiler warnings in Windows plugins
...
This fixes a bunch of compiler warnings in the Windows plugins.
2019-04-30 10:32:44 +02:00
Markus Frosch
26df2cc4b2
Merge pull request #7145 from Icinga/feature/dotnet-4.6
...
Raise .NET target version to 4.6
2019-04-29 17:01:15 +02:00
Michael Insel
3b1bd4d131
Doc: Raise required .NET framework version
...
This raises the required .NET framework version in the installation
documentation. This also adds notes in the upgrading documentation
for the new .NET Framework requirements.
Update .NET requirements for development on Windows.
refs #7090
2019-04-29 12:19:09 +02:00
Michael Insel
54d9470c6b
Use WixNetFxExtension to detect installed .NET
...
This implements the use of the WixNetFxExtension for the WIX toolset, to
detect the installed .NET Framework version. If the installed .NET
version is lower than 4.6 the installation process will terminate with
the note to install at least .NET Framework 4.6.
refs #7090
2019-04-29 12:19:05 +02:00
Michael Friedrich
8a258de9bc
Merge pull request #6734 from leeclemens/remove-redundant-indexes
...
db ido: remove redundant mysql indexes
2019-04-29 09:13:22 +02:00
Michael Friedrich
c99b0f5f42
Merge pull request #7151 from marxin/fix-docs-chkconfig
...
Documentation: add missing argument to chkconfig command.
2019-04-29 09:01:52 +02:00
Elias Ohm
615f019c2e
account for adjusted interface of mysql8 (now utilizes c99 bools instead of my_bool labelled chars)
2019-04-29 00:18:15 +02:00
Elias Ohm
91296c2a25
Lock Objects during serialization
...
old behaviour was to only lock arrays, dictionaries and namespaces but not other objects
2019-04-28 22:13:19 +02:00
marxin
dd0c7a28dd
Documentation: add missing argument to chkconfig command.
2019-04-27 12:48:37 +02:00
Michael Friedrich
2bca7a5bb5
Repair broken API config packages at runtime
...
This means a new timer which checks every 5m whether the
active-stage can be read, and if not, it overwrites the
file on disk with the details from memory.
2019-04-26 14:53:36 +02:00
Michael Friedrich
f92c134b0a
Cluster: Don't try to sync objects from broken _api package
2019-04-26 14:43:38 +02:00
Michael Friedrich
0d6d48fd59
Daemon: Deal with exceptions from broken _api package
2019-04-26 14:43:10 +02:00
Michael Friedrich
c821e73364
Cache the API package stage name with a active-stage fallback
...
This prevents reading the file everytime the stageName is required
for when creating a runtime object via REST API.
2019-04-26 13:40:27 +02:00
Michael Friedrich
b878086565
Merge pull request #7148 from Icinga/feature/api-setup-cn
...
Add --cn parameter to 'api setup' CLI command allowing hostname overrides
2019-04-26 12:04:58 +02:00
Michael Friedrich
1078a0a824
Add --cn parameter to 'api setup' CLI command allowing hostname overrides
...
fixes #6649
2019-04-26 10:52:05 +02:00
Michael Friedrich
8edcba772d
Merge pull request #7146 from Icinga/feature/update-release-docs
...
Update release procedure
2019-04-26 10:26:25 +02:00
Michael Friedrich
712dbbc846
Drop the changelog generator script
2019-04-26 10:22:31 +02:00
Michael Friedrich
16d3ac8f12
Update release docs and make changelog a static entry
2019-04-26 10:22:05 +02:00
Michael Friedrich
3dc9927284
Merge pull request #7124 from Icinga/bugfix/namespace-thread-safe
...
Namespace: place ObjectLock in all methods
2019-04-26 08:26:59 +02:00
Michael Insel
773921ce68
Drop .NET 2.0/3.0/3.5 as supported .NET platform
...
This drops .NET 2.0, 3.0 and 3.5 as as supported .NET runtime platform.
The maximum version can only be v4.0, which targets currently all .NET
4.x releases. Therefor I added the sku flag to enforce .NET 4.6 as
minimum runtime platform. Since .NET 4.x is backwards compatible we
should be safe to only set the minimum version/sku here (i.e. we should
be able to run the application on a system with .NET 4.7)
refs #7090
2019-04-25 19:01:17 +02:00
Michael Insel
921c0fa5f6
Raise .NET target version to 4.6
...
This sets the target .NET framework version to 4.6.
The Prefer32Bit option was introduced with .NET 4. When set to true this
will generate x86 machine code on a 64-bit system, but this only affects
projects where the platform target is set to Any CPU. CMake generates
the project based on the system. Since the Prefer32Bit option was auto
generated during the switch to the new .NET version I ensured this is
explicitly set to false.
refs #7090
2019-04-25 19:01:07 +02:00
Michael Friedrich
37de1a919b
Merge pull request #7088 from Icinga/feature/asio-event-queue
...
Implement new event queue for ASIO consumers
2019-04-25 16:54:43 +02:00
Michael Friedrich
a7873da89d
Eventqueue: Remove unused code
2019-04-25 16:21:07 +02:00
Alexander A. Klimov
e86e3cc234
EventsFilter#Push(): ensure not to modify the global namespace
2019-04-25 15:56:38 +02:00
Alexander A. Klimov
c209cf830b
/v1/events: don't over-consume CPU-bound threads
2019-04-25 15:56:38 +02:00
Alexander A. Klimov
5e8b4280bc
New event queue: handle empty filter
2019-04-25 15:56:38 +02:00
Alexander A. Klimov
94db282fd1
/v1/events: remove anti-deadlock hack
2019-04-25 15:56:38 +02:00
Alexander A. Klimov
81713d0509
/v1/events: use new event queue
2019-04-25 15:56:38 +02:00
Alexander A. Klimov
90d9cd9257
Feed new event queue with events
2019-04-25 15:56:38 +02:00
Alexander A. Klimov
7688994601
Implement new event queue for ASIO consumers
2019-04-25 15:56:38 +02:00
Michael Friedrich
a630d0185f
Merge pull request #6722 from Icinga/feature/notification-result
...
Add notification result store/sync
2019-04-25 15:56:14 +02:00
Michael Friedrich
0438c866f8
Merge pull request #7102 from Icinga/feature/boost-fs-7101
...
Replace self-written filesystem ops with boost.filesystem
2019-04-25 15:53:55 +02:00
Michael Friedrich
4d05eccddf
Merge pull request #6988 from Icinga/feature/thread-pool-6985
...
ThreadPool: use the Boost ASIO thread pool under the hood
2019-04-25 14:20:42 +02:00
Markus Frosch
9c3cf9731c
Ensure header ordering for win32 mswsock.h
2019-04-25 11:54:26 +02:00
Alexander A. Klimov
5afef1015d
Replace unlink() with boost::filesystem::remove()
...
refs #7101
2019-04-25 09:53:02 +02:00
Alexander A. Klimov
5a17722c1f
Replace _unlink() + rename() with boost::filesystem::rename()
...
refs #7101
2019-04-25 09:53:02 +02:00
Alexander A. Klimov
f1f7d0c4d6
Work around boost::filesystem::path bug on VS
...
refs #7101
2019-04-25 09:53:01 +02:00
Alexander A. Klimov
af78cd6050
Use Boost.Filesystem
...
refs #7101
2019-04-25 09:53:01 +02:00
Alexander A. Klimov
4ccc152990
Require Boost.Filesystem
...
refs #7101
2019-04-25 09:53:01 +02:00
Michael Friedrich
0d9d39c64b
Fix preprocessor macro comment
2019-04-25 08:25:28 +02:00
Alexander A. Klimov
ba842403ce
Fix circular #include
...
refs #6985
2019-04-25 08:25:28 +02:00
Alexander A. Klimov
5151f6567e
ThreadPool: use the Boost ASIO thread pool under the hood
2019-04-25 08:25:28 +02:00
Michael Friedrich
56894bea17
Buildfix
...
Obviously tired.
fixes #7138
fixes #7139
2019-04-24 12:10:57 +02:00
Michael Friedrich
268c8b395f
Merge pull request #7140 from Icinga/feature/docs-logrotate
...
Add log message for log rotate; update docs
2019-04-24 11:54:54 +02:00
Michael Friedrich
df25b183cb
Add log message for log rotate; update docs
...
refs #6737
2019-04-24 11:53:27 +02:00
Michael Friedrich
f923ee34fb
Merge pull request #7004 from Icinga/bugfix/logrotate-6737
...
Timer::TimerThreadProc(): use C++11 lambda instead of bind()
2019-04-24 11:52:16 +02:00
Alexander A. Klimov
7a8f8fd734
Timer::TimerThreadProc(): use C++11 lambda instead of bind()
...
refs #6737
2019-04-24 11:51:17 +02:00