-
Notifications
You must be signed in to change notification settings - Fork 77
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] Feature dressing video #1006
[DONE] Feature dressing video #1006
Conversation
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. J'ai regardé que le code.
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.
Superbe ajout !
Il manque par ailleurs les tests unitaires pour les fonctions utiles :)
Merci
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.
Il reste quelques changements mineurs à effectuer. Plus le fichier de tests test_utils.py
.
Je testerai fonctionnellement cette PR en fin de journée :)
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.
Rien à dire niveau code. Néanmoins, en voulant tester, je me suis aperçu que je ne pouvais plus encoder les vidéos.
Pas normal, à creuser mais moi j'ai pas ce soucis |
Je testerai de mon côté vers 15h15, je vous direz ;) |
Oubli de migrations/init.py. C'est bon ça devrait marcher maintenant |
Lorsque je clique sur le bouton pour habiller la vidéo, j'ai le lecteur et ce tableau en dessous sans possibilité d'ajouter un habillage. Est-ce normal ? |
As-tu créé des habillages ? |
J'ai changé
Sur quelle balise ?
Je redirige maintenant vers la page video classique.
Sur quels champs ce serait pertinent ?
Ouais sans doute mais c'est pas trop natif sur django donc pour l'instant j'ai fait comme ça.
Problème réglé, merci. |
{% csrf_token %} | ||
<div class="list-group"> | ||
<fieldset> | ||
<legend>{% trans 'Agree required' %}</legend> |
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.
Remplacer par "Agreement required"
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.
Non résolu
commit 519aaf9 Author: Valentin Sabatier <[email protected]> Date: Mon Jan 15 15:28:06 2024 +0100 [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix commit b120fe9 Author: github-actions <[email protected]> Date: Thu Jan 11 16:25:48 2024 +0000 Fixup. Format code with Black commit 1c74d70 Author: Ptitloup <[email protected]> Date: Thu Jan 11 17:25:23 2024 +0100 improve test settigns to add use docker setting - default to true (EsupPortail#1019) Merge branch 'develop' into feature_dressing_video
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.
Quelques problèmes au niveau de la pydoc mais sinon c'est parfait 👍
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.
juste quelques textes a ajouter pour certaines icones ;)
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.
Parfait pour moi au niveau du code
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.
Hello, un ou deux détails, mais rien de bien méchant ;)
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.
Parfait, merci !!!
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.
Il ne reste que le "Agree required" à remplacer par "Agreement required" et ce sera bon pour moi ;)
Justement j'avais dit de mettre "Agree required" puisque dans les autres fichiers c'était "Agree required". |
Je l'avais changé mais on m'a dit d'être cohérent avec le reste de pod donc je l'ai re-rechangé aha. Bon bah je re-re-rechange alors |
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, j'approuve ;)
Merci :) |
"Agree" est un verbe, c'est comme si on disait "Accorder requis" au lieu de "Accord requis". C'est justement l'occasion de corriger partout, bien vu ^^ |
* feature_dressing_video * make lang * flake * unit test + pydoc * Unit tests * fix dark theme * some fixes * Create migrations/__init__.py * fix encode when add watermark only * fix * Remove field site * add tests for dressing utilities * fix * Replace css by bootstrap classes * add table-sm * Use path instead url * fix * fix flake * remove id watermark * fix * fix flake * fix * fix panel admin * fix flake * [DONE] Patch elasticsearch options (EsupPortail#1009) * Update configuration.json * Update views.py * Update utils.py * Auto-update configuration files * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * [DONE] Fix jsi18n (EsupPortail#1011) * * Replace every `<script src="/admin/jsi18n/"></script>` by `<script id="jsi18n" src="{% url 'javascript-catalog' %}"></script>` * Add js-catalog in theme_edit.html * Add jsi18n in more scripts * Add JS catalog in caption maker * Remove every `javascript-catalog` as it is already in base.html * rename i18njs as jsi18n * Remove the "version" number in base html, as webpush also load it without version number and we do not want it to be downloaded twice. * [WIP] Fix CSS z-index for audio enrichment slide to keep them over the sound wave element (EsupPortail#1013) * Update views.py * 🐛 Fix z-index in audio enrichment to keep enrichement slides over the sound wave element --------- Co-authored-by: Ptitloup <[email protected]> * Fixup. Format code with Prettier * make lang * some fixes * fix lang * improve test settigns to add use docker setting - default to true (EsupPortail#1019) * Fixup. Format code with Black * [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix * make lang * some fixes * fix * fix * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * make lang * some fixes * fix lang * conflits lang * compilemessages * fix * fix completion * fix * lang * fix * change Agreement required --------- Co-authored-by: PierreC <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: Loïc Bonavent <[email protected]> Co-authored-by: Olivier Bado-Faustin <[email protected]> Co-authored-by: gcondess <[email protected]> Co-authored-by: Ptitloup <[email protected]>
commit 0da5a2a Author: pampletousse <[email protected]> Date: Mon Jan 22 09:22:11 2024 +0100 [DONE] Pampletousse/fix dashboard translation (EsupPortail#1021) * Delete last calls to my_videos * Add missing translations in po file * Finish fix translations + compile * Add missing label on multiples actions * Change makefile and fix not used tranlations * Fix last tranlsation in pod/video/views.py * Fix last translation in pod/video/views.py * Add space on french translation --------- Co-authored-by: pampletousse <[email protected]> commit 37c4d62 Author: github-actions <[email protected]> Date: Wed Jan 17 10:57:11 2024 +0000 Fixup. Format code with Black commit 2db0640 Author: github-actions <[email protected]> Date: Wed Jan 17 10:57:02 2024 +0000 Fixup. Format code with Prettier commit 6b514d0 Author: pampletousse <[email protected]> Date: Wed Jan 17 11:56:36 2024 +0100 [DONE] Pampletousse/feature dashboard (EsupPortail#990) * Set new view to work on dashboard / cohabitation with old my_videos template = new template html, add corresponding url and view * Create Fetch request to bulk update videos * add value and action to post fetch request, udpate back method to validate value and split delete to update * backend dynamically update videos field even on ForeignKey objects or ManyToMany objects * create getSelectableVideos function to reusability, add and externalize select videos list and cards, delete count videos on dashboard front * Fix sort videos method after develop update * Change form to dynamic modelForm append async, clean code, rename create_with_fields form function * Create form into dashboard html, delete dashboard_form view and templates, manage multiple selected options to send, delete instance id condition to date_delete field add comments * Centralize view and treatment in one view (dashboard), fix videos list refresh, manage persistence of selected videos, improve user experience, improve video_select to mutualize it, add tooltip for selected videos * Repair checkboxes values to send for bulk_update, precise filters inputs selector for refresh, use owner_filter in dashboard, etc * Reorder options in dahboard form, manage restricted access and channel_option fieldsets * Refactoring code, change backend treatment to modelForm, manage generic fieldset * Offer 2 display modes : grid and list with dynamic templates, clean css, fix infinite and sorted/filtered videos * Improve list display mode, fix bugs, change links to btns for toggle display mode * Clean css, refactor code and fix item selected when click button or link * Fix categories (base url) * Change link my_videos to dashboard in navbar, fix display of thumbnail list mode * Add padding left to title row video list display mode * Fix grid mode thumbnails display * Add specific class to grid video list container * Fix auto checked inputs with get parameters + change label dashboard in navbar * Add translation (in template), fix bad translation for fr version of '%(counter)s video' * Add more translations, change label of modal confirm * Adjust permissions for multiple actions * Rename form + add links for django select2 * Fix owner multiple edit which needs video field for save * Try to fix video removal on owner update * Fix multiple edit owner, again * Fix and factorize video deletion, manage deletion and transcript on bulk update, change occurence of My videos into Dashboard * Delete unused imports, try to fix flake8 compilance -> dashboard post become bulk_update stand alone function * Fix pep8 indentation for django views object * Try to fix pep8 again * Fix Playlist test cause of new class added on icon * Add pydoc, add jsdoc, fix Tableau de bord trad rename selectedVideoCards -> selectedVideos * Add advanced_options fieldset to actions + Change order to dismiss confirm modal * Add aria-hidden true on all new i tags, change Dashboard into trans Dashboard, change all titles attributes double quotes into simple quotes * Add selected videos list to modal confirm bulk update * Mutualize fieldset collapse inputs (restricted access when is draft) * Manage errors feedback, improve code organisation, fix bugs, add generic functions dismiss_stored_messages and manageDisableBtns * Add visually hidden class text with icons * Add update_action parameter, try to fix PEP8, reformat code * Try to fix pep8 conformity * Add Exception to pep8 conformity * Delete unused imports in video.views.py * Fix translation problems and add new fr strings * Fix indentation in video.views.py * add coma for feedback message * PEP8 delete white line * Fix translations problems * Fix description case update not working (ckeditor value missing on formdata sent) * Fix reviews comments : Code refactor, rename, add pydoc, etc * Try to fix not working infinite more and loading links with new class d-none instead of style display none * Re-set old behaviour for infinite more link and diplay it * Change translation for you have not uploaded any videos + delete my_videos template * Add missing value affectation for default updated field * Try to fix mulitple transcription with new receiver * Fix selected videos conservation between diplay modes, sort and filters * Correctly return updated_videos * Change loader to bootstrap loader, improve user experience * Add condition to get bulk transcript message * Add pydoc on receivers and end line on loader.html * Fix slugs->titles display, improve confirmation modal, add translation for confirm modal * Remove unecessary tooltip on apply btn, change colors on countSelectedVideosBadge * Use ngettext on js translations * Fix new translations files * Fix missing js translation * am * Change translations files * Remove important unused, fix span in i tags on card_select, change title tag modale * Uniformize loader (bootstrap loader-spinner) on all views + delete old one * Fix accessibility on video_row_select.html * Manage active / inactive description for list display mode icons + delete unused webkit css + fix accessiblility on row_select * Add doc file on js files + change list to set into video.form.create_with_fields * Fix translations with makelang * Add end line loader.html * Fix accessiblity : dissociate loader and apply btn + fix selected videos * Add pydoc on new video tag and add version on video_select.js call * Change pydoc declaration for video model instance and class * Change translation for bbb dashboard * Fix div into li + translate close in showDashboardFormError * Fix accessibility of icons in card_select * éFinalize accessiblity * ÃFinalize accessiblity try again * Fix translation files --------- Co-authored-by: pampletousse <[email protected]> commit 2e9c4aa Author: github-actions <[email protected]> Date: Wed Jan 17 10:29:52 2024 +0000 Fixup. Format code with Black commit 3c3e4c7 Author: github-actions <[email protected]> Date: Wed Jan 17 10:29:44 2024 +0000 Fixup. Format code with Prettier commit e205b21 Author: Valentin Sabatier <[email protected]> Date: Wed Jan 17 11:29:19 2024 +0100 [DONE] Feature dressing video (EsupPortail#1006) * feature_dressing_video * make lang * flake * unit test + pydoc * Unit tests * fix dark theme * some fixes * Create migrations/__init__.py * fix encode when add watermark only * fix * Remove field site * add tests for dressing utilities * fix * Replace css by bootstrap classes * add table-sm * Use path instead url * fix * fix flake * remove id watermark * fix * fix flake * fix * fix panel admin * fix flake * [DONE] Patch elasticsearch options (EsupPortail#1009) * Update configuration.json * Update views.py * Update utils.py * Auto-update configuration files * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * [DONE] Fix jsi18n (EsupPortail#1011) * * Replace every `<script src="/admin/jsi18n/"></script>` by `<script id="jsi18n" src="{% url 'javascript-catalog' %}"></script>` * Add js-catalog in theme_edit.html * Add jsi18n in more scripts * Add JS catalog in caption maker * Remove every `javascript-catalog` as it is already in base.html * rename i18njs as jsi18n * Remove the "version" number in base html, as webpush also load it without version number and we do not want it to be downloaded twice. * [WIP] Fix CSS z-index for audio enrichment slide to keep them over the sound wave element (EsupPortail#1013) * Update views.py * 🐛 Fix z-index in audio enrichment to keep enrichement slides over the sound wave element --------- Co-authored-by: Ptitloup <[email protected]> * Fixup. Format code with Prettier * make lang * some fixes * fix lang * improve test settigns to add use docker setting - default to true (EsupPortail#1019) * Fixup. Format code with Black * [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix * make lang * some fixes * fix * fix * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * make lang * some fixes * fix lang * conflits lang * compilemessages * fix * fix completion * fix * lang * fix * change Agreement required --------- Co-authored-by: PierreC <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: Loïc Bonavent <[email protected]> Co-authored-by: Olivier Bado-Faustin <[email protected]> Co-authored-by: gcondess <[email protected]> Co-authored-by: Ptitloup <[email protected]> commit 6eda22a Author: github-actions <[email protected]> Date: Tue Jan 16 09:05:29 2024 +0000 Fixup. Format code with Black commit d79ba51 Author: Ptitloup <[email protected]> Date: Tue Jan 16 10:04:55 2024 +0100 [DONE] Ptitloup/improve subtitle accessibility (EsupPortail#1018) * create improveCaptionsAccessibility and call it before saving webvtt file to improve accessibility of subtitle * remove trailing whitespace * add js function to add choosing lang to transcript video and hide button if no language choosen * add the specified language to the video before launch trancsript * add some pydoc in the news functions - use same function to convert to timestamps * add pydoc in good format commit 519aaf9 Author: Valentin Sabatier <[email protected]> Date: Mon Jan 15 15:28:06 2024 +0100 [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix commit b120fe9 Author: github-actions <[email protected]> Date: Thu Jan 11 16:25:48 2024 +0000 Fixup. Format code with Black commit 1c74d70 Author: Ptitloup <[email protected]> Date: Thu Jan 11 17:25:23 2024 +0100 improve test settigns to add use docker setting - default to true (EsupPortail#1019)
commit 0da5a2a Author: pampletousse <[email protected]> Date: Mon Jan 22 09:22:11 2024 +0100 [DONE] Pampletousse/fix dashboard translation (EsupPortail#1021) * Delete last calls to my_videos * Add missing translations in po file * Finish fix translations + compile * Add missing label on multiples actions * Change makefile and fix not used tranlations * Fix last tranlsation in pod/video/views.py * Fix last translation in pod/video/views.py * Add space on french translation --------- Co-authored-by: pampletousse <[email protected]> commit 37c4d62 Author: github-actions <[email protected]> Date: Wed Jan 17 10:57:11 2024 +0000 Fixup. Format code with Black commit 2db0640 Author: github-actions <[email protected]> Date: Wed Jan 17 10:57:02 2024 +0000 Fixup. Format code with Prettier commit 6b514d0 Author: pampletousse <[email protected]> Date: Wed Jan 17 11:56:36 2024 +0100 [DONE] Pampletousse/feature dashboard (EsupPortail#990) * Set new view to work on dashboard / cohabitation with old my_videos template = new template html, add corresponding url and view * Create Fetch request to bulk update videos * add value and action to post fetch request, udpate back method to validate value and split delete to update * backend dynamically update videos field even on ForeignKey objects or ManyToMany objects * create getSelectableVideos function to reusability, add and externalize select videos list and cards, delete count videos on dashboard front * Fix sort videos method after develop update * Change form to dynamic modelForm append async, clean code, rename create_with_fields form function * Create form into dashboard html, delete dashboard_form view and templates, manage multiple selected options to send, delete instance id condition to date_delete field add comments * Centralize view and treatment in one view (dashboard), fix videos list refresh, manage persistence of selected videos, improve user experience, improve video_select to mutualize it, add tooltip for selected videos * Repair checkboxes values to send for bulk_update, precise filters inputs selector for refresh, use owner_filter in dashboard, etc * Reorder options in dahboard form, manage restricted access and channel_option fieldsets * Refactoring code, change backend treatment to modelForm, manage generic fieldset * Offer 2 display modes : grid and list with dynamic templates, clean css, fix infinite and sorted/filtered videos * Improve list display mode, fix bugs, change links to btns for toggle display mode * Clean css, refactor code and fix item selected when click button or link * Fix categories (base url) * Change link my_videos to dashboard in navbar, fix display of thumbnail list mode * Add padding left to title row video list display mode * Fix grid mode thumbnails display * Add specific class to grid video list container * Fix auto checked inputs with get parameters + change label dashboard in navbar * Add translation (in template), fix bad translation for fr version of '%(counter)s video' * Add more translations, change label of modal confirm * Adjust permissions for multiple actions * Rename form + add links for django select2 * Fix owner multiple edit which needs video field for save * Try to fix video removal on owner update * Fix multiple edit owner, again * Fix and factorize video deletion, manage deletion and transcript on bulk update, change occurence of My videos into Dashboard * Delete unused imports, try to fix flake8 compilance -> dashboard post become bulk_update stand alone function * Fix pep8 indentation for django views object * Try to fix pep8 again * Fix Playlist test cause of new class added on icon * Add pydoc, add jsdoc, fix Tableau de bord trad rename selectedVideoCards -> selectedVideos * Add advanced_options fieldset to actions + Change order to dismiss confirm modal * Add aria-hidden true on all new i tags, change Dashboard into trans Dashboard, change all titles attributes double quotes into simple quotes * Add selected videos list to modal confirm bulk update * Mutualize fieldset collapse inputs (restricted access when is draft) * Manage errors feedback, improve code organisation, fix bugs, add generic functions dismiss_stored_messages and manageDisableBtns * Add visually hidden class text with icons * Add update_action parameter, try to fix PEP8, reformat code * Try to fix pep8 conformity * Add Exception to pep8 conformity * Delete unused imports in video.views.py * Fix translation problems and add new fr strings * Fix indentation in video.views.py * add coma for feedback message * PEP8 delete white line * Fix translations problems * Fix description case update not working (ckeditor value missing on formdata sent) * Fix reviews comments : Code refactor, rename, add pydoc, etc * Try to fix not working infinite more and loading links with new class d-none instead of style display none * Re-set old behaviour for infinite more link and diplay it * Change translation for you have not uploaded any videos + delete my_videos template * Add missing value affectation for default updated field * Try to fix mulitple transcription with new receiver * Fix selected videos conservation between diplay modes, sort and filters * Correctly return updated_videos * Change loader to bootstrap loader, improve user experience * Add condition to get bulk transcript message * Add pydoc on receivers and end line on loader.html * Fix slugs->titles display, improve confirmation modal, add translation for confirm modal * Remove unecessary tooltip on apply btn, change colors on countSelectedVideosBadge * Use ngettext on js translations * Fix new translations files * Fix missing js translation * am * Change translations files * Remove important unused, fix span in i tags on card_select, change title tag modale * Uniformize loader (bootstrap loader-spinner) on all views + delete old one * Fix accessibility on video_row_select.html * Manage active / inactive description for list display mode icons + delete unused webkit css + fix accessiblility on row_select * Add doc file on js files + change list to set into video.form.create_with_fields * Fix translations with makelang * Add end line loader.html * Fix accessiblity : dissociate loader and apply btn + fix selected videos * Add pydoc on new video tag and add version on video_select.js call * Change pydoc declaration for video model instance and class * Change translation for bbb dashboard * Fix div into li + translate close in showDashboardFormError * Fix accessibility of icons in card_select * éFinalize accessiblity * ÃFinalize accessiblity try again * Fix translation files --------- Co-authored-by: pampletousse <[email protected]> commit 2e9c4aa Author: github-actions <[email protected]> Date: Wed Jan 17 10:29:52 2024 +0000 Fixup. Format code with Black commit 3c3e4c7 Author: github-actions <[email protected]> Date: Wed Jan 17 10:29:44 2024 +0000 Fixup. Format code with Prettier commit e205b21 Author: Valentin Sabatier <[email protected]> Date: Wed Jan 17 11:29:19 2024 +0100 [DONE] Feature dressing video (EsupPortail#1006) * feature_dressing_video * make lang * flake * unit test + pydoc * Unit tests * fix dark theme * some fixes * Create migrations/__init__.py * fix encode when add watermark only * fix * Remove field site * add tests for dressing utilities * fix * Replace css by bootstrap classes * add table-sm * Use path instead url * fix * fix flake * remove id watermark * fix * fix flake * fix * fix panel admin * fix flake * [DONE] Patch elasticsearch options (EsupPortail#1009) * Update configuration.json * Update views.py * Update utils.py * Auto-update configuration files * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * [DONE] Fix jsi18n (EsupPortail#1011) * * Replace every `<script src="/admin/jsi18n/"></script>` by `<script id="jsi18n" src="{% url 'javascript-catalog' %}"></script>` * Add js-catalog in theme_edit.html * Add jsi18n in more scripts * Add JS catalog in caption maker * Remove every `javascript-catalog` as it is already in base.html * rename i18njs as jsi18n * Remove the "version" number in base html, as webpush also load it without version number and we do not want it to be downloaded twice. * [WIP] Fix CSS z-index for audio enrichment slide to keep them over the sound wave element (EsupPortail#1013) * Update views.py * 🐛 Fix z-index in audio enrichment to keep enrichement slides over the sound wave element --------- Co-authored-by: Ptitloup <[email protected]> * Fixup. Format code with Prettier * make lang * some fixes * fix lang * improve test settigns to add use docker setting - default to true (EsupPortail#1019) * Fixup. Format code with Black * [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix * make lang * some fixes * fix * fix * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * make lang * some fixes * fix lang * conflits lang * compilemessages * fix * fix completion * fix * lang * fix * change Agreement required --------- Co-authored-by: PierreC <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: Loïc Bonavent <[email protected]> Co-authored-by: Olivier Bado-Faustin <[email protected]> Co-authored-by: gcondess <[email protected]> Co-authored-by: Ptitloup <[email protected]> commit 6eda22a Author: github-actions <[email protected]> Date: Tue Jan 16 09:05:29 2024 +0000 Fixup. Format code with Black commit d79ba51 Author: Ptitloup <[email protected]> Date: Tue Jan 16 10:04:55 2024 +0100 [DONE] Ptitloup/improve subtitle accessibility (EsupPortail#1018) * create improveCaptionsAccessibility and call it before saving webvtt file to improve accessibility of subtitle * remove trailing whitespace * add js function to add choosing lang to transcript video and hide button if no language choosen * add the specified language to the video before launch trancsript * add some pydoc in the news functions - use same function to convert to timestamps * add pydoc in good format commit 519aaf9 Author: Valentin Sabatier <[email protected]> Date: Mon Jan 15 15:28:06 2024 +0100 [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix commit b120fe9 Author: github-actions <[email protected]> Date: Thu Jan 11 16:25:48 2024 +0000 Fixup. Format code with Black commit 1c74d70 Author: Ptitloup <[email protected]> Date: Thu Jan 11 17:25:23 2024 +0100 improve test settigns to add use docker setting - default to true (EsupPortail#1019) commit 96f135b Author: github-actions <[email protected]> Date: Tue Jan 9 10:34:32 2024 +0000 Fixup. Format code with Prettier commit 3be1bec Author: gcondess <[email protected]> Date: Tue Jan 9 11:34:14 2024 +0100 [WIP] Fix CSS z-index for audio enrichment slide to keep them over the sound wave element (EsupPortail#1013) * Update views.py * 🐛 Fix z-index in audio enrichment to keep enrichement slides over the sound wave element --------- Co-authored-by: Ptitloup <[email protected]> commit 23517c8 Author: Olivier Bado-Faustin <[email protected]> Date: Thu Jan 4 10:31:05 2024 +0100 [DONE] Fix jsi18n (EsupPortail#1011) * * Replace every `<script src="/admin/jsi18n/"></script>` by `<script id="jsi18n" src="{% url 'javascript-catalog' %}"></script>` * Add js-catalog in theme_edit.html * Add jsi18n in more scripts * Add JS catalog in caption maker * Remove every `javascript-catalog` as it is already in base.html * rename i18njs as jsi18n * Remove the "version" number in base html, as webpush also load it without version number and we do not want it to be downloaded twice. commit 23b0a62 Author: github-actions <[email protected]> Date: Mon Dec 18 15:28:15 2023 +0000 Fixup. Format code with Black commit bbfe50f Author: Loïc Bonavent <[email protected]> Date: Mon Dec 18 16:27:44 2023 +0100 [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message commit 2703dcd Author: github-actions <[email protected]> Date: Mon Dec 18 15:22:35 2023 +0000 Auto-update configuration files commit 335481f Author: PierreC <[email protected]> Date: Mon Dec 18 16:21:44 2023 +0100 [DONE] Patch elasticsearch options (EsupPortail#1009) * Update configuration.json * Update views.py * Update utils.py
commit e374e46 Author: github-actions <[email protected]> Date: Fri Jan 26 15:18:20 2024 +0000 Fixup. Format code with Black commit 3a70723 Author: github-actions <[email protected]> Date: Fri Jan 26 15:18:12 2024 +0000 Fixup. Format code with Prettier commit 9e5068a Author: Aymeric Jakobowski <[email protected]> Date: Fri Jan 26 16:17:46 2024 +0100 [DONE] Bugfixes & improvements - 3.5.0 (EsupPortail#1023) * Fix dashboard styles * Fix dashboard translation * Modify Twitter icon & improve chapter style * Fix plural translations & z-index * Improve accessibility * Fix channels & some improvements * Fix dressing form * Fix roles optgroup * Update Pillow & sorl-thumbnail * Add some unit tests commit b229dad Author: github-actions <[email protected]> Date: Fri Jan 26 09:16:52 2024 +0000 Fixup. Format code with Black commit b3a583c Author: Valentin Sabatier <[email protected]> Date: Fri Jan 26 10:16:09 2024 +0100 [DONE] fix_for_video_dressing (EsupPortail#1029) * fixes * fix for pr qr code * remove fuzzy trad * fix lang commit 3251cfd Author: github-actions <[email protected]> Date: Thu Jan 25 09:47:54 2024 +0000 Fixup. Format code with Prettier commit 9a492e4 Author: pampletousse <[email protected]> Date: Thu Jan 25 10:47:32 2024 +0100 [DONE] Pampletousse/feature download qrcode (EsupPortail#1015) * Add download button for qr code + fix border red too big * Mutualize qrcode generation and display between video and live(event) * Add same template modification to live event * Try to mutualize qr code generation between video and event * Add event slug to downloaded file name * éAdd alternative text to parameters * PEP8 conformity * Fix PEP8 E303 blank line * Fix PEP8 F811 * Uniformize QR code designation * Generate translations for QR Code managment * éAdd types into functions and doc + normalize id in template * Fix translations * Fix translation video into event in event-info template * Delete fuzzy translations * Add return types on functions in register tags (video and event) * Add quotes for alt in qr code img tag --------- Co-authored-by: pampletousse <[email protected]> commit 0da5a2a Author: pampletousse <[email protected]> Date: Mon Jan 22 09:22:11 2024 +0100 [DONE] Pampletousse/fix dashboard translation (EsupPortail#1021) * Delete last calls to my_videos * Add missing translations in po file * Finish fix translations + compile * Add missing label on multiples actions * Change makefile and fix not used tranlations * Fix last tranlsation in pod/video/views.py * Fix last translation in pod/video/views.py * Add space on french translation --------- Co-authored-by: pampletousse <[email protected]> commit 37c4d62 Author: github-actions <[email protected]> Date: Wed Jan 17 10:57:11 2024 +0000 Fixup. Format code with Black commit 2db0640 Author: github-actions <[email protected]> Date: Wed Jan 17 10:57:02 2024 +0000 Fixup. Format code with Prettier commit 6b514d0 Author: pampletousse <[email protected]> Date: Wed Jan 17 11:56:36 2024 +0100 [DONE] Pampletousse/feature dashboard (EsupPortail#990) * Set new view to work on dashboard / cohabitation with old my_videos template = new template html, add corresponding url and view * Create Fetch request to bulk update videos * add value and action to post fetch request, udpate back method to validate value and split delete to update * backend dynamically update videos field even on ForeignKey objects or ManyToMany objects * create getSelectableVideos function to reusability, add and externalize select videos list and cards, delete count videos on dashboard front * Fix sort videos method after develop update * Change form to dynamic modelForm append async, clean code, rename create_with_fields form function * Create form into dashboard html, delete dashboard_form view and templates, manage multiple selected options to send, delete instance id condition to date_delete field add comments * Centralize view and treatment in one view (dashboard), fix videos list refresh, manage persistence of selected videos, improve user experience, improve video_select to mutualize it, add tooltip for selected videos * Repair checkboxes values to send for bulk_update, precise filters inputs selector for refresh, use owner_filter in dashboard, etc * Reorder options in dahboard form, manage restricted access and channel_option fieldsets * Refactoring code, change backend treatment to modelForm, manage generic fieldset * Offer 2 display modes : grid and list with dynamic templates, clean css, fix infinite and sorted/filtered videos * Improve list display mode, fix bugs, change links to btns for toggle display mode * Clean css, refactor code and fix item selected when click button or link * Fix categories (base url) * Change link my_videos to dashboard in navbar, fix display of thumbnail list mode * Add padding left to title row video list display mode * Fix grid mode thumbnails display * Add specific class to grid video list container * Fix auto checked inputs with get parameters + change label dashboard in navbar * Add translation (in template), fix bad translation for fr version of '%(counter)s video' * Add more translations, change label of modal confirm * Adjust permissions for multiple actions * Rename form + add links for django select2 * Fix owner multiple edit which needs video field for save * Try to fix video removal on owner update * Fix multiple edit owner, again * Fix and factorize video deletion, manage deletion and transcript on bulk update, change occurence of My videos into Dashboard * Delete unused imports, try to fix flake8 compilance -> dashboard post become bulk_update stand alone function * Fix pep8 indentation for django views object * Try to fix pep8 again * Fix Playlist test cause of new class added on icon * Add pydoc, add jsdoc, fix Tableau de bord trad rename selectedVideoCards -> selectedVideos * Add advanced_options fieldset to actions + Change order to dismiss confirm modal * Add aria-hidden true on all new i tags, change Dashboard into trans Dashboard, change all titles attributes double quotes into simple quotes * Add selected videos list to modal confirm bulk update * Mutualize fieldset collapse inputs (restricted access when is draft) * Manage errors feedback, improve code organisation, fix bugs, add generic functions dismiss_stored_messages and manageDisableBtns * Add visually hidden class text with icons * Add update_action parameter, try to fix PEP8, reformat code * Try to fix pep8 conformity * Add Exception to pep8 conformity * Delete unused imports in video.views.py * Fix translation problems and add new fr strings * Fix indentation in video.views.py * add coma for feedback message * PEP8 delete white line * Fix translations problems * Fix description case update not working (ckeditor value missing on formdata sent) * Fix reviews comments : Code refactor, rename, add pydoc, etc * Try to fix not working infinite more and loading links with new class d-none instead of style display none * Re-set old behaviour for infinite more link and diplay it * Change translation for you have not uploaded any videos + delete my_videos template * Add missing value affectation for default updated field * Try to fix mulitple transcription with new receiver * Fix selected videos conservation between diplay modes, sort and filters * Correctly return updated_videos * Change loader to bootstrap loader, improve user experience * Add condition to get bulk transcript message * Add pydoc on receivers and end line on loader.html * Fix slugs->titles display, improve confirmation modal, add translation for confirm modal * Remove unecessary tooltip on apply btn, change colors on countSelectedVideosBadge * Use ngettext on js translations * Fix new translations files * Fix missing js translation * am * Change translations files * Remove important unused, fix span in i tags on card_select, change title tag modale * Uniformize loader (bootstrap loader-spinner) on all views + delete old one * Fix accessibility on video_row_select.html * Manage active / inactive description for list display mode icons + delete unused webkit css + fix accessiblility on row_select * Add doc file on js files + change list to set into video.form.create_with_fields * Fix translations with makelang * Add end line loader.html * Fix accessiblity : dissociate loader and apply btn + fix selected videos * Add pydoc on new video tag and add version on video_select.js call * Change pydoc declaration for video model instance and class * Change translation for bbb dashboard * Fix div into li + translate close in showDashboardFormError * Fix accessibility of icons in card_select * éFinalize accessiblity * ÃFinalize accessiblity try again * Fix translation files --------- Co-authored-by: pampletousse <[email protected]> commit 2e9c4aa Author: github-actions <[email protected]> Date: Wed Jan 17 10:29:52 2024 +0000 Fixup. Format code with Black commit 3c3e4c7 Author: github-actions <[email protected]> Date: Wed Jan 17 10:29:44 2024 +0000 Fixup. Format code with Prettier commit e205b21 Author: Valentin Sabatier <[email protected]> Date: Wed Jan 17 11:29:19 2024 +0100 [DONE] Feature dressing video (EsupPortail#1006) * feature_dressing_video * make lang * flake * unit test + pydoc * Unit tests * fix dark theme * some fixes * Create migrations/__init__.py * fix encode when add watermark only * fix * Remove field site * add tests for dressing utilities * fix * Replace css by bootstrap classes * add table-sm * Use path instead url * fix * fix flake * remove id watermark * fix * fix flake * fix * fix panel admin * fix flake * [DONE] Patch elasticsearch options (EsupPortail#1009) * Update configuration.json * Update views.py * Update utils.py * Auto-update configuration files * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * [DONE] Fix jsi18n (EsupPortail#1011) * * Replace every `<script src="/admin/jsi18n/"></script>` by `<script id="jsi18n" src="{% url 'javascript-catalog' %}"></script>` * Add js-catalog in theme_edit.html * Add jsi18n in more scripts * Add JS catalog in caption maker * Remove every `javascript-catalog` as it is already in base.html * rename i18njs as jsi18n * Remove the "version" number in base html, as webpush also load it without version number and we do not want it to be downloaded twice. * [WIP] Fix CSS z-index for audio enrichment slide to keep them over the sound wave element (EsupPortail#1013) * Update views.py * 🐛 Fix z-index in audio enrichment to keep enrichement slides over the sound wave element --------- Co-authored-by: Ptitloup <[email protected]> * Fixup. Format code with Prettier * make lang * some fixes * fix lang * improve test settigns to add use docker setting - default to true (EsupPortail#1019) * Fixup. Format code with Black * [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix * make lang * some fixes * fix * fix * [DONE] Feature import external video, add mediacad platform (EsupPortail#1014) * Add documentation about video platforms * Add tests * Add functions to manage import videos from Mediacad platform, and refactor some code * Add functions to manage import videos from Mediacad platform; improved error message handling * Add translations about Pod informations and Mediacad platform * Modification of a test due to improved error message handling * Add translations about Pod informations and Mediacad platform * Add translations about Pod informations and Mediacad platform * Change translation : Impossible to upload to Pod the video => Unable to upload the video to Pod; and remove fuzzy translations * Add role='alert' to one error message * Fixup. Format code with Black * make lang * some fixes * fix lang * conflits lang * compilemessages * fix * fix completion * fix * lang * fix * change Agreement required --------- Co-authored-by: PierreC <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: Loïc Bonavent <[email protected]> Co-authored-by: Olivier Bado-Faustin <[email protected]> Co-authored-by: gcondess <[email protected]> Co-authored-by: Ptitloup <[email protected]> commit 6eda22a Author: github-actions <[email protected]> Date: Tue Jan 16 09:05:29 2024 +0000 Fixup. Format code with Black commit d79ba51 Author: Ptitloup <[email protected]> Date: Tue Jan 16 10:04:55 2024 +0100 [DONE] Ptitloup/improve subtitle accessibility (EsupPortail#1018) * create improveCaptionsAccessibility and call it before saving webvtt file to improve accessibility of subtitle * remove trailing whitespace * add js function to add choosing lang to transcript video and hide button if no language choosen * add the specified language to the video before launch trancsript * add some pydoc in the news functions - use same function to convert to timestamps * add pydoc in good format commit 519aaf9 Author: Valentin Sabatier <[email protected]> Date: Mon Jan 15 15:28:06 2024 +0100 [DONE] WebTV - Add private field (EsupPortail#1016) * init * trad * compil trad * fix commit b120fe9 Author: github-actions <[email protected]> Date: Thu Jan 11 16:25:48 2024 +0000 Fixup. Format code with Black commit 1c74d70 Author: Ptitloup <[email protected]> Date: Thu Jan 11 17:25:23 2024 +0100 improve test settigns to add use docker setting - default to true (EsupPortail#1019)
Feature video dressing.