aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
Commit message (Collapse)AuthorAgeFilesLines
* Some fixes in UBports patches after a reviewRobert Tari2021-08-301-4/+0
| | | | | | | - debian/control: Add liblomiri-url-dispatcher-dev as optional - .build.yml: Add liblomiri-url-dispatcher-dev dependency - CMakeLists.txt: Remove duplicate enable_testing() - include/datetime/actions-live.h: Remove lomiri_open_appointment
* Rename com.canonical.powerd -> com.lomiri.RepowerdRobert Tari2021-08-301-3/+3
|
* Fix failing testsRobert Tari2021-07-212-8/+8
| | | | | | | | | | | | | | | | | - 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
* in Snap, add a constructor arg for the system bus because we need it when ↵Charles Kerr2021-07-081-1/+6
| | | | instantiating Awake objects
* If in silent mode should only vibrate if the settings say soArthur Mello2021-07-083-0/+7
|
* Update indicator-datetime to work with the new notification settingsArthur Mello2021-07-073-7/+20
|
* add a new Snap::Response enum for more flexible handling of snap decisionsCharles Kerr2021-07-071-3/+3
|
* Detect desktop to launch applications.Renato Araujo Oliveira Filho2021-07-072-19/+10
|
* in LiveTimezones, pass the primary timezone to it on construction. We used ↵Charles Kerr2021-07-061-3/+2
| | | | 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-061-1/+3
| | | | simplify state management
* update test-live-actions to last commit's TimedatedFixture changesCharles Kerr2021-07-061-8/+0
|
* pull the timezone from timedate1 regardless of whether it appears on the bus ↵Charles Kerr2021-07-052-4/+44
| | | | before or after we startup
* Include the correct header for set.Renato Araujo Oliveira Filho2021-07-051-1/+1
|
* Update code as requested by reviewer.Renato Araujo Oliveira Filho2021-07-052-6/+6
|
* Remove type property from Alarm.Renato Araujo Oliveira Filho2021-07-051-9/+2
|
* Update tests.Renato Araujo Oliveira Filho2021-07-051-4/+4
|
* Remove constructors from Alarm.Renato Araujo Oliveira Filho2021-07-051-8/+1
|
* Create a constructor for Alarm class.Renato Araujo Oliveira Filho2021-07-051-1/+8
|
* Only play a sound alert if the event contains a SOUND reminder.Renato Araujo Oliveira Filho2021-07-051-0/+6
|
* Ignore alarms for events marked as not attending.Renato Araujo Oliveira Filho2021-07-052-1/+62
|
* Drop myself.[h|cpp]Robert Tari2021-07-051-62/+0
|
* Make sure that the ocurrence time is used to build the url to launch ↵Renato Araujo Oliveira Filho2021-07-052-4/+4
| | | | external application.
* get event selection up-to-date with the spec, including showing in-progress ↵Charles Kerr2021-07-052-0/+8
| | | | events. add unit tests to cover event priority and display order.
* in LiveSettings, add gschema support for notification app blacklistingCharles Kerr2021-06-302-2/+9
|
* don't show calendar event notifications if com.ubuntu.calendar's ↵Charles Kerr2021-06-301-0/+1
| | | | notifications are blacklisted
* Various tests fixesNicholas Guriev2021-05-051-1/+2
| | | | | | | | | * Provide default EdsEngine constructor for autotests. * Temporary disable DST related tests. Something strange happens there. * Do not create locale datetime for more reliable result on non-UTC systems. * Specify audio_url for sample Alarms. Fixes AyatanaIndicators/ayatana-indicator-datetime#32
* gsettings: Drop the 'show-clock' setting. Always show the clock.Robert Tari2020-09-053-3/+0
| | | | | | | The 'show-clock' gsetting option made it possible to "hide" the time from the indicator. Fixes AyatanaIndicator/ayatana-indicator-datetime#16.
* Fix calendar going into update loopRobert Tari2020-07-261-1/+1
|
* -Made GCC 10.1.0 friendlyRobert Tari2020-07-173-1/+69
| | | | | | -Fixed to work with ECal 2.0 -Added libaccounts-glib dependency -Added mate-time-admin handler
* URL dispatcher on non-Ubuntu: Fake it as best as possible, so that the unit ↵Mike Gabriel2018-03-281-2/+0
| | | | tests are happy and succeed.
* honor gsettings for calendar eventsCharles Kerr2018-03-263-0/+3
|
* URL dispatcher support: Build phone code, even if URL dispatcher is unavailable.Mike Gabriel2018-03-263-6/+0
|
* include/datetime/snap.h: Don't guard snap.h by ↵Mike Gabriel2017-12-081-4/+0
| | | | HAS_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS macro. It is only used by tests/test-snap.cpp and that one is only compiled and executed if HAS_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS is defined.
* include/datetime/snap.h: Fix macro name ↵Mike Gabriel2017-12-081-2/+2
| | | | (HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS -> HAS_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS).
* include/datetime/settings-shared.h: Namespace fix for SETTINGS_INTERFACE macro.Mike Gabriel2017-12-081-1/+1
|
* README.md: Add some manual line breaks.Mike Gabriel2017-12-0811-14/+14
|
* include/datetime/dbus-shared.h: Fix namespace of BUS_DATETIME_*.Mike Gabriel2017-12-081-2/+2
|
* rebase C++ namespaceMike Gabriel2017-12-081-1/+1
|
* Indicator namespace adaptations.Mike Gabriel2017-12-081-1/+1
|
* Make the datetime indicator build on non-Ubuntu systems (which mostly lack ↵Mike Gabriel2017-12-084-1/+15
| | | | url-dispatcher and Ubuntu Touch sound schema files.
* Fork ayatana-indicator-datetime from Ubuntu's indicator-datetime.Mike Gabriel2017-05-1734-68/+68
|
* Avoid nested GMainLoops by reading from the file on startupIain Lane2015-09-031-1/+3
| | | | | Restore some tests for this functionality.
* Rename FileTimezone to TimedatedTimezoneIain Lane2015-09-012-11/+11
|
* Use timedated's Timezone property instead of watching /etc/timezoneIain Lane2015-08-312-2/+2
| | | | | Still need to rename everything to not use "timezone-file"
* in DateTime class, make it harder to accidentally mix local and nonlocal ↵Charles Kerr2015-04-061-1/+2
| | | | timezones by replacing DateTime::DateTime(time_t) with two methods, DateTime::Local(time_t) and DateTime(GTimeZone*, time_t)
* remove some new bits that turned out to be unneeded after allCharles Kerr2015-04-051-2/+0
|
* fix misuse of ECalComponentAlarmInstance's fields.Charles Kerr2015-04-051-1/+0
|
* add the new Alarm class as an argument to the alarm queue classCharles Kerr2015-04-034-15/+11
|
* add override keyword to Clock classCharles Kerr2015-04-032-2/+2
|
* add override keyword to WakeupTimerCharles Kerr2015-04-033-5/+5
|