From ca1f085d2a299d3e272b77dfe9985f292e462b63 Mon Sep 17 00:00:00 2001 From: ptitloup Date: Mon, 10 Feb 2020 20:39:57 +0100 Subject: [PATCH 01/33] add get file view to import file into video caption maker --- pod/podfile/urls.py | 7 ++++++- pod/podfile/views.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/pod/podfile/urls.py b/pod/podfile/urls.py index 2026b9dc08..5f03c641a9 100644 --- a/pod/podfile/urls.py +++ b/pod/podfile/urls.py @@ -5,7 +5,8 @@ from django.conf.urls import url -from .views import home, get_folder_files, editfolder, deletefolder +from .views import home, get_folder_files, get_file +from .views import editfolder, deletefolder from .views import uploadfiles, deletefile, changefile app_name = 'podfile' @@ -21,6 +22,10 @@ r'^get_folder_files/(?P[\d]+)/(?P[\-\d\w]+)/$', get_folder_files, name='get_folder_files'), + url( + r'^get_file/(?P[\-\d\w]+)/$', + get_file, + name='get_file'), url(r'^editfolder/$', editfolder, name='editfolder'), url(r'^deletefolder/$', deletefolder, name='deletefolder'), url(r'^deletefile/$', deletefile, name='deletefile'), diff --git a/pod/podfile/views.py b/pod/podfile/views.py index 341cbef120..d409032328 100644 --- a/pod/podfile/views.py +++ b/pod/podfile/views.py @@ -468,3 +468,47 @@ def file_edit_save(request, folder): return HttpResponse(data, content_type='application/json') return HttpResponse(data, content_type='application/json') + + +@csrf_protect +@staff_member_required(redirect_field_name='referrer') +def get_file(request, type): + id = None + if request.method == 'POST' and request.POST.get('src'): + id = request.POST.get('src') + elif request.method == 'GET' and request.GET.get('src'): + id = request.GET.get('src') + if type == "image": + reqfile = get_object_or_404(CustomImageModel, id=id) + else: + reqfile = get_object_or_404(CustomFileModel, id=id) + if (request.user != reqfile.folder.owner + and not request.user.groups.filter( + name__in=[ + name[0] + for name in reqfile.folder.groups.values_list('name') + ] + ).exists() + and not request.user.is_superuser): + messages.add_message( + request, messages.ERROR, + _(u'You cannot see this folder.')) + raise PermissionDenied + + request.session['current_session_folder'] = reqfile.folder.name + try: + with open(reqfile.file.path, 'r') as f: + fc = f.read() + some_data_to_dump = { + 'status': "success", + 'id_file': reqfile.id, + 'id_folder': reqfile.folder.id, + 'response': fc + } + except OSError: + some_data_to_dump = { + 'status': "error", + 'response': '' + } + data = json.dumps(some_data_to_dump) + return HttpResponse(data, content_type='application/json') From d4eef57da46c66652e688feefd020739ea6c2366 Mon Sep 17 00:00:00 2001 From: ptitloup Date: Mon, 10 Feb 2020 21:01:29 +0100 Subject: [PATCH 02/33] fix bug with file name for save in video caption maker --- pod/completion/static/js/caption_maker.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pod/completion/static/js/caption_maker.js b/pod/completion/static/js/caption_maker.js index 9dd6fe6b81..bad441737f 100644 --- a/pod/completion/static/js/caption_maker.js +++ b/pod/completion/static/js/caption_maker.js @@ -24,7 +24,9 @@ $(document).on('click', '#modal-btn-new, #modal-btn-override', function() { $("#saveCaptionsModal").modal('hide'); if (this.id == 'modal-btn-override') { $('#form_save_captions').find('input[name="file_id"]').val(file_loaded_id); - send_form_save_captions($('#fileinput_id_src').find('strong').html()); + //alert($('#fileinput_id_src').find('strong').find('a').html()); + //alert($('#fileinput_id_src').text().trim()); + send_form_save_captions($('#fileinput_id_src').text().trim()); } else if (this.id == 'modal-btn-new') { $('#form_save_captions').find('input[name="file_id"]').val(""); From 2c9e86b2592e51a3191bf4180546ca0565e4ea65 Mon Sep 17 00:00:00 2001 From: JoshuaBaubry Date: Wed, 12 Feb 2020 10:37:28 +0100 Subject: [PATCH 03/33] Add preview for record + update gitignore to support vscode files --- .gitignore | 1 + pod/recorder/models.py | 8 +++- .../templates/recorder/claim_record.html | 38 +++++++++++++++++++ .../templates/recorder/link_record.html | 6 ++- 4 files changed, 51 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 583b39c605..c3f76e5987 100644 --- a/.gitignore +++ b/.gitignore @@ -55,6 +55,7 @@ pod/static/ # IDE Files # ############# .idea +.vscode # Certificates # ################ diff --git a/pod/recorder/models.py b/pod/recorder/models.py index e249a13769..10f256063a 100644 --- a/pod/recorder/models.py +++ b/pod/recorder/models.py @@ -32,7 +32,10 @@ settings, 'DEFAULT_RECORDER_ID', 1 ) - +PUBLIC_RECORD_DIRS = getattr( + settings, 'PUBLIC_RECORD_DIRS', + "records" +) class Recorder(models.Model): # Recorder name @@ -177,6 +180,9 @@ class RecordingFileTreatment(models.Model): def filename(self): return os.path.basename(self.file) + def publicfileurl(self): + return os.path.join(settings.MEDIA_URL,PUBLIC_RECORD_DIRS,self.recorder.directory ,os.path.basename(self.file)) + class Meta: verbose_name = _("Recording file treatment") verbose_name_plural = _("Recording file treatments") diff --git a/pod/recorder/templates/recorder/claim_record.html b/pod/recorder/templates/recorder/claim_record.html index 55fff73f2a..23a6b8a9c3 100644 --- a/pod/recorder/templates/recorder/claim_record.html +++ b/pod/recorder/templates/recorder/claim_record.html @@ -22,6 +22,34 @@

{% trans "No record found"%}

{% blocktrans count counter=records.paginator.count %}{{ counter }} record found{% plural %}{{ counter }} records found{% endblocktrans %}

{% include "recorder/record_list.html" %} {% endif %} + + + {% endblock page_content %} {% block collapse_page_aside %} @@ -49,5 +77,15 @@

{% blocktrans count counter=records.paginator.count %}{{ counter }} record f } } }); + + $('#previewModal').on('show.bs.modal', function (e) { + console.log("Opening the modal") +}) + + $('.previewBtn').on('click', function (e) { + console.log("clicking the btn") + videojs("podvideoplayer").src($(this).data("recid")) + +}) {% endblock more_script %} \ No newline at end of file diff --git a/pod/recorder/templates/recorder/link_record.html b/pod/recorder/templates/recorder/link_record.html index b0702e7152..8e364b8110 100644 --- a/pod/recorder/templates/recorder/link_record.html +++ b/pod/recorder/templates/recorder/link_record.html @@ -1,9 +1,13 @@ {% load i18n %} {% spaceless %} {% if request.user.is_superuser %} - + + {% endif %} + {% trans "Claim the record"%} From 918862e577d7c20be16ac316e712e1c6e1214d41 Mon Sep 17 00:00:00 2001 From: JoshuaBaubry Date: Wed, 12 Feb 2020 10:42:01 +0100 Subject: [PATCH 04/33] Fix flaxe8 issues --- pod/recorder/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pod/recorder/models.py b/pod/recorder/models.py index 10f256063a..cca791ad6d 100644 --- a/pod/recorder/models.py +++ b/pod/recorder/models.py @@ -37,6 +37,7 @@ "records" ) + class Recorder(models.Model): # Recorder name name = models.CharField(_('name'), max_length=200, unique=True) @@ -181,7 +182,9 @@ def filename(self): return os.path.basename(self.file) def publicfileurl(self): - return os.path.join(settings.MEDIA_URL,PUBLIC_RECORD_DIRS,self.recorder.directory ,os.path.basename(self.file)) + return os.path.join(settings.MEDIA_URL, PUBLIC_RECORD_DIRS, + self.recorder.directory, + os.path.basename(self.file)) class Meta: verbose_name = _("Recording file treatment") From 34d4dae33f0e7b6b93170c84b1323817a063acce Mon Sep 17 00:00:00 2001 From: JoshuaBaubry Date: Wed, 12 Feb 2020 10:43:27 +0100 Subject: [PATCH 05/33] Remove useless logs + remove useless funcion --- pod/recorder/templates/recorder/claim_record.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pod/recorder/templates/recorder/claim_record.html b/pod/recorder/templates/recorder/claim_record.html index 23a6b8a9c3..1e63bbf458 100644 --- a/pod/recorder/templates/recorder/claim_record.html +++ b/pod/recorder/templates/recorder/claim_record.html @@ -78,14 +78,8 @@ } }); - $('#previewModal').on('show.bs.modal', function (e) { - console.log("Opening the modal") -}) - $('.previewBtn').on('click', function (e) { - console.log("clicking the btn") videojs("podvideoplayer").src($(this).data("recid")) - }) {% endblock more_script %} \ No newline at end of file From d7d20f6e4e5f2d9dfe2c9b325d94de38041d799c Mon Sep 17 00:00:00 2001 From: JoshuaBaubry Date: Wed, 12 Feb 2020 10:44:47 +0100 Subject: [PATCH 06/33] Update translation --- pod/locale/fr/LC_MESSAGES/django.mo | Bin 74028 -> 74107 bytes pod/locale/fr/LC_MESSAGES/django.po | 92 +++++++++++++++------------- pod/locale/nl/LC_MESSAGES/django.mo | Bin 769 -> 769 bytes pod/locale/nl/LC_MESSAGES/django.po | 91 ++++++++++++++------------- 4 files changed, 97 insertions(+), 86 deletions(-) diff --git a/pod/locale/fr/LC_MESSAGES/django.mo b/pod/locale/fr/LC_MESSAGES/django.mo index 31d67c12f805d295a2562fea927ea6135fe457f4..d3ec890c00da197e02042346adb0692f06d3ba4f 100644 GIT binary patch delta 17726 zcmZA82Y3}l|M%fNq(KM?AtWTE5E4iTJ%o<*gd!bj25AD)d#^{3jwnbIq$9l-ks@6{ z5J99U9i@p%ks{LnpYNH;bNRk|Il1RIGdnvwGrQ*`>e>U|FAjLSujKHa>2Q?ta-1mq zHo|dgdpl0|6qP#8)KteAgVQhw!_pk5G$vpPY=y;fD(1ue7>>7a4!*%qoKwSb`r!sF ziSacZCy(Q}ofc%&;b6?72G|OBU=GYx%WSCREO!96MNh8v8eX5F%DOw2KzS$Rg}Q@bs5|`>wFEOz zGq4JC;ZD?y{e)~M=MHKnz3Q7K3PrUqP@nnNRFtEj3RcCgI2yC!T@1iysDb%5Ff$W` z8dwCXJ{Hx!h>go(5OEFEfSaMN(-qZEUmFi=!2D}uA5oAEXW9l!u@v!I)UN&wE1+LP zE{4^yGIqeK_$5}tTc``=Z{#>*u?Pm@7R-(ZP)mCn6Y;W}j1L)~#^%JVn435RbwW|h zft79C82yRcqb}4Fb>{<77aEP4k!h$su>kcro<}XoL)4OFdB@zaJD!Xlmt<7OO;Bsw z#>O2mh`1L9qZ>6-)2s_I2k|=8+V4XRE_sYIclocVmNL`UGNlYAitve z^G;{|HPVQ5UJjUudOi!G_CiU_kF9O_7}Q>vV&l!IwcLeaco=ixW$P2v)MsmH1{8}L zP+?5Nw3f`j1~Az+n1h;$WvC@Njk>@us5QNg+SPYakKbdgf-h0;gNpAtPCFcd8t7Hj zOnCE&rt`9+W-ymE$!#+gY=e5J7fKT>kF!uSatbxo7f@4q4b{;D{2Md1=1yG<2sO2S zZOxrVVJdMc)C~gYtbr-q)=(UZo$v`Z!dC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crkiV-<_0={O6Q~kWLaeM3)zZ7YXu__E4a|BTk^K z7O}2xF$ka8cp3RB)Ym1Yw_CJ|{2j^%*fv+l@3HyqR*IYsw9~cR`kB_hm2I$&iZ$f_ zBAvEng>A!7yyd=?f6HqX^GSVZdw}}7$(QB^{vrC%lJ`)sB3DH0G1jSztS% z%zbsD!8OW$A^F?73DiW8e?*#2{UuUq^50=G9<~+pU}5`Ub@YJx^`z7*g?t)Y|GT@8 z`FFLojj=o__P-s_X@26fxR;wfNNs4d77tODM7}I}UG;DlWxDclPY0VfC4B9Yc|dBC zT7b=TYC8OxBn`Hm=EA-9zSra{llqeK(ni;KgX7OYZjkRo zIa&AroUE!oq(4a?g>zGgy{RDii{#5;4=RguM+xFrq;|x=P(B6sqORGbdY+pmC3Y#c f$-94CvGlPeB8tV9Ef&A2@`{EDn>O7#TJHY\n" "Language-Team: \n" @@ -90,7 +90,7 @@ msgstr "enseignant" msgid "registered-reader" msgstr "lecteur enregistré" -#: pod/authentication/models.py:67 pod/recorder/models.py:109 +#: pod/authentication/models.py:67 pod/recorder/models.py:113 #: pod/video/models.py:1281 pod/video/views.py:1127 msgid "Comment" msgstr "Commentaire" @@ -196,7 +196,7 @@ msgid "video" msgstr "vidéo" #: pod/chapter/models.py:14 pod/enrichment/models.py:114 -#: pod/recorder/models.py:102 pod/video/models.py:386 +#: pod/recorder/models.py:106 pod/video/models.py:386 msgid "title" msgstr "titre" @@ -1524,7 +1524,7 @@ msgstr "" "interactive et leurs résultats." #: pod/interactive/templates/interactive/video_interactive.html:129 -#: pod/recorder/models.py:58 +#: pod/recorder/models.py:62 msgid "User" msgstr "Utilisateur" @@ -1564,7 +1564,7 @@ msgstr "Vous regardez cette vidéo en tant qu'utilisateur anonyme" msgid "You cannot add interactivity to this video." msgstr "Vous ne pouvez éditer cette vidéo interactive." -#: pod/live/models.py:20 pod/live/models.py:45 pod/recorder/models.py:39 +#: pod/live/models.py:20 pod/live/models.py:45 pod/recorder/models.py:43 msgid "name" msgstr "nom" @@ -1586,7 +1586,7 @@ msgstr "Bâtiment" msgid "Buildings" msgstr "Bâtiments" -#: pod/live/models.py:54 pod/recorder/models.py:41 +#: pod/live/models.py:54 pod/recorder/models.py:45 #: pod/video/templates/channel/list_theme.html:10 msgid "description" msgstr "description" @@ -2876,6 +2876,7 @@ msgid "Loading" msgstr "Chargement" #: pod/podfile/templates/podfile/home_content.html:57 +#: pod/recorder/templates/recorder/claim_record.html:48 msgid "Close" msgstr "Fermer" @@ -2911,7 +2912,7 @@ msgstr "Ajouter un nouveau dossier" msgid "Shared folders" msgstr "Dossiers partagés" -#: pod/podfile/views.py:123 +#: pod/podfile/views.py:123 pod/podfile/views.py:495 msgid "You cannot see this folder." msgstr "Vous ne pouvez pas voir ce dossier." @@ -2983,23 +2984,23 @@ msgstr "La suppression d'un enregistrement est définitive" msgid "Audiovideocast" msgstr "Audiovideocast" -#: pod/recorder/models.py:44 +#: pod/recorder/models.py:48 msgid "Address IP" msgstr "Adresse IP" -#: pod/recorder/models.py:46 +#: pod/recorder/models.py:50 msgid "IP address of the recorder." msgstr "Adresse IP de l'enregistreur." -#: pod/recorder/models.py:49 +#: pod/recorder/models.py:53 msgid "salt" msgstr "hash" -#: pod/recorder/models.py:50 +#: pod/recorder/models.py:54 msgid "Recorder salt." msgstr "Hash de l'enregistreur." -#: pod/recorder/models.py:55 +#: pod/recorder/models.py:59 msgid "" "Manager of this recorder. This manager will receive recorder emails and he " "will be the owner of the published videos. If no user is selected, this " @@ -3009,113 +3010,113 @@ msgstr "" "le propriétaire des vidéos publiées. Si aucun utilisateur n'est sélectionné, " "cet enregistreur utilisera le mode manuel d'assignation." -#: pod/recorder/models.py:62 +#: pod/recorder/models.py:66 msgid "Video type by default." msgstr "Type par défaut des vidéos." -#: pod/recorder/models.py:64 pod/recorder/models.py:103 +#: pod/recorder/models.py:68 pod/recorder/models.py:107 msgid "Recording Type" msgstr "Type d'enregistrement" -#: pod/recorder/models.py:68 +#: pod/recorder/models.py:72 msgid "Publication directory" msgstr "Répertoire des publications" -#: pod/recorder/models.py:70 +#: pod/recorder/models.py:74 msgid "Basic directory containing the videos published by the recorder." msgstr "Répertoire de base des vidéos publiées par l'enregistreur." -#: pod/recorder/models.py:86 pod/recorder/models.py:94 -#: pod/recorder/models.py:156 pod/recorder/models.py:190 +#: pod/recorder/models.py:90 pod/recorder/models.py:98 +#: pod/recorder/models.py:160 pod/recorder/models.py:199 msgid "Recorder" msgstr "Enregistreur" -#: pod/recorder/models.py:87 +#: pod/recorder/models.py:91 msgid "Recorders" msgstr "Enregistreurs" -#: pod/recorder/models.py:96 pod/recorder/models.py:158 -#: pod/recorder/models.py:191 +#: pod/recorder/models.py:100 pod/recorder/models.py:162 +#: pod/recorder/models.py:200 msgid "Recorder that made this recording." msgstr "Enregistreur qui a fait cet enregistrement." -#: pod/recorder/models.py:101 +#: pod/recorder/models.py:105 msgid "User who has made the recording" msgstr "Utilisateur qui a fait l'enregisrement" -#: pod/recorder/models.py:117 +#: pod/recorder/models.py:121 msgid "Recording" msgstr "Enregistrement" -#: pod/recorder/models.py:118 +#: pod/recorder/models.py:122 msgid "Recordings" msgstr "Enregistrements" -#: pod/recorder/models.py:132 +#: pod/recorder/models.py:136 msgid "Please specify a type." msgstr "Veuillez spécifier un type." -#: pod/recorder/models.py:134 +#: pod/recorder/models.py:138 msgid "Please use the only type in type choices." msgstr "Merci de sélectionner un type valide." -#: pod/recorder/models.py:136 +#: pod/recorder/models.py:140 msgid "Please specify a source file." msgstr "Veuillez spécifier un fichier source." -#: pod/recorder/models.py:138 +#: pod/recorder/models.py:142 msgid "Source file doesn't exists" msgstr "Le fichier source n'existe pas" -#: pod/recorder/models.py:153 +#: pod/recorder/models.py:157 msgid "Source file of the published video." msgstr "Fichier source de la vidéo publiée." -#: pod/recorder/models.py:154 +#: pod/recorder/models.py:158 msgid "File size" msgstr "Taille du fichier" -#: pod/recorder/models.py:159 pod/video/models.py:488 pod/video/models.py:1228 +#: pod/recorder/models.py:163 pod/video/models.py:488 pod/video/models.py:1228 #: pod/video/models.py:1283 msgid "Date added" msgstr "Date d'ajout" -#: pod/recorder/models.py:161 +#: pod/recorder/models.py:165 msgid "Require manual claim ?" msgstr "Requière une revendication manuelle ?" -#: pod/recorder/models.py:164 +#: pod/recorder/models.py:168 msgid "Has this recording file require a manual claim by a user ?" msgstr "" "Est-ce que ce fichier d'enregistrement requière une revendication manuelle ?" -#: pod/recorder/models.py:167 +#: pod/recorder/models.py:171 msgid "Email sent ?" msgstr "Email envoyé ?" -#: pod/recorder/models.py:169 +#: pod/recorder/models.py:173 msgid "Has an email been sent to the manager of the concerned recorder ?" msgstr "" "Est-ce que le mail a été envoyé au gestionnaire de l'enregistrement " "concerné ?" -#: pod/recorder/models.py:172 +#: pod/recorder/models.py:176 msgid "Date email sent" msgstr "Date de l'envoi du mail" -#: pod/recorder/models.py:181 +#: pod/recorder/models.py:190 msgid "Recording file treatment" msgstr "Traitement de fichier d’enregistrement" -#: pod/recorder/models.py:182 +#: pod/recorder/models.py:191 msgid "Recording file treatments" msgstr "Traitements de fichier d’enregistrement" -#: pod/recorder/models.py:195 +#: pod/recorder/models.py:204 msgid "Recording file" msgstr "Fichier d’enregistrement" -#: pod/recorder/models.py:196 +#: pod/recorder/models.py:205 msgid "Recording files" msgstr "Fichiers d’enregistrement" @@ -3145,12 +3146,17 @@ msgstr "Aucun enregistrement trouvé" msgid "There is no unassigned records" msgstr "Il n'y a pas d'enregistrements non assigné" -#: pod/recorder/templates/recorder/link_record.html:4 +#: pod/recorder/templates/recorder/claim_record.html:31 +#| msgid "Recording Type" +msgid "Record preview" +msgstr "Prévisulation d'enregistrement" + +#: pod/recorder/templates/recorder/link_record.html:5 msgid "Delete this record." msgstr "Supprimer cet enregistrement." -#: pod/recorder/templates/recorder/link_record.html:7 -#: pod/recorder/templates/recorder/link_record.html:8 +#: pod/recorder/templates/recorder/link_record.html:11 +#: pod/recorder/templates/recorder/link_record.html:12 msgid "Claim the record" msgstr "Revendiquer l'enregistrement" diff --git a/pod/locale/nl/LC_MESSAGES/django.mo b/pod/locale/nl/LC_MESSAGES/django.mo index acc64429f06a64293f148a30fc4c0c4fc70431d2..242dbf4cb1c7d04eae88b40fdf9cf929ae414ae4 100644 GIT binary patch delta 21 ccmZoF{&B$SBq+noaWn#R!nX!%$06q@|h5!Hn delta 21 ccmZoF{&B$S3qF`uXWoWv&nX!%$06oeDegFUf diff --git a/pod/locale/nl/LC_MESSAGES/django.po b/pod/locale/nl/LC_MESSAGES/django.po index c7ecd404be..0863d3c660 100644 --- a/pod/locale/nl/LC_MESSAGES/django.po +++ b/pod/locale/nl/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:15+0000\n" +"POT-Creation-Date: 2020-02-12 09:43+0000\n" "PO-Revision-Date: 2018-07-03 13:41+0100\n" "Last-Translator: Nicolas \n" "Language-Team: LANGUAGE \n" @@ -90,7 +90,7 @@ msgstr "" msgid "registered-reader" msgstr "" -#: pod/authentication/models.py:67 pod/recorder/models.py:109 +#: pod/authentication/models.py:67 pod/recorder/models.py:113 #: pod/video/models.py:1281 pod/video/views.py:1127 msgid "Comment" msgstr "" @@ -193,7 +193,7 @@ msgid "video" msgstr "" #: pod/chapter/models.py:14 pod/enrichment/models.py:114 -#: pod/recorder/models.py:102 pod/video/models.py:386 +#: pod/recorder/models.py:106 pod/video/models.py:386 msgid "title" msgstr "titel" @@ -1464,7 +1464,7 @@ msgid "" msgstr "" #: pod/interactive/templates/interactive/video_interactive.html:129 -#: pod/recorder/models.py:58 +#: pod/recorder/models.py:62 msgid "User" msgstr "" @@ -1504,7 +1504,7 @@ msgstr "" msgid "You cannot add interactivity to this video." msgstr "" -#: pod/live/models.py:20 pod/live/models.py:45 pod/recorder/models.py:39 +#: pod/live/models.py:20 pod/live/models.py:45 pod/recorder/models.py:43 msgid "name" msgstr "" @@ -1526,7 +1526,7 @@ msgstr "" msgid "Buildings" msgstr "" -#: pod/live/models.py:54 pod/recorder/models.py:41 +#: pod/live/models.py:54 pod/recorder/models.py:45 #: pod/video/templates/channel/list_theme.html:10 msgid "description" msgstr "" @@ -2797,6 +2797,7 @@ msgid "Loading" msgstr "" #: pod/podfile/templates/podfile/home_content.html:57 +#: pod/recorder/templates/recorder/claim_record.html:48 msgid "Close" msgstr "" @@ -2832,7 +2833,7 @@ msgstr "" msgid "Shared folders" msgstr "" -#: pod/podfile/views.py:123 +#: pod/podfile/views.py:123 pod/podfile/views.py:495 msgid "You cannot see this folder." msgstr "" @@ -2902,133 +2903,133 @@ msgstr "" msgid "Audiovideocast" msgstr "" -#: pod/recorder/models.py:44 +#: pod/recorder/models.py:48 msgid "Address IP" msgstr "" -#: pod/recorder/models.py:46 +#: pod/recorder/models.py:50 msgid "IP address of the recorder." msgstr "" -#: pod/recorder/models.py:49 +#: pod/recorder/models.py:53 msgid "salt" msgstr "" -#: pod/recorder/models.py:50 +#: pod/recorder/models.py:54 msgid "Recorder salt." msgstr "" -#: pod/recorder/models.py:55 +#: pod/recorder/models.py:59 msgid "" "Manager of this recorder. This manager will receive recorder emails and he " "will be the owner of the published videos. If no user is selected, this " "recorder will use manual assign system." msgstr "" -#: pod/recorder/models.py:62 +#: pod/recorder/models.py:66 msgid "Video type by default." msgstr "" -#: pod/recorder/models.py:64 pod/recorder/models.py:103 +#: pod/recorder/models.py:68 pod/recorder/models.py:107 msgid "Recording Type" msgstr "" -#: pod/recorder/models.py:68 +#: pod/recorder/models.py:72 msgid "Publication directory" msgstr "" -#: pod/recorder/models.py:70 +#: pod/recorder/models.py:74 msgid "Basic directory containing the videos published by the recorder." msgstr "" -#: pod/recorder/models.py:86 pod/recorder/models.py:94 -#: pod/recorder/models.py:156 pod/recorder/models.py:190 +#: pod/recorder/models.py:90 pod/recorder/models.py:98 +#: pod/recorder/models.py:160 pod/recorder/models.py:199 msgid "Recorder" msgstr "" -#: pod/recorder/models.py:87 +#: pod/recorder/models.py:91 msgid "Recorders" msgstr "" -#: pod/recorder/models.py:96 pod/recorder/models.py:158 -#: pod/recorder/models.py:191 +#: pod/recorder/models.py:100 pod/recorder/models.py:162 +#: pod/recorder/models.py:200 msgid "Recorder that made this recording." msgstr "" -#: pod/recorder/models.py:101 +#: pod/recorder/models.py:105 msgid "User who has made the recording" msgstr "" -#: pod/recorder/models.py:117 +#: pod/recorder/models.py:121 msgid "Recording" msgstr "" -#: pod/recorder/models.py:118 +#: pod/recorder/models.py:122 msgid "Recordings" msgstr "" -#: pod/recorder/models.py:132 +#: pod/recorder/models.py:136 msgid "Please specify a type." msgstr "" -#: pod/recorder/models.py:134 +#: pod/recorder/models.py:138 msgid "Please use the only type in type choices." msgstr "" -#: pod/recorder/models.py:136 +#: pod/recorder/models.py:140 msgid "Please specify a source file." msgstr "" -#: pod/recorder/models.py:138 +#: pod/recorder/models.py:142 msgid "Source file doesn't exists" msgstr "" -#: pod/recorder/models.py:153 +#: pod/recorder/models.py:157 msgid "Source file of the published video." msgstr "" -#: pod/recorder/models.py:154 +#: pod/recorder/models.py:158 msgid "File size" msgstr "" -#: pod/recorder/models.py:159 pod/video/models.py:488 pod/video/models.py:1228 +#: pod/recorder/models.py:163 pod/video/models.py:488 pod/video/models.py:1228 #: pod/video/models.py:1283 msgid "Date added" msgstr "" -#: pod/recorder/models.py:161 +#: pod/recorder/models.py:165 msgid "Require manual claim ?" msgstr "" -#: pod/recorder/models.py:164 +#: pod/recorder/models.py:168 msgid "Has this recording file require a manual claim by a user ?" msgstr "" -#: pod/recorder/models.py:167 +#: pod/recorder/models.py:171 msgid "Email sent ?" msgstr "" -#: pod/recorder/models.py:169 +#: pod/recorder/models.py:173 msgid "Has an email been sent to the manager of the concerned recorder ?" msgstr "" -#: pod/recorder/models.py:172 +#: pod/recorder/models.py:176 msgid "Date email sent" msgstr "" -#: pod/recorder/models.py:181 +#: pod/recorder/models.py:190 msgid "Recording file treatment" msgstr "" -#: pod/recorder/models.py:182 +#: pod/recorder/models.py:191 msgid "Recording file treatments" msgstr "" -#: pod/recorder/models.py:195 +#: pod/recorder/models.py:204 msgid "Recording file" msgstr "" -#: pod/recorder/models.py:196 +#: pod/recorder/models.py:205 msgid "Recording files" msgstr "" @@ -3058,12 +3059,16 @@ msgstr "" msgid "There is no unassigned records" msgstr "" -#: pod/recorder/templates/recorder/link_record.html:4 +#: pod/recorder/templates/recorder/claim_record.html:31 +msgid "Record preview" +msgstr "" + +#: pod/recorder/templates/recorder/link_record.html:5 msgid "Delete this record." msgstr "" -#: pod/recorder/templates/recorder/link_record.html:7 -#: pod/recorder/templates/recorder/link_record.html:8 +#: pod/recorder/templates/recorder/link_record.html:11 +#: pod/recorder/templates/recorder/link_record.html:12 msgid "Claim the record" msgstr "" From 7a753fc72163f0f89db7c98730740d79ae30df2d Mon Sep 17 00:00:00 2001 From: JoshuaBaubry Date: Wed, 12 Feb 2020 10:48:19 +0100 Subject: [PATCH 07/33] Add setting for usage of record preview --- pod/main/context_processors.py | 4 ++++ pod/recorder/templates/recorder/claim_record.html | 3 ++- pod/recorder/templates/recorder/link_record.html | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pod/main/context_processors.py b/pod/main/context_processors.py index 5b5d143bb2..bb3c2386a5 100644 --- a/pod/main/context_processors.py +++ b/pod/main/context_processors.py @@ -75,6 +75,9 @@ ALLOW_MANUAL_RECORDING_CLAIMING = getattr( django_settings, 'ALLOW_MANUAL_RECORDING_CLAIMING', False) +USE_RECORD_PREVIEW = getattr( + django_settings, 'USE_RECORD_PREVIEW', False) + def context_settings(request): new_settings = {} @@ -92,6 +95,7 @@ def context_settings(request): new_settings['HIDE_USER_TAB'] = HIDE_USER_TAB new_settings['HIDE_USER_FILTER'] = HIDE_USER_FILTER new_settings['USE_STATS_VIEW'] = USE_STATS_VIEW + new_settings['USE_RECORD_PREVIEW'] = USE_RECORD_PREVIEW new_settings['ALLOW_MANUAL_RECORDING_CLAIMING'] = \ ALLOW_MANUAL_RECORDING_CLAIMING return new_settings diff --git a/pod/recorder/templates/recorder/claim_record.html b/pod/recorder/templates/recorder/claim_record.html index 1e63bbf458..7cdf622ca7 100644 --- a/pod/recorder/templates/recorder/claim_record.html +++ b/pod/recorder/templates/recorder/claim_record.html @@ -23,7 +23,7 @@

{% blocktrans count counter=records.paginator.count %}{{ counter }} record f {% include "recorder/record_list.html" %} {% endif %} - +{% if USE_RECORD_PREVIEW%} +{% endif %} {% endblock page_content %} {% block collapse_page_aside %} diff --git a/pod/recorder/templates/recorder/link_record.html b/pod/recorder/templates/recorder/link_record.html index 8e364b8110..727f127e0f 100644 --- a/pod/recorder/templates/recorder/link_record.html +++ b/pod/recorder/templates/recorder/link_record.html @@ -5,9 +5,11 @@ {% endif %} +{% if USE_RECORD_PREVIEW%} +{% endif %} {% trans "Claim the record"%} From 3bd45be2013d2a393c5f701c5a8f28b0a43fce5c Mon Sep 17 00:00:00 2001 From: JoshuaBaubry Date: Wed, 12 Feb 2020 10:55:51 +0100 Subject: [PATCH 08/33] Remove fail of copy --- pod/recorder/templates/recorder/claim_record.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/recorder/templates/recorder/claim_record.html b/pod/recorder/templates/recorder/claim_record.html index 7cdf622ca7..1b00a269ab 100644 --- a/pod/recorder/templates/recorder/claim_record.html +++ b/pod/recorder/templates/recorder/claim_record.html @@ -35,7 +35,7 @@