-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to set location, add reminder, and set android calendar to sync. #9
Merged
TheAlmightyBob
merged 17 commits into
TheAlmightyBob:master
from
jamesmontemagno:master
Feb 15, 2016
Merged
Changes from 5 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e74e5c5
Add location & Ensure Android Syncs Calendar when created
jamesmontemagno ea3730e
Remove lock.json
jamesmontemagno 5813008
update ignore with lock.json file
jamesmontemagno a6876ab
remove other lock.json
jamesmontemagno 5ed2e6c
Integrate reminders
jamesmontemagno 79b5071
Update ICalendars.cs
jamesmontemagno 1cd9e1c
Update CalendarsImplementation.cs
jamesmontemagno cc9eb0a
Update CalendarsImplementation.cs
jamesmontemagno 8fc794c
Update CalendarsImplementation.cs
jamesmontemagno 2e27db1
Change to timespan for reminder length
jamesmontemagno 001b5db
Fix for iCloud integration
jamesmontemagno 2a9ca1d
Merge branch 'master' of https://github.com/jamesmontemagno/Calendars
jamesmontemagno 843e985
Use default source first, then try iCloud, then try local
jamesmontemagno 3176cec
Fix exception when not setting a color on iOS calendar
jamesmontemagno a199444
Cleaned up default time before
jamesmontemagno 3792861
Fix up how we query the default source
jamesmontemagno 2b9d311
Hopefully final implementation of inserting a calendar
jamesmontemagno File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,8 @@ build/ | |
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
*.lock.json | ||
|
||
*_i.c | ||
*_p.c | ||
*.ilk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
Calendars/Calendars.Plugin.Abstractions/CalendarEventReminder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Calendars.Plugin.Abstractions | ||
{ | ||
/// <summary> | ||
/// Calendar reminder that happens before the event such as an alert | ||
/// </summary> | ||
public class CalendarEventReminder | ||
{ | ||
|
||
/// <summary> | ||
/// How many minutes before the event the reminder happens | ||
/// </summary> | ||
public uint MinutesBefore { get; set; } = 0; | ||
/// <summary> | ||
/// Type of reminder to display | ||
/// </summary> | ||
public CalendarReminderMethod Method { get; set; } = CalendarReminderMethod.Default; | ||
|
||
} | ||
|
||
/// <summary> | ||
/// Types of methods of the reminder | ||
/// </summary> | ||
public enum CalendarReminderMethod | ||
{ | ||
/// <summary> | ||
/// Use system default | ||
/// </summary> | ||
Default, | ||
/// <summary> | ||
/// Pop up alert | ||
/// </summary> | ||
Alert, | ||
/// <summary> | ||
/// Send an email | ||
/// </summary> | ||
Email, | ||
/// <summary> | ||
/// Send an sms | ||
/// </summary> | ||
Sms | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typos... "If calendar event is not create or note valid"...
Also "Event to add" (probably should be something like "Event to add the reminder to")