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.2.0 #808

Merged
merged 72 commits into from
May 17, 2023
Merged

[DONE] Develop 3.2.0 #808

merged 72 commits into from
May 17, 2023

Conversation

ptitloup
Copy link
Contributor

bump version to 3.1.2

bump version to 3.1.2
@ptitloup ptitloup changed the title Develop 3.1.2 [WIP] Develop 3.1.2 Apr 12, 2023
Badatos and others added 2 commits April 14, 2023 08:52
* Allow CAPS in IMAGE_ALLOWED_EXTENSIONS and FILE_ALLOWED_EXTENSIONS

* precise in configuration.json that extensions must be lowercase
ptitloup and others added 15 commits April 20, 2023 11:11
* create info_pod view to send information about pod instance
* transform transcript checkbox to select box with all language available to transcript.
* create view to restart transcription - call it from video edit page
* Add 'My videos' button in header

* Add staff verification to display buttons

* Add templatetags to show video & meeting buttons in header

* Implement unit tests for video & meeting buttons

* Hide buttons in user menu
* use bleach in meeting views

* use bleach on video and recorder

* use bleach in main and live

* use bleach in main

---------

Co-authored-by: tnhan <trannhan2589@gmail.com>
* Add sort managment for video list in video backend and refactor functions

* Add sort form html file and inject it on videos.html screen

* Add sorting direction gesture, externalize url creation for refresh, externalize getNextPage, change next_page to var nextPage, change listeners

* Fix boolean nextPage, fix count refresh not working, fix outerHTML -> innerHTML inject method, delete some unused code => (filter and sort async working on /videos/)

* Add (global and reusable) pure css loader to improve ux on refresh on base.html template, add and change comments in javascript file

* Ajust columns to sort form fitted with Title and stats

* Add sort and filter management for video list in video/my/ backend with same logic as /videos/ and mutualized functions

* Make filter_aside template reusable by /videos/ and /video/my/ and import category management if needed, delete old loader

* Add sort template to video/my screen

* Add count vidéos h2 on my videos template

* Make columns for sort input and count videos in my_videos template

* Fix no video case for video/my screen and create function to enable/disable inputs on loading, clean unused function js

* Fix categories : prevent buttons to reload page, clean print

* Fix categories : add category to parameter url, call refresh after select category, clean video_category javascript file

* Add comments on filter aside video list refresh javascript file

* Add reset Filters Btn and rename vars, clean code

* Invert alert info and row -> weird placement on page load

* Fix auto-check inputs on my_videos screen with get parameters

* Simplify code for user search and start to mutualize function shared with user search in menu aside + delete print in views

* Add listener on new created inputs for user search + clean many "this" on code

* Simplified and factorized code for user search (menu aside + filter aside) => same ajax call, same function, different html elements creation

* Add timeout to fix 'database table is locked' on test job

* Test with larger timeout

* Add labels for inputs, prepare string to translation

* Update traductions for sort form

* Change span to label for accessibility + update translations files

* Use mutualized lds-ring

* Fix/simplify loader css to be reusable and accessible in main/base.html template

* Delete unecessary change of block page_content in base.html = loader is now accessible via include tag

* Add some translation, Repair translation files excluding custom/*

* Fix return (previous page) for only giving json response without global template

* Change accordion id to pod_users_list

* Add pydocs for new functions in video.views file

* Fix accessibility problem on label "sort_direction"

* Change selector for searchCatInput querySelector -> getElementById

* Add debug class on content in {% comment %} blocks

* Fix loader selector on video_category javascript file

* Change aria-labbelledby for category modal, improve accessibility

* Add function to change title of sort_direction input : improve accessibility

* Add label to loader : improve accessibility

* Fix aria labelledby for manageCategoryModal

* Fix redondant code for nextPage affectation

* Update translations in django.po files

* Update compiled file for translation django.mo

* Add pydoc on get_Videos_list()

* Change translated title from sort_direction to sort_direction_label

* Fix translations for sort

* Add translation for 'Reset'

* Update compiled messages file .mo

* Change var nextPage (lost commit)

* Change columns size (cf Olivier Bado / badatos's comment) for /videos/ screen

* Add missing translation for Descending sort

* Add reset of user filter fields

---------

Co-authored-by: pampletousse <sylvain.loppin@grenet.fr>
* Final

* Synchro traduction

* Ajout redirection vers page login si pas connecté

--> See #816 for more information and view exchange about this feature
Bump version to 3.2.0 (add filter video and cut video features)
@ptitloup ptitloup changed the title [WIP] Develop 3.1.2 [WIP] Develop 3.2.0 May 4, 2023
github-actions and others added 17 commits May 11, 2023 08:37
…#836)

* use file to make message and add command in makefile

* fix typo
* change Default value of ACTIVE_VIDEO_COMMENT to false in configuration.json to reflect code value
+ remove useless spaces in inittial_data.json

* Minor correction
* Generate the favorite application

* Add favorite model

* Add favorite model in admin panel

* Add some util functions

* Add unit tests for favorite video utilities

* Add star button to add or remove in favorite

* Add unit tests for the view

* pod/favorite/migrations/__init__.py

* Add a util function to get all favorites for a user

* Implement favorites counter

* Add tests for favorites counter

* Add unit test for favorite list view

* Update unit tests for views

* Add 'My favorite videos' in the right navbar

* Add JS to cancel page refresh when add to favorites

* Add link to remove favorite in card

* Change a to button in card footer

* Redirect to the previous page after add or remove the favorite

* Add some translations

* Change star style in video card

* Add USE_FAVORITES setting

* Add unit tests for USE_FAVORITES setting

* Start implement JS to prevent refresh on video cards

* Remove the refresh when we remove favorite in the card.

* Update favorite list page to use the favorite list templates

* Remove unused buttons

* Add JS to remove card from list of favorites

* Add JS to delete a card when remove favorites in favorites list

* Modify JS files

* Fix script tag

* Fix JS problems

* Add login redirection when not connected (favorites list)

* Add reorganize button

* Change file emplacement & add more_script block

* Change JS files name & comments

* Add url & view for save form

* Change a tag to button tag

* Add acction for the reorganization form

* Add exemple to make the view

* Implement of save reorganisation view

* Add drap and drop to save the reorganization

* Update drag and drop to remove alert call

* Add shake effect for drag & drop

* Add cancel button for favorites reorganisation

* Fix bug

* Add hidden visibility for the card footer when reorganize

* Group CSS in favorite application

* Fix card deletion in favorite page

* Start fix title refresh

* Fix title refresh buttons

* Remove incorrect value in reorganize input

* Hide reorganize button when there is 1 or 0 video

* Hide star button in 'Manage video'

* Add transition to hide the footer card

* Start implement sort in favorite list

* Add basic sort

* Fix flake8

* Modify sort by rank

* Fix flake8

* Fix unit test for get_favorite_list

* Change page title

* Hide sort form when in reorganized mode

* Add favorite video satistics

* Fix card footer for students

* Check if user is authenticated

* Add translation for Cancel button

* Fix duplicates favorites

* Hide the 'Reorganize' & 'Cancel' buttons when the sort option is not equal to 'rank'

* Fix flake8

* Move some JS code into favorite-reorganize.js

* Fix stats by day

* Quick changes

* Add 'Refresh' button when the user sort or filter

* Add 'Rank' translation

* Correct sentence in configuration.json & remove USE_FAVORITES in .md

* Fix translations & spaces

* Remove debug style

* Convert JS code to CSS

* Remove debug comment

* Remove the incorrect role

* Add pydoc

* Fix JS errors

* Add unit test for sort_videos_list

* Flake8 & simplification of sort_videos_list

* Retranslate text

* Remove favorite addition when the video is draft

* Fix settings

* Add USE_FAVORITES condition

* Remove unused template

* Change id for video

* Fix flake8

* Fix pagination

* Update function call

* Add JS documentation

* Accessibility changes

* Change shake-effect

* Change cursor in reorganize mode

* Change card footer

* Add help menu

* Update title fav button to be more explicit

* Add translations

* Add drop zone hover effect

* Update texts & translations

* Fix drop zone hover effect

* Fix grabbing cursor

* Change cursor

---------

Co-authored-by: Aymeric Jakobowski <aymericjakpro@gmail.com>
* edit live/views.py

* fix flake8

* edit type

* add pydoc

* edit fct check_exists

* add utils.py

* add type, edit variable name and fct event_startrecord

* delete the name of the params is not use in the method call
@ptitloup ptitloup changed the title [WIP] Develop 3.2.0 [DONE] Develop 3.2.0 May 16, 2023
github-actions and others added 11 commits May 16, 2023 09:47
* Fix buttons style

* Fix font color in dark mode
* Fix error message in add chapter form

* Remove unneccesary span closure

* Change double equals by triple equals
* Fix favorite JS

* hide favorite button in manage section
* Add title for help section

* Update django.po

* fix typo adding N in maiNtenant ;)

* compilelang

---------

Co-authored-by: Ptitloup <nicolas.can@univ-lille.fr>
* [BUGFIX] Correct darkmode colors on chapter manager

* Comment some js lines that seems to be unrelevant. (and add useless "object HTMLCollection" in DOM)
@ptitloup ptitloup merged commit 705905e into master May 17, 2023
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.