-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DONE] Create archive packages (#1107)
* First attempt to create archive packages * flake8 * Improve unarchive_video command * Markdown format complicance: * Add .markdownlint.json for markdownlint * Ignore MD033 (No inline HTML) * Set MD "line_length" to 90 chars * Correct "createconfiguration" command to apply markdown rules * Apply markdown rules to README, SECURITY, AUTHORS, CONTRIBUTING & CODE_OF_CONDUCT * * Add "Whisper" in config.json * Remove duplicated attribute in forms.py * Code Formatting * * Add "dry mode" for check_obsolete_videos command * Update create_archive command to add some video completions in json * Comment unused functions in chapter.js * Code formatting * Create_archive_package command now export additional documents and video tracks + replace deprecated function `utcfromtimestamp(start)` by `fromtimestamp(start, tz=timezone.utc)` + A11y : add titles on Public/private document icons + QoC (add some missing return types and pydocs) * Ask GG to ignore PWD in comptetion test_views * flake 8 compliance + add "#nosec" on test pwd to ignore it. * add missing param in create_archive_package + fix the completion views test * Add # nosem comments to tell semgrep to ignore some password validation checks in tests. * Disable commonjs & node in eslintrc to be able to add `/* exported my_global_var */` comment before some global vars. * Replace `from xml.dom import minidom` by `from defusedxml import minidom` to avoid security issue * Replace `from xml.dom import minidom` by `from defusedxml import minidom` to avoid security issue + code formatting * * Add sizeof_fmt() in main utils * print total duration and total weight * send mail to managers after create_archive_package * Replace xml.dom by defusedxml to enforce security * Export also AdvancedNotes and video comments * flake8 * Replace NODE 19 by 20 * Add i18n strings + revert defusedxml by xml.dom on test_utils, as there is no "Document()" in defusedxml * Revert defusedxml to dom.minidom in type_studio as 'defusedxml.minidom' has no attribute 'Text' * Add main utils tests & test_get_dublin_core + improve security of minidom in type_studio + escape xml entities in get_dublin_core() * Apply all PR comments * Flake8 compliance * correct test_generate_qrcode as generated qr code is not always the same. * Try to use coverallsapp/github-action * Include .mo compiled lang files + remove coveralls test
- Loading branch information
Showing
85 changed files
with
2,200 additions
and
1,289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"default": true, | ||
"MD033": false, | ||
"MD013": { | ||
"line_length": 90 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.