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

Add document creation and tasks, fix timestamps #151

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

VMelnalksnis
Copy link
Owner

Fixes #148, creates #150

Changes proposed in this pull request:

  • Use OffsetDateTime instead of Instant in response models, since the format depends on config
  • Add additional methods to the client that were needed for testing
  • Run integration tests against the latest Paperless version

@VMelnalksnis VMelnalksnis added bug Something isn't working enhancement New feature or request labels Jan 18, 2024
@VMelnalksnis VMelnalksnis changed the title Timestamp parsing Add document creation and tasks, fix timestamps Jan 18, 2024
Copy link

cocogitto-bot bot commented Jan 18, 2024

✔️ ea59b38...d6a90cc - Conventional commits check succeeded.

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (f7c2319) 83.78% compared to head (d6a90cc) 90.49%.

Files Patch % Lines
...lksnis.PaperlessDotNet/Documents/DocumentClient.cs 71.42% 7 Missing and 5 partials ⚠️
...erlessDotNet/Serialization/HttpClientExtensions.cs 40.00% 2 Missing and 1 partial ⚠️
...aperlessDotNet/Documents/DocumentCreationResult.cs 50.00% 2 Missing ⚠️
...e/VMelnalksnis.PaperlessDotNet/Tasks/TaskClient.cs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
+ Coverage   83.78%   90.49%   +6.71%     
==========================================
  Files          12       17       +5     
  Lines         148      242      +94     
  Branches        9       24      +15     
==========================================
+ Hits          124      219      +95     
+ Misses         19       13       -6     
- Partials        5       10       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@VMelnalksnis VMelnalksnis merged commit d6a90cc into master Jan 18, 2024
5 of 6 checks passed
@VMelnalksnis VMelnalksnis deleted the timestamp-parsing branch January 18, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error parsing timestamp
1 participant