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

PH v1 #368

Merged
merged 88 commits into from
May 14, 2024
Merged

PH v1 #368

merged 88 commits into from
May 14, 2024

Conversation

BLEMENT33
Copy link
Contributor

@BLEMENT33 BLEMENT33 commented Mar 16, 2024

Description

I sarted a PH module for the journalism association of ECL.

Copy link

codecov bot commented Mar 16, 2024

Codecov Report

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

Project coverage is 82.74%. Comparing base (44c0634) to head (f9f2b5c).

Files Patch % Lines
app/modules/ph/endpoints_ph.py 89.85% 7 Missing ⚠️
app/modules/ph/cruds_ph.py 88.46% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #368      +/-   ##
==========================================
+ Coverage   82.53%   82.74%   +0.20%     
==========================================
  Files          93       97       +4     
  Lines        5962     6078     +116     
==========================================
+ Hits         4921     5029     +108     
- Misses       1041     1049       +8     

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

Copy link
Member

@armanddidierjean armanddidierjean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice module!

Could you change endpoints to use a lowercase ph? Maybe "newspaper" or "paper" would be better instead of "journal"

…nto module-PH

# Conflicts:
#	app/core/groups/groups_type.py
#	app/modules/PH/cruds_PH.py
#	app/modules/PH/endpoints_PH.py
#	app/modules/PH/models_PH.py
#	app/modules/PH/schemas_PH.py
#	tests/test_PH.py
Copy link

gitguardian bot commented Mar 16, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
7298665 Triggered Generic High Entropy Secret 89a8ace app/core/auth/schemas_auth.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

app/modules/ph/endpoints_ph.py Outdated Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Show resolved Hide resolved
tests/test_PH.py Show resolved Hide resolved
Copy link
Contributor

@guillaumetavernier guillaumetavernier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much to say ! Nice work !

app/modules/ph/endpoints_ph.py Outdated Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Outdated Show resolved Hide resolved
app/modules/ph/cruds_ph.py Outdated Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Outdated Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Outdated Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Outdated Show resolved Hide resolved
app/modules/ph/endpoints_ph.py Outdated Show resolved Hide resolved
app/modules/ph/models_ph.py Outdated Show resolved Hide resolved
@BLEMENT33 BLEMENT33 merged commit fa88160 into main May 14, 2024
7 checks passed
@BLEMENT33 BLEMENT33 deleted the module-PH branch May 16, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants