Commit Graph

58 Commits

Author SHA1 Message Date
Marcin Zieliński
25b1b48131 [MOS-486] Calendar fix research
Refactor a variable name.
2022-05-25 16:14:40 +02:00
Marcin Zieliński
ccf977ca82 [MOS-486] Calendar fix research
By simplifying the logic, apparently the calendar got fixed.
2022-05-25 16:14:40 +02:00
Przemyslaw Brudny
e3a057e15c [EGD-7310] Alarm GUI and features update
Updated AlarmOptionsItem to use UTF8Spinner.
Created specialized widgets to cover options
sets. Updated GenericSpinner to handle Pure
navigation and content swap. Updated Alarm
RRule code to work with Custom Days selection
and new widgets. Added Tests. General GUI
stylistic fixes. Increased app Alarm Clock
and service Time stack sizes.
2021-09-21 14:11:21 +03:00
Paweł Joński
45a7216cec [EGD-7217] Separate commonly used headers from application-calendar
Move dateCommon.hpp to module-utils/time
2021-08-10 11:49:14 +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
978b1d507b [EGD-6918] Timestamp clean up
Removal of not needed methods
Addition of unit tests
Fixes according to newst design guidelines
Added new seprate interface cmake lib for time constants
2021-06-16 15:41:23 +02:00
Mateusz Grzegorzek
798a2fb45a [BH-361] Move date to separate directory
Move date to separate directory
2021-05-25 10:21:46 +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
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
Przemyslaw Brudny
fa42d45fb1 [EGD-6555] ListView constants move
ListView constants moved from style to ListView.hpp.
2021-04-19 10:53:06 +02:00
Przemyslaw Brudny
46e0cd3d89 [EGD-6552] Options cleanups and fixes
Fixed options crashes and cleared its structure. All
options returns points to proper list indexes.
2021-04-16 16:49:16 +02: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
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
Przemyslaw Brudny
312d4a07a6 [EGD-3756] Created generic ListItemWithCallbacks
Added generic template for ListItemWithCallbacks.
Replaced onDimensionsChange with callbacks.
2021-02-15 14:17:04 +01:00
KacperLewandowski
9ff089462e [EGD-5073] Add UI modifications in Calendar after review
Changes mainly concern margins, positions, sizes etc of items in:
- Custom repeat window,
- New/Edit event window,
- No events window.
2021-01-28 12:09:00 +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
4b06b003bc [EGD-3842] Modify events records tests and add providers fields to DB (#1138) 2020-12-10 15:22:19 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +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
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
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
marek303
ae355210a8 [EGD-3315]Review changes (minor) 2020-10-15 20:58:45 +02:00
marek303
f1e68d2204 [EGD-3315] Main functionality: DB queries, timers processing, base classes for future use 2020-10-15 20:58:45 +02:00
Tomas Rogala
df87b94b49 [EGD-3469] Rework DB 2020-10-15 20:58:45 +02:00
Przemyslaw Brudny
0eb1fd03e5 [EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method. 2020-10-13 12:23:34 +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
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
4942167c0a [EGD-3713] Rework repeat option data flow
-Implement onIsChecked callbacks
-Add Custom repeat functionality
-Prevent from repeated events duplicates
2020-09-23 21:43:26 +02:00
Tomas Rogala
65b4e9ad0f [EGD-3469] PR changes 2020-09-17 13:10:19 +02:00
Bartek Cichocki
91e29f1cac [EGD-3486] Implementation of SMS handling in service-desktop
added message removal method

added message marking as read/unread

added message thread to_json() method, fixed unit test

added template processing except search

added SMS gathering by contactID

added getByText sms query

added template search query
2020-08-15 11:34:18 +02:00
KacperLewandowski
767c1f2286 [EGD-3314] PR changes 2020-08-14 00:09:43 +02:00
KacperLewandowski
f492710e76 [EGD-3314] Develop EventTime and CheckBox items, refactor remaining items 2020-08-14 00:09:43 +02:00
KacperLewandowski
204817a317 [EGD-3314] Develop checkBox widget 2020-08-14 00:09:43 +02:00
KacperLewandowski
4e6e7438a9 [EGD-3314] GUI items refactor 2020-08-14 00:09:43 +02:00
KacperLewandowski
3807c9aa0f [EGD-3314] Rebuild windows to use InternalModel with ListView 2020-08-14 00:09:43 +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
1a15dcd7d7 [EGD-3470] Date conversion to string and rework month view model 2020-08-13 23:22:40 +02:00
Tomas Rogala
fe54b83450 [EGD-3470] rework month model class, add date.h lib, Develop calendar month view model 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
Przemyslaw Brudny
fa3968a3ee [EGD-3451] PR Changes. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
19e1ca696c [EGD-3451] RequestRecordsCount refactor in whole project. 2020-08-07 12:26:44 +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