Skip to content
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

Improve exceptions #59

Merged
merged 8 commits into from
Jun 10, 2024
Merged

Improve exceptions #59

merged 8 commits into from
Jun 10, 2024

Commits on May 28, 2024

  1. Handle unspecified and qualified ("16XX~")

    Unspecified dates previously could not handle qualification. Unspecified dates also couldn't handle dates with 3 unspecified digits ("1XXX"). This commit adds both those features and tests for those use cases.
    ColeDCrawford committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ef24bc7 View commit details
    Browse the repository at this point in the history
  2. Handle negative unspecified and negative unspecified + qualified

    Requires quite a few overrides of lower_ and upper_ range methods to properly handle dates due to padding working in the opposite direction for negative dates, esp when combined with month/day padding.
    ColeDCrawford committed May 28, 2024
    Configuration menu
    Copy the full SHA
    b53df4a View commit details
    Browse the repository at this point in the history
  3. Cleanup

    ColeDCrawford committed May 28, 2024
    Configuration menu
    Copy the full SHA
    c14a57b View commit details
    Browse the repository at this point in the history
  4. Add a global debug setting

    If not in debug mode, use a simpler EDTFParseException rather than returning the full pyparsing error
    ColeDCrawford committed May 28, 2024
    Configuration menu
    Copy the full SHA
    53d3a32 View commit details
    Browse the repository at this point in the history
  5. Handle empty string

    ColeDCrawford committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ab6c413 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    55b0723 View commit details
    Browse the repository at this point in the history
  2. Improve EDTFParseException handling

    Includes handling for empty or null input strings and null errs passed to the constructor
    
    Co-Authored-By: aweakley <224316+aweakley@users.noreply.github.com>
    ColeDCrawford and aweakley committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    d5ad27b View commit details
    Browse the repository at this point in the history
  3. Add the TestEvent model to Django admin

    Make the string representation of TestEvent simpler
    ColeDCrawford committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    daf0d04 View commit details
    Browse the repository at this point in the history