Commit Graph

52 Commits

Author SHA1 Message Date
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Adam Dobrowolski
cf2b8be8cd EGD-3026 Final ID unification 2020-03-24 14:17:12 +01:00
Adam Dobrowolski
09adf35eb5 EGD-3026 Database record unified ID field name 2020-03-24 14:17:12 +01:00
Adam Dobrowolski
abe6813ce6 EGD-3026 Wall Werror and Wextra added to project 2020-03-24 14:17:12 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
kkleczkowski
e4b7e9202e Egd 2507 settings date (#164)
* [EGD-2507] Wip on Date and Time window.

* [EGD-2507] Utlis, timeDateFormat in settings.db.

* [EGD-2507] - WiP on DateTimeWindow.

* [EGD-2507] dateTimeWindow layout + time validation + database_v2.md update.

* [EGD-2507] Code clean-up.

* [EGD-2507] Fixes after rebase, unused include removed.

* [ EGD-2507 ] PR suggestions.

* [ EGD-2507 ] Fixed missing 0 minutes, pr suggestions.

* [EGD-2507-settings-date] Fixes after rebase.
2020-03-05 14:32:06 +01:00
Alek-Mudita
b853087b3b Egd 2513 callog phonebook integration (#173)
* [EGD-2513] new API to create temparary contact entry if cannot be found
Calllog should search for contact.

* [EGD-2513] #pragma once in all headers file in module-db

* [EGD-2513] new constructor for CalllogRecord

* [EGD-2513] contact recognition for calllog DB API

* [EGD-2513] clean up

* [EGD-2513] displaying name and surname call and calllog

* [EGD-2513] enum instead bool

* [EGD-2513] fix in remporary contact creation

* [fix][EGD-2513] missing c_str

* [fix][EGD-2513] minor fixes in documentation

* [EGD-2513] unified entry read state for both sms and calllog dbs

* [EGD-2513] calllog db documentation

* [EGD-2513] code reviex fixed in ContactRecord
2020-03-02 16:43:29 +01:00
Adam Dobrowolski
4545b8ce8f Revert "[EGD-2892] added missing elements in contacts table"
This reverts commit 357aa8d3f1.
2020-02-28 12:58:44 +01:00
Adam Dobrowolski
dc9b2b67db [EGD-2892] Added getCount for unreached calls & unread SMS and used it in Desktop 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
357aa8d3f1 [EGD-2892] added missing elements in contacts table 2020-02-27 17:10:03 +01:00
rkubiak01
5454345227 country code fixes 2020-02-24 07:41:08 -05:00
rkubiak01
fee840ddb6 [EGD-2520] fix in sql query to search for any substring 2020-02-11 06:17:38 -05:00
rkubiak01
bc45d728fc [EGD-2535] static country code data
initial commit for database structure in code
2020-02-03 07:59:33 -05:00
Adam Dobrowolski
cee967514d [EGD-2394] [FIX] Querry sms by date descending 2020-01-31 14:05:42 +01:00
Alek-Mudita
ea69daaebc Egd 2420 adding new calllog entry phase2 (#150)
* [EGD-2420] tokenizer refactoring
new class CellularCall

* [EDG-2420] new file added

* [EGD-2420] fixed include

* [EGD-2420] added new ModemCall type and its usage in Sevice Cellular.
missing dep in module-cellular.
Fix in tokenizer.

* [EGD-2420] get calllogrecordID one adding new entry to DB
number as contact name

* [EGD-2420] fixes at DB level api for update and delete
Outgoing call seems to add proper calllog entries now

* [EGD-2420][fix] fix for HF during call before full modem init

* [EGD-2420] incoming and missed calls are handled
code clean-up

* [EGD-2420] ModemCall::to_string

* [EGD-2420] added proper exceptions

* [EGD-2420] minor clean up

* [EGD-2420] split string with multichar delimiter

* [EGD-2420] done some TODOs

* [EGD-2420] PR fixes

* [EGD-2420] separation between cellularcall and cellularservice
PR fixes

* [EGD-2420] duration based on timestamp instead of timer

* [EGD-2420] new to_strings

* [EGD-2420] fixes after rebase

* [EGD-2420] operator<<

* [EGD-2420] changed split params

* [EGD-2420] changed returned db id

* [EGD-2420] comment with explantaion
2020-01-30 12:45:29 +01:00
Alek-Mudita
3d7611bd12 [EGD-2423] added numbertostring (#153)
* [EGD-2423] added numbertostring

* [EGD-2423] renamed to to_string
2020-01-30 10:17:35 +01:00
Alek-Mudita
9bc0e6f3c5 Egd 2420 adding new calllog entry phase 1 (#134)
* [EGD-2420]  minor fix in call app timer

* [EGD-2420] added missing dictionary definitions

* [EGD-2420] removed the same preprocesor defintions

* [fix][EGD-2420] for adding new entry to calllog DB.
It is workaournd as it looks like there is issue with printing 64bit variables in vsnprintf

* [EGD-2420] added new timer for call duration on cellular servcice.

* [EGD-2420] changed unnecessary LOG_ERRORs to LOG_DEBUGs

* [EGD-2420] changed logging levels

* [EGD-2420] added TODO
2020-01-15 15:05:25 +01:00
Adam Dobrowolski
967b6056b6 [EGD-2392] SMS app - get thread for selected contact 2020-01-10 14:15:28 +01:00
RomanKubiak
11acf5f8dc DATABASE: phonebook changes 2019-11-28 17:48:06 +01:00
RomanKubiak
61e95c9fc6 DATABASE: clang formatting before phonebook changes 2019-11-28 12:28:25 +01:00
kkleczkowski
b66ae1fa8b Edg 2286 browsing history of conversations (#92)
* WiP on thread view.

* Missing db code.

* Fixes in sericeDB, working on listView in threads window.

* Changes in thread Db message.

* Missing responseTo value bug tracking.

* Fixed threads DB getter.

* Show threads list.

* Added missing code in service-db.

* Small fixes.

* WiP listView swich page.

* Code clean-up.

* Code formatted.

* PR sugestions applied.
2019-11-27 10:09:03 +01:00
Alek
de3f7de44e EGD-2117 initial version of calllog application 2019-11-20 11:14:44 +01:00
Robert Borzecki
6e4bf06046 Power off screen handling, contact verification functions. 2019-09-23 12:51:07 +02:00
Robert Borzecki
70e291e5d5 Added acquireing data for phonebook model. 2019-09-12 12:18:44 +02:00
Robert Borzecki
b866e4a63b Added backend for phone locking after specified window. 2019-08-30 06:40:50 +02:00
Robert Borzecki
ecc2a86e1c Merge branch 'master' of github.com:muditacom/PurePhone into EGD-2015_database_model 2019-08-20 18:26:47 +02:00
Robert Borzecki
317b99fc7d Added db routines for notes. 2019-08-12 10:11:05 +02:00
Kuba
9c2d5bcbf0 Restored initialization of first row in alarms database - passing unit tests. 2019-08-09 10:00:35 +02:00
Robert Borzecki
c6cb949b8e Added Notes database. 2019-08-08 11:54:34 +02:00
Kuba
e4ee6a8eed Last fixes. 2019-08-07 09:43:55 +02:00
Kuba
e4b0559c82 Pull request suggestion solved. 2019-08-06 14:14:47 +02:00
Kuba
d23a2f7e7d WiP elerms i event manager. 2019-07-23 13:16:04 +02:00
Kuba
2d8b447dee Multicast message from DBService. Added GetNext method to Alarms DB. 2019-07-18 16:30:29 +02:00
Kuba
db0f8e17e4 Small fix in SettingTable. 2019-07-16 15:03:46 +02:00
Kuba
4046f4e324 Unit tests for Alarms database. Fixes and code cleanup for alarms database. 2019-07-16 14:48:12 +02:00
Kuba
0930ee0364 Working on database for Alarms. 2019-07-16 08:57:42 +02:00
Mati
20b6d8bea9 Added Contact record high-level API.
WiP: perform Db access tests
2019-06-10 13:26:14 +02:00
Mati
433af1a130 Fixed warnings 2019-06-06 13:05:15 +02:00
Mati
67e71d9d32 Added SettingsRecord, fixed bugs, added tests 2019-06-06 08:26:13 +02:00
Mati
18d84d4556 Added settings table 2019-06-06 08:00:05 +02:00
Mati
5af5026166 SMSrecord api updates, added new method to Table interface 2019-06-05 15:07:38 +02:00
Mati
4c407979c7 WiP: smsrecord implementation + tests 2019-06-05 14:39:45 +02:00
Mati
b65ca68b78 SMSRecord + ThreadRecord implementation 2019-06-05 12:31:42 +02:00
Mati
951604cb95 Minor API updates. Finished implementing ContactRecord 2019-06-04 15:46:54 +02:00
Mati
d446b0ac94 WiP: record interface 2019-06-04 08:27:30 +02:00
Mati
3c4abddcc2 Added the rest of contacts tables 2019-05-28 15:14:09 +02:00
Mati
3e717e2b01 Added ContactsNameTable 2019-05-28 13:58:16 +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