@saooti/octopus-sdk 31.0.0 → 31.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +23 -0
  2. package/index.ts +8 -2
  3. package/package.json +4 -3
  4. package/src/assets/general.scss +8 -0
  5. package/src/assets/share.scss +40 -0
  6. package/src/components/display/categories/CategoryChooser.vue +2 -14
  7. package/src/components/display/categories/CategoryFilter.vue +10 -8
  8. package/src/components/display/categories/CategoryList.vue +26 -24
  9. package/src/components/display/comments/AddCommentModal.vue +2 -5
  10. package/src/components/display/comments/CommentBasicView.vue +1 -1
  11. package/src/components/display/comments/CommentInput.vue +21 -19
  12. package/src/components/display/comments/CommentList.vue +2 -0
  13. package/src/components/display/comments/CommentPlayer.vue +2 -0
  14. package/src/components/display/emission/EmissionChooser.vue +0 -9
  15. package/src/components/display/emission/EmissionInlineList.vue +36 -53
  16. package/src/components/display/emission/EmissionList.vue +12 -8
  17. package/src/components/display/emission/EmissionPlayerItem.vue +16 -1
  18. package/src/components/display/filter/AdvancedSearch.vue +2 -0
  19. package/src/components/display/filter/ProductorSearch.vue +6 -1
  20. package/src/components/display/live/LiveHorizontalList.vue +1 -1
  21. package/src/components/display/live/LiveItem.vue +2 -1
  22. package/src/components/display/live/LiveList.vue +51 -41
  23. package/src/components/display/organisation/OrganisationChooser.vue +1 -10
  24. package/src/components/display/organisation/OrganisationChooserLight.vue +28 -19
  25. package/src/components/display/participant/ParticipantItem.vue +2 -0
  26. package/src/components/display/participant/ParticipantList.vue +30 -19
  27. package/src/components/display/playlist/PlaylistList.vue +12 -3
  28. package/src/components/display/playlist/PodcastList.vue +26 -16
  29. package/src/components/display/playlist/PodcastPlaylistInlineList.vue +204 -0
  30. package/src/components/display/podcasts/AnimatorsItem.vue +2 -0
  31. package/src/components/display/podcasts/ParticipantDescription.vue +1 -5
  32. package/src/components/display/podcasts/PodcastImage.vue +2 -1
  33. package/src/components/display/podcasts/PodcastInlineList.vue +52 -30
  34. package/src/components/display/podcasts/PodcastItem.vue +12 -0
  35. package/src/components/display/podcasts/PodcastList.vue +11 -3
  36. package/src/components/display/podcasts/PodcastPlayBar.vue +5 -3
  37. package/src/components/display/podcasts/TagList.vue +2 -0
  38. package/src/components/display/rubriques/RubriqueChooser.vue +2 -6
  39. package/src/components/display/rubriques/RubriqueList.vue +3 -1
  40. package/src/components/display/sharing/PlayerParameters.vue +2 -0
  41. package/src/components/display/sharing/QrCode.vue +7 -0
  42. package/src/components/display/sharing/ShareDistribution.vue +2 -0
  43. package/src/components/display/sharing/SharePlayer.vue +2 -0
  44. package/src/components/display/sharing/SubscribeButtons.vue +15 -0
  45. package/src/components/form/ClassicSearch.vue +2 -0
  46. package/src/components/misc/ErrorMessage.vue +2 -0
  47. package/src/components/misc/Footer.vue +2 -0
  48. package/src/components/misc/LeftMenu.vue +2 -0
  49. package/src/components/misc/Player.vue +58 -40
  50. package/src/components/misc/PlayerButtons.vue +6 -14
  51. package/src/components/misc/PlayerClockAndTimeline.vue +2 -0
  52. package/src/components/misc/PlayerProgressBar.vue +2 -0
  53. package/src/components/misc/Popover.vue +5 -0
  54. package/src/components/misc/Snackbar.vue +2 -0
  55. package/src/components/misc/TopBar.vue +2 -0
  56. package/src/components/misc/modal/NewsletterModal.vue +11 -3
  57. package/src/components/misc/modal/ShareModalPlayer.vue +2 -0
  58. package/src/components/mixins/handle403.ts +17 -0
  59. package/src/components/pages/Emission.vue +18 -4
  60. package/src/components/pages/Error403Page.vue +24 -0
  61. package/src/components/pages/Participant.vue +19 -4
  62. package/src/components/pages/Playlist.vue +17 -3
  63. package/src/components/pages/Podcast.vue +29 -12
  64. package/src/components/pages/Podcasts.vue +4 -0
  65. package/src/locale/en.ts +1 -0
  66. package/src/locale/fr.ts +1 -0
  67. package/src/locale/it.ts +298 -0
  68. package/src/locale/messages.ts +2 -0
  69. package/src/main.ts +18 -1
  70. package/src/router/router.ts +6 -0
  71. package/src/store/class/general/organisation.ts +1 -0
  72. package/src/store/paramStore.ts +19 -14
  73. package/src/store/typeAppStore.ts +0 -4
@@ -1,14 +1,16 @@
1
1
  <template>
2
2
  <div class="page-box">
3
3
  <template v-if="loaded && !error">
4
- <h1 v-if="!isOuestFrance">
5
- {{ titlePage }}
6
- </h1>
7
- <Countdown
8
- v-if="isCounter"
9
- :time-remaining="timeRemaining"
10
- />
11
- <div class="d-flex">
4
+ <div class="page-podcast-title">
5
+ <h1 v-if="!isOuestFrance">
6
+ {{ titlePage }}
7
+ </h1>
8
+ <Countdown
9
+ v-if="isCounter"
10
+ :time-remaining="timeRemaining"
11
+ />
12
+ </div>
13
+ <div class="d-flex page-podcast">
12
14
  <div class="d-flex flex-column flex-super-grow">
13
15
  <RecordingItemButton
14
16
  v-if="
@@ -101,11 +103,12 @@ import { state } from '../../store/paramStore';
101
103
  import moment from 'moment';
102
104
  import { Podcast } from '@/store/class/general/podcast';
103
105
  import { Conference } from '@/store/class/conference/conference';
104
-
106
+ import { handle403 } from '../mixins/handle403';
105
107
  import { defineComponent, defineAsyncComponent } from 'vue';
106
108
  import CommentSectionVue from '../display/comments/CommentSection.vue';
107
109
  import { CommentPodcast } from '@/store/class/general/comment';
108
110
  import { Category } from '@/store/class/general/category';
111
+ import { AxiosError } from 'axios';
109
112
  const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
110
113
  const SharePlayer = defineAsyncComponent(() => import('../display/sharing/SharePlayer.vue'));
111
114
  const EditBox = defineAsyncComponent(() => import('@/components/display/edit/EditBox.vue'));
@@ -128,6 +131,8 @@ export default defineComponent({
128
131
  ClassicLoading
129
132
  },
130
133
 
134
+ mixins: [handle403],
135
+
131
136
  props: {
132
137
  updateStatus: { default: undefined, type: String},
133
138
  playingPodcast: { default: undefined, type: Object as ()=> Podcast},
@@ -227,6 +232,7 @@ export default defineComponent({
227
232
  if (undefined !== this.podcast.emission.annotations.podcastAddict) count++;
228
233
  if (undefined !== this.podcast.emission.annotations.playerFm) count++;
229
234
  if (undefined !== this.podcast.emission.annotations.stitcher) count++;
235
+ if (undefined !== this.podcast.emission.annotations.pocketCasts) count++;
230
236
  }
231
237
  return count;
232
238
  },
@@ -263,6 +269,9 @@ export default defineComponent({
263
269
  if(!this.podcast){return "";}
264
270
  return moment(this.podcast.pubDate).diff(moment(), 'seconds').toString();
265
271
  },
272
+ filterOrga(): string {
273
+ return this.$store.state.filter.organisationId;
274
+ },
266
275
  },
267
276
  watch: {
268
277
  updateStatus(): void {
@@ -311,9 +320,17 @@ export default defineComponent({
311
320
  updatePodcast(podcastUpdated: Podcast): void {
312
321
  this.podcast = podcastUpdated;
313
322
  },
323
+ initError():void{
324
+ this.error = true;
325
+ this.loaded = true;
326
+ },
314
327
  async getPodcastDetails(podcastId: number): Promise<void> {
315
328
  try {
316
329
  const data : Podcast = await octopusApi.fetchPodcast(podcastId.toString());
330
+ if(data.organisation.private && this.filterOrga!==data.organisation.id){
331
+ this.initError();
332
+ return;
333
+ }
317
334
  this.podcast = data;
318
335
  this.$emit('podcastTitle', this.podcast.title);
319
336
  if (
@@ -347,9 +364,9 @@ export default defineComponent({
347
364
  this.error = true;
348
365
  }
349
366
  this.loaded = true;
350
- } catch {
351
- this.error = true;
352
- this.loaded = true;
367
+ } catch(error) {
368
+ this.handle403((error as AxiosError));
369
+ this.initError();
353
370
  }
354
371
  },
355
372
  removeDeleted(): void {
@@ -90,6 +90,7 @@ export default defineComponent({
90
90
  props: {
91
91
  productor: { default: undefined, type: String},
92
92
  isEducation: { default: false, type: Boolean},
93
+ searchInit: { default: "", type: String}
93
94
  },
94
95
 
95
96
  data() {
@@ -154,6 +155,9 @@ export default defineComponent({
154
155
  },
155
156
 
156
157
  created() {
158
+ if(this.searchInit){
159
+ this.searchPattern = this.searchInit;
160
+ }
157
161
  if (this.productor) {
158
162
  this.organisationId = this.productor;
159
163
  } else if (this.$store.state.filter.organisationId) {
package/src/locale/en.ts CHANGED
@@ -297,4 +297,5 @@ export default{
297
297
  'From RSS': "From an RSS feed",
298
298
  "User menu":"User menu",
299
299
  'Podcast tags': 'Podcast tags',
300
+ "You do not have the right to access this page":"You do not have the right to access this page",
300
301
  };
package/src/locale/fr.ts CHANGED
@@ -297,4 +297,5 @@ export default{
297
297
  'From RSS': "Issu d'un flux RSS",
298
298
  "User menu":"Menu utilisateur",
299
299
  'Podcast tags': "Mot-clé de l'épisode",
300
+ "You do not have the right to access this page":"Vous n’avez pas le droit d’accéder à cette page",
300
301
  };
@@ -0,0 +1,298 @@
1
+ export default{
2
+ 'Edit my profile': 'Il mio profilo',
3
+ 'Edit my organisation': 'La mia organizzazione',
4
+ Logout: 'Logout',
5
+ Login: 'Login',
6
+ 'Animated by': 'Ospitato da',
7
+ Home: 'Homepage',
8
+ Podcasts: 'Episodi',
9
+ Emissions: 'Serie',
10
+ Productors: 'Producer',
11
+ Productor: 'Producer',
12
+ Speakers: 'Speaker',
13
+ Guests: 'Ospiti',
14
+ Favorites: 'Preferiti',
15
+ Distributor: 'Distributore',
16
+ Image: 'Immagine',
17
+
18
+ 'See my statistics': "Report sull'audience",
19
+ 'Edit / Delete episodes': 'I miei episodi',
20
+ 'Welcome in the Backoffice': 'Amministrazione',
21
+ 'Please set an animator': 'Seleziona o crea un moderatore',
22
+ 'Producted by : ': 'Prodotto da:',
23
+ 'Loading podcasts ...': 'Podcast in caricamento...',
24
+ 'Logo of main page': 'Logo della pagina principale',
25
+ 'All podcasts': 'Tutti i podcast',
26
+ Error: 'Errore',
27
+ Upload: 'Upload',
28
+ 'Count more elements matched your query, please make a more specific search.': `Troppi elementi corrispondono alla tua ricerca, effettua una ricerca più specifica`,
29
+ 'There are still {count} item (s) matching your search. Please do a more specific search.' : 'Ci sono ancora {count} articoli corrispondenti alla tua ricerca. Effettua una ricerca più specifica',
30
+ Emission: 'Serie',
31
+ 'Emission description': "Descrizione della serie",
32
+ 'Emission image': "Immagine della serie",
33
+ 'Emission name': "Titolo della serie",
34
+ 'No elements found. Consider changing the search query.':
35
+ 'Non è stato trovato alcun elemento. Prova a cambiare i parametri di ricerca',
36
+ 'Podcast is not visible for listeners':
37
+ "Il podcast non è visibile agli ascoltatori",
38
+ Validate: 'Convalidare',
39
+ Cancel: 'Cancellare',
40
+ 'Most popular': 'Più popolari',
41
+ 'Last added': 'Ultimi aggiunti',
42
+ 'All podcast button': 'Tutti i podcast di "{name}"',
43
+ 'Podcast search': 'Cerca fra i podcast',
44
+ 'No podcast match your query':
45
+ 'Nessun podcast corrisponde alla tua ricerca',
46
+ 'Please type at least three characters': 'Digitare almeno tre caratteri',
47
+ 'My space': 'Amministrazione',
48
+ 'All participants': 'Tutti gli speaker',
49
+ 'All productors': 'Tutti i producer',
50
+ 'All emissions': 'Tutte le serie',
51
+ 'Filter by keyword : ': 'Filtra tramite parola chiave:',
52
+ 'Look for participant name': 'Cerca lo speaker tramite il nome',
53
+ 'Look for productor name': 'Cerca il producer tramite il titolo',
54
+ 'Look for emission name': 'Cerca la serie tramite il titolo',
55
+ 'Look for podcast name': 'Cerca il podcast tramite il titolo',
56
+ 'Type string to filter by organisation': 'Filtra per organizzazione',
57
+ 'Type string to filter by emission': 'Filtra per serie',
58
+ 'Type string to filter by podcast': 'Filtra per podcast',
59
+ 'No organisation filter': 'Nessun filtro per organizzazione',
60
+ 'No emission filter': 'Nessun filtro per serie',
61
+ 'No podcast filter': 'Nessun filtro per podcast',
62
+ 'Loading participants ...': 'Caricamento degli speaker...',
63
+ 'Loading productors ...': 'Caricamento dei producer...',
64
+ 'Loading emissions ...': 'Caricamento delle serie...',
65
+ 'Emission name image': "Immagine per la serie {name}",
66
+ 'Loading content ...': 'Caricamento contenuto...',
67
+ Episode: 'Episodio',
68
+ 'Episode name image': "Immagine dell'episodio {name}",
69
+ 'More episodes of this emission': "Altri episodi di questa serie",
70
+ 'More episodes of this category : {name}': "Altri episodi della categoria: {name}",
71
+ 'All podcast emission button': "Seleziona tutte le serie",
72
+ Duration: 'Durata: {duration}',
73
+ Animator: 'Host',
74
+ 'No category filter': 'Nessun filtro per la categoria',
75
+ 'Type string to filter by categories': 'Filtra la categoria tramite il titolo',
76
+ Search: 'Ricerca',
77
+ Close: 'Chiudi',
78
+ Embed: 'Player',
79
+ Share: 'Condividi questa pagina',
80
+ 'Share the player': 'Condividi il lettore',
81
+ 'Share player': 'Condividi il lettore',
82
+ 'Copy code': 'Copia il codice',
83
+ Copy: 'Copia',
84
+ Show: 'Mostra',
85
+ 'Last podcasts': 'Gli ultimi podcast',
86
+ Contact: 'Contatti',
87
+ 'List is empty': 'La lista è vuota',
88
+ 'Used libraries': 'Libreria in uso ',
89
+ Front: 'Fronte',
90
+ Back: 'Retro',
91
+ 'Look for library': 'Cerca la libreria',
92
+ Yes: 'Sì',
93
+ No: 'No',
94
+ "Podcast doesn't exist": "Il podcast non esiste",
95
+ "Emission doesn't exist": "La serie non esiste",
96
+ "Animator doesn't exist": "L'host non esiste",
97
+ "Productor doesn't exist": "Il producer non esiste",
98
+ 'Create an account': 'Crea un account',
99
+ 'Link in clipboard': 'Link copiato negli appunti',
100
+ 'Data in clipboard': 'Dati negli appunti',
101
+ 'check this box if you want to keep this filter for the rest of your visit':
102
+ 'Seleziona questa casella se vuoi mantenere questo filtro per il resto della tua visita',
103
+ 'No advertising': 'Niente pubblicità',
104
+ 'You cannot insert advertising':
105
+ 'In questo podcast non si può inserire pubblicità',
106
+ 'Prohibited advertising': 'Pubblicità non autorizzata',
107
+ 'Authorized advertising': 'Pubblicità autorizzata',
108
+ Distribute: 'Distribuzione',
109
+ 'Rss feed:': 'RSS Feed:',
110
+ 'See more': 'Vedi altro',
111
+ 'Search results': 'Cerca risultati per "{query}"',
112
+ 'Search - no results': 'Ricerca - nessun risultato per "{query}"',
113
+ Downloading: 'In download',
114
+ 'Subscribe to this emission': "Iscriviti a questa serie",
115
+ 'Subscribe to this participant': "Iscriviti a questo speaker",
116
+ 'Emission have not podcasts': "Questa serie non ha alcun podcast",
117
+ 'Participant have not podcasts':
118
+ 'Questo speaker non è associato ad alcun podcast',
119
+ 'Default version': 'Versione di default',
120
+ 'Large version': 'Versione estesa',
121
+ 'Emission version': 'Versione della serie',
122
+ 'Large emission version': 'Versione estesa della serie',
123
+ 'Large suggestion version': 'Versione estesa consigliata',
124
+ 'Embed link': 'Inserisci lettore',
125
+ 'Embedly link': 'Player link',
126
+ 'Direct link': 'Audio link',
127
+ 'Advanced filters': 'Impostazioni avanzate',
128
+ Advertising: 'Pubblicità',
129
+ 'By topic': 'Per tema',
130
+ 'By rubric': 'Per rubrica',
131
+ 'Type string to filter by rubrics': 'Filtra per rubriche',
132
+ 'No rubric filter': 'No filtri rubrica',
133
+ 'From the :': 'Dal :',
134
+ 'To the :': "Al :",
135
+ Visible: 'Visibile',
136
+ 'In creation': 'Caricamento in corso',
137
+ 'Publish in future': "Vedi l'episodio nascosto al pubblico",
138
+ 'In error': 'In errore',
139
+ 'Emission with episode published :':'Serie con episodi pubblicati dal:',
140
+ Sort: 'Suddividi',
141
+ Filter: 'Filtro',
142
+ 'Sort score': 'Suddiviso per grado di rilevanza',
143
+ 'Sort name': 'Suddividi titolo',
144
+ 'Sort last': 'Suddividi ultimo',
145
+ 'Choose color': 'Seleziona colore',
146
+ 'Choose theme': 'Seleziona tema',
147
+ 'Podcast no visible': 'Podcast non visibile',
148
+ 'Display episodes': 'Mostra episodi',
149
+ 'Podcast published in future': 'Podcast pubblicato in futuro',
150
+ 'Podcast in process': 'Podcast in elaborazione',
151
+ 'Podcast in error': 'Podcast in errore',
152
+ 'See podcasts no visible':
153
+ 'Vedi podcast non visibili al pubblico',
154
+ 'Number podcasts': '{nb} di podcast',
155
+ 'Number emissions': '{nb} di serie',
156
+ 'Number participants': '{nb} di speaker',
157
+ 'Number productors': '{nb} di producer',
158
+ 'Display next': 'Mostra episodi seguenti',
159
+ 'Display previous': 'Mostra episodi precedenti',
160
+ Play: 'Play',
161
+ Pause: 'Pausa',
162
+ 'Show description': 'Mostra descrizione',
163
+ 'Hide description': 'Nascondi descrizione',
164
+ 'open left Menu': 'Apri/Chiudi Menu',
165
+ Participant: 'Speaker',
166
+ 'Number of player podcasts': "Numero di podcast nel lettore",
167
+ 'Proceed reading': 'Continua ad ascoltare',
168
+ 'Without topic': 'Senza un tema',
169
+ 'Without rubric': 'Senza una rubrica',
170
+ 'Consider podcasts no visible':
171
+ 'Includi i podcast non visibili al pubblico',
172
+ 'Hosted by': 'Presentato da',
173
+ TutoMag: 'TutoMag',
174
+ News: 'Notizie',
175
+ 'Known issues': 'Problemi noti',
176
+ Help: 'Aiuto',
177
+ 'Podcast play error': 'Si è verificato un errore durante la riproduzione del podcast',
178
+ 'More episodes': 'Altri episodi',
179
+ Stop: 'Stop',
180
+ 'Share this page without edit and share blocks':
181
+ "Condividi questa pagina senza modificare",
182
+ 'Podcast in cancelled status': 'Podcast contrassegnato come eliminato',
183
+ 'Show every episode': 'Mostra tutti gli episodi',
184
+ 'Subscribe emission': "Iscriviti alla serie",
185
+ 'Rss feed parameters': 'Impostazioni RSS Feed',
186
+ 'Not share episodes before':
187
+ 'Non condividere episodi prima',
188
+ 'Not share episodes after':
189
+ 'Non condividere episodi dopo',
190
+ hours: 'ora(e)',
191
+ days: 'giorno(i)',
192
+ Live: 'Live',
193
+ 'In live': 'Live ora',
194
+ 'Launch a new live': 'Crea un nuovo live',
195
+ 'Loading lives...': 'Live in caricamento...',
196
+ 'No live currently': "Non ci sono live disponibili al momento",
197
+ 'live upcoming': 'Live in arrivo',
198
+ "live in few time":"Live presto diponibile",
199
+ Debriefing: 'Debriefing',
200
+ Publishing: 'In corso di pubblicazione',
201
+ 'select productor': 'Seleziona producer',
202
+ 'Share newsletter': "Condividi newsletter",
203
+ Configuration: 'Configurazione',
204
+ 'HTML Code': 'Codice HTML',
205
+ 'Listen this episode': 'Ascolta questo episodio',
206
+ 'Display emission name': "Mostra il titolo della serie",
207
+ 'Display participants list': 'Mostra la lista degli speaker',
208
+ 'Choose main color': 'Seleziona colore principale',
209
+ 'Octopus is ACPM Podcast accredited': 'Octopus è accreditata ACPM Podcast',
210
+ 'Live episode': 'Episodi live',
211
+ 'This live will start': 'Questo live inizierà',
212
+ 'In days hours minutes seconds':
213
+ 'in {days} giorni {hours} ore {minutes} minuti e {seconds} secondi',
214
+ 'Open studio': 'Open studio',
215
+ 'Episode record in live': 'Episodio registrato live',
216
+ 'In a moment': 'Tra poco',
217
+ 'Live to be': 'Presto disponibile',
218
+ 'Live terminated': 'Live terminato',
219
+ 'Next live date': 'Il prossimo live è previsto il {date}',
220
+ 'Not recording': 'Non registrato',
221
+ 'This live is not started yet': "Questo live non è ancora iniziato",
222
+ 'A live can start any moment': 'Una sessione live può iniziare presto',
223
+ 'Recorded in live': 'Registrato live',
224
+ 'Podcast linked to waiting live': 'Podcast collegato a un live in attesa',
225
+ Playlists: 'Playlist',
226
+ Playlist: 'Playlist',
227
+ 'All playlists': 'Tutte le playlist',
228
+ 'Look for playlist name': 'Ricerca playlist per titolo',
229
+ 'Number playlists': '{nb} playlist',
230
+ 'Playlist have not podcasts': "Questa playlist non contiene nessun podcast",
231
+ "Playlist doesn't exist": "La playlist richiesta non esiste",
232
+ 'Playlist name image': 'Titolo playlist {name}',
233
+ 'Create playlist': 'Crea playlist',
234
+ 'Podcasts in the playlist': 'Tutti i podcast nella playlist',
235
+ 'No podcasts in the playlist': "Non ci sono podcast disponibili nella playlist",
236
+ 'Start in a while': 'Inizia in qualsiasi momento',
237
+ 'All live emission button': "Tutti i live nella serie",
238
+ 'player parameters': 'Impostazioni lettore',
239
+ 'Start at': 'Inizia a',
240
+ 'sort by score': 'per grado di rilevanza',
241
+ 'sort by alphabetical': 'suddiviso in ordine alfabetico',
242
+ 'sort by date': 'suddiviso per data',
243
+ 'Be the first to react': 'Commenta per primo',
244
+ "Podcast's comments": "Commenti per questo podcast",
245
+ '()': '({nb})',
246
+ 'Write a comment': 'Scrivi un commento',
247
+ 'Answer a comment': 'Rispondi al commento',
248
+ 'See more comments': 'Vedi altri commenti',
249
+ 'To answer': 'Rispondere',
250
+ 'Display answers': 'Mostra le risposte {nb}',
251
+ 'Hide answers': 'Nascondi le risposte',
252
+ 'Read more': 'Continua a leggere',
253
+ 'Read less': 'Nascondi',
254
+ '(nb valid comment answers)': '({nb} risposte valide nei commenti)',
255
+ 'Welcome, thanks for your comment': 'Benvenutə, grazie per il tuo commento',
256
+ "Let's get acquainted :": "Facciamo conoscenza:",
257
+ 'Send in progress': 'Invio in corso...',
258
+ 'Error occurs while post your comment...':
259
+ 'Si è verificato un errore durante la pubblicazione del tuo commento...',
260
+ 'Comments loading error': 'Si è verificato un errore durante il caricamento dei commenti',
261
+ 'Certified account': 'Account certificato',
262
+ 'No comments': 'Nessun commento',
263
+ 'In response to': 'In risposta a',
264
+ 'Please chose a productor': 'Scegli un producer',
265
+ 'Podcast in ERROR, please contact Saooti':
266
+ "Podcast in ERRORE, si prega di contattare Saooti",
267
+ 'Podcast still available':
268
+ "Podcast disponibile agli utenti",
269
+ 'Podcasts still available':
270
+ 'Mantieni gli episodi nascosti disponibili agli ascoltatori',
271
+ 'Podcast image': "Immagine del podcast",
272
+ 'Recaptcha error':
273
+ 'Recaptcha di Google non pensa che tu sia un umano',
274
+ 'Recaptcha not active': 'Google captcha disattivato',
275
+ 'Comment waiting':
276
+ "Questo commento non sarà visibile ad altri utenti fino a quando non sarà validato",
277
+ 'Display all podcasts to validate': 'Mostra tutti i podcast da validare',
278
+ 'Display my podcasts to validate': 'Mostra i miei podcast da validare',
279
+ 'Podcast not validated': "Podcast non validato",
280
+ 'Podcast to validate': 'Podcast da validare',
281
+ 'Change locale': 'In francese',
282
+ 'Refresh': 'Aggiorna',
283
+ 'See associated article':"Leggi l'articolo",
284
+ "Display associated article":"Mostra articolo associato",
285
+ "Copy this page URL":"Copia la URL di questa pagina",
286
+ "Custom version":"Versione customizzata",
287
+ "All":"Tutto",
288
+ 'By category': 'Per categoria IAB',
289
+ "Add a sort criterion by topic":"Aggiungi un criterio di suddivisione per tema",
290
+ 'Share QR Code': "Condividi il QR Code",
291
+ "Download":"Download",
292
+ "Download started": 'Il download è iniziato',
293
+ 'From RSS': "Da un RSS Feed ",
294
+ "User menu":"Menu utente",
295
+ 'Podcast tags': 'Tag podcast',
296
+ "Term of use":"Termini d'uso",
297
+ 'More episodes of this category : ': "Altri episodi su questo tema : {name}",
298
+ };
@@ -2,9 +2,11 @@ import fr from './fr';
2
2
  import educationfr from './educationfr';
3
3
  import educationen from './educationen';
4
4
  import en from './en';
5
+ import it from './it';
5
6
  export default{
6
7
  fr: fr,
7
8
  en: en,
9
+ it: it,
8
10
  educationfr: educationfr,
9
11
  educationen: educationen,
10
12
  };
package/src/main.ts CHANGED
@@ -6,6 +6,7 @@ import I18nResources from './locale/messages';
6
6
  import router from '@/router/router';
7
7
  import moment from 'moment';
8
8
  import store from '@/store/AppStore';
9
+ import paramStore from '@/store/paramStore';
9
10
  import { LocaleMessage } from '@intlify/core-base';
10
11
  /* import 'popper.js/dist/popper.min.js'; */
11
12
  /* import 'jquery/src/jquery.js'; */
@@ -15,7 +16,7 @@ import 'bootstrap/dist/js/bootstrap.bundle.min.js';
15
16
 
16
17
  //TODO
17
18
  const navigatorLang = navigator.language /* || navigator.userLanguage */;
18
- let language = 'fr';
19
+ let language = 'it';
19
20
  if(navigatorLang.includes('en')){
20
21
  language = 'en';
21
22
  }
@@ -32,6 +33,22 @@ const i18n = createI18n({
32
33
  });
33
34
  moment.locale(language);
34
35
 
36
+
37
+ paramStore.initialize({
38
+ generalParameters: {},
39
+ podcastPage: {},
40
+ podcastsPage: {},
41
+ emissionsPage: {},
42
+ emissionPage: {},
43
+ intervenantPage: {},
44
+ intervenantsPage: {},
45
+ searchPage: {},
46
+ player: {},
47
+ footer: {},
48
+ organisation: {},
49
+ octopusApi: {}
50
+ });
51
+
35
52
  // Initialisation store
36
53
  createApp(App)
37
54
  .use(i18n)
@@ -17,6 +17,7 @@ const RubriquePage = () => import('@/components/pages/Rubrique.vue');
17
17
  const LivesPage = () => import('@/components/pages/Lives.vue');
18
18
  const PlaylistPage = () => import('@/components/pages/Playlist.vue');
19
19
  const PlaylistsPage = () => import('@/components/pages/Playlists.vue');
20
+ const error403Page = () => import('@/components/pages/Error403Page.vue');
20
21
 
21
22
  const routes: Array<RouteRecordRaw> = [
22
23
  /*--------------------------------------------------------------------------
@@ -27,6 +28,11 @@ const routes: Array<RouteRecordRaw> = [
27
28
  name: '',
28
29
  component: Home,
29
30
  },
31
+ {
32
+ path: '/main/pub/error',
33
+ name: 'error',
34
+ component: error403Page,
35
+ },
30
36
  {
31
37
  path: '/main/pub/home:productor?:iabId?:rubriquesId?',
32
38
  name: 'home',
@@ -16,4 +16,5 @@ export interface Organisation{
16
16
  notSeenOnKeycloak?: number;
17
17
  score?: number;
18
18
  soundcastId?: string;
19
+ private?:boolean;
19
20
  }
@@ -12,23 +12,24 @@ const state:paramStore = {
12
12
  isPlaylist: false,
13
13
  isProduction: true,
14
14
  isContribution: true,
15
- ApiUri: 'https://api.dev2.saooti.org/',
15
+ ApiUri: 'https://api.staging.saooti.org/',
16
16
  podcastmaker: false,
17
17
  buttonPlus: true,
18
18
  allCategories: [],
19
19
  isLiveTab: false,
20
20
  isCaptchaTest: true,
21
- podcastItem:13
21
+ podcastItem:13,
22
+ isInlineAnimation:true,
22
23
  },
23
24
  podcastPage: {
24
25
  EditBox: false,
25
26
  SharePlayer: true,
26
27
  ShareButtons: true,
27
28
  ShareDistribution: true,
28
- MiniplayerUri: 'https://playerbeta.dev2.saooti.org/',
29
+ MiniplayerUri: 'https://playerbeta.staging.saooti.org/',
29
30
  ouestFranceStyle: false,
30
31
  downloadButton: false,
31
- hlsUri: 'https://hls.dev2.saooti.org/',
32
+ hlsUri: 'https://hls.staging.saooti.org/',
32
33
  mainRubrique: 0,
33
34
  resourceUrl: undefined
34
35
  },
@@ -55,7 +56,8 @@ const state:paramStore = {
55
56
  emissionPage: {
56
57
  ouestFranceStyle: false,
57
58
  rssButton: false,
58
- isDisplayPodcasts:true
59
+ isDisplayPodcasts:true,
60
+ overflowScroll:false
59
61
  },
60
62
  intervenantPage: {
61
63
  lightStyle: false,
@@ -83,11 +85,12 @@ const state:paramStore = {
83
85
  userName: '',
84
86
  },
85
87
  octopusApi: {
86
- url: 'http://api.dev2.saooti.org/',
87
- commentsUrl: 'http://comments.dev2.saooti.org/',
88
- studioUrl: 'http://studio.dev2.saooti.org/',
89
- playerUrl: 'https://playerbeta.dev2.saooti.org/',
88
+ url: 'http://api.staging.saooti.org/',
89
+ commentsUrl: 'http://comments.staging.saooti.org/',
90
+ studioUrl: 'http://studio.staging.saooti.org/',
91
+ playerUrl: 'https://playerbeta.staging.saooti.org/',
90
92
  organisationId: undefined,
93
+ rubriqueIdFilter: undefined,
91
94
  },
92
95
  };
93
96
  export interface GeneralParameters{
@@ -106,7 +109,9 @@ export interface GeneralParameters{
106
109
  allCategories?: Array<Category>,
107
110
  isLiveTab?: boolean,
108
111
  isCaptchaTest?: boolean,
109
- podcastItem?: number
112
+ podcastItem?: number,
113
+ podcastmakerColor?: string,
114
+ isInlineAnimation?: boolean
110
115
  }
111
116
  export interface PodcastPage{
112
117
  EditBox?: boolean,
@@ -143,7 +148,8 @@ export interface EmissionsPage{
143
148
  export interface EmissionPage{
144
149
  ouestFranceStyle?: boolean,
145
150
  rssButton?: boolean,
146
- isDisplayPodcasts?:boolean
151
+ isDisplayPodcasts?:boolean,
152
+ overflowScroll?: boolean,
147
153
  }
148
154
  export interface IntervenantPage{
149
155
  lightStyle?: boolean,
@@ -179,10 +185,9 @@ export interface OctopusApi{
179
185
  oAuthParam?: {
180
186
  accessToken: string,
181
187
  refreshToken: string,
182
- accessTokenUri: string,
183
188
  expiration: string,
184
- clientId: string,
185
- }
189
+ },
190
+ rubriqueIdFilter?: Array<number>,
186
191
  }
187
192
  export interface paramStore{
188
193
  generalParameters:GeneralParameters,
@@ -138,8 +138,6 @@ export function emptyPodcastData(): Podcast{
138
138
  oAuthParam: {
139
139
  accessToken: string | undefined;
140
140
  refreshToken: string | undefined;
141
- accessTokenUri: string | undefined;
142
- clientId: string | undefined;
143
141
  expiration: number | undefined;
144
142
  };
145
143
  media: Media;
@@ -250,8 +248,6 @@ export function emptyPodcastData(): Podcast{
250
248
  oAuthParam: {
251
249
  accessToken: undefined ,
252
250
  refreshToken: undefined ,
253
- accessTokenUri: undefined ,
254
- clientId: undefined ,
255
251
  expiration:undefined
256
252
  },
257
253
  media: {