cloud-py-api / cloud_py_api

Nextcloud framework for developing apps using Python
https://apps.nextcloud.com/apps/cloud_py_api
GNU Affero General Public License v3.0
51 stars 7 forks source link

added ability to get info from `users` table #59

Closed bigcat88 closed 1 year ago

bigcat88 commented 1 year ago

Currently we don't need it, but we will need it in the future. This can be useful when we need to iterate over all directories of all users.

codecov[bot] commented 1 year ago

Codecov Report

Merging #59 (ac57241) into main (d63bd04) will increase coverage by 0.67%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main      #59      +/-   ##
============================================
+ Coverage     76.18%   76.85%   +0.67%     
  Complexity      167      167              
============================================
  Files            27       28       +1     
  Lines          1285     1318      +33     
  Branches          3        3              
============================================
+ Hits            979     1013      +34     
+ Misses          304      303       -1     
  Partials          2        2              
Impacted Files Coverage Δ
nc_py_api/__init__.py 100.00% <100.00%> (ø)
nc_py_api/db_misc.py 90.32% <100.00%> (+1.03%) :arrow_up:
nc_py_api/db_requests.py 91.52% <100.00%> (+3.06%) :arrow_up:
nc_py_api/users.py 100.00% <100.00%> (ø)
lib/Service/UtilsService.php 37.96% <0.00%> (-0.18%) :arrow_down:
nc_py_api/files.py 67.16% <0.00%> (+0.49%) :arrow_up: