Commit Graph
61 Commits
Author SHA1 Message Date
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
KacperLewandowskiandTomas Rogala 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
Tomas Rogala 97fdb2cdcd [EGD-3307] Calendar DB interface update
Implement adding record to db
Implement Removing elements from DB functionality
Implement Update element in DB functionality
Implement Get elements by date time period
Add time zone field
2020-08-13 21:07:42 +02:00
KacperLewandowski 42c58ab800 [EGD-3311] Develop event details window
Rebuild to use internal model with ListView.
Create separate event detail model and items.
2020-08-07 09:48:31 +02:00
KacperLewandowski 68969d1a05 [EGD-3311] Create event details window 2020-08-07 09:48:31 +02:00
KacperLewandowski 9758c99fb7 [EGD-3309] PR changes 2020-08-03 19:58:08 +02:00
KacperLewandowski da94a04edf [EGD-3309] Create calendar all events list window and models
Add all events list window.
Create calendar list view based on phonebook list view.
Create customized calendar all events model for list item provider.
Create customized calendar all events item for list view.
2020-08-03 19:58:08 +02:00
KacperLewandowski 91c20950af [EGD-3313] Develop calendar events options and event delete windows 2020-07-24 16:57:02 +02:00
Przemyslaw Brudny b22595dde1 [EGD-3310] DayModel changed to DayEventsModel. 2020-07-22 13:47:22 +02:00
Tomas Rogala 7128bbd318 [EGD-3310] PR changes. 2020-07-22 13:47:22 +02:00
Tomas Rogala 7c995ef80f [EGD-3310] Developed day event window and empty window 2020-07-22 13:47:22 +02:00
Tomas Rogala 9e26444368 [EGD-3305] PR changes. 2020-07-21 15:00:57 +02:00
Tomas Rogala 64f7220b52 [EGD-3305] Developed main window with navigation and change month functionality 2020-07-21 15:00:57 +02:00