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

[DONE] Develop #3.5.1 #1054

Merged
merged 27 commits into from Mar 5, 2024
Merged

[DONE] Develop #3.5.1 #1054

merged 27 commits into from Mar 5, 2024

Conversation

ptitloup
Copy link
Contributor

No description provided.

dependabot bot and others added 10 commits February 7, 2024 22:56
Bumps [django](https://github.com/django/django) from 3.2.23 to 3.2.24.
- [Commits](django/django@3.2.23...3.2.24)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
* * Replace `settings.BASE_DIR` by watermark.file.path for video dressing watermark
* Some code formatting & docs

* Send email to admin on encoding error

* * Setup of Video & Audio encoding test case is only called once (This testCase will be 4x faster)

* another try to run setup only once

* Fix small bug

* correct typo

* small correction

* modify encoding test

* * Polish `change video owner` template
* move every "mandatory fields" help messagre in a main template to be included
* Small change on encoding error handling

* Minor QoC

* correct typos

* Corrections after peer review:
* Use django url block
* Use {{ owner }} and {{ user }} default str
* Various QoC

* Add missing parameter types

* Specify types of some lists in functions hints

* Remove every list content type hint, as they appear only in python >= 3.9
* Change default sort dashboard videos title into date_added

* Change title to type test and add owner test

* Change get videos objects

* Change values for owner test

* Change user for post request

* Add test_bulk_update_tags and fix owner bulk update (missing move file)

* Fix pep8

* Try to repair test_update_video_owner

* Change order of tests + add bulk_delete test

* Try to repair bulk_delete test

* Try to repair bulk_delete test with user3 videos

* add response check of bulk_delete failure

* Fix bad value sending to change owner

* Fix again test_views not working

* Add doc on test_update_video_owner

---------

Co-authored-by: pampletousse <sylvain.loppin@grenet.fr>
* add video token models, add it in admin, add view to manage token, call it from edit and views template

* add access to video with token, improve token list display and add translation

* fix indent

* add uniq constraints for video access token, add unit test for video access token model, fix translate

* add unit test for view, complete unit test for model, improve access token view

* add copy to clipboard icon, add video access test view

* add js to copy link and embed value

* change col size and align middle

* improve indent, add translation and pydoc

* add info to delete token
@ptitloup ptitloup self-assigned this Feb 15, 2024
LoicBonavent and others added 15 commits February 16, 2024 14:03
* Add external recording state

* Manage external recording state

* Add external recording state

* Changes the logic for presentation and video URLs

* Add some tests

* Manage source URL for old BBB presentation playbacks and optimize source code

* Implements business logic for encoding BBB web presentations into video files

* Translations added for this new feature to convert BBB web presentations into video files

* Add 3 parameters : USE_IMPORT_VIDEO_BBB_RECORDER, IMPORT_VIDEO_BBB_RECORDER_PLUGIN and IMPORT_VIDEO_BBB_RECORDER_PATH

* Task management for converting BBB web presentations into video files

* Changes the function call of the video import module

* Useful script for migrating BBB records when changing BBB infrastructure (see https://www.esup-portail.org/wiki/x/C4CFUQ).

* Modify a comment

* Add some type hints

* Remove some useless translations

* Remove some useless translations

* Add some type hints

* Add some type hints
* Change default sort dashboard videos title into date_added

* Change django-simple-captcha to fix error 500

---------

Co-authored-by: pampletousse <sylvain.loppin@grenet.fr>
* * Correct the Februray 29th bug (cannot add years to the 29/02) : use timedelta instead of just changing year value
* Correct bug on video playback with marker, causing anonymous audio files cannot be played anymore
* Add missing `btn-link` class on dressing button for keyboard focus
* Improve A11y of token table and bulk list view
* Correct some i18n strings
* Code formatting

* Translate i18n strings

* update `test_check_video_date_delete`

* + improve bulk update list CSS
+ now BS tooltips are also applied on infinite scroll items

* * Refresh Bootstrap tooltips after load
* Corrections asked by @AymerickJak

* Add .mo compiled i18 filles
* Add search_internal_recording function

* Manage the links of recordings (video and presentation playback) to take into account the single-use token

* Add recording_with_token route

* Add functions to manage recordings used by an infrastructure that require a token

* Add the possibility to upload a recording from BBB ESR infrastructure

* Translations added for this new feature

* Manage translations in search_internal_recording function

* Manage translations in some functions

* Translations added for this new feature
* Update backends.py

Ajout du login

* Update configuration.json
bump Pod version to 3.5.1
* add test for video search utils

* test_index_and_delete_es

* replace USE_DISTANT_ENCODING_TRANSCODING by USE_REMOTE_ENCODING_TRANSCODING - use store_remote_encoded_video to store video data at the end of encoding - fix discipline filter - change pod/video_encode_transcript/encoding_tasks.py to call store_remote_encoded_video in rest api

* remove import dressing in encode module to use it without django

* remove unused import

* remove unused import - fix pep8 compliance

* move json calling to prevent none objeect

* fix pep8

* create rest view to importing transcript - call it from task - remove old files

* fix transcritping

* fix import transcript error

* add new configuration

* fix access token link

* fix download file in main view

* add test to remote encoding

* update docker

* add wait docker and show running container

* add env file

* split env and start container

* start container on one line

* start container on one line remove bracket

* split build and run container

* add env to up container

* add elasticsearch verion

* export elasticsearch version

* move env

* use make to try

* add setting local

* remove touch

* fix file

* fix setting local

* remove unused dot

* remove brace

* use settings_local_docker_full_test file

* add detach to docker and add setting to xapi

* add docker exec to test

* remove -p and add detach

* remove unused option for docker up

* replace healthy by wait

* add test_encode_transcode command, use form to fix download view and prevent injection

* simple test to try

* fix test for download file, add encode video

* fix pep8 and increase delay to encode

* fix unit test and improve code after review

* change test remote encode in unit test

* change command to run test, add print

* call encode to prevent thread - check if run test and pod back run on the same db

* work on local - try on GH

* Add token and specify url to call back at the end of encoding

* change ES version and fix pep8

* fix token

* add staff status for user

* Add some translations

* use covergae to run test

* add transcripting in test - change setting to do it - improve transcripting model and task

* change transcode by transcript !

* fix pep8 in test settings

---------

Co-authored-by: Aymeric Jakobowski <aymericjakpro@gmail.com>
@ptitloup ptitloup changed the title [WIP] Develop #3.5.1 [DONE] Develop #3.5.1 Mar 1, 2024
@ptitloup ptitloup merged commit 0cea8e9 into master Mar 5, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants