Skip to content

Commit 9ad0993

Browse files
authored
feat: add Camera Capture feature (Feature 029) (#4213)
1 parent 21cebe2 commit 9ad0993

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+418
-11
lines changed

config/secure-headers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
'camera' => [
251251
'none' => false,
252252
'*' => false,
253-
'self' => false,
253+
'self' => true,
254254
'origins' => [
255255
// 'url',
256256
],

lang/ar/dialogs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@
123123
'failed_error' => 'فشل التحميل. الخادم أعاد خطأ!',
124124
'apply_watermark' => 'Apply watermark',
125125
],
126+
'camera' => [
127+
'title' => 'التقاط صورة',
128+
'capture' => 'التقاط',
129+
'retake' => 'إعادة التقاط',
130+
'upload' => 'رفع',
131+
'secure_connection_required' => 'يتطلب الوصول إلى الكاميرا اتصالاً آمناً (HTTPS أو localhost).',
132+
],
126133
'visibility' => [
127134
'public' => 'عام',
128135
'public_expl' => 'يمكن للمستخدمين المجهولين الوصول إلى هذا الألبوم، مع مراعاة القيود أدناه.',

lang/ar/gallery.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@
315315
'apply_renamer' => 'Apply Renamer',
316316
'apply_renamer_all' => 'Apply Renamer to Selected',
317317
'upload_photo' => 'رفع صورة',
318+
'take_photo' => 'التقاط صورة',
318319
'import_link' => 'استيراد من الرابط',
319320
'import_server' => 'Import from Server',
320321
'import_dropbox' => 'استيراد من Dropbox',

lang/bg/dialogs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@
124124
'failed_error' => 'Качването не бе успешно. Сървърът върна грешка!',
125125
'apply_watermark' => 'Apply watermark',
126126
],
127+
'camera' => [
128+
'title' => 'Направи снимка',
129+
'capture' => 'Снимай',
130+
'retake' => 'Повтори',
131+
'upload' => 'Качи',
132+
'secure_connection_required' => 'Достъпът до камерата изисква защитена връзка (HTTPS или localhost).',
133+
],
127134
'visibility' => [
128135
'public' => 'Публичен',
129136
'public_expl' => 'Анонимните потребители имат достъп до този албум, според ограниченията по-долу.',

lang/bg/gallery.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@
316316
'apply_renamer' => 'Apply Renamer',
317317
'apply_renamer_all' => 'Apply Renamer to Selected',
318318
'upload_photo' => 'Качи снимка',
319+
'take_photo' => 'Направи снимка',
319320
'import_link' => 'Импорт от линк',
320321
'import_server' => 'Импорт от сървър',
321322
'import_dropbox' => 'Импорт от Dropbox',

lang/cz/dialogs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@
123123
'failed_error' => 'Upload failed. The server returned an error!',
124124
'apply_watermark' => 'Apply watermark',
125125
],
126+
'camera' => [
127+
'title' => 'Vyfotit',
128+
'capture' => 'Vyfotit',
129+
'retake' => 'Znovu vyfotit',
130+
'upload' => 'Nahrát',
131+
'secure_connection_required' => 'Přístup ke kameře vyžaduje zabezpečené připojení (HTTPS nebo localhost).',
132+
],
126133
'visibility' => [
127134
'public' => 'Public',
128135
'public_expl' => 'Anonymous users can access this album, subject to the restrictions below.',

lang/cz/gallery.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@
317317
'apply_renamer' => 'Apply Renamer',
318318
'apply_renamer_all' => 'Apply Renamer to Selected',
319319
'upload_photo' => 'Upload Photo',
320+
'take_photo' => 'Vyfotit',
320321
'import_link' => 'Import from Link',
321322
'import_server' => 'Import from Server',
322323
'import_dropbox' => 'Import from Dropbox',

lang/de/dialogs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@
123123
'failed_error' => 'Hochladen fehlgeschlagen. Der Server hat einen Fehler zurückgegeben!',
124124
'apply_watermark' => 'Apply watermark',
125125
],
126+
'camera' => [
127+
'title' => 'Foto aufnehmen',
128+
'capture' => 'Aufnehmen',
129+
'retake' => 'Erneut aufnehmen',
130+
'upload' => 'Hochladen',
131+
'secure_connection_required' => 'Der Kamerazugriff erfordert eine sichere Verbindung (HTTPS oder localhost).',
132+
],
126133
'visibility' => [
127134
'public' => 'Öffentlich',
128135
'public_expl' => 'Anonyme Benutzer können auf dieses Album zugreifen, allerdings mit den unten aufgeführten Einschränkungen.',

lang/de/gallery.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@
316316
'apply_renamer' => 'Apply Renamer',
317317
'apply_renamer_all' => 'Apply Renamer to Selected',
318318
'upload_photo' => 'Foto hochladen',
319+
'take_photo' => 'Foto aufnehmen',
319320
'import_link' => 'Von Link importieren',
320321
'import_server' => 'Vom Server importieren',
321322
'import_dropbox' => 'Importieren aus der Dropbox',

lang/el/dialogs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@
123123
'failed_error' => 'Upload failed. The server returned an error!',
124124
'apply_watermark' => 'Apply watermark',
125125
],
126+
'camera' => [
127+
'title' => 'Λήψη φωτογραφίας',
128+
'capture' => 'Λήψη',
129+
'retake' => 'Επανάληψη',
130+
'upload' => 'Μεταφόρτωση',
131+
'secure_connection_required' => 'Η πρόσβαση στην κάμερα απαιτεί ασφαλή σύνδεση (HTTPS ή localhost).',
132+
],
126133
'visibility' => [
127134
'public' => 'Public',
128135
'public_expl' => 'Anonymous users can access this album, subject to the restrictions below.',

0 commit comments

Comments
 (0)