Mateusz Piesta
0a9846e4a8
[MOS-694] Move DB initialization from OS to build scripts
...
* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
2023-01-19 16:41:56 +01:00
GravisZro
e59cd4036b
[MOS-245] Fix errant spaces
...
It appears in the past a major edit was made but had used a regex to
change some text which resulted in an errant space between the
enumuneration/struct/class name and the scope resolution operator.
These errant spaces have been removed.
2022-02-24 08:47:20 +01:00
Alistair Francis
92e92d3ef2
[EGD-6946] Fix build for GCC11
...
Fix build issues identified when building on Fedora 34 using GCC11.
Signed-off-by: Alistair Francis <alistair@alistair23.me >
2021-08-02 13:05:10 +02:00
Pawel Olejniczak
70e9ef0d03
[CP-77] Replace receivedAt and sentAt fields with createdAt
...
sentAt json field was never updated and was not used.
Cleaned up DB and DB interface from unused date_send.
2021-05-31 17:52:35 +02:00
Wiktor S. Ovalle Correa
10a2c37969
[EGD-3649] Fix paths in UT
...
Reorganization of assets left path in UT outdated.
2021-04-20 16:45:27 +02: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
Jakub Pyszczak
5ad8a9bc65
[EGD-5145] Fix remove vfs include from UT
...
Deprecated vfs is no more accessible. Deleted old includes.
2021-02-17 17:02:15 +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
RobertPiet
675dc59c9a
[EGD-3572] SettingsTable exchanged to settings::Settings ( #968 ) ( #1044 )
...
[EGD-3572] Application has an instance of Settings - removed from derived apps
[EGD-3572] Application is the owner of Settings handling for its windows/widgets
[EGD-3572] Settings header moved to service-db public section
2020-11-27 15:38:19 +01:00
RobertPiet
c25ad79421
Revert "[EGD-3572] SettingsTable exchanged to Settings::Settings ( #968 )" ( #1035 )
...
This reverts commit f11bc1f0d0 .
Co-authored-by: Hubert Chrzaniuk <hubert.chrzaniuk@mudita.com >
2020-11-18 12:17:08 +01:00
RobertPiet
f11bc1f0d0
[EGD-3572] SettingsTable exchanged to Settings::Settings ( #968 )
...
[EGD-3572] Application has an instance of Settings - removed from derived apps
[EGD-3572] review issues resolved
[EGD-3572] shared_ptr -> unique_ptr
[EGD-3572] Primary Key for settings_tab:path
[EGD-3572] empty values handling
2020-11-18 10:40:29 +01:00
Radoslaw Wicik
2276ceed67
[EGD-3743] Update copyrights in fies
2020-10-20 12:55:10 +02:00
Przemyslaw Brudny
196c02686a
[EGD-2395] Added BottomTop orientation support for listView. Created SMSThreadViewWindow and SMSOutputWidget. MessagesStyle moved from global Style.hpp. Fixes in Text. ListView fixes, BoxLayout callback for requestedSize. Added smsInput into list. Drafts handling added.
2020-10-07 19:45:01 +02:00
alek
e53982a968
[EGD-3402] added Record base class for sms and thread table classes
2020-07-16 13:49:44 +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
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
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
951604cb95
Minor API updates. Finished implementing ContactRecord
2019-06-04 15:46:54 +02:00
Mati
b9bd4372e7
Refactor,
...
Added ContactsTable
2019-05-28 13:27:54 +02:00
Mati
f02517ebfa
Added Threads table class implementation.
...
Added ThreadsTable unit tests
2019-05-28 10:35:55 +02:00
Mati
7046f980d8
Added SMSTable unittests. Small updates in implementation
2019-05-28 08:48:58 +02:00