Commit Graph

314 Commits

Author SHA1 Message Date
Mateusz Grzegorzek
9832365ca2 [EGD-5698] Add pagination for messages
Add pagination for messages
2021-02-26 18:37:56 +01:00
Radoslaw Wicik
9d8eff64fc [EGD-5860] Fix build packages
Merging and cleaning cmakes requred cleaning.
2021-02-26 14:20:11 +01:00
RobertPiet
79d27c977c [EGD-5725] Sms threads pagination
Added pagination for sms threads
2021-02-25 19:55:02 +01:00
Roman Kubiak
2a29e27996 [EGD-5757] Fix backup API
Fix backup endpoint to work with new paths and FS api
The flow is based on the design in confluence.
2021-02-25 16:04:04 +01:00
Wiktor S. Ovalle Correa
fe72169338 [EGD-5737] Merge master into experimental
Synchronize with master before merging
2021-02-23 18:10:52 +01:00
Tomasz Langowski
ecfcdf0913 [EGD-5720] Add send message via new message by using contact
Add send message via new message by using contact
2021-02-22 11:50:18 +01:00
RobertPiet
800a2735a4 [EGD-5802] Enable harness for calllog and messages
Handle properly RecordQuery and CalllogGet parameters
2021-02-18 10:55:48 +01:00
Wiktor S. Ovalle Correa
c7b7cc4c27 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:10:32 +01:00
Wiktor S. Ovalle Correa
3b141041e9 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:09:37 +01:00
Jakub Pyszczak
7797a2eaf0 [EGD-5266] Fix test harness
Covers harness issues that occures on experimental branch
due to the new filesystem implementation.
2021-02-17 17:08:18 +01:00
Lucjan Bryndza
9ad10d222b [EGD-5439] Fix compile after merge from master
Fix compile after merge from master
2021-02-17 17:08:18 +01:00
Lucjan Bryndza
a53bd826c6 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:08:06 +01:00
Tomek Sobkowiak
be66c10888 [EGD-5347] Replace filelength with file_size
Replace use of filelenght with std::filesystem::file_size
sqlite3vfs is using file descriptors so filelength is just renamed
2021-02-17 17:07:41 +01:00
Tomek Sobkowiak
2c8059216b [EGD-5386] Fix tests in event table
Fix leap year handling in events table entry creation
Set hours/minutes during events table entry creation
2021-02-17 17:07:41 +01:00
Lucjan Bryndza
f60b9c0013 [EGD-5392] Add switch vfat to RO mode
VFAT partition should be mounted in RO mode by default
because writing to FAT filesystem is unsafe.
Writing is allowed only in the LFS filesystem.
If upgrade is needed FAT partition can be temporary
switched to RW mode using mount() syscall with REMOUNT flag
but it should be switched to RO mode again after upgrade.
2021-02-17 17:07:41 +01:00
Lucjan Bryndza
a493771f97 [EGD-5385] Fix unallowed use of ff_rename
Fix unallowed use of ff_rename FFAT function
2021-02-17 17:07:41 +01:00
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
Lucjan Bryndza
e6213e9407 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:02:21 +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
Jakub Pyszczak
7e36ee7c19 [EGD-5088] Change new filesystem implementation
Removed deprecated vfs calls from all applications.
2021-02-17 16:06:23 +01:00
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
Pawel Olejniczak
f535268624 [EGD-5586] Clean up messages endpoint API
Introducing changes according to new messages endpoint api
proposal doc. All request have been updated, and some new were added.
Harness tests were updated too. These changes will be followed up with
pagination implementation.
2021-02-16 09:19:50 +01:00
Radoslaw Wicik
bf2f4b0ec8 [EGD-5726] Remove not working tests form build
Just to politely remind developer if they forget adding their tests.
2021-02-12 14:41:56 +01:00
Hubert Chrzaniuk
3cc558b02a [EGD-2931] Fix private number incoming calls
The change adjusts both cellular service as well as
call and call log applications to handle properly
incoming calls from private numbers.
2021-02-12 10:32:15 +01:00
Jakub Pyszczak
cee68d98eb [EGD-5529] Added CLCC parser
New cmd mechanism implementation of CLCC parser.
Unit tests implementation for the parser.
Refactor of searching for active outgoing call
in service cellular.
2021-02-11 13:37:52 +01:00
Piotr Tański
65119cb495 [EGD-5027] Services synchronization introduced
Dependencies between services are now supported.
2021-02-10 12:37:42 +01:00
Radoslaw Wicik
b661aa0320 [EGD-4763] Update tests add missing corner cases
Some tests where not added during the initial setup,
and there where few more corner cases that need to fixed
like line wrapping by `catch2 -l` and need of escaping
some characters [],
2021-02-08 23:19:21 +01:00
Radoslaw Wicik
bb496101b2 [EGD-4763] Add check if all Unit Tests where run
Catch2 doesn't report some errors in test, and some test are
disabled on porpoise this commit adds set of scripts and changes to CI
that will clearly mark what test haven't been run.
2021-02-04 16:45:50 +01:00
RobertPiet
cafeb52103 [EGD-5317] Module-db UT solved
Vfs init.
Convertion time string to unix time returns 1 hour later than should.
DatabaseInitializer stub that just creates empty dbs with table
structure but without data. Notification table initial records moved
to Database Initilize section. UT run with a stub of Database
Initialize - new test section introduced to test original
initializer: test-initializer.
Added missing data for contacts db to run the sorted list test
and test fix.
2021-02-04 16:45:50 +01:00
RobertPiet
ff21816259 [EGD-5118] Unit tests for service-db solved
The rest of test (module-db) are solved in EGD-5317
2021-02-04 16:45:50 +01:00
RobertPiet
cd1012669c [EGD-5118] Settings api tests dependencies updated
Temporary test for ASAN error.
Stub Database introduced to cut the connection SettingsAgent to
sqlite for UT.
Settings ut moved to other directory - new target.
File_indexer UT fixed.
Alarms, Notes and Query UT missing initialization of vfs.
2021-02-04 16:45:50 +01:00
Borys Jelenski
b00efa685b [EGD-5115] Fix dangling ptrs in module-db tests
The dangling ptrs derefencing freed memory has been fixed.
They caused the tests to trigger the ASan. Additonally, in some tests
where DB objects were allocated dynamically, they are now allocated
automatically on the stack to simplify the code.
2021-02-04 16:45:50 +01:00
Radoslaw Wicik
6d481b753b [EGD-4763] Fix Unit Tests - db unittest
Fix reqired by CI to work
2021-02-04 16:45:50 +01:00
Radoslaw Wicik
49548152b6 [EGD-4763] Fix Unit Tests
First attempt, move vfs to be init in tests
2021-02-04 16:45:50 +01:00
Marcin Smoczyński
ac9ab97cbb [EGD-4753] Disable broken unit tests
After fixing log mocking for unit tests, it turned out that some tests
were not executed in the CI and as a result they were broken during
development.

Disable broken tests until they're fixed to unblock valid PRs.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-02-01 21:05:27 +01:00
Tomas Rogala
80768bf4a5 [EGD-4708] Add backend of multiday events handling
-sql req for multiday events handling
-Add UT
-Add markEventsInDays method
-Add new query for day filter
2021-01-26 06:34:12 +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
Przemyslaw Brudny
e7b9bcf7e9 [EGD-5133] Fix settings bus add duplications
Changed Bus Channels vector to set to prevent
duplicates and cleaned logging.
2021-01-08 17:33:00 +01:00
Piotr Tański
31df1ce788 [EGD-4921] Add next harness test cases
Test harness extended with additional tests:
- Making a call to a specific phone number.
- Calling back to the last number from the call log.
- Searching for SMSes with a phone number filter.
2020-12-23 11:02:43 +01:00
jimmorrisson
14918dc4f9 [EGD-4925] Change new filesystem handling implementation in module-gui. (#1193)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module gui. There are some modifications in other modules included which are necessary because of build system issues.
2020-12-16 15:23:11 +01:00
Piotr Tanski
4e0f72e70a [EGD-4696] Several stabilization patches. (#1192) 2020-12-15 15:30:13 +01:00
tomaszrogala
4b06b003bc [EGD-3842] Modify events records tests and add providers fields to DB (#1138) 2020-12-10 15:22:19 +01:00
KacperLewandowski
ba4d547f47 [EGD-4009] alarm clock: add main window (#1100)
Create alarm clock application and add main window.
2020-12-07 10:45:50 +01:00
Tomek Sobkowiak
0d80a71a5d [EDG-4494] Exclude contacts from temporary group (#1109)
* [EDG-4494] Exclude contacts from temporary group
2020-12-06 20:42:24 +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
54bb1d4a7f [EGD-4343] use new settings in ServiceAudio (#997)
* [EGD-4343] ServiceAudio moved to new settings
2020-12-04 14:10:44 +01:00
Piotr Tanski
5d757a6dc0 [EGD-4553] Notes search engine implemented. (#1112) 2020-12-01 10:30:38 +01:00
Piotr Tanski
c8c4f82080 [EGD-4487] Application notes implemented. (#1094)
* [EGD-4487] Implementation of notes application.
2020-11-30 13:48:05 +01:00
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +01:00