Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix failing tests | Robert Tari | 2021-07-21 | 1 | -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 Focal | Robert Tari | 2021-07-15 | 1 | -1/+6 |
| | |||||
* | src/settings-live.cpp: initialise m_settings_cal_notification and ↵ | Robert Tari | 2021-07-15 | 1 | -0/+5 |
| | | | | m_settings_general_notification to NULL if we are not on Lomiri | ||||
* | Alarm snoozes after timeout (#29) | farkasdvd | 2021-07-09 | 1 | -1/+1 |
| | | | | Changes the default behavior for an alarm timeout from "no action" to "snooze". | ||||
* | Snooze starts from the current minute (#30) | farkasdvd | 2021-07-09 | 1 | -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 Dawes | 2021-07-09 | 1 | -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 Dawes | 2021-07-09 | 1 | -1/+1 |
| | |||||
* | Remove the hard-coding of -g compiler flag. | Rodney Dawes | 2021-07-09 | 1 | -3/+3 |
| | |||||
* | Use cmake-extras for coverage support and always enable testing. | Rodney Dawes | 2021-07-09 | 1 | -3/+3 |
| | |||||
* | Update app name usage to match snaps. | Rodney Dawes | 2021-07-09 | 2 | -2/+2 |
| | |||||
* | UpcomingPlanner: don't get events from the day before of the selected one | Marco Trevisan (Treviño) | 2021-07-09 | 1 | -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 Kerr | 2021-07-09 | 1 | -8/+3 |
| | |||||
* | In main.cpp and tests where Snap is instantiated, provide the system_bus to ↵ | Charles Kerr | 2021-07-08 | 2 | -13/+17 |
| | | | | Snap's constructor | ||||
* | in Snap, add a constructor arg for the system bus because we need it when ↵ | Charles Kerr | 2021-07-08 | 1 | -13/+23 |
| | | | | instantiating Awake objects | ||||
* | in Awake, remove an unnecessary async call by passing the system bus into ↵ | Charles Kerr | 2021-07-08 | 1 | -46/+20 |
| | | | | the constructor instead of fetching it asynchronously | ||||
* | Use an explicit registry object so that it gets free'd when the function exits | Ted Gould | 2021-07-08 | 1 | -1/+3 |
| | |||||
* | Remove call to keepDisplayOn since that now is handled by Unity during ↵ | Arthur Mello | 2021-07-08 | 1 | -107/+0 |
| | | | | Notifications | ||||
* | Should not use sounds notifications for calendar in silent mode | Arthur Mello | 2021-07-08 | 1 | -1/+1 |
| | |||||
* | If in silent mode should only vibrate if the settings say so | Arthur Mello | 2021-07-08 | 2 | -9/+49 |
| | |||||
* | Only wake device if bubbles notifications are enabled | Arthur Mello | 2021-07-08 | 1 | -1/+4 |
| | |||||
* | Do not fail gracefully if gsettings schema is not installed | Arthur Mello | 2021-07-08 | 1 | -38/+7 |
| | |||||
* | Fix notifications so it respects if it should or not show bubbles or add to ↵ | Arthur Mello | 2021-07-08 | 2 | -4/+27 |
| | | | | notification list | ||||
* | Undo revisions 456/457 | Arthur Mello | 2021-07-08 | 1 | -5/+5 |
| | |||||
* | Fix settings test check so we do not fail if GSettings schema is missing | Arthur Mello | 2021-07-08 | 1 | -5/+5 |
| | |||||
* | Fix typo | Arthur Mello | 2021-07-08 | 1 | -3/+3 |
| | |||||
* | Do not fail tests if schema is not installed | Arthur Mello | 2021-07-08 | 1 | -3/+9 |
| | |||||
* | Make sure that calendar settings do not affect alarm notifications | Arthur Mello | 2021-07-08 | 1 | -3/+3 |
| | |||||
* | Set calendar notification settings to true in case GSettings schema is not ↵ | Arthur Mello | 2021-07-08 | 1 | -5/+25 |
| | | | | available Make sure calendar notification settings are correct during tests | ||||
* | Update indicator-datetime to work with the new notification settings | Arthur Mello | 2021-07-07 | 2 | -61/+99 |
| | |||||
* | re-enable the calendar component in phone mode too | Lukáš Tinkl | 2021-07-07 | 1 | -2/+2 |
| | |||||
* | add a new Snap::Response enum for more flexible handling of snap decisions | Charles Kerr | 2021-07-07 | 2 | -23/+37 |
| | |||||
* | Detect desktop to launch applications. | Renato Araujo Oliveira Filho | 2021-07-07 | 4 | -127/+67 |
| | |||||
* | Small fixes requeted by charles during the review. | Renato Araujo Oliveira Filho | 2021-07-07 | 3 | -24/+18 |
| | |||||
* | Only creates messaging menu if calendar app is instaled. Update tests. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -5/+17 |
| | |||||
* | Use calendar app icon. | Renato Araujo Oliveira Filho | 2021-07-06 | 2 | -8/+44 |
| | |||||
* | Update notifications to use the new calendar icon. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | Make use of G_USEC_PER_SEC. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | Fixed as reviewer requested. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -4/+5 |
| | |||||
* | Vibrate only once when notification about calendar events. | Renato Araujo Oliveira Filho | 2021-07-06 | 2 | -8/+14 |
| | |||||
* | Fix memory leak on messaging_menu. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -27/+41 |
| | |||||
* | Only play sounds for alarms. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -1/+3 |
| | |||||
* | Fixed crash when clicking on messaging menu. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -4/+4 |
| | |||||
* | Post message on messaging menu if the notification get timeout. | Renato Araujo Oliveira Filho | 2021-07-06 | 3 | -8/+136 |
| | |||||
* | revert last change. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -4/+1 |
| | |||||
* | Play event sound even if the event has only text reminders. | Renato Araujo Oliveira Filho | 2021-07-06 | 1 | -1/+4 |
| | |||||
* | in LiveTimezones, pass the primary timezone to it on construction. We used ↵ | Charles Kerr | 2021-07-06 | 1 | -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 Kerr | 2021-07-06 | 2 | -46/+39 |
| | | | | simplify state management | ||||
* | in actions-live, don't hardcode the bus strings | Charles Kerr | 2021-07-06 | 1 | -4/+5 |
| | |||||
* | in timezone-timedated, check for error!=nullptr before passing it to ↵ | Charles Kerr | 2021-07-06 | 1 | -2/+2 |
| | | | | g_error_matches() | ||||
* | pull the timezone from timedate1 regardless of whether it appears on the bus ↵ | Charles Kerr | 2021-07-05 | 1 | -114/+135 |
| | | | | before or after we startup |