aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Undo revisions 456/457Arthur Mello2021-07-081-5/+5
|
* Fix settings test check so we do not fail if GSettings schema is missingArthur Mello2021-07-081-5/+5
|
* Fix typoArthur Mello2021-07-081-3/+3
|
* Do not fail tests if schema is not installedArthur Mello2021-07-081-3/+9
|
* Make sure that calendar settings do not affect alarm notificationsArthur Mello2021-07-081-3/+3
|
* Set calendar notification settings to true in case GSettings schema is not ↵Arthur Mello2021-07-081-5/+25
| | | | available Make sure calendar notification settings are correct during tests
* Update indicator-datetime to work with the new notification settingsArthur Mello2021-07-072-61/+99
|
* re-enable the calendar component in phone mode tooLukáš Tinkl2021-07-071-2/+2
|
* add a new Snap::Response enum for more flexible handling of snap decisionsCharles Kerr2021-07-072-23/+37
|
* Detect desktop to launch applications.Renato Araujo Oliveira Filho2021-07-074-127/+67
|
* Small fixes requeted by charles during the review.Renato Araujo Oliveira Filho2021-07-073-24/+18
|
* Only creates messaging menu if calendar app is instaled. Update tests.Renato Araujo Oliveira Filho2021-07-061-5/+17
|
* Use calendar app icon.Renato Araujo Oliveira Filho2021-07-062-8/+44
|
* Update notifications to use the new calendar icon.Renato Araujo Oliveira Filho2021-07-061-1/+1
|
* Make use of G_USEC_PER_SEC.Renato Araujo Oliveira Filho2021-07-061-1/+1
|
* Fixed as reviewer requested.Renato Araujo Oliveira Filho2021-07-061-4/+5
|
* Vibrate only once when notification about calendar events.Renato Araujo Oliveira Filho2021-07-062-8/+14
|
* Fix memory leak on messaging_menu.Renato Araujo Oliveira Filho2021-07-061-27/+41
|
* Only play sounds for alarms.Renato Araujo Oliveira Filho2021-07-061-1/+3
|
* Fixed crash when clicking on messaging menu.Renato Araujo Oliveira Filho2021-07-061-4/+4
|
* Post message on messaging menu if the notification get timeout.Renato Araujo Oliveira Filho2021-07-063-8/+136
|
* revert last change.Renato Araujo Oliveira Filho2021-07-061-4/+1
|
* Play event sound even if the event has only text reminders.Renato Araujo Oliveira Filho2021-07-061-1/+4
|
* in LiveTimezones, pass the primary timezone to it on construction. We used ↵Charles Kerr2021-07-061-4/+7
| | | | to create it implicitly but can't do that anymore now that TimedatedTimezone takes its own ctor argument.
* in TimedatedTimezone, take a GDBusConnection argument in the ctor to ↵Charles Kerr2021-07-062-46/+39
| | | | simplify state management
* in actions-live, don't hardcode the bus stringsCharles Kerr2021-07-061-4/+5
|
* in timezone-timedated, check for error!=nullptr before passing it to ↵Charles Kerr2021-07-061-2/+2
| | | | g_error_matches()
* pull the timezone from timedate1 regardless of whether it appears on the bus ↵Charles Kerr2021-07-051-114/+135
| | | | before or after we startup