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
0eb1fd03e5
[EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method.
2020-10-13 12:23:34 +02:00
Piotr Tanski
7e520b49a2
[EGD-3788] Fixes for message drafts feature after requirements elaboration. ( #733 )
2020-09-29 12:34:58 +02:00
Przemyslaw Brudny
b7eb4365ea
[EGD-3799] Messages queries cleanups.
2020-09-23 15:02:04 +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
Tomas Rogala
78904a6b5d
[EGD-3307] Review changes
2020-08-13 21:07:42 +02:00
Przemyslaw Brudny
2f47dd44c7
[EGD-3451] Cleanups.
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
Radoslaw Wicik
61db889b18
[EGD-3428] Fix db interface functions names - Update Tests
2020-07-16 10:55:07 +02:00
Radoslaw Wicik
c2b8a33d4b
[EGD-3428] Fix db interface functions names - Database class
2020-07-16 10:55:07 +02:00
Alek Rudnik
0689a22e97
Egd 3399 fix for hf during search ( #528 )
...
* [EGD-3399] fir for HF during sms search
* [EGD-3399] fixed some spelling issues
2020-07-14 15:21:43 +02:00
Alek Rudnik
26431f41e2
[EGD-2810] Added sms option to mark conversation as read/unread ( #522 )
...
* [EGD-2810] SMS - Added option to mark conversation as read/unread
* [EGD-2810] PR fixes
2020-07-13 14:39:36 +02:00
Alek Rudnik
3baa85363d
Egd 2835 sms unread vs unseen notifications ( #514 )
...
* [EGD-2835] thread table based sms not read notifications
* [EGD-2835] removed redundant read field from sms db table
* [EGD-2835] clear unread status of a thread if thre thread is open
* [EGD-2835] updated database documentation
* [EGD-2835] added changelog
2020-07-10 11:57:19 +02:00
Mateusz Grzywacz
194085de0a
[EGD-3348] subclass ThreadRecord from Record struct
2020-07-07 16:56:46 +02:00
Marcin Smoczyński
37c5a5a1d8
db: disable test output to cout
...
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com >
2020-06-24 15:24:16 +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
Alek Rudnik
55ec93cccf
[EGD-2986] fixed module db UT ( #326 )
...
* [EGD-2986] fixed module db UT
* [EGD-2986] missing change
* []EGD-2986] add BD init check
* [EGD-2986] fix in threads table
2020-04-23 12:41:30 +02:00
Radoslaw Wicik
a8573a404c
Apply new style
2020-03-17 10:03:16 +01:00
Mati
b4ddc257f2
Added ThreadRecord tests. Preparations to merge
2019-06-11 10:27:25 +02:00