Commit Graph

6 Commits

Author SHA1 Message Date
Mark Liversedge
b3d4bbe35b API QT < 5.3 compatibility
.. map wDebug() to qWarning() instead of using
   QMessageLogger for backward compatibility
2015-09-18 08:49:39 +01:00
Mark Liversedge
8b071ae3e1 Enable API WebServices when GC is running
.. but disable logging if not running as a server
.. let user define if API services start in preferences
2015-09-17 14:21:21 +01:00
Mark Liversedge
022e20fcb8 API List Intervals
.. add an intervals=true|false to the fetch
   ride list URL to enable fetching of interval
   metrics as well as ride metrics.

   e.g.
   http://localhost:12021/athlete?intervals=true&metrics=Work,IF
2015-09-14 09:28:04 +01:00
Mark Liversedge
6312d1fffc API http response buffer 40k not 4k
.. more buffering less updates.
2015-09-11 16:37:52 +01:00
Mark Liversedge
6eaa3c90af API Buffered Write
.. when sending metrics, since if no selection is made
   it can result in thousands of needless updates !
2015-09-08 11:48:46 +01:00
Mark Liversedge
30d488ce72 Add httpserver to contrib
.. see http://stefanfrings.de/qtwebapp/index-en.html

.. this is a lightweight web server to allow GC to
   provide webservices.

.. we will be providing web services on localhost to
   enable R integration.

.. we will use web services to standardise the
   interface to provide something we can use in R
   but also anything else at a later date.

.. gcconfig.pri contains $$HTPATH that points to
   the location of the code, if it is not set then
   the web server is not compiled in.
2015-09-05 20:40:38 +01:00