-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Error handling #73
base: master
Are you sure you want to change the base?
Error handling #73
Commits on Apr 3, 2023
-
Add Todo and Journal Property Methods
- Add methods for VTodo and VJournal - Changed the shared properties to be attached to the ComponentBase so those methods don't need to be repeated across all attributes that share them - If a property is shared across some, but not all components, then it's a private method on the ComponentBase and public method on the Components (eg LOCATION for Event and Todo but not Journal) - Shifted position of some Event methods in the file to live after the VEvent struct
Configuration menu - View commit details
-
Copy full SHA for 08adbda - Browse repository at this point
Copy the full SHA 08adbdaView commit details -
Add Alarm, Timezone, and FreeBusy Property Methods
- Add methods for Alarm, Timezone, and FreeBusy - Only methods for creating and adding right now, will add methods for the properties unique to them later
Configuration menu - View commit details
-
Copy full SHA for 14095cc - Browse repository at this point
Copy the full SHA 14095ccView commit details
Commits on Apr 6, 2023
-
- Recursive call for Alarms - SetGeo was not a public method - Missing comma in struct creation
Configuration menu - View commit details
-
Copy full SHA for 67727dd - Browse repository at this point
Copy the full SHA 67727ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for b51e64d - Browse repository at this point
Copy the full SHA b51e64dView commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6d4f14f - Browse repository at this point
Copy the full SHA 6d4f14fView commit details
Commits on Apr 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a5a215d - Browse repository at this point
Copy the full SHA a5a215dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2d6a1 - Browse repository at this point
Copy the full SHA 4b2d6a1View commit details
Commits on Jul 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 23c4714 - Browse repository at this point
Copy the full SHA 23c4714View commit details -
Configuration menu - View commit details
-
Copy full SHA for b69874f - Browse repository at this point
Copy the full SHA b69874fView commit details
Commits on Sep 6, 2023
-
Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0
Bumps gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0. --- updated-dependencies: - dependency-name: gopkg.in/yaml.v3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d97e96 - Browse repository at this point
Copy the full SHA 7d97e96View commit details -
Merge pull request arran4#76 from arran4/dependabot/go_modules/gopkg.…
…in/yaml.v3-3.0.0 Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0
Configuration menu - View commit details
-
Copy full SHA for ce8cff1 - Browse repository at this point
Copy the full SHA ce8cff1View commit details
Commits on Nov 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0abebc2 - Browse repository at this point
Copy the full SHA 0abebc2View commit details
Commits on Nov 11, 2023
-
Merge pull request arran4#80 from coachclientconnect/add-get-timestamp
Add VEvent.GetDtStampTime
Configuration menu - View commit details
-
Copy full SHA for acf49e9 - Browse repository at this point
Copy the full SHA acf49e9View commit details
Commits on Nov 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a0f11e3 - Browse repository at this point
Copy the full SHA a0f11e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f69c8 - Browse repository at this point
Copy the full SHA 70f69c8View commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1dfe73f - Browse repository at this point
Copy the full SHA 1dfe73fView commit details -
Merge pull request arran4#81 from zachmann/master
add possibility to remove VEvent from calendar by id
Configuration menu - View commit details
-
Copy full SHA for 7678c37 - Browse repository at this point
Copy the full SHA 7678c37View commit details
Commits on Dec 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e69ce9c - Browse repository at this point
Copy the full SHA e69ce9cView commit details
Commits on Dec 7, 2023
-
Merge pull request arran4#82 from quite/add-component-priority
Add ComponentPropertyPriority; the VTODO component can have that
Configuration menu - View commit details
-
Copy full SHA for aef0a29 - Browse repository at this point
Copy the full SHA aef0a29View commit details
Commits on Dec 18, 2023
-
Adding some helpers for parsing another timestamp field. I originally considered exposing `getTimeProp` as `ParseTimeProp`, but the ergonomics are weird enough (is the prop nil? should it be all-day-able?) that I decided against it.
Configuration menu - View commit details
-
Copy full SHA for 8525f6b - Browse repository at this point
Copy the full SHA 8525f6bView commit details
Commits on Dec 20, 2023
-
Merge pull request arran4#83 from bcspragu/last-modified
Add {Get,Set}LastModifiedAt helpers
Configuration menu - View commit details
-
Copy full SHA for 1a61754 - Browse repository at this point
Copy the full SHA 1a61754View commit details
Commits on Jan 8, 2024
-
Merge remote-tracking branch 'origin/pull-66-add-todo-journal-orphan'…
… into pull-66-add-todo-journal * origin/pull-66-add-todo-journal-orphan: Add changes for All Day Events to All Day Todos Add Comment and Category Properties to Components Fix Typos in a couple places Add Alarm, Timezone, and FreeBusy Property Methods Add Todo and Journal Property Methods # Conflicts: # calendar.go # components.go
Configuration menu - View commit details
-
Copy full SHA for a55aac2 - Browse repository at this point
Copy the full SHA a55aac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f3bef9 - Browse repository at this point
Copy the full SHA 5f3bef9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55df13e - Browse repository at this point
Copy the full SHA 55df13eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e30bdf - Browse repository at this point
Copy the full SHA 9e30bdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e96c15 - Browse repository at this point
Copy the full SHA 1e96c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf8d1b3 - Browse repository at this point
Copy the full SHA cf8d1b3View commit details -
Merge pull request arran4#84 from arran4/pull-66-add-todo-journal
Pull 66 add todo journal
Configuration menu - View commit details
-
Copy full SHA for 804f4d3 - Browse repository at this point
Copy the full SHA 804f4d3View commit details
Commits on Jan 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 681cc6e - Browse repository at this point
Copy the full SHA 681cc6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3631125 - Browse repository at this point
Copy the full SHA 3631125View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f0586 - Browse repository at this point
Copy the full SHA a8f0586View commit details
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 46e2a5c - Browse repository at this point
Copy the full SHA 46e2a5cView commit details -
Merge pull request arran4#85 from brackendawson/panic
Fix several panics in ParseCalendar
Configuration menu - View commit details
-
Copy full SHA for 51fa6f1 - Browse repository at this point
Copy the full SHA 51fa6f1View commit details
Commits on Feb 9, 2024
-
fix: only escape property values when serializing.
This commit normalizes the meaning of "property.Value". It always contains an unserialized property value. Previously, property params were deserialized when parsing but not serialized again.
Configuration menu - View commit details
-
Copy full SHA for 3ffa099 - Browse repository at this point
Copy the full SHA 3ffa099View commit details -
fix: reorder string replaces in escaping values.
Previously, ";" was incorrectly escaped. First, ";" was replaced by "\;". Then, the backslash was escpaed to "\\", resulting in "\\;". Now, we first escape all backslashes and then escape other characters.
Configuration menu - View commit details
-
Copy full SHA for 0f8a325 - Browse repository at this point
Copy the full SHA 0f8a325View commit details
Commits on Feb 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 647cf9e - Browse repository at this point
Copy the full SHA 647cf9eView commit details -
Merge pull request arran4#86 from JM-Lemmi/fix/text_escaping
Fix various text escaping issues
Configuration menu - View commit details
-
Copy full SHA for 542d6e5 - Browse repository at this point
Copy the full SHA 542d6e5View commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7bd8708 - Browse repository at this point
Copy the full SHA 7bd8708View commit details -
Revert "fix: only escape property values when serializing."
This reverts commit 3ffa099.
Configuration menu - View commit details
-
Copy full SHA for bb39d64 - Browse repository at this point
Copy the full SHA bb39d64View commit details -
Merge pull request arran4#87 from JM-Lemmi/fix/text_escaping
Revert incorrect text escaping patch.
Configuration menu - View commit details
-
Copy full SHA for 0fcebed - Browse repository at this point
Copy the full SHA 0fcebedView commit details
Commits on Feb 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f5b4408 - Browse repository at this point
Copy the full SHA f5b4408View commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 93ca35f - Browse repository at this point
Copy the full SHA 93ca35fView commit details -
Merge pull request arran4#88 from meain/org-mailto
Prefix mailto: for email in organizer property
Configuration menu - View commit details
-
Copy full SHA for 84a339a - Browse repository at this point
Copy the full SHA 84a339aView commit details
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 02c6335 - Browse repository at this point
Copy the full SHA 02c6335View commit details -
Merge pull request arran4#90 from zachmann/master
Re-add Calendar.RemoveEvent method
Configuration menu - View commit details
-
Copy full SHA for 9fab3f0 - Browse repository at this point
Copy the full SHA 9fab3f0View commit details
Commits on May 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1e5b6e4 - Browse repository at this point
Copy the full SHA 1e5b6e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27bb2dd - Browse repository at this point
Copy the full SHA 27bb2ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 909bd3b - Browse repository at this point
Copy the full SHA 909bd3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e4aba3 - Browse repository at this point
Copy the full SHA 3e4aba3View commit details -
Merge pull request arran4#92 from brenank/brenank/update-golang
Update Golang & GHAs
Configuration menu - View commit details
-
Copy full SHA for f044c04 - Browse repository at this point
Copy the full SHA f044c04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 008589d - Browse repository at this point
Copy the full SHA 008589dView commit details -
Configuration menu - View commit details
-
Copy full SHA for baa1c1d - Browse repository at this point
Copy the full SHA baa1c1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea37e62 - Browse repository at this point
Copy the full SHA ea37e62View commit details -
breaking: unescape Property.Value of type TEXT
This is a breaking change. Property.Value of value-type: TEXT is now unescaped in the deserialized model. Previously, this was escaped.
Configuration menu - View commit details
-
Copy full SHA for 8d1cec9 - Browse repository at this point
Copy the full SHA 8d1cec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b453c - Browse repository at this point
Copy the full SHA 68b453cView commit details
Commits on May 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b866620 - Browse repository at this point
Copy the full SHA b866620View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f726f2 - Browse repository at this point
Copy the full SHA 2f726f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a99514 - Browse repository at this point
Copy the full SHA 9a99514View commit details -
fix: reduce build restriction on serialization test
certain os methods were introduced in go1.16
Configuration menu - View commit details
-
Copy full SHA for 20061ba - Browse repository at this point
Copy the full SHA 20061baView commit details -
Merge pull request arran4#91 from brenank/master
Unescape Value-Type: TEXT in Golang Model
Configuration menu - View commit details
-
Copy full SHA for 6591742 - Browse repository at this point
Copy the full SHA 6591742View commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c331f7a - Browse repository at this point
Copy the full SHA c331f7aView commit details -
Merge pull request arran4#94 from quite/add-component-relatedto
Add ComponentPropertyRelatedTo; the VTODO component can have that
Configuration menu - View commit details
-
Copy full SHA for ea4ce01 - Browse repository at this point
Copy the full SHA ea4ce01View commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f76e1f3 - Browse repository at this point
Copy the full SHA f76e1f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e616cd6 - Browse repository at this point
Copy the full SHA e616cd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2520cb0 - Browse repository at this point
Copy the full SHA 2520cb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c3688b - Browse repository at this point
Copy the full SHA 4c3688bView commit details
Commits on Oct 4, 2024
-
Some suggestions, this could be improved still. (#1)
* Add leaks and vunerability checks * Requires secrets now * Renamed interface as it's useful own it's own. Made it public. Added a comment * Some suggestions, this could be improved still. * Version bump required by this change. * 19 too fails. * Should be able to distinguish unset from invalid time properties * Improve error for property not found Co-authored-by: Arran Ubels <[email protected]> * Remove deprecated ioutil * Move targeted Go version to 1.20 And test the target forever * Add method to remove property Fixes arran4#95 * Merged * New tool * Test fixed. * Fixed test failure. (Error wrapping needed to be considered in EOF checks.) * %s => %w fixes and an additional error. --------- Co-authored-by: Bracken Dawson <[email protected]> Co-authored-by: Daniel Lublin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d9da2e - Browse repository at this point
Copy the full SHA 1d9da2eView commit details
Commits on Oct 21, 2024
-
Error handling conflicts again (#2)
* Add leaks and vunerability checks * Requires secrets now * Renamed interface as it's useful own it's own. Made it public. Added a comment * fix: omit zone in "AllDay" event helpers For a date-only event (i.e., an event that lasts for the full day) the iCalendar specification indicates that the value for DTSTART / DTEND should be a DATE https://icalendar.org/iCalendar-RFC-5545/3-6-1-event-component.html > The "VEVENT" is also the calendar component used to specify an > anniversary or daily reminder within a calendar. These events have a > DATE value type for the "DTSTART" property instead of the default value > type of DATE-TIME. If such a "VEVENT" has a "DTEND" property, it MUST be > specified as a DATE value also The DATE format (https://icalendar.org/iCalendar-RFC-5545/3-3-4-date.html) should omit both time and zone/location elements and additionally notes that "The "TZID" property parameter MUST NOT be applied to DATE properties" As per the specification, this PR also adds an explicit "VALUE=DATE" parameter when the AllDay helpers were called, to indicate that the property's default value type has been overridden and the VEVENT is intended to be an all-day event https://icalendar.org/iCalendar-RFC-5545/3-2-20-value-data-types.html Finally the SetDuration call has been updated to preserve the "AllDay" characteristics if the existing start or end has been specified in DATE format, which is also a requirement of the spec. Contributes-to: arran4#55 * calendar parsing url support * usage example, README * added functionnal option pattern for url parsing * Should be able to distinguish unset from invalid time properties * Improve error for property not found Co-authored-by: Arran Ubels <[email protected]> * Remove deprecated ioutil * Move targeted Go version to 1.20 And test the target forever * Add method to remove property Fixes arran4#95 * Merged * New tool * Reintegration of arran4#67 * Resynced and moved some functions around arran4#78 * Test fixed. * Create bug.md * Create other.md * Create default.md * Rename default.md to pull_request_template.md * Minor update * refactor: remove unnecessary named return values, harmonizing code base * refactor: rename var to reflect what it is These functions take optional variadic PropertyParam arguments, in ical speak they are not properties, but parameters for a property. * refactor: use ReplaceAll * refactor: prefer switch for readability * refactor: use consistent receiver names * refactor: rename unused arg as '_' * Tests added. * Some larger upgrades. * Fix * Some multiple-ness. * Duplication issue fixed. * Merged * Merge remote-tracking branch 'origin/master' into issue97 * origin/master: Duplication issue fixed. Some multiple-ness. Test fixed. Resynced and moved some functions around arran4#78 added functionnal option pattern for url parsing usage example, README calendar parsing url support # Conflicts: # calendar.go # calendar_test.go # components.go --------- Co-authored-by: Dominic Evans <[email protected]> Co-authored-by: tradulescu <[email protected]> Co-authored-by: Bracken Dawson <[email protected]> Co-authored-by: Daniel Lublin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a306dd - Browse repository at this point
Copy the full SHA 3a306ddView commit details