Commit Graph

72 Commits

Author SHA1 Message Date
Maciej-Mudita
6981f836a0 [MOS-717] Add pop-up about SIM removed/inserted in all apps
Previously, this information only appears on the desktop,
settings application and onboarding.
2022-12-08 16:03:18 +01:00
Przemyslaw Brudny
ad3aa54b66 [MOS-123] Added bluetooth authentication popups
Added bluetooth authentication popups with different
pair methods and process info display.
2022-03-03 20:37:16 +01:00
Kuba
bf305043a9 [EGD-8168] Fix Fixed lock screen in Calendar and Meditation
Fixed empty Lock screen in applications Caledar and Meditation.
Error was caused by not handled messages response at all.
2022-01-25 16:25:02 +01:00
Wojtek Rzepecki
1e8082e02c [EGD-7570] Add Alarm Clock status bar indicator
Added indicator on status bar if any alarm is on
2021-09-23 13:15:02 +02:00
Wojtek Rzepecki
4c19fa16b3 [EGD-7612] Add alarm popup
Added alarm popup window. Added ImageBoxWithText
widget.
2021-09-22 15:51:17 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Paweł Joński
606e0597e2 [BH-380] Librarize application-calendar
Librarize application-calendar
2021-07-26 09:11:09 +02:00
Wojtek Rzepecki
0e42b0016e [EGD-7044] Strip down calendar code
Stripping the calendar code to provide only
MVP defined functionalities
2021-07-07 09:05:57 +02:00
Paweł Joński
a7fba1b343 [BH-374] Librarize application-antenna
Add apps-common, librarize application-antenna
2021-06-17 12:54:02 +02:00
Alek Rudnik
93c4675d1d [EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
2021-05-27 16:54:44 +02:00
tomaszkrosnowski
cd34ad5ff3 [EGD-6453] Warning when adding incorrect event
When adding to Calendar an event which is incorrect  (e.g. has empty
title or end which is sooner than start) warning window appears.
2021-04-29 13:45:50 +02:00
Przemyslaw Brudny
25ba341e6c [EGD-5884] Added Lock Screen popup handling
Moved lock screen window to popup. Split DesktopMainWindow into
two parts (popup and regular). Added LockPhoneHandler into
ApplicationManager.
2021-04-29 12:06:59 +02:00
Adam Dobrowolski
940989833f [EGD-6527] Internationalization API unification
Single api to rule i18n
all calls to localistaion in cpp files unified
cut off ass many dependencies in i18n header as possible
2021-04-20 20:07:44 +02:00
Piotr Tański
81adfe41ab [EGD-6347] Refactored phone modes handling in applications
PhoneModeObserver doesn't work properly in applications.
Applications have to handle the phone mode changes via AppMgr.
Phone mode and tethering handlers separated.
2021-04-12 14:54:55 +02:00
Bartosz Cichocki
22809d630b [EGD-6208] Add blocking phone mode changes during tethering
When the tethering is enabled, the phone mode shouldn't change,
now, any attempt ends with a notification
2021-04-12 12:56:36 +02:00
Piotr Tański
4f0c3c82af [EGD-6209] Tethering confirmation popup added
Provided a tethering confirmation popup.
The popup shows up once a USB cable is connected to a PC.
2021-04-08 09:26:46 +02:00
Jakub Pyszczak
a21e02f91e [EGD-5743] Added phone modes popup
Implementation of phone modes window.
Minor fixes of previous approach.
2021-03-23 10:24:56 +01:00
Michał Kamoń
b16523e325 [EGD-6222] Fix the App Calendar memory leaks
This PR fixes:
 -several explicit uses of `new` that were not matched by `delete`
 -dangling `CalendarTimeItem`s
 -reset of focus on the `allDayEventCheckBox` check/uncheck
 -exiting the app form `allEventsWindow` on `KEY_RF`
2021-03-22 10:35:04 +01:00
Krzysztof Móżdżyński
84c99029d8 [EGD-5449] Add final prompts windows
Added Dialog windows for "configuration successful"
"no configuration" and "update OS" for Onboarding.
Refactor Dialog window implementation and usage of
DialogMetadata in other applications.
2021-03-12 13:03:44 +01:00
Przemyslaw Brudny
84095629df [EGD-5883] Added generic button popups attach to applications
Created structure and implementation for popup windows
attachments on button actions into applications. Moved Volume
window to fit into solution. BarGraph refactored.
2021-03-03 22:21:11 +01:00
Piotr Tański
4f3366ee80 [EGD-4157] Actions queue added
All actions shall be queued in order to process them later.
2021-02-24 14:52:20 +01:00
Mateusz Grzegorzek
8f0797218f [EGD-5312] Add Time selection window
- add ChangeDateAndTimeWindow,
- extract EventTimeItem to common widgets folder
  and rename it to TimeWidget,
- extract EventDateItem to common widgets folder
  and rename it to DateWidget,
- replace timeWidget with common TimeWidget
  in NightshiftWindow,
- refactor time setting in
  DesktopMainWindow and TopBar,
- Remove dead code from EventManager
  (GetNextAlarmTimestamp and HandleAlarmTrigger)
2021-02-23 15:59:51 +01:00
Piotr Tański
bc4d32c7d8 [EGD-5158] Change access to the bus methods
The bus is now accessible only via Service object.
2021-02-08 16:56:42 +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
Piotr Tański
6c900d7b38 [EGD-5166] Add query-callback synchronization mechanism
Receiver object cancels the callbacks at the end of its lifecycle.
2021-01-13 12:11:56 +01:00
tomaszrogala
84e08c242f [EGD-3512] Create ICS Parser (#892)
-Create application desktop endpoints for calendar events
-Modify Calendar Database Interface
-Create ParserICS lib
-Create calendar events endpoints test
-Create UT for ParserICS
2020-11-25 11:05:46 +01:00
Piotr Tanski
fe86716984 [EGD-4153] Use actions instead explicit applications switch. (#1032) 2020-11-23 09:32:42 +01:00
tomaszrogala
4f8f315ce8 [EGD-3823] Create Popup windows (#946)
-Create bargraph widget
-Create Home modes window
-Create Volume window
-Create Brightness window
-PR changes
2020-11-18 10:51:14 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
Piotr Tanski
22102c4ba5 [EGD-4200] Message handling refactored. (#974) 2020-11-06 15:24:59 +01:00
KacperLewandowski
123c95f9d4 [EGD-3809] Calendar changes after UX redesign (#745)
Add an additional field for date of the event.
Set 'all day' event as a default option when you add a new event.
Change in the design of AllEventsWindow and EventDetailWindow according to UX redesign.
2020-11-06 14:47:18 +01:00
Piotr Tanski
299be4daf6 [EGD-4151] Application manager actions introduced. (#905)
* [EGD-4151] Application manifest structure defined.
* [EGD-4156] Applications registry and basic action handler implemented.
2020-11-04 10:24:35 +01:00
KacperLewandowski
faac195015 [EGD-3826] Rework of day events list. (#889)
Use database model in day events list instead of internal model. Extend getFiltered query.

Co-authored-by: Tomas Rogala <rogala.tomasz1@gmail.com>
2020-11-02 13:10:58 +01:00
Adam
91e67f4865 EGD-4102 (#871)
* EGD-4102 Added log to refreshed window and null check

* EGD-4102 Fixed messages crash

* EGD-4102 Fixed calendar crash and some funky code
2020-10-23 13:00:39 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
marek303
585c612f5d [EGD-3315]Review changes: EventReminderWindow - localized date and time; unit tests for SelectFirstUpcoming query 2020-10-15 20:58:45 +02:00
KacperLewandowski
ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +02:00
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Tomas Rogala
460885701f [EGD-3700] Switch window rework
-Create application->switchManyWindowsBack() method
-Create equivalent to empty window enum class
-Remove stored prevWindows variables
-Add bottom bar to empty window (equivalent to allEvents)
-Repair going back to previous windows functionality
-Repair switching window (with empty events DB)
-Add EventShift value to event records time
2020-10-06 09:35:14 +02:00
Tomas Rogala
b89d6cca41 [EGD-3700] Time display on rt1051 - rework 2020-10-06 09:35:14 +02:00
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
KacperLewandowski
2aaed62bd8 [EGD-3699] Add notifications handling in calendar. 2020-09-25 15:59:57 +02:00
Tomas Rogala
65b4e9ad0f [EGD-3469] PR changes 2020-09-17 13:10:19 +02:00
KacperLewandowski
cea4786a00 [EGD-3314] Develop EventTime, SeveralOptions and CheckBox items 2020-08-14 00:09:43 +02:00
KacperLewandowski
7c1c7395e3 [EGD-3314] Develop new/edit event and custom repeat windows 2020-08-14 00:09:43 +02:00
Tomas Rogala
1e603d820d [EGD-3470] Review changes 2020-08-13 23:22:40 +02:00
Tomas Rogala
78904a6b5d [EGD-3307] Review changes 2020-08-13 21:07:42 +02:00
Tomas Rogala
1e70bd11e0 [EGD-33307] Add unit test, functionality fix 2020-08-13 21:07:42 +02:00