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

added Activities API #112

Merged
merged 4 commits into from
Sep 2, 2023
Merged

added Activities API #112

merged 4 commits into from
Sep 2, 2023

Conversation

bigcat88
Copy link
Contributor

@bigcat88 bigcat88 commented Sep 2, 2023

Also added nc_iso_time_to_datetime internal method to parse time for shares, notifications and activities.

This leads to fix of a bug when NotificationInfo.time was always incorrectly parsed and equal to datetime(1970,1,1)

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
@codecov
Copy link

codecov bot commented Sep 2, 2023

Codecov Report

Merging #112 (31b389c) into main (870b6af) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
+ Coverage   99.71%   99.72%   +0.01%     
==========================================
  Files          29       30       +1     
  Lines        2446     2552     +106     
==========================================
+ Hits         2439     2545     +106     
  Misses          7        7              
Files Changed Coverage Δ
nc_py_api/_exceptions.py 100.00% <100.00%> (ø)
nc_py_api/_misc.py 100.00% <100.00%> (ø)
nc_py_api/_session.py 98.60% <100.00%> (+<0.01%) ⬆️
nc_py_api/_version.py 100.00% <100.00%> (ø)
nc_py_api/activity.py 100.00% <100.00%> (ø)
nc_py_api/files/sharing.py 100.00% <100.00%> (ø)
nc_py_api/nextcloud.py 100.00% <100.00%> (ø)
nc_py_api/notifications.py 100.00% <100.00%> (ø)

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
@bigcat88 bigcat88 enabled auto-merge (squash) September 2, 2023 18:26
@bigcat88 bigcat88 merged commit 2f4e225 into main Sep 2, 2023
13 checks passed
@bigcat88 bigcat88 deleted the activity-api branch September 2, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant