This file contains hidden or 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
from __future__ import unicode_literals | |
import logging | |
from django.core.exceptions import PermissionDenied | |
from django.shortcuts import get_object_or_404, get_list_or_404 | |
from rest_framework.generics import RetrieveUpdateDestroyAPIView | |
from apps.common.permissions import is_tagger_admin | |
from rest_framework.response import Response | |
from rest_framework.filters import OrderingFilter |
This file contains hidden or 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
from django.http import JsonResponse | |
from django.views.decorators.http import require_POST | |
from django.shortcuts import get_object_or_404 | |
from core.decorators import api_endpoint | |
from encoder.forms import VideoForm, VideoStorageOptionsForm | |
from encoder.models import Video, VideoChunkedUpload | |
from encoder.tasks import encode_video | |
from encoder.progress_utils.progress import get_uploading_progress |
This file contains hidden or 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
from django.conf import settings | |
import boto3 | |
from utils.files import get_related_filename | |
from utils.files import get_fragments_list | |
from utils.files import get_fragments_list_no_intro | |
from utils.files import get_m3u8_files | |
from utils.aws_templates.templates import distribution_config | |
import time |
This file contains hidden or 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
'use strict'; | |
angular.module('mpList', []); | |
// This service is useful to mark items as selected, SelectAll, unselectAll,etc | |
// The service requieres that items must have a SID identifier property. | |
// | |
angular.module('mpList').factory('Selection', | |
function () { | |
var vm = { | |
allSelected: false, // Boolean: True if all items are selected, other case is False. |