<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qt-license-service.git/src/libs/qlicenseservice/httpclient.cpp, branch dev</title>
<subtitle>The Qt License Service is a gateway between Qt License Server and Qt developer tools (i.e. Qt Creator and Qt Design Studio)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qt-license-service.git/'/>
<entry>
<title>Fix of  a bug where daemon grants non-valid license</title>
<updated>2023-04-19T11:36:08+00:00</updated>
<author>
<name>Sami Littow</name>
<email>sami.littow@qt.io</email>
</author>
<published>2023-04-14T05:54:38+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qt-license-service.git/commit/?id=481ae1cb9e52dfe198030e9a4a6e562005f04ca7'/>
<id>481ae1cb9e52dfe198030e9a4a6e562005f04ca7</id>
<content type='text'>
(clitoolhandler.h)
- Server response validity was only checked when requesting longterm reservation
- Could have exploited with telnet
- Server response JSON status field check moved to the beginning of method

(HttpClient, Licenser classes)
- Pass the REST endpoint to the HTTP client per request, rather than
  trying to guess it in HTTP client

Change-Id: I13d05b33f1032a91d393e7315552f1b9d391142d
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Arttu Tarkiainen &lt;arttu.tarkiainen@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(clitoolhandler.h)
- Server response validity was only checked when requesting longterm reservation
- Could have exploited with telnet
- Server response JSON status field check moved to the beginning of method

(HttpClient, Licenser classes)
- Pass the REST endpoint to the HTTP client per request, rather than
  trying to guess it in HTTP client

Change-Id: I13d05b33f1032a91d393e7315552f1b9d391142d
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Arttu Tarkiainen &lt;arttu.tarkiainen@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup: remove commented out code</title>
<updated>2023-04-13T12:40:09+00:00</updated>
<author>
<name>Arttu Tarkiainen</name>
<email>arttu.tarkiainen@qt.io</email>
</author>
<published>2023-04-12T10:38:20+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qt-license-service.git/commit/?id=cda096486013d2f5ab39f0a2fd86235ef27fc67c'/>
<id>cda096486013d2f5ab39f0a2fd86235ef27fc67c</id>
<content type='text'>
Change-Id: Id5253f628acc7823fcf697a1115cd13952d2125d
Reviewed-by: Iikka Eklund &lt;iikka.eklund@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id5253f628acc7823fcf697a1115cd13952d2125d
Reviewed-by: Iikka Eklund &lt;iikka.eklund@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license key in request JSON</title>
<updated>2023-02-17T08:54:17+00:00</updated>
<author>
<name>Sami Littow</name>
<email>sami.littow@qt.io</email>
</author>
<published>2023-02-15T11:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qt-license-service.git/commit/?id=54ce95a2588492a1451b5e5d1874081ab07c5e09'/>
<id>54ce95a2588492a1451b5e5d1874081ab07c5e09</id>
<content type='text'>
Server needs a license key to make license validation more robust.

New entry in qtlicd.ini (license_key), and respective change made to the clienthandlers (new field in request JSON (qt5_license_key)

Change-Id: I671be04229ecaaad4f40779dc31a6d97717d4190
Reviewed-by: Arttu Tarkiainen &lt;arttu.tarkiainen@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Server needs a license key to make license validation more robust.

New entry in qtlicd.ini (license_key), and respective change made to the clienthandlers (new field in request JSON (qt5_license_key)

Change-Id: I671be04229ecaaad4f40779dc31a6d97717d4190
Reviewed-by: Arttu Tarkiainen &lt;arttu.tarkiainen@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add namespace for common library code</title>
<updated>2023-02-01T10:31:49+00:00</updated>
<author>
<name>Arttu Tarkiainen</name>
<email>arttu.tarkiainen@qt.io</email>
</author>
<published>2023-01-25T05:45:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qt-license-service.git/commit/?id=3a8ae434de56c6baf27f06ca64a7f75cd71cdf43'/>
<id>3a8ae434de56c6baf27f06ca64a7f75cd71cdf43</id>
<content type='text'>
Change-Id: I7e5bc2af8451d4116762fc20f287d91bcc031fdf
Reviewed-by: Sami Littow &lt;sami.littow@qt.io&gt;
Reviewed-by: Iikka Eklund &lt;iikka.eklund@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7e5bc2af8451d4116762fc20f287d91bcc031fdf
Reviewed-by: Sami Littow &lt;sami.littow@qt.io&gt;
Reviewed-by: Iikka Eklund &lt;iikka.eklund@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor project structure</title>
<updated>2023-02-01T10:30:59+00:00</updated>
<author>
<name>Arttu Tarkiainen</name>
<email>arttu.tarkiainen@qt.io</email>
</author>
<published>2023-01-24T17:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qt-license-service.git/commit/?id=27bde8c963be0a09b9c0b362419b008e4c1e9a10'/>
<id>27bde8c963be0a09b9c0b362419b008e4c1e9a10</id>
<content type='text'>
Add new 'qlicenseservice' static library, which now contains most
of the code shared between the different tool executables, and link
the the tools against it. After this the sub-project for the main
'qtlicd' binary contains only the platform specific daemon sources.

This makes the code more testable, as auto-tests to-be-added in the
future only need to link against the 'qlicenseservice' library in
most cases, without recompiling the sources of referenced symbols.
Same should also help with the included tools that have previously
shared common code.

Move the source files so that all sources for standalone binaries are
located in 'src/&lt;toolname&gt;' directories and for libraries in
'src/libs/&lt;libname&gt;'. Also some minor shuffling of other project
files around - the built binaries and libraries will now be outputted
to 'bin' and 'lib' subdirs, the distributed config and service files
in 'dist' directory.

Change-Id: I0de57a86e05e03d26126e083da93d36d8ff6b682
Reviewed-by: Iikka Eklund &lt;iikka.eklund@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new 'qlicenseservice' static library, which now contains most
of the code shared between the different tool executables, and link
the the tools against it. After this the sub-project for the main
'qtlicd' binary contains only the platform specific daemon sources.

This makes the code more testable, as auto-tests to-be-added in the
future only need to link against the 'qlicenseservice' library in
most cases, without recompiling the sources of referenced symbols.
Same should also help with the included tools that have previously
shared common code.

Move the source files so that all sources for standalone binaries are
located in 'src/&lt;toolname&gt;' directories and for libraries in
'src/libs/&lt;libname&gt;'. Also some minor shuffling of other project
files around - the built binaries and libraries will now be outputted
to 'bin' and 'lib' subdirs, the distributed config and service files
in 'dist' directory.

Change-Id: I0de57a86e05e03d26126e083da93d36d8ff6b682
Reviewed-by: Iikka Eklund &lt;iikka.eklund@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
