Commit Graph

38 Commits

Author SHA1 Message Date
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02: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
Kuba
88a9fdedf2 [EGD-6883] Change time settings cleanup
Time related settings are handled by service time now.
utils DateAndTimeSettings replaced by static time service api.
2021-06-23 17:30:14 +02:00
Alek Rudnik
6dfeacffa4 [EGD-6697] Date and time formatting
Added system locale dependant date and time formatting.
2021-06-18 15:06:43 +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
DariuszSabala
c611e3c011 [BH-376] Utils time turned to separate library
Turned module-utils/time folder content into separate library,
cleaned up CMake libs dependencies, fixed include paths
2021-06-09 17:03:29 +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
Mateusz Grzegorzek
798a2fb45a [BH-361] Move date to separate directory
Move date to separate directory
2021-05-25 10:21:46 +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
Wiktor S. Ovalle Correa
fe72169338 [EGD-5737] Merge master into experimental
Synchronize with master before merging
2021-02-23 18:10:52 +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
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
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
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
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
bdec11273c [EGD-5317] Unittest for module-db fixed
Coding style fixed.
2021-02-04 16:45:50 +01:00
RobertPiet
e667916104 [EGD-5317] UT for module-db solved
Copyrights updated.
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
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
KacperLewandowski
ccc49c7b9c [EGD-3698] Add UT for TimeRangeParser. (#750)
Move TimeRangeParser to module-utils.
2020-11-26 14:40:07 +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
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
Marcin Smoczyński
486d21af0e [EGD-4288] refactor global data (#959)
Reduce firmware size by refactoring global data defined in public
headers.

Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
2020-11-04 18:24:39 +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
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
KacperLewandowski
ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +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
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