-
Notifications
You must be signed in to change notification settings - Fork 77
[DONE] improve clean_video_files and code cleaning #782
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
[DONE] improve clean_video_files and code cleaning #782
Conversation
- Suppression des données propres à l'Université de Lille - Modification de la documentation
- Modification de la documentation
- Modification du ficher dockerfile-dev-with-volumes/config/elasticsearch/settings_local-7-exemple.py
- Modification de la documentation
- Modification de la documentation
…tion comments, add webp for podfile image extension and remove video extension for podfile document
…ation_markdown [DONE] Ptitloup/configuration markdown
…o feature_rmjquery
…configuration Ptitloup/improve configuration
… root folder - create empty config
…configuration move configuration json file to main app and create md config file to…
…configuration remove unused commit in code formatting action
|
GitGuardian id | Secret | Commit | Filename | |
---|---|---|---|---|
- | Generic High Entropy Secret | b3622f8 | pod/main/test_settings.py | View secret |
5773735 | Django Secret Key | a72942b | dockerfile-dev-with-volumes/config/elasticsearch/settings_local-7-exemple.py | View secret |
5671468 | Generic High Entropy Secret | 8b71cfd | pod/main/test_settings.py | View secret |
5671468 | Generic High Entropy Secret | bc9099a | pod/main/test_settings.py | View secret |
5671468 | Generic High Entropy Secret | 4f0d61d | pod/main/test_settings.py | View secret |
5671468 | Generic High Entropy Secret | c0885a4 | pod/main/test_settings.py | View secret |
5671469 | Generic High Entropy Secret | 97ebbc8 | pod/authentication/tests/test_populated.py | View secret |
5671469 | Generic High Entropy Secret | 4233e7d | pod/authentication/tests/test_populated.py | View secret |
5671469 | Generic High Entropy Secret | d2ef31c | pod/authentication/tests/test_populated.py | View secret |
5671468 | Generic High Entropy Secret | d2ef31c | pod/main/test_settings.py | View secret |
5671468 | Generic High Entropy Secret | 5241488 | pod/main/test_settings.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- 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
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 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.
Our GitHub checks need improvements? Share your feedbacks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci pour cette contribution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok pour moi
ok niveau code mais les tests unitaires ne passent pas, tu peux regarder pourquoi ? merci |
Ca ne passe plus depuis le merge d'une des dernière PR sur les live :
|
J'ai remplacé "testfile.vtt" par "broadcaster1.vtt" pour que ca passe les tests, mais pour faire bien je pense qu'il faudra ajouter un tests supplémentaire pour vérifier que testfile.vtt est bien présent quelque-part. (ou alors c'est qu'il ne faut plus préciser le fichier vtt à la création du Broadcaster) |
dans les tests unitaire, tu as utilisé MEDIA_ROOT au lieu de MEDIA_URL
AssertionError: '/media/live_transcripts/broadcaster1.vtt' != '/home/runner/work/Esup-Pod/Esup-Pod/pod/me[33 chars].vtt'
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok pour moi, merci !
…%s_%s.png" % (video_to_encode.slug, thumbnail_path),` in `store_json_list_thumbnail_files`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
La commande python manage.py clean_video_files supprime bien les fichiers inutiles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
* 🐛 podfile fix pagination display (#787) * improve clean_video_files and code cleaning (#782) * Fix wrong url of paginated sub-themes (#789) * Add "help" command to makefile (#792) * Ptitloup/fix thumbnail (#790) * Hide channel desc (#794) * fix podfile (#798) * Correct podfile sidebar (#799) * Ptitloup/fix link playlist (#801) * Fix video theme (#800) --------- Co-authored-by: MattBild <34771705+mattbild@users.noreply.github.com> Co-authored-by: Olivier Bado-Faustin <bado@unice.fr> Co-authored-by: pampletousse <51699553+pampletousse@users.noreply.github.com>
* 🐛 podfile fix pagination display (EsupPortail#787) * improve clean_video_files and code cleaning (EsupPortail#782) * Fix wrong url of paginated sub-themes (EsupPortail#789) * Add "help" command to makefile (EsupPortail#792) * Ptitloup/fix thumbnail (EsupPortail#790) * Hide channel desc (EsupPortail#794) * fix podfile (EsupPortail#798) * Correct podfile sidebar (EsupPortail#799) * Ptitloup/fix link playlist (EsupPortail#801) * Fix video theme (EsupPortail#800) --------- Co-authored-by: MattBild <34771705+mattbild@users.noreply.github.com> Co-authored-by: Olivier Bado-Faustin <bado@unice.fr> Co-authored-by: pampletousse <51699553+pampletousse@users.noreply.github.com>
Now clean_video_files command can clean obsolete video files AND User folders.