@saooti/octopus-sdk 31.0.9 → 31.0.10
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.
- package/README.md +4 -4
- package/package.json +2 -2
- package/src/components/display/participant/ParticipantList.vue +1 -1
- package/src/components/display/playlist/PlaylistList.vue +1 -1
- package/src/components/display/playlist/PodcastList.vue +1 -1
- package/src/components/display/sharing/SharePlayerTypes.vue +1 -1
- package/src/components/mixins/organisationFilter.ts +21 -14
- package/src/locale/de.ts +5 -5
- package/src/locale/en.ts +17 -17
- package/src/locale/es.ts +1 -1
- package/src/locale/sl.ts +1 -1
- package/src/store/paramStore.ts +7 -7
package/README.md
CHANGED
|
@@ -570,6 +570,9 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
570
570
|
* 30.0.71 Parlement européen
|
|
571
571
|
* 30.0.72 Ajout des traductions
|
|
572
572
|
* 30.0.73 Ajout classe css
|
|
573
|
+
* 30.0.74 Error locales en allemand (je sens que ça va être fun cette histoire)
|
|
574
|
+
* 30.0.75 Parlement
|
|
575
|
+
|
|
573
576
|
|
|
574
577
|
* 31.0.0 Passage en 31
|
|
575
578
|
* 31.0.1 Ajout pocket casts
|
|
@@ -581,7 +584,4 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
581
584
|
* 31.0.7 Sécurisation
|
|
582
585
|
* 31.0.8 Dropdown Lang + classicSelect
|
|
583
586
|
* 31.0.9 LazyLoad image
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
587
|
+
* 31.0.10 Sécurisation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saooti/octopus-sdk",
|
|
3
|
-
"version": "31.0.
|
|
3
|
+
"version": "31.0.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript SDK for using octopus",
|
|
6
6
|
"author": "Saooti",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"main": "./dist/octopus.common.js",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@popperjs/core": "^2.11.0",
|
|
18
|
-
"@saooti/octopus-api": "^0.31.
|
|
18
|
+
"@saooti/octopus-api": "^0.31.2",
|
|
19
19
|
"@vue/cli": "^5.0.0-rc.1",
|
|
20
20
|
"@vue/compat": "^3.2.26",
|
|
21
21
|
"axios": "^0.24.0",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
v-if="loaded && playlists.length > 1"
|
|
8
8
|
class="text-secondary mb-2"
|
|
9
9
|
>
|
|
10
|
-
{{ $t('Number playlists', { nb: displayCount }) + $t('sort by score') }}
|
|
10
|
+
{{ $t('Number playlists', { nb: displayCount }) +" "+ $t('sort by score') }}
|
|
11
11
|
</div>
|
|
12
12
|
<ul class="emission-list two-emissions">
|
|
13
13
|
<PlaylistItem
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
v-if="loaded && podcasts.length > 1"
|
|
19
19
|
class="text-secondary mb-4"
|
|
20
20
|
>
|
|
21
|
-
{{ $t('Number podcasts', { nb: podcasts.length }) + $t('sort by score') }}
|
|
21
|
+
{{ $t('Number podcasts', { nb: podcasts.length }) +" "+ $t('sort by score') }}
|
|
22
22
|
</div>
|
|
23
23
|
<ClassicSearch
|
|
24
24
|
v-if="notEmptyPlaylist"
|
|
@@ -99,7 +99,7 @@ export default defineComponent({
|
|
|
99
99
|
}
|
|
100
100
|
this.customPlayers = this.customPlayers.concat(playersContent);
|
|
101
101
|
if(trySelect && this.customPlayers[0] && this.customPlayers[0].selected){
|
|
102
|
-
this.$emit('update:iFrameModel',this.customPlayers[0].customId);
|
|
102
|
+
this.$emit('update:iFrameModel',this.customPlayers[0].customId.toString());
|
|
103
103
|
return false;
|
|
104
104
|
}
|
|
105
105
|
return true;
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
|
|
2
|
+
import { handle403 } from '../mixins/handle403';
|
|
2
3
|
import { Rubriquage } from "@/store/class/rubrique/rubriquage";
|
|
3
4
|
import octopusApi from '@saooti/octopus-api';
|
|
4
5
|
import { defineComponent } from 'vue'
|
|
6
|
+
import { AxiosError } from 'axios';
|
|
5
7
|
export const orgaFilter = defineComponent({
|
|
8
|
+
mixins: [handle403],
|
|
6
9
|
methods: {
|
|
7
10
|
async selectOrganisation(organisationId: string): Promise<void> {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
11
|
+
try {
|
|
12
|
+
const response = await octopusApi.fetchOrganisation(organisationId);
|
|
13
|
+
const data = await octopusApi.fetchTopics(organisationId, {
|
|
14
|
+
sort:'HOMEPAGEORDER',
|
|
15
|
+
homePageOrder: true
|
|
16
|
+
});
|
|
17
|
+
const isLive = await octopusApi.liveEnabledOrganisation(organisationId);
|
|
18
|
+
this.$store.commit('filterOrga', {
|
|
19
|
+
orgaId: organisationId,
|
|
20
|
+
imgUrl: response.imageUrl,
|
|
21
|
+
rubriquageArray: data.filter((element: Rubriquage)=>{
|
|
22
|
+
return element.rubriques.length;
|
|
23
|
+
}),
|
|
24
|
+
isLive: isLive
|
|
25
|
+
});
|
|
26
|
+
} catch (error) {
|
|
27
|
+
this.handle403((error as AxiosError));
|
|
28
|
+
}
|
|
22
29
|
},
|
|
23
30
|
},
|
|
24
31
|
});
|
package/src/locale/de.ts
CHANGED
|
@@ -41,7 +41,7 @@ export default{
|
|
|
41
41
|
Cancel: "Abbrechen",
|
|
42
42
|
'Most popular': "Beliebteste",
|
|
43
43
|
'Last added': "Neueste",
|
|
44
|
-
'All podcast button': 'Alle Podcasts von "{
|
|
44
|
+
'All podcast button': 'Alle Podcasts von "{name}"',
|
|
45
45
|
'Podcast search': "Podcasts durchsuchen",
|
|
46
46
|
'No podcast match your query':
|
|
47
47
|
"Kein Podcast entspricht Ihrer Suchanfrage.",
|
|
@@ -70,7 +70,7 @@ export default{
|
|
|
70
70
|
'Episode name image': "Bild zur Folge {name}",
|
|
71
71
|
'More episodes of this emission': "Mehr Folgen aus dieser Reihe",
|
|
72
72
|
'More episodes of this category : {name}': "Mehr Folgen aus dieser Kategorie: {name}",
|
|
73
|
-
'All podcast
|
|
73
|
+
'All podcast emission button': "Alle Folgen dieser Reihe",
|
|
74
74
|
Duration: "Dauer: {duration}",
|
|
75
75
|
Animator: "Autor",
|
|
76
76
|
'No category filter': "Keine Kategorie",
|
|
@@ -240,9 +240,9 @@ export default{
|
|
|
240
240
|
'All live emission button': "Alle Live-Übertragungen der Reihe",
|
|
241
241
|
'player parameters': "Player-Einstellungen",
|
|
242
242
|
'Start at': "Beginnt um",
|
|
243
|
-
'sort by score': "
|
|
244
|
-
'sort by alphabetical': "
|
|
245
|
-
'sort by date': "
|
|
243
|
+
'sort by score': "nach Relevanz",
|
|
244
|
+
'sort by alphabetical': "in alphabetischer Reihenfolge",
|
|
245
|
+
'sort by date': "nach Datum",
|
|
246
246
|
'Be the first to react': "Ersten Kommentar hinterlassen",
|
|
247
247
|
"Podcast's comments": "Kommentare zum Podcast",
|
|
248
248
|
'()': '({nb})',
|
package/src/locale/en.ts
CHANGED
|
@@ -41,7 +41,7 @@ export default{
|
|
|
41
41
|
Cancel: 'Cancel',
|
|
42
42
|
'Most popular': 'Most popular',
|
|
43
43
|
'Last added': 'Last added',
|
|
44
|
-
'All podcast button': 'All the podcasts
|
|
44
|
+
'All podcast button': 'All the podcasts from "{name}"',
|
|
45
45
|
'Podcast search': 'Search in the podcasts',
|
|
46
46
|
'No podcast match your query':
|
|
47
47
|
'No podcast matches your query',
|
|
@@ -51,26 +51,26 @@ export default{
|
|
|
51
51
|
'All productors': 'All producers',
|
|
52
52
|
'All emissions': 'All series',
|
|
53
53
|
'Filter by keyword : ': 'Filter by keyword : ',
|
|
54
|
-
'Look for participant name': 'Search for speaker by name',
|
|
55
|
-
'Look for productor name': 'Search for
|
|
56
|
-
'Look for emission name': 'Search for
|
|
57
|
-
'Look for podcast name': 'Search for podcast by title',
|
|
54
|
+
'Look for participant name': 'Search for a speaker by name',
|
|
55
|
+
'Look for productor name': 'Search for a producer by title',
|
|
56
|
+
'Look for emission name': 'Search for a series by title',
|
|
57
|
+
'Look for podcast name': 'Search for a podcast by title',
|
|
58
58
|
'Type string to filter by organisation': 'Filter by organization',
|
|
59
|
-
'Type string to filter by emission': 'Filter by
|
|
59
|
+
'Type string to filter by emission': 'Filter by series',
|
|
60
60
|
'Type string to filter by podcast': 'Filter by podcast',
|
|
61
61
|
'No organisation filter': 'No organization filter',
|
|
62
|
-
'No emission filter': 'No
|
|
62
|
+
'No emission filter': 'No series filter',
|
|
63
63
|
'No podcast filter': 'No podcast filter',
|
|
64
64
|
'Loading participants ...': 'Loading speakers...',
|
|
65
65
|
'Loading productors ...': 'Loading Producers...',
|
|
66
66
|
'Loading emissions ...': 'Loading series...',
|
|
67
|
-
'Emission name image': "Image for the
|
|
67
|
+
'Emission name image': "Image for the series {name}",
|
|
68
68
|
'Loading content ...': 'Loading content...',
|
|
69
69
|
Episode: 'Episode',
|
|
70
70
|
'Episode name image': "Episode {name} image",
|
|
71
|
-
'More episodes of this emission': "More episodes
|
|
72
|
-
'More episodes of this category : {name}': "More episodes
|
|
73
|
-
'All podcast
|
|
71
|
+
'More episodes of this emission': "More episodes from this series",
|
|
72
|
+
'More episodes of this category : {name}': "More episodes from this category : {name}",
|
|
73
|
+
'All podcast emission button': "All podcast from this series",
|
|
74
74
|
Duration: 'Duration : {duration}',
|
|
75
75
|
Animator: 'Host',
|
|
76
76
|
'No category filter': 'No category filter',
|
|
@@ -113,15 +113,15 @@ export default{
|
|
|
113
113
|
'Search results': 'Search results for "{query}"',
|
|
114
114
|
'Search - no results': 'Search - no results for "{query}"',
|
|
115
115
|
Downloading: 'Downloading',
|
|
116
|
-
'Subscribe to this emission': "Subscribe to this
|
|
116
|
+
'Subscribe to this emission': "Subscribe to this series",
|
|
117
117
|
'Subscribe to this participant': "Subscribe to this speakers",
|
|
118
|
-
'Emission have not podcasts': "This
|
|
118
|
+
'Emission have not podcasts': "This series does not have any podcasts",
|
|
119
119
|
'Participant have not podcasts':
|
|
120
120
|
'Speaker is not associated to any podcasts',
|
|
121
121
|
'Default version': 'Default version',
|
|
122
122
|
'Large version': 'Large version',
|
|
123
123
|
'Emission version': 'Serie version',
|
|
124
|
-
'Large emission version': 'Large
|
|
124
|
+
'Large emission version': 'Large series version',
|
|
125
125
|
'Large suggestion version': 'Large suggestion version',
|
|
126
126
|
'Embed link': 'Embed miniplayer',
|
|
127
127
|
'Embedly link': 'Player link',
|
|
@@ -184,7 +184,7 @@ export default{
|
|
|
184
184
|
"Share this page without edit and share blocks",
|
|
185
185
|
'Podcast in cancelled status': 'Podcast has a cancelled status',
|
|
186
186
|
'Show every episode': 'Show every episode',
|
|
187
|
-
'Subscribe emission': "Subscribe to the
|
|
187
|
+
'Subscribe emission': "Subscribe to the series",
|
|
188
188
|
'Rss feed parameters': 'RSS Feed settings',
|
|
189
189
|
'Not share episodes before':
|
|
190
190
|
'Do not share episodes before',
|
|
@@ -206,7 +206,7 @@ export default{
|
|
|
206
206
|
Configuration: 'Configuration',
|
|
207
207
|
'HTML Code': 'HTML Code',
|
|
208
208
|
'Listen this episode': 'Listen to this episode',
|
|
209
|
-
'Display emission name': "Display the
|
|
209
|
+
'Display emission name': "Display the series title",
|
|
210
210
|
'Display participants list': 'Display the speakers list',
|
|
211
211
|
'Choose main color': 'Choose the main color',
|
|
212
212
|
'Octopus is ACPM Podcast accredited': 'Octopus is ACPM accredited',
|
|
@@ -237,7 +237,7 @@ export default{
|
|
|
237
237
|
'Podcasts in the playlist': 'All the Podcasts in the playlist',
|
|
238
238
|
'No podcasts in the playlist': "No podcasts in the playlist",
|
|
239
239
|
'Start in a while': 'Starts any minute',
|
|
240
|
-
'All live emission button': "All lives in the
|
|
240
|
+
'All live emission button': "All lives in the series",
|
|
241
241
|
'player parameters': 'Setting of player',
|
|
242
242
|
'Start at': 'Start at',
|
|
243
243
|
'sort by score': 'by relevancy score',
|
package/src/locale/es.ts
CHANGED
|
@@ -70,7 +70,7 @@ export default{
|
|
|
70
70
|
'Episode name image': "Imagen del episodio {name}",
|
|
71
71
|
'More episodes of this emission': "Más episodios de este programa",
|
|
72
72
|
'More episodes of this category : {name}': "Más episodios de esta categoría: {name}",
|
|
73
|
-
'All podcast
|
|
73
|
+
'All podcast emission button': "Todos los episodios del programa",
|
|
74
74
|
Duration: 'Duración: {duration}',
|
|
75
75
|
Animator: 'Presentador/a',
|
|
76
76
|
'No category filter': 'Sin filtro de categoría',
|
package/src/locale/sl.ts
CHANGED
|
@@ -70,7 +70,7 @@ export default{
|
|
|
70
70
|
'Episode name image': "Slika epizode {name}",
|
|
71
71
|
'More episodes of this emission': "Več oddaj iz tega niza",
|
|
72
72
|
'More episodes of this category : ': 'Več oddaj iz te kategorije", {name}',
|
|
73
|
-
'All podcast emission
|
|
73
|
+
'All podcast emission button': "Vsi podkasti iz tega sklopa",
|
|
74
74
|
Duration: 'Trajanje: {duration}',
|
|
75
75
|
Animator: 'Napovedovalec',
|
|
76
76
|
'No category filter': 'Brez filtra za kategorijo',
|
package/src/store/paramStore.ts
CHANGED
|
@@ -12,7 +12,7 @@ const state:paramStore = {
|
|
|
12
12
|
isPlaylist: false,
|
|
13
13
|
isProduction: true,
|
|
14
14
|
isContribution: true,
|
|
15
|
-
ApiUri: 'https://api.
|
|
15
|
+
ApiUri: 'https://api.dev2.saooti.org/',
|
|
16
16
|
podcastmaker: false,
|
|
17
17
|
buttonPlus: true,
|
|
18
18
|
allCategories: [],
|
|
@@ -26,10 +26,10 @@ const state:paramStore = {
|
|
|
26
26
|
SharePlayer: true,
|
|
27
27
|
ShareButtons: true,
|
|
28
28
|
ShareDistribution: true,
|
|
29
|
-
MiniplayerUri: 'https://playerbeta.
|
|
29
|
+
MiniplayerUri: 'https://playerbeta.dev2.saooti.org/',
|
|
30
30
|
ouestFranceStyle: false,
|
|
31
31
|
downloadButton: false,
|
|
32
|
-
hlsUri: 'https://hls.
|
|
32
|
+
hlsUri: 'https://hls.dev2.saooti.org/',
|
|
33
33
|
mainRubrique: 0,
|
|
34
34
|
resourceUrl: undefined
|
|
35
35
|
},
|
|
@@ -85,10 +85,10 @@ const state:paramStore = {
|
|
|
85
85
|
userName: '',
|
|
86
86
|
},
|
|
87
87
|
octopusApi: {
|
|
88
|
-
url: 'http://api.
|
|
89
|
-
commentsUrl: 'http://comments.
|
|
90
|
-
studioUrl: 'http://studio.
|
|
91
|
-
playerUrl: 'https://playerbeta.
|
|
88
|
+
url: 'http://api.dev2.saooti.org/',
|
|
89
|
+
commentsUrl: 'http://comments.dev2.saooti.org/',
|
|
90
|
+
studioUrl: 'http://studio.dev2.saooti.org/',
|
|
91
|
+
playerUrl: 'https://playerbeta.dev2.saooti.org/',
|
|
92
92
|
organisationId: undefined,
|
|
93
93
|
rubriqueIdFilter: undefined,
|
|
94
94
|
},
|