Commit Graph

12 Commits

Author SHA1 Message Date
RobertPiet
2c3965df18 [EGD-5557] Contact Endpoint pagination
Pagination added for contact endpoint.
Introduced PagedContext and query message for contacts that returns
the required contacts together with the number of all contacts in db.
2021-02-17 15:13:27 +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
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Piotr Tanski
8fd488b084 [EGD-3720] Database service API cleanup for messages application. (#720)
- Major cleanup of database query usage.
2020-09-22 12:59:32 +02:00
Bartek Cichocki
9095333b2c [EGD-3502] PR fixes 2020-09-02 17:26:01 +02:00
Bartek Cichocki
56f819c95f [EGD-3522] added missing queries
[EGD-3522] added ContactUpdate query

[EGD-3522] added ContactRemove query

[EGD-3502] fixed UT

[EGD-3522] added SMSTemplateGet query

[EGD-3522] added SMSGetCount query

[EGD-3522] added SMSGet query

[EGD-3522] added SMSTemplateGetCount query

[EGD-3522] added SMSTemplateGetCount query

[EGD-3522] added SMSTemplateAdd query

[EGD-3522] added SMSRemove query

[EGD-3522] added SMSTemplateRemove query
2020-09-02 17:26:01 +02:00
Bartek Cichocki
9eeeb6ae92 [EGD-3502] reworked endpoints and handlers
added endpoint listener to query
2020-09-02 17:26:01 +02:00
Przemyslaw Brudny
fa3968a3ee [EGD-3451] PR Changes. 2020-08-07 12:26:44 +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
Marcin Smoczyński
df60d9c240 [EGD-3251] phonebook: improved search
Refactor phonebook's models to merge both implementation. One model
class is used for both main and search results windows.

Improve search by matching entered string against:
 - first_name " " last_name
 - last_name " " fist_name
Sort results by last_name " " first_name, favs first.

Small improvement to the list view has been added to deal with
asynchronous db reads.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-07-09 11:28:45 +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
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