ep_webrtc 2.5.1 → 2.5.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.
@@ -16,20 +16,20 @@ jobs:
16
16
  steps:
17
17
  -
18
18
  name: Install libreoffice
19
- uses: awalsh128/cache-apt-pkgs-action@v1.4.2
19
+ uses: awalsh128/cache-apt-pkgs-action@v1.6.0
20
20
  with:
21
21
  packages: libreoffice libreoffice-pdfimport
22
22
  version: 1.0
23
23
  -
24
24
  name: Install etherpad core
25
- uses: actions/checkout@v3
25
+ uses: actions/checkout@v4
26
26
  with:
27
27
  repository: ether/etherpad-lite
28
28
  path: etherpad-lite
29
- - uses: pnpm/action-setup@v4
29
+ - uses: pnpm/action-setup@v3
30
30
  name: Install pnpm
31
31
  with:
32
- version: 8
32
+ version: 10
33
33
  run_install: false
34
34
  - name: Get pnpm store directory
35
35
  shell: bash
@@ -44,20 +44,9 @@ jobs:
44
44
  ${{ runner.os }}-pnpm-store-
45
45
  -
46
46
  name: Checkout plugin repository
47
- uses: actions/checkout@v3
47
+ uses: actions/checkout@v4
48
48
  with:
49
49
  path: plugin
50
- -
51
- name: Determine plugin name
52
- id: plugin_name
53
- working-directory: ./plugin
54
- run: |
55
- npx -c 'printf %s\\n "::set-output name=plugin_name::${npm_package_name}"'
56
- -
57
- name: Link plugin directory
58
- working-directory: ./plugin
59
- run: |
60
- pnpm link --global
61
50
  - name: Remove tests
62
51
  working-directory: ./etherpad-lite
63
52
  run: rm -rf ./src/tests/backend/specs
@@ -65,28 +54,17 @@ jobs:
65
54
  name: Install Etherpad core dependencies
66
55
  working-directory: ./etherpad-lite
67
56
  run: bin/installDeps.sh
68
- - name: Link plugin to etherpad-lite
57
+ - name: Install plugin
69
58
  working-directory: ./etherpad-lite
70
59
  run: |
71
- pnpm link --global $PLUGIN_NAME
72
- pnpm run install-plugins --path ../../plugin
73
- env:
74
- PLUGIN_NAME: ${{ steps.plugin_name.outputs.plugin_name }}
75
- - name: Link ep_etherpad-lite
76
- working-directory: ./etherpad-lite/src
77
- run: |
78
- pnpm link --global
79
- - name: Link etherpad to plugin
80
- working-directory: ./plugin
81
- run: |
82
- pnpm link --global ep_etherpad-lite
60
+ pnpm run plugins i --path ../../plugin
83
61
  -
84
62
  name: Run the backend tests
85
- working-directory: ./etherpad-lite
63
+ working-directory: ./etherpad-lite/src
86
64
  run: |
87
- res=$(find .. -path "./node_modules/ep_*/static/tests/backend/specs/**" | wc -l)
65
+ res=$(find ./plugin_packages -path "*/static/tests/backend/specs/*" 2>/dev/null | wc -l)
88
66
  if [ $res -eq 0 ]; then
89
67
  echo "No backend tests found"
90
68
  else
91
- pnpm run test
69
+ npx cross-env NODE_ENV=production mocha --import=tsx --timeout 120000 --recursive node_modules/ep_*/static/tests/backend/specs/**
92
70
  fi
@@ -8,34 +8,9 @@ on:
8
8
  schedule:
9
9
  - cron: "48 0 * * 2"
10
10
 
11
+
11
12
  jobs:
12
13
  analyze:
13
- name: Analyze
14
- runs-on: ubuntu-latest
15
- permissions:
16
- actions: read
17
- contents: read
18
- security-events: write
19
-
20
- strategy:
21
- fail-fast: false
22
- matrix:
23
- language: [ javascript ]
24
-
25
- steps:
26
- - name: Checkout
27
- uses: actions/checkout@v3
28
-
29
- - name: Initialize CodeQL
30
- uses: github/codeql-action/init@v3
31
- with:
32
- languages: ${{ matrix.language }}
33
- queries: +security-and-quality
34
-
35
- - name: Autobuild
36
- uses: github/codeql-action/autobuild@v3
14
+ uses: ether/ether-pipelines/.github/workflows/codeql-plugins.yml@main
15
+ secrets: inherit
37
16
 
38
- - name: Perform CodeQL Analysis
39
- uses: github/codeql-action/analyze@v3
40
- with:
41
- category: "/language:${{ matrix.language }}"
@@ -12,13 +12,13 @@ jobs:
12
12
  steps:
13
13
  -
14
14
  name: Check out Etherpad core
15
- uses: actions/checkout@v3
15
+ uses: actions/checkout@v4
16
16
  with:
17
17
  repository: ether/etherpad-lite
18
- - uses: pnpm/action-setup@v4
18
+ - uses: pnpm/action-setup@v3
19
19
  name: Install pnpm
20
20
  with:
21
- version: 8
21
+ version: 10
22
22
  run_install: false
23
23
  - name: Get pnpm store directory
24
24
  shell: bash
@@ -33,7 +33,7 @@ jobs:
33
33
  ${{ runner.os }}-pnpm-store-
34
34
  -
35
35
  name: Check out the plugin
36
- uses: actions/checkout@v3
36
+ uses: actions/checkout@v4
37
37
  with:
38
38
  path: ./node_modules/__tmp
39
39
  -
@@ -15,13 +15,13 @@ jobs:
15
15
  node-version: 20
16
16
  registry-url: https://registry.npmjs.org/
17
17
  - name: Check out Etherpad core
18
- uses: actions/checkout@v3
18
+ uses: actions/checkout@v4
19
19
  with:
20
20
  repository: ether/etherpad-lite
21
- - uses: pnpm/action-setup@v4
21
+ - uses: pnpm/action-setup@v3
22
22
  name: Install pnpm
23
23
  with:
24
- version: 8
24
+ version: 10
25
25
  run_install: false
26
26
  - name: Get pnpm store directory
27
27
  shell: bash
@@ -35,7 +35,7 @@ jobs:
35
35
  restore-keys: |
36
36
  ${{ runner.os }}-pnpm-store-
37
37
  -
38
- uses: actions/checkout@v3
38
+ uses: actions/checkout@v4
39
39
  with:
40
40
  fetch-depth: 0
41
41
  -
@@ -0,0 +1,16 @@
1
+ {
2
+ "@metadata": {
3
+ "authors": [
4
+ "Peterleth"
5
+ ]
6
+ },
7
+ "ep_webrtc_settings_enablertc": "Aktivér lyd-/videochat",
8
+ "ep_webrtc_error_ssl": "TLS (https) er påkrævet for at bruge WebRTC.",
9
+ "ep_webrtc_error_permission_cam": "Kunne ikke få adgang til dit kamera.",
10
+ "ep_webrtc_error_permission_mic": "Kunne ikke få adgang til din mikrofon.",
11
+ "ep_webrtc_error_permission_cammic": "Kunne ikke få adgang til dit kamera og din mikrofon.",
12
+ "ep_webrtc_error_permission_screen": "Kunne ikke få adgang til din skærm.",
13
+ "ep_webrtc_error_notFound_cam": "Kunne ikke få adgang til dit kamera.",
14
+ "ep_webrtc_error_notFound_mic": "Kunne ikke få adgang til din mikrofon.",
15
+ "ep_webrtc_error_notFound_cammic": "Kunne ikke få adgang til dit kamera og din mikrofon."
16
+ }
package/locales/es.json CHANGED
@@ -2,10 +2,22 @@
2
2
  "@metadata": {
3
3
  "authors": [
4
4
  "Fewasser Traduce",
5
- "Jackiezelaya"
5
+ "Jackiezelaya",
6
+ "Ovruni"
6
7
  ]
7
8
  },
9
+ "ep_webrtc_settings_enablertc": "Habilitar chat de audio/video",
8
10
  "ep_webrtc_error_ssl": "TLS (https) es necesario para utilizar WebRTC.",
11
+ "ep_webrtc_error_permission_cam": "No se pudo obtener permiso para acceder a su cámara.",
12
+ "ep_webrtc_error_permission_mic": "No se pudo obtener permiso para acceder a su micrófono.",
13
+ "ep_webrtc_error_permission_cammic": "No se pudo obtener permiso para acceder a su cámara y micrófono.",
9
14
  "ep_webrtc_error_permission_screen": "Error al conseguir permiso para acceder a tu pantalla.",
10
- "ep_webrtc_error_notFound_screen": "Error al acceder a tu pantalla."
15
+ "ep_webrtc_error_notFound_cam": "No se pudo acceder a su cámara.",
16
+ "ep_webrtc_error_notFound_mic": "No se pudo acceder a su micrófono.",
17
+ "ep_webrtc_error_notFound_cammic": "No se pudo acceder a su cámara ni al micrófono.",
18
+ "ep_webrtc_error_notFound_screen": "Error al acceder a tu pantalla.",
19
+ "ep_webrtc_error_notReadable": "Lo sentimos, se produjo un error de hardware que impidió el acceso a su cámara y/o micrófono:",
20
+ "ep_webrtc_error_otherCantAccess": "Lo sentimos, el navegador no tiene acceso a tu cámara ni a tu micrófono. Revisa los permisos en la configuración de tu navegador. Probablemente no se trate de un error de hardware.",
21
+ "ep_webrtc_settings_audioenabledonstart": "Audio encendido al inicio",
22
+ "ep_webrtc_settings_videoenabledonstart": "Vídeo encendido al inicio"
11
23
  }
@@ -0,0 +1,21 @@
1
+ {
2
+ "@metadata": {
3
+ "authors": [
4
+ "Darafsh"
5
+ ]
6
+ },
7
+ "ep_webrtc_settings_enablertc": "فعال‌سازی چت صوتی/تصویری",
8
+ "ep_webrtc_error_ssl": "برای استفاده از WebRTC نیاز به TLS (https) است.",
9
+ "ep_webrtc_error_permission_cam": "دریافت اجازه برای دسترسی به دوربین شما ناموفق بود.",
10
+ "ep_webrtc_error_permission_mic": "دریافت اجازه برای دسترسی به میکروفون شما ناموفق بود.",
11
+ "ep_webrtc_error_permission_cammic": "دریافت اجازه برای دسترسی به دوربین و میکروفون شما ناموفق بود.",
12
+ "ep_webrtc_error_permission_screen": "دریافت اجازه برای دسترسی به صفحه‌نمایش شما ناموفق بود.",
13
+ "ep_webrtc_error_notFound_cam": "دسترسی به دوربین شما ناموفق بود.",
14
+ "ep_webrtc_error_notFound_mic": "دسترسی به میکروفون شما ناموفق بود.",
15
+ "ep_webrtc_error_notFound_cammic": "دسترسی به دوربین و میکروفون شما ناموفق بود.",
16
+ "ep_webrtc_error_notFound_screen": "دسترسی به صفحه‌نمایش شما ناموفق بود.",
17
+ "ep_webrtc_error_notReadable": "متأسفیم، خطای سخت‌افزاری‌ای رخ داد که مانع دسترسی به دوربین و/یا میکروفون شما شد:",
18
+ "ep_webrtc_error_otherCantAccess": "متأسفیم، مرورگر به دوربین و/یا میکروفون شما دسترسی ندارد. لطفاً مجوزها را در تنظیمات مرورگر خود بررسی کنید. این مشکل به‌احتمال زیاد خطای سخت‌افزاری نیست:",
19
+ "ep_webrtc_settings_audioenabledonstart": "روشن بودن صدا در شروع",
20
+ "ep_webrtc_settings_videoenabledonstart": "روشن بودن ویدئو در شروع"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "@metadata": {
3
+ "authors": [
4
+ "Aindriu80"
5
+ ]
6
+ },
7
+ "ep_webrtc_settings_enablertc": "Cumasaigh Comhrá Fuaime/Físe",
8
+ "ep_webrtc_error_ssl": "Tá TLS (https) ag teastáil chun WebRTC a úsáid.",
9
+ "ep_webrtc_error_permission_cam": "Theip ar chead a fháil chun rochtain a fháil ar do cheamara.",
10
+ "ep_webrtc_error_permission_mic": "Theip ar chead a fháil chun rochtain a fháil ar do mhicreafón.",
11
+ "ep_webrtc_error_permission_cammic": "Theip ar chead a fháil chun rochtain a fháil ar do cheamara agus do mhicreafón.",
12
+ "ep_webrtc_error_permission_screen": "Theip ar chead a fháil chun rochtain a fháil ar do scáileán.",
13
+ "ep_webrtc_error_notFound_cam": "Theip ar rochtain a fháil ar do cheamara.",
14
+ "ep_webrtc_error_notFound_mic": "Theip ar rochtain a fháil ar do mhicreafón.",
15
+ "ep_webrtc_error_notFound_cammic": "Theip ar rochtain a fháil ar do cheamara agus do mhicreafón.",
16
+ "ep_webrtc_error_notFound_screen": "Theip ar rochtain a fháil ar do scáileán.",
17
+ "ep_webrtc_error_notReadable": "Ár leithscéal, tharla earráid crua-earraí a chuir cosc ​​ar rochtain ar do cheamara agus/nó micreafón:",
18
+ "ep_webrtc_error_otherCantAccess": "Ár leithscéal, níl rochtain ag an mbrabhsálaí ar do cheamara agus/nó micreafón. Seiceáil ceadanna i socruithe do bhrabhsálaí le do thoil. Is dócha nach earráid crua-earraí atá ann:",
19
+ "ep_webrtc_settings_audioenabledonstart": "Fuaim AR SIÚL ag an Tosach",
20
+ "ep_webrtc_settings_videoenabledonstart": "Físeán AR SIÚL ag an Tosach"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "@metadata": {
3
+ "authors": [
4
+ "Inabat Allanova"
5
+ ]
6
+ },
7
+ "ep_webrtc_settings_enablertc": "Audio/Video sáwbetti jaǵıw",
8
+ "ep_webrtc_error_ssl": "WebRTC dan paydalanıw ushın TLS (https) talap etiledi.",
9
+ "ep_webrtc_error_permission_cam": "Kamerańızdı qosıwǵa ruxsat berilmedi.",
10
+ "ep_webrtc_error_permission_mic": "Mikrofonıńızdı qosıwǵa ruxsat berilmedi.",
11
+ "ep_webrtc_error_permission_cammic": "Kamera hám mikrofonıńızdı qosıwǵa ruxsat berilmedi.",
12
+ "ep_webrtc_error_permission_screen": "Ekranıńızdı qosıwǵa ruxsat berilmedi.",
13
+ "ep_webrtc_error_notFound_cam": "Kamerańızdı qosıwda qátelik júz berdi.",
14
+ "ep_webrtc_error_notFound_mic": "Mikrofonıńızdı qosıwda qátelik júz berdi.",
15
+ "ep_webrtc_error_notFound_cammic": "Kamera hám mikrofonıńızdı qosıwda qátelik júz berdi.",
16
+ "ep_webrtc_error_notFound_screen": "Ekranıńızdı qosıwda qátelik júz berdi.",
17
+ "ep_webrtc_error_notReadable": "Keshirińiz, kamerańız yamasa mikrofonıńızdı qosıwda apparat qátesi júz berdi:",
18
+ "ep_webrtc_error_otherCantAccess": "Keshirińiz, brauzerińiz kamerańız yamasa mikrofonıńızǵa kire almay atır. Ótinish, brauzerińiz sazlamalarında ruqsatlardı tekseriń. Bul, itimal, apparat qátesi bolmawı múmkin.",
19
+ "ep_webrtc_settings_audioenabledonstart": "Audio qosıldı",
20
+ "ep_webrtc_settings_videoenabledonstart": "Video qosıldı"
21
+ }
package/locales/nl.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "@metadata": {
3
3
  "authors": [
4
+ "McDutchie",
4
5
  "Spinster"
5
6
  ]
6
7
  },
7
8
  "ep_webrtc_settings_enablertc": "Audio-/videochat inschakelen",
8
9
  "ep_webrtc_error_ssl": "TLS (https) is vereist om WebRTC te gebruiken.",
9
- "ep_webrtc_error_permission_cam": "Kan geen toestemming krijgen om toegang te krijgen tot je camera.",
10
- "ep_webrtc_error_permission_mic": "Kan geen toestemming krijgen om toegang te krijgen tot je microfoon.",
11
- "ep_webrtc_error_permission_cammic": "Kan geen toestemming krijgen voor toegang tot je camera en microfoon.",
12
- "ep_webrtc_error_permission_screen": "Kan geen toestemming krijgen om toegang te krijgen tot je scherm.",
13
- "ep_webrtc_error_notFound_cam": "Kan geen toegang krijgen tot je camera.",
14
- "ep_webrtc_error_notFound_mic": "Kan geen toegang krijgen tot je microfoon.",
15
- "ep_webrtc_error_notFound_cammic": "Kan geen toegang krijgen tot je camera en microfoon.",
16
- "ep_webrtc_error_notFound_screen": "Kan geen toegang krijgen tot je scherm.",
17
- "ep_webrtc_error_notReadable": "Sorry, er is een hardwarefout opgetreden waardoor de toegang tot je camera en/of microfoon is verhinderd:",
18
- "ep_webrtc_error_otherCantAccess": "Sorry, de browser heeft geen toegang tot je camera en/of microfoon. Controleer de permissies in de instellingen van je browser. Dit is hoogstwaarschijnlijk geen hardwarefout:",
19
- "ep_webrtc_settings_audioenabledonstart": "Audio AAN bij Start",
20
- "ep_webrtc_settings_videoenabledonstart": "Video AAN bij Start"
10
+ "ep_webrtc_error_permission_cam": "De toegang tot uw camera is geweigerd.",
11
+ "ep_webrtc_error_permission_mic": "De toegang tot uw microfoon is geweigerd.",
12
+ "ep_webrtc_error_permission_cammic": "De toegang tot uw camera en microfoon is geweigerd.",
13
+ "ep_webrtc_error_permission_screen": "De toegang tot uw scherm is geweigerd.",
14
+ "ep_webrtc_error_notFound_cam": "De toegang tot uw camera is mislukt.",
15
+ "ep_webrtc_error_notFound_mic": "De toegang tot uw microfoon is mislukt.",
16
+ "ep_webrtc_error_notFound_cammic": "De toegang tot uw camera en microfoon is mislukt.",
17
+ "ep_webrtc_error_notFound_screen": "De toegang tot uw scherm is mislukt.",
18
+ "ep_webrtc_error_notReadable": "Helaas is er een hardwarefout opgetreden waardoor de toegang tot uw camera en/of microfoon is verhinderd:",
19
+ "ep_webrtc_error_otherCantAccess": "De browser heeft geen toegang tot uw camera en/of microfoon. Controleer de toestemmingen in de instellingen van uw browser. Dit is hoogstwaarschijnlijk geen hardwarefout:",
20
+ "ep_webrtc_settings_audioenabledonstart": "Audio AAN bij opstarten",
21
+ "ep_webrtc_settings_videoenabledonstart": "Video AAN bij opstarten"
21
22
  }
@@ -0,0 +1,21 @@
1
+ {
2
+ "@metadata": {
3
+ "authors": [
4
+ "Usagi.02808"
5
+ ]
6
+ },
7
+ "ep_webrtc_settings_enablertc": "Włącz czat audio/wideo",
8
+ "ep_webrtc_error_ssl": "TLS (https) jest wymagany do korzystania z WebRTC.",
9
+ "ep_webrtc_error_permission_cam": "Nie udało się uzyskać pozwolenia na dostęp do kamery.",
10
+ "ep_webrtc_error_permission_mic": "Nie udało się uzyskać pozwolenia na dostęp do mikrofonu.",
11
+ "ep_webrtc_error_permission_cammic": "Nie udało się uzyskać pozwolenia na dostęp do kamery i mikrofonu.",
12
+ "ep_webrtc_error_permission_screen": "Nie udało się uzyskać pozwolenia na dostęp do ekranu.",
13
+ "ep_webrtc_error_notFound_cam": "Nie udało się uzyskać dostępu do aparatu.",
14
+ "ep_webrtc_error_notFound_mic": "Nie udało się uzyskać dostępu do mikrofonu.",
15
+ "ep_webrtc_error_notFound_cammic": "Nie udało się uzyskać dostępu do kamery i mikrofonu.",
16
+ "ep_webrtc_error_notFound_screen": "Nie udało się uzyskać dostępu do ekranu.",
17
+ "ep_webrtc_error_notReadable": "Przepraszamy, wystąpił błąd sprzętowy, który uniemożliwił dostęp do kamery i/lub mikrofonu:",
18
+ "ep_webrtc_error_otherCantAccess": "Przeglądarka nie ma dostępu do kamery i/lub mikrofonu. Sprawdź uprawnienia w ustawieniach przeglądarki. Najprawdopodobniej nie jest to błąd sprzętowy:",
19
+ "ep_webrtc_settings_audioenabledonstart": "Dźwięk włączony na początku",
20
+ "ep_webrtc_settings_videoenabledonstart": "Wideo włączone na początku"
21
+ }
package/locales/pms.json CHANGED
@@ -6,6 +6,14 @@
6
6
  },
7
7
  "ep_webrtc_settings_enablertc": "Ativé la conversassion sonora/filmà",
8
8
  "ep_webrtc_error_ssl": "An dëspias, a l'ha damanca d'anstalé dij sertificà SSL për soa istansa Etherpad për dovré WebRTC.",
9
+ "ep_webrtc_error_permission_cam": "Falì a oten-e ël përmess d'acede a soa telecàmera.",
10
+ "ep_webrtc_error_permission_mic": "Falì a oten-e ël përmess d'acede a sò micròfon.",
11
+ "ep_webrtc_error_permission_cammic": "Falì a oten-e ël përmess d'acede a sò telecàmera e micròfon.",
12
+ "ep_webrtc_error_permission_screen": "Falì a oten-e ël përmess d'acede a sò scren.",
13
+ "ep_webrtc_error_notFound_cam": "Falì a acede a soa telecàmera.",
14
+ "ep_webrtc_error_notFound_mic": "Falì a acede a sò micròfon.",
15
+ "ep_webrtc_error_notFound_cammic": "Falì a acede a sò telecàmera e micròfon.",
16
+ "ep_webrtc_error_notFound_screen": "Falì a acede a sò scren.",
9
17
  "ep_webrtc_error_notReadable": "An dëspias, a-i é staje n'eror material che a l'ha ampedì l'acess a sò telecàmera o micròfon:",
10
18
  "ep_webrtc_error_otherCantAccess": "An dëspias, ël navigador a l'ha nen acess a sò telecàmera o micròfon. Për piasì, ch'a contròla j'autorisassion ant ij paràmeter ëd sò navigador. Probabilman a l'é nen n'eror material:",
11
19
  "ep_webrtc_settings_audioenabledonstart": "Sonor ativà a la partensa",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git@github.com:ether/ep_webrtc.git",
6
6
  "type": "git"
7
7
  },
8
- "version": "2.5.1",
8
+ "version": "2.5.3",
9
9
  "description": "WebRTC based audio/video chat to Etherpad",
10
10
  "author": "John McLear <john@mclear.co.uk>",
11
11
  "contributors": [],
@@ -25,7 +25,7 @@
25
25
  "eslint": "^8.57.0",
26
26
  "eslint-config-etherpad": "^4.0.4",
27
27
  "mocha": "^10.2.0",
28
- "typescript": "^5.4.5"
28
+ "typescript": "^5.4.2"
29
29
  },
30
30
  "scripts": {
31
31
  "lint": "eslint .",
@@ -8,7 +8,7 @@ const settings = require('ep_etherpad-lite/node/utils/Settings');
8
8
 
9
9
  describe(__filename, function () {
10
10
  let agent;
11
- const backup = {settings: {...settings}};
11
+ const backup = {settings: {requireAuthentication: settings.requireAuthentication}};
12
12
  const iceServers = [...Array(1000).keys()].map((i) => ({urls: [`turn:turn${i}.example.com`]}));
13
13
 
14
14
  const reload = async (settings = {}) => {
@@ -49,7 +49,7 @@ describe(__filename, function () {
49
49
  });
50
50
 
51
51
  after(async function () {
52
- Object.assign(settings, backup.settings);
52
+ settings.requireAuthentication = backup.settings.requireAuthentication;
53
53
  await plugin.loadSettings('loadSettings', {settings});
54
54
  });
55
55