@tiledesk/tiledesk-server 2.14.26 → 2.14.28

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.
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKERHUB_USERNAME }}
20
20
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKERHUB_USERNAME }}
20
20
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKERHUB_USERNAME }}
20
20
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -13,7 +13,7 @@ jobs:
13
13
  - name: Check out the repo
14
14
  uses: actions/checkout@v2
15
15
  - name: Push to Docker Hub
16
- uses: docker/build-push-action@v1
16
+ uses: docker/build-push-action@v4
17
17
  with:
18
18
  username: ${{ secrets.DOCKERHUB_USERNAME }}
19
19
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -13,7 +13,7 @@ jobs:
13
13
  - name: Check out the repo
14
14
  uses: actions/checkout@v2
15
15
  - name: Push to Docker Hub
16
- uses: docker/build-push-action@v1
16
+ uses: docker/build-push-action@v4
17
17
  with:
18
18
  username: ${{ secrets.DOCKERHUB_USERNAME }}
19
19
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKER_USERNAME }}
20
20
  password: ${{ secrets.DOCKER_PASSWORD }}
package/CHANGELOG.md CHANGED
@@ -5,6 +5,8 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.14.28
9
+ - Add audio MIME type equivalences for MPEG, MP3, and Opus formats
8
10
 
9
11
  # 2.14.26
10
12
  - Added endpoints to connect with a MCP Tools and get tools list.
@@ -31,6 +31,9 @@ function areMimeTypesEquivalent(mimeType1, mimeType2) {
31
31
  'audio/wave': ['audio/wav', 'audio/x-wav', 'audio/vnd.wave'],
32
32
  'audio/x-wav': ['audio/wav', 'audio/wave', 'audio/vnd.wave'],
33
33
  'audio/vnd.wave': ['audio/wav', 'audio/wave', 'audio/x-wav'],
34
+ 'audio/mpeg': ['audio/opus', 'audio/mp3'],
35
+ 'audio/mp3': ['audio/mpeg', 'audio/opus'],
36
+ 'audio/opus': ['audio/mpeg', 'audio/mp3'],
34
37
  'image/jpeg': ['image/jpg'],
35
38
  'image/jpg': ['image/jpeg'],
36
39
  'application/x-zip-compressed': ['application/zip'],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.14.26",
4
+ "version": "2.14.28",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
package/routes/filesp.js CHANGED
@@ -124,6 +124,9 @@ function areMimeTypesEquivalent(mimeType1, mimeType2) {
124
124
  'audio/wave': ['audio/wav', 'audio/x-wav', 'audio/vnd.wave'],
125
125
  'audio/x-wav': ['audio/wav', 'audio/wave', 'audio/vnd.wave'],
126
126
  'audio/vnd.wave': ['audio/wav', 'audio/wave', 'audio/x-wav'],
127
+ 'audio/mpeg': ['audio/opus', 'audio/mp3'],
128
+ 'audio/mp3': ['audio/mpeg', 'audio/opus'],
129
+ 'audio/opus': ['audio/mpeg', 'audio/mp3'],
127
130
  'image/jpeg': ['image/jpg'],
128
131
  'image/jpg': ['image/jpeg'],
129
132
  'application/x-zip-compressed': ['application/zip'],