Commit Graph

14 Commits

Author SHA1 Message Date
Lucjan Bryndza
46f9cc7e10 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:07:23 +01:00
Jakub Pyszczak
ff5ed529d3 [EGD-5163] Fix UT module-db
Convert module database tests to run natively on linux.
2021-02-17 17:05:31 +01:00
Hubert Chrzaniuk
fc5ab3a70c [EGD-5325] Remove using namespace directives from headers
"Using namespace" directive should not be added in headers
because this practice pollutes source files.
2021-01-22 11:25:45 +01:00
jimmorrisson
6711e02bad [EGD-4446] Change: new filesystem handling implementation in module db. (#1052)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module database. It also contains minor fixes in module-db.
2020-12-05 10:40:27 +01:00
PrzeBrudny
88939f8209 [EGD-4070] Messages listView sync db queries refactored to full async. (#837) 2020-10-26 14:02:13 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Przemyslaw Brudny
b7eb4365ea [EGD-3799] Messages queries cleanups. 2020-09-23 15:02:04 +02:00
Piotr Tanski
9447da6585 [EGD-2870] Message drafts feature implemented. (#704)
- Save unsent messages as drafts on thread view window close.
- Queries for SMS add and update introduced.
- Fix for windows IDs all being zeroes across the GUI.
2020-09-21 10:25:00 +02:00
Bartek Cichocki
3fc69d0796 [EGD-3553] added functional tests for service-desktop
UT & PR fixes
2020-09-07 11:00:15 +02:00
Marcin Smoczyński
885fe1083a db: improve query handling
Introduce a new way to handle query responses allowing to deal with
races:
 - bind reponse with request,
 - handle responses with an observer-like interface.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-06 14:13:35 +02:00
Radoslaw Wicik
c2b8a33d4b [EGD-3428] Fix db interface functions names - Database class 2020-07-16 10:55:07 +02:00
Alek Rudnik
d5c8cb0c5b Egd 3343 add notifications database (#465)
* [EGD-3158] added UT for CallogTable and CalllogRecord

* [EGD-3343] added notifications db
2020-06-25 13:47:31 +02:00
Marcin Smoczyński
a9cb37d7f4 tests: add proper catch2 handling
Add proper catch2 support:
 - add catch2 as a submodule
 - add cmake function to add test easily
 - discover each test in test binary
 - remove copies of catch.hpp
 - do not try to process tests for rt1051

Do not test internals of utf8, only public interface (nasty bugs could
occur otherwise).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-24 10:38:14 +02:00
pholat
23df384c55 EGD-3087 SMS Search implemented (#374)
* EGD-3087 WIP adding SMS Querry

* EGD-3087 Added query virtual interface on Service top layer

Service shouldn't implement query logic and should be proxying that.

additionally:
- small fixes in includes
- shared service db name same way as apps and event manager

* EGD-3087 Query - want to work on interface not on db

* EGD-3087 Query gluecode works fine. Our query in SMS search calls getBySMSQuery

Changes cut off before any potential orm interface layer

* EGD-3087 WIP Interface in use

* EGD-3087 Query for SMS search works as designed

* EGD-3087 Query results should be on screen

* EGD-3087 BUG workaround - need to deep refresh display to show data

* EGD-3087 Searching for text from input works fine

* EGD-3087 Showing results / or empty results depending on query

* EGD-3087 Pre PR fixups

* EGD-3087 Empty search - getting back to prewious window ignore current

* EGD-3087 PR applied

* EGD-3087 PR - style fixed

* EGD-3087 Review - DB ListView handling moved to separate function

* EGD-3087 Workaround: crash on use after free fix

* EGD-3087 PR stylistic changes

* EGD-3087 PR cleanup applied

* EGD-3087 Added test for Query interface

* EGD-3087 renamed getByQuery to getQuery & finished tests

* EGD-3087 Post rebase fixup

* EGD-3087 PR - moved ListView request part to separate function

* EGD-3087 PR Fixups

* EGD-3087 Post rebase style fix

* EGD-3087 Added variable for DB service stack & const to getter function
2020-05-27 13:49:50 +02:00