| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
LICENSE.LGPLv21
LICENSE.LGPLv3
src/enginio_client/chunkdevice_p.h
src/enginio_client/enginio.h
src/enginio_client/enginiobackendconnection.cpp
src/enginio_client/enginiobackendconnection_p.h
src/enginio_client/enginiobasemodel.h
src/enginio_client/enginiobasemodel_p.h
src/enginio_client/enginioclient.cpp
src/enginio_client/enginioclient.h
src/enginio_client/enginioclient_global.h
src/enginio_client/enginioclient_p.h
src/enginio_client/enginioclientconnection.h
src/enginio_client/enginiodummyreply.cpp
src/enginio_client/enginiodummyreply_p.h
src/enginio_client/enginiofakereply.cpp
src/enginio_client/enginiofakereply_p.h
src/enginio_client/enginioidentity.cpp
src/enginio_client/enginioidentity.h
src/enginio_client/enginiomodel.cpp
src/enginio_client/enginiomodel.h
src/enginio_client/enginiooauth2authentication.h
src/enginio_client/enginioobjectadaptor_p.h
src/enginio_client/enginioreply.cpp
src/enginio_client/enginioreply.h
src/enginio_client/enginioreply_p.h
src/enginio_client/enginioreplystate.h
src/enginio_client/enginiostring.cpp
src/enginio_client/enginiostring_p.h
src/enginio_plugin/enginioplugin.cpp
src/enginio_plugin/enginioplugin_p.h
src/enginio_plugin/enginioqmlclient.cpp
src/enginio_plugin/enginioqmlclient_p.h
src/enginio_plugin/enginioqmlclient_p_p.h
src/enginio_plugin/enginioqmlmodel.cpp
src/enginio_plugin/enginioqmlmodel_p.h
src/enginio_plugin/enginioqmlobjectadaptor_p.h
src/enginio_plugin/enginioqmlreply.cpp
src/enginio_plugin/enginioqmlreply_p.h
tests/auto/common/common.cpp
tests/auto/common/common.h
tests/auto/enginioclient/tst_enginioclient.cpp
tests/auto/enginiomodel/tst_enginiomodel.cpp
tests/auto/files/tst_files.cpp
tests/auto/identity/common/identitycommon.h
tests/auto/identity/oauth2authentication/tst_oauth2authentication.cpp
tests/auto/notifications/tst_notifications.cpp
tests/auto/qmltests/tst_enginioclient.qml
tests/auto/qmltests/tst_enginioreply.qml
tests/auto/qmltests/tst_files.qml
tests/auto/qmltests/tst_identity.qml
tests/auto/qmltests/tst_model.qml
tests/auto/qmltests/tst_qmltest.cpp
tests/auto/qmltests/tst_query.qml
Change-Id: Icb6a167ba58b41e1a8e4d2c8f78213eae9472864
|
| |
| |
| |
| |
| | |
Change-Id: I4e1aac17ea5d0c4e24e8e1cc5b6ee128e5be3184
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3
- Removed LICENSE.GPL
Change-Id: I901de75cafad74187c43baf98033909e60b49efd
Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
|
|/
|
|
|
|
|
|
|
| |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I3af24310387050e692210e28566d4d4220773f06
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a new preconfigured role to EnginioModel, which
can be used to update multiple properties of an item in one function
call.
[ChangeLog] EnginioModel is able to update multiple
properties of an item in one setData function call. It can be achieved
by using Enginio::JsonObjectRole.
Change-Id: Ibc640d44f28d40fa349c6efdf65e3bb321a4fc79
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The server automatically filter data based on ACL. It means that for
example after a succesfull login, a query result may be different.
[ChangeLog][Enginio] Automatically refresh EnginioModel contents
when identity changes.
Change-Id: Ied814d00b8cfb872fcd2ab2e6e7f51692e894890
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change inserts, if given, an object id to request path. It allows
to construct query objects with only type name and id. Such query is
equivalent to a "view" request, that means that instead of returning
a array of results it gives full object only as a result.
From user perspective this change simplify certain group of queries,
for example this query:
QJsonObject query = {{"objectType", "objects.foo"},
{"query", {{"id", "1233"}}}};
could be changed to:
QJsonObject query = {{"objectType", "objects.foo"},
{"id", "1233"}};
The change cleanups a bit path computation, by not adding an object id
as a fall-back operation. Because of that hint IncludeIdPath could be
replaced by RequireIdPath, which is easier to interpret. It shows that
an operation has no chances to success if an id is missing.
Change-Id: If2bf09da0d7c4388493476a16b138640022c8581
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
| |
It should be faster and more stable, at cost of more complex backend
configuration,
Change-Id: I3b2e202c9e69ac7ffec37b5626e343cfcc818024
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I98fec4d0cd8110549d6efc00112678e076781ed4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The create_cmake.prf will check for the existence of the unit
test, but the enginio files are known to be broken. Skip them
as an exeption.
Change-Id: I57aa7d0f61ad689a5c2d349a0bd4ad25111a9138
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The test blocks CI sadly nobody can reproduce the failure locally. This
change is extension to c416ada9bebed82c9859882da14078222354c0d4
Change-Id: I00fd29286a2ea35c4dbb2396471d471ddc94882b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The test seems to be flaky on CI and lately it fails quite often, sadly
nobody can reproduce the failure locally.
Change-Id: I8e98c2946b7fd4f9750dc80e45ff007b56fd2fdc
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This way we can gather statistics about usage of Enginio api.
Change-Id: I09dd735abe1090c31998e4f6c97aa49a26285730
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: I50bb083523431f9bd8d3da24e3364bb088c8f0ef
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|/
|
|
|
|
|
|
| |
[ChangeLog][EnginioModel] Added reload() function to
EnginioModel to force a refresh of all model data.
Change-Id: I7b1a3fdd6e63950f5494d4bab8511feb9f80d9fb
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
| |
Change-Id: Ib3f3f1163ef2d9c187c5334dff8c1d139915d755
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
| |
QtNetwork gives a more specific error code, then it used to.
Change-Id: I2ee5527ea3e3eae6a3b8c010a4b2bbb463e8b852
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: Iecafc69a45b28cae3bbb5299b8b789be65fd6cbf
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
| |
Fix small mistakes related to Enginio::Role documentation
Change-Id: Ia4241e750f684b80cdf0984d44939c53f08e19df
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: Ib164de80c2741261e587c095635f7bc9e61c18f5
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
| |
QNetworkReply should be removed when finished.
Change-Id: Ifb027d634885f4df26a5807c56b8e9f976b82d0b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I9729c25bdbe83c8f3339c161c94e502c35141966
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I4bd00f99f456dbbd65fd2bd47b90f0b6ba20e718
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I5987fd34d95d0f8d5e417f74981d3f92fdef72c5
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I83b932fc5c9febae1743ed20ad50069826b2d7c7
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
| |
Dummy reply is not leaking anymore if an owning EnginioReply is deleted
Change-Id: I9cee6527a5c132ce922295e6b4a34310f0cc3874
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
| |
That way we have one point in which we can inject features for all
network requests.
Change-Id: I1b90221ec368ef44c81e1308864c0b1b10030dac
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
The "Base" name was meaningless. EnginioClientConnection is keeping
information about backend connection.
[ChangeLog][API] Renamed EnginioClientBase to EnginioClientConnection
Change-Id: Ide98c67702c2edd3ba2485d10f619917671834b4
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
By using new QObject::connect signal we do not have to manually trace
QObject connections anymore.
The patch fixes random crash in EnginioModel autotests in which a not
needed anymore reply was delivered.
Change-Id: I71e21f486d8ed6b55889a1f71d6c801e20bdab09
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
This makes it consistent with QAbstractItemModel
[ChangeLog][API] The order of the role and value arguments in
EnginioModel::setData changed.
Change-Id: I60b0e1c8a9417aa1c9345789ff86e08c029804b4
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
|
| |
[ChangeLog][API] Renamed setProperty to setData in EnginioModel for
better consistency with other C++ models.
Change-Id: I112571b31de713a9d7886bfe925fe445eb37c6ed
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
| |
[ChangeLog][API] Renamed EnginioModel::engino property to client
Change-Id: I56ee3dfeab0f051b92dddf88bc94fb15552572a5
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][API] Renamed the downloadFile function to downloadUrl to
make it clear that this function does only provide a URL and does not
download the file.
Change-Id: I6b3c20de9319c7545ff266d2778b985729fe5077
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
| |
[ChangeLog][API] Renamed the search function to fullTextSearch
Change-Id: I4c667ccbf89048e9ef49d26d4fb80ed52153dfde
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
| |
[ChangeLog][API] Renamed ObjectAclOperation to AccessControlOperation
Change-Id: I5490bae6790e69384d2a3de60962071525630ffe
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
|
| |
It may happen that finished signal is emitted for the deleted reply
which causes random crashes.
Change-Id: Ie3759a160d3342f8195c8d625d30bb7f52978842
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I05471f898c37e2184e4a8fb8a59e23c29dcb270b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: Ib5824d9363d2c3bf51aee5ddba03051e09990a1c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
| |
The code was not checking for rows indexes smaller then 0.
Change-Id: I39d4fad06809977e3cec0f7b7dc85f3814c0dcfa
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I438edd9bba4c8405fff4cde5b496b274c1497f0a
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I3f6af4a4b8be242796a22c4dbc5784423088c069
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I40c0fe70441662e8ac3df13ef2d44f21c2a96cf3
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
| |
Change-Id: I172819f1c16b21c904a00edcc94e2a07d162dfe7
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
|
|
|
|
|
|
|
|
|
| |
The QNAM is still shared in the thread but it may happen that is has to
be recreated. The main advantage of this change is that we clean
memory and that the QNAM is not destroyed after ~QCoreApplication.
Change-Id: I3dc6a5e7d85b2feebb498700986d27d203dbb89e
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
The secret number was redundant.
The change exposed flaky-ness in qml model tests so they were re-factored
and expected values were updated.
Change-Id: I11bbe89390be4e1d3dcec521fde3856455ed4dd9
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
|
|
|
|
|
| |
Change-Id: I4356b5f3a26fd30e357809a390aa3b1c940dcb97
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
|
|
|
|
|
| |
Change-Id: Ib0d1c9b15a29cd47955df533cc73d7f74f11903d
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
|
|
|
|
|
| |
Change-Id: Ia29fd4380ac42ec036a47c527ab65c21f0a732d6
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
|
|
|
|
|
| |
Change-Id: I3246a039cea4db4af2588d94055e85d63a1b53a0
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
| |
The url is set trough environment variable
Change-Id: Idfb21623908f0f0f66be460dffa34b6c6f1a9935
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|