Marcus Tillmanns
fc0cd04b53
Adding a REST like web api and introducing Json.NET
...
Adds the ability to handle simple REST like api calls to the Webserver.
If a POST request is received by the webserver it calls HttpServer::HandlePostRequest
"Get" Action Example:
http://localhost:8085/Sensor?action=Get&id=/ltc/example/0
This will return a JSON response containing either the value of the Sensor
or an error message.
Example response:
If it succeeded:
{ "result" : "ok", "value" : "42" }
If it failed:
{ "result" : "fail" , "message" : "Some error message" }
"Set" Action Example:
http://localhost:8085/Sensor?action=Set&id=/ltc/example/0&value=42.0
This will try to set the Control value of the specified Sensor.
Example response:
If it succeeded:
{ "result" : "ok" }
If it failed:
{ "result" : "fail" , "message" : "Some error message" }
The TestScripts folder contains 3 python scripts that demonstrate the
usage of the WebServer and the WMI provider.
2017-09-18 23:49:48 +02:00
Michael Möller
ebeb96c648
Changed the settings save code to use a two file based approach in order to reduce cases where settings are lost or reset (Fixed Issue 501).
2014-12-30 17:35:29 +00:00
Michael Möller
9f28081100
Added a configurable logging interval.
2013-08-25 19:13:35 +00:00
Michael Möller
94cbde3e97
Fixed a few stability issues in the logging implementation. Added support for logging sensors once the reappear.
2013-08-18 21:44:08 +00:00
Michael Möller
92d4954da6
Added a first data logging implementation.
2013-08-11 21:26:56 +00:00
Michael Möller
dcfa8ef3f9
Added additional exception handling to the http server.
2013-06-09 19:25:44 +00:00
Michael Möller
9a1d0d5c08
Fixed Issue 368. Fixed Issue 369. Fixed Issue 370.
2012-10-28 15:19:45 +00:00
Michael Möller
69b0050008
Changed the source formatting of the HttpServer class to match the rest of the project.
2012-10-28 14:06:50 +00:00
Michael Möller
322b079bf4
Reduced the amount of dynamic memory allocation when reading from the T-Balancer or creating tray icons.
2012-10-27 11:40:28 +00:00
Michael Möller
a3f3febfb3
Added a new icon for RAM hardware.
2012-07-25 15:33:16 +00:00
Michael Möller
4bebb21f12
Added a RAM hardware and sensor, fixed Issue 115.
2012-07-23 21:54:35 +00:00
Michael Möller
52c47c76e2
Added the remote web enhancement developed by Prince Samuel.
2012-05-27 20:15:32 +00:00
Michael Möller
2e3489e1f7
Changed the license to the Mozilla Public License 2.0 and update the licensing information.
2012-05-27 14:23:31 +00:00
Michael Möller
53cc1cc75a
Added a configurable font size and window width to the gadget.
2010-09-13 22:34:08 +00:00
Michael Möller
2ec18bf862
Changed the project files to Visual Studio 2010. Fixed some Code Analysis warnings.
2010-08-12 20:53:27 +00:00
Michael Möller
a2650ba983
Refactored the hardware monitoring code into a library (Issue 101).
2010-08-08 13:57:26 +00:00
Michael Möller
a2727cc803
Delete the config file if it can not be parsed, and restart with a new one.
2010-07-18 17:08:33 +00:00
Michael Möller
8c6c61d3e3
Added an event handler to save the configuration when the user logs off without closing the application first ( http://blogs.msdn.com/b/oldnewthing/archive/2008/04/21/8413175.aspx ), because FormClosed is not called in that case.
2010-05-25 22:33:03 +00:00
Michael Möller
daaf1f12ef
Added a workaround for the "You must keep the stream open for the lifetime of the Image." problem of the Image.FromStream method. This also reduced the overall memory usage (private working set).
2010-05-25 18:57:28 +00:00
Michael Möller
4cd9cd9125
Refactored the hardware code and added the visitor pattern for operations on the computer/hardware/sensor/parameter tree.
2010-05-09 16:22:13 +00:00
Michael Möller
a49919717e
Added an Identifier class for IHardware, ISensor and IParameter Identifier properties.
2010-05-06 19:20:38 +00:00
Michael Möller
20158a0edd
Fixed Issue 26. Added a dialog to automatically send a crash report.
2010-04-02 16:05:07 +00:00
Michael Möller
f208712a0d
Added support for sensor parameters. Fixed Core and Thread count detection for Intel Core i7 CPUs with disabled HyperThreading.
2010-02-27 15:55:17 +00:00
Michael Möller
ac6d7f818a
Tray sensor display default color is black and color can be changed now. Fixed CPU load reading for AMD CPUs and added additional misc device for AMD core temperature reading.
2010-02-12 22:46:31 +00:00
Michael Möller
3ac00a41de
First system tray sensor monitor support.
2010-02-12 00:36:56 +00:00
Michael Möller
31adbedc3c
Refactoring: New class Computer manages all the hardware and creates events.
2010-02-07 16:37:15 +00:00
Michael Möller
0543259a0b
Release version 0.1.13. Replaced PerformanceCounter based CPU load sensors with an implementation using NtQuerySystemInformation. Fixed a temperature reading problem for W83627DHG chips (sensors with invalid value 127°C).
2010-02-04 21:19:27 +00:00
Michael Möller
cb0a64e90c
Added additional checks to SMBIOS parsing. New class HexStringArray is for debugging with report data.
2010-01-29 20:05:32 +00:00
Michael Möller
39ca26510c
Initial commit.
2010-01-26 22:37:48 +00:00