umputun / remark42

comment engine
https://remark42.com
MIT License
4.77k stars 375 forks source link

Add unauthorised200 parameter to /user endpoint #1763

Open paskal opened 2 months ago

paskal commented 2 months ago

This resolves https://github.com/umputun/remark42/issues/1188 without making extra HTTP calls by adding a new parameter to the /api/v1/user endpoint.

Continuation of accidentally closed #1752.

github-actions[bot] commented 2 months ago

size-limit report 📦

Path Size
public/embed.mjs 2.03 KB (0%)
public/remark.mjs 73.49 KB (+0.05% 🔺)
public/remark.css 8.26 KB (+0.02% 🔺)
public/last-comments.mjs 35.72 KB (+0.01% 🔺)
public/last-comments.css 3.75 KB (0%)
public/deleteme.mjs 12.11 KB (+0.34% 🔺)
public/counter.mjs 751 B (0%)
codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 41.17647% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 65.06%. Comparing base (877765c) to head (e189877). Report is 1 commits behind head on master.

Files Patch % Lines
frontend/apps/remark42/app/common/api.ts 14.28% 6 Missing :warning:
frontend/packages/api/clients/public.ts 60.00% 2 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1763 +/- ## ========================================== + Coverage 61.47% 65.06% +3.59% ========================================== Files 132 140 +8 Lines 2998 3521 +523 Branches 715 785 +70 ========================================== + Hits 1843 2291 +448 - Misses 1151 1158 +7 - Partials 4 72 +68 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 9060885089

Details


Files with Coverage Reduction New Missed Lines %
backend/app/notify/notify.go 2 92.73%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 9026873922: 0.03%
Covered Lines: 5982
Relevant Lines: 7046

💛 - Coveralls