aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove osd-notify remnants and use native notification timeoutRobert Tari2023-09-091-7/+2
|
* engine-eds: fix retrieving custom alarm sound pathRatchanan Srirattanamet2023-06-071-7/+6
| | | | | | | | | | ECal 2.0 returns the list of attachments as a GSList (a singly linked list). I'm not sure why, but the logic for iterating the list is completely incorrect. Fixing that fixes custom alarm sound. A test is added to catch this case. Bug-UBports: https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/issues/183
* src/haptic.cpp: Fix data type sent to hfd-serviceRobert Tari2022-11-131-10/+4
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/96
* src/menu.cpp: Add tooltip.Mike Gabriel2022-07-221-0/+1
|
* Drop pkglibexecdir and use native CMake file configurationRobert Tari2022-02-161-1/+1
|
* Fix build warningsRobert Tari2022-02-161-3/+1
|
* Clean up compilation flagsRobert Tari2022-02-111-8/+0
|
* Fix cppcheck errors/warningsRobert Tari2022-02-0810-33/+57
|
* src/menu.cpp: Remove redundant code block:Robert Tari2022-02-081-4/+0
| | | | Since a_after_today and b_after_today are the same, comparing them is pointless.
* Make Lomiri features configurable at build timeRobert Tari2021-12-034-9/+11
|
* Check for lomiri-schemas package instead of individual filesRobert Tari2021-11-253-6/+6
|
* Remove C(++) std version constraintRobert Tari2021-11-251-3/+3
|
* Re-enable haptic using hfd-serviceRobert Tari2021-11-182-44/+20
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/67
* Rename Lomiri-specific properties to x-lomiriRobert Tari2021-11-092-3/+3
|
* Rename HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to HAS_LOMIRI_ACCTSERVICE_SOUNDRobert Tari2021-11-013-6/+6
|
* Drop local file and generate code from ↵Robert Tari2021-11-012-48/+1
| | | | /usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml
* Rename com.ubuntu.touch.AccountsService.Sound to ↵Robert Tari2021-11-011-2/+2
| | | | com.lomiri.touch.AccountsService.Sound
* Remove com.canonical.usensord and disable hapticRobert Tari2021-10-281-2/+5
|
* Remove the activation_url from the Appointment classRobert Tari2021-10-282-21/+2
|
* Drop the 'ubuntu' prefix from the alarm types and functionsRobert Tari2021-10-285-26/+34
|
* Renaname x-canonical properties to x-ayatanaRobert Tari2021-10-262-3/+3
|
* Link to lomiri-url-dispatcher where neededRobert Tari2021-09-091-1/+1
|
* src/snap.cpp: Create Sound object via SoundBuilderRobert Tari2021-09-011-1/+1
|
* src/settings-live.cpp: Check for schema instead of LomiriRobert Tari2021-09-011-6/+4
|
* Fix build failure on Ubuntu 20.04Robert Tari2021-08-312-1/+2
| | | | | | | - include/notifications/sound.h: Add SoundBuilder class - src/snap.cpp: Add m_sound_builder variable - src/main.cpp: Fix uin -> ain typo - CMakeLists.txt: Add uuid dependency
* src/settings-live.cpp: White-space change, drop blanks in between parameters ↵Mike Gabriel2021-08-301-1/+1
| | | | in function call.
* src/notifications.cpp: No indentation of #ifdef-#else-#endif compiler macro.Mike Gabriel2021-08-301-3/+3
|
* Rename com.canonical.powerd -> com.lomiri.RepowerdRobert Tari2021-08-301-1/+1
|
* Fix failing testsRobert Tari2021-07-211-17/+40
| | | | | | | | | | | | | | | | | - include/actions-mock.h: Set return value to std::string and return an empty string - include/actions.h: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - include/actions-live.h: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - src/actions-live.cpp: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - tests/test-live-actions.cpp: Drop last_cmd and last_url variables + use return values of actions-live functions for testing + test phone functions on lomiri only - tests/test-live-actions.cpp: test phone functions after setting XDG_CURRENT_DESKTOP - tests/test-settings.cpp: Use SETTINGS_NOTIFY_SCHEMA_ID only if it exists - tests/run-eds-ics-test.sh: Remove return statement - tests/CMakeLists.txt: Enable the timezone unit tests - tests/CMakeLists.txt: Catch race condition while attempting to copy schemas - tests/CMakeLists.txt: Exclude blocking tests on Travis for now - tests/tests-timezones.cpp: Use MockTimezone to construct LiveTimezones + drop section expecting changes after /timezone is modified (not monitored) - tests/test-formater: Change warning to plain message otherwise it can crash the test - .build.yml: Replace libmessaging-menu-dev with ayatana-indicator-messages Git build
* src/myself.cpp: Fix libaccounts-glib.h inclusion in FocalRobert Tari2021-07-151-1/+6
|
* src/settings-live.cpp: initialise m_settings_cal_notification and ↵Robert Tari2021-07-151-0/+5
| | | | m_settings_general_notification to NULL if we are not on Lomiri
* Alarm snoozes after timeout (#29)farkasdvd2021-07-091-1/+1
| | | | Changes the default behavior for an alarm timeout from "no action" to "snooze".
* Snooze starts from the current minute (#30)farkasdvd2021-07-091-1/+3
| | | | SnoozePlanner just added the snooze duration to the start of the alarm. If the Snooze button was pressed 10 minutes after the alarm started and the snooze duration is 5 minutes then the alarm is planned into the past. This PR adds every whole minute passed between the start of the alarm and the Snooze action.
* Replace ual with url-dispatcher.Rodney Dawes2021-07-091-12/+12
| | | | | | | We don't really hneed ubuntu-app-launch here directly, as the API provided by url-dispatcher gives us a way to query what app handles the calendar URL, as the indicator is a trusted process. This removes the extra dependency and simplifies building slightly.
* Fix clock app URL.Rodney Dawes2021-07-091-1/+1
|
* Remove the hard-coding of -g compiler flag.Rodney Dawes2021-07-091-3/+3
|
* Use cmake-extras for coverage support and always enable testing.Rodney Dawes2021-07-091-3/+3
|
* Update app name usage to match snaps.Rodney Dawes2021-07-092-2/+2
|
* UpcomingPlanner: don't get events from the day before of the selected oneMarco Trevisan (Treviño)2021-07-091-1/+1
| | | | We only need events from the midnight of the selected date to the next month
* remove unnecessary test in Awake::Impl::~Impl()Charles Kerr2021-07-091-8/+3
|
* In main.cpp and tests where Snap is instantiated, provide the system_bus to ↵Charles Kerr2021-07-082-13/+17
| | | | Snap's constructor
* in Snap, add a constructor arg for the system bus because we need it when ↵Charles Kerr2021-07-081-13/+23
| | | | instantiating Awake objects
* in Awake, remove an unnecessary async call by passing the system bus into ↵Charles Kerr2021-07-081-46/+20
| | | | the constructor instead of fetching it asynchronously
* Use an explicit registry object so that it gets free'd when the function exitsTed Gould2021-07-081-1/+3
|
* Remove call to keepDisplayOn since that now is handled by Unity during ↵Arthur Mello2021-07-081-107/+0
| | | | Notifications
* Should not use sounds notifications for calendar in silent modeArthur Mello2021-07-081-1/+1
|
* If in silent mode should only vibrate if the settings say soArthur Mello2021-07-082-9/+49
|
* Only wake device if bubbles notifications are enabledArthur Mello2021-07-081-1/+4
|
* Do not fail gracefully if gsettings schema is not installedArthur Mello2021-07-081-38/+7
|
* Fix notifications so it respects if it should or not show bubbles or add to ↵Arthur Mello2021-07-082-4/+27
| | | | notification list