Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DONE] Update : Playlist (EsupPortail#857)
* Add video in playlist without refresh page * Fix playlist-modal JS * Add button in playlist-modal * Add unit tests for playlist pages * Add playlist link in user menu * Add unit tests for playlist pages * Change icon for 'My playlists' link in the navbar and add unit test * Fix video counter * Add form * Fix breadcrumb * Change urls * Add utils tests * Add tests view for modal * Change playlist icon * Fix star button in video.html * Add stats in user_menu * Add tests for statistics in usermenu * Add form to ad or edit a playlist * flake8 * Add or remove punctuation * Add tests for the form to add or edit a playlist * Change logic for stats in usermenu * Add get_number_favorites function * Add signal to add favorite playlist when create account * Change signal for favorites playlist creation * Add a default sort in the playlists page * Add editable field in model * Fix videos sort in playlist * Sort videos by rank * Add a confirmation before the playlist deletion * Add a redirect to old page when the user add playlist via video page * Add drag & drop for playlist videos * Add translate * Translate * Check if name of playlist is correct * Add translation * Change star filling when in favorites playlist * Fix form to add or delete playlist * Add video in favorites playlist * Remove sort in playlist + add description * Add additional owners in model and forms * Fix favorites button under a video * Add pydoc for the forms * Add get_playlists_for_additional_owners util functions * Add additional owners in playlist * Add playlist aside informations * Add the last updated date in playlist page * Translations * Add the startup playlist param * Remove refresh on all pages * Add additionals owner in playlist informations card * Fix favorites name * Add template for playlist player * Add templateTag to get playlist name * Fix flake8 * Add a first version for playlist player * Infinite loader & templatetag * Add template for playlist player * Add counters under videos * finish stats views * Add previous favorites cast * Fix group by & default field * Change import * Fix gettext_lazy * Add favorites script * Create Favorites for all & cast previous playlists * Add 'start the playlist' * Update previous playlists * Fix video order in the playlist player * Playlists content * Update playlist player * Use bulk create / update * Fix addind playlist route * Fix flake8 * Add read playlist button in card * Fix users roles * Fix playlist player when the first video in playlist isn't accesible * Add lock icon when the video is limited is the playlist player * Add unit tests for utils functions * Fix playlist player when the video is draft * Fix playlist player rights * Rename can_see_favorite_video to can_see_playlist_video and move it in playlist_buttons * Add 'playlist' prefix in playlist title in the player * Add link in title playlist player * Fix add or edit playlist form * Add redirect or error 404 when the playlist is private for the user * Unit tests & some fixs * Add test * Add link in playlist video to start the playlist at this video * Flake8 * Change title tag and breadcrumb depending of video * Fix infinite loader * Add scroll box for playlist player * Remove Favorites application * Start implementing playlists sort * Merge * Update playlist player * Update playlisy player * Fix password encryption * Fix flake8 * Fix playlist start button * Implement protected playlists * Add test for private playlist * Fix playlist access when protected * optimisation of signals * Fix add or edit playlist form * Add tests for playlist player * Remove the link for video disabled in playlist content page * Add triangle for current video in playlist player * Translation * Add translation * Merge develop * Fix bulk create * Start protected playlist * Update style * Fix redirection * Fix playlist filters * Fix flake8 in part * Code factorisation & fix bugs * Fix truncatechar * Fix signals * Fix render video when the playlist is protected * Add link redirection in cards * Fix bugs & traductions * Add playlist sort * Add translations * Improve code quality * Add tests for models & forms * Add FAVORITE_PLAYLIST_NAME constant * Add params in configuration JSON file * Quick changes * Fix flake8 * Update autoscroll in playlist player * Fix unittests * Change tests & methods * Fix flake 8 * Some right fixes & tests * FIX requirements * Fix the addition & deletion favorite video in infinite loader * Fix playlist addition counter translation * Remove text-white class * Move static files in static/playlist folder * Add static tag & rename add-or-remove.js to add-or-edit.js * Remove debug prints & add condition to load JS files * Fix a strange test * Remove unnecessary field definitions * Add signal to remove favorite table * Remove unneccesary id * Remove unneccesary requirement * Remove USER_PLAYLIST * Add API REST requests for playlists * Remove owner filter & add search fields * Fix undefined scrollContainer * Fix translation for 'Favorites' playlist name * Fix display of star icon after adding a video to the favorites playlist * Add translations & update name field * Disable the video addition in playlist during the updating button * Add promoted playlists * Change some translations * Change JS files * Add a test & remove useless import * Change 'name' by 'title' in the name help text * Add the translate for the name field * Add site * Add refreshElementWithDocumentFragment JS function * Update the video autoplay in playlist * Add chapter in autoplay * Fix the autoplay in the end of playlist * Improve accessibility * Fix the state of the star & add aria-pressed * Fix the form to add or edit a playlist * Add aria-describedly for all field forms * Update translations * Add template to play playlist * Add script reloading * Update autoplay in playlist * Fix the autoplay * Fix the autoplay for sound recording * Reorganize video & playlist templates * Fix the autoscroll * Fix Django Debug Toolbar * Remove unnecessary templates * Remove unnecessary template * Fix flake8 * Fix the favorite playlist description * Fix the tests * Add intermediate state for favorite button --------- Co-authored-by: Aymeric Jakobowski <[email protected]>
- Loading branch information