mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-22 07:36:33 +00:00
parent
40aeeafea2
commit
a1aac10bd5
32 changed files with 25 additions and 37 deletions
24
app/DoctrineMigrations/Version20230728091417.php
Normal file
24
app/DoctrineMigrations/Version20230728091417.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Application\Migrations;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Wallabag\CoreBundle\Doctrine\WallabagMigration;
|
||||
|
||||
/**
|
||||
* Remove mobi export.
|
||||
*/
|
||||
final class Version20230728091417 extends WallabagMigration
|
||||
{
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
$this->addSql('DELETE FROM' . $this->getTable('internal_setting') . " WHERE name = 'export_mobi';");
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
$this->addSql('INSERT INTO ' . $this->getTable('internal_setting') . " (name, value, section) VALUES ('export_mobi', '1', 'export');");
|
||||
}
|
||||
}
|
|
@ -100,8 +100,6 @@ fos_rest:
|
|||
- 'application/pdf'
|
||||
epub:
|
||||
- 'application/epub+zip'
|
||||
mobi:
|
||||
- 'application/x-mobipocket-ebook'
|
||||
view_response_listener: 'force'
|
||||
formats:
|
||||
xml: true
|
||||
|
@ -110,13 +108,12 @@ fos_rest:
|
|||
csv: true
|
||||
pdf: true
|
||||
epub: true
|
||||
mobi: true
|
||||
failed_validation: HTTP_BAD_REQUEST
|
||||
routing_loader: false
|
||||
format_listener:
|
||||
enabled: true
|
||||
rules:
|
||||
- { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
|
||||
- { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
|
||||
- { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
|
||||
- { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
|
||||
|
||||
|
|
|
@ -85,10 +85,6 @@ wallabag_core:
|
|||
name: export_epub
|
||||
value: 1
|
||||
section: export
|
||||
-
|
||||
name: export_mobi
|
||||
value: 0
|
||||
section: export
|
||||
-
|
||||
name: export_pdf
|
||||
value: 1
|
||||
|
|
|
@ -147,7 +147,6 @@
|
|||
"twig/extra-bundle": "^3.4",
|
||||
"twig/string-extra": "^3.4",
|
||||
"twig/twig": "^3.4.3",
|
||||
"wallabag/php-mobi": "~1.0",
|
||||
"wallabag/phpepub": "^4.0.10",
|
||||
"willdurand/hateoas": "^3.8",
|
||||
"willdurand/hateoas-bundle": "~2.1"
|
||||
|
|
|
@ -101,7 +101,6 @@
|
|||
<h4 class="center">{{ 'entry.list.export_title'|trans }}</h4>
|
||||
<ul>
|
||||
{% if craue_setting('export_epub') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'epub', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">EPUB</a></li>{% endif %}
|
||||
{% if craue_setting('export_mobi') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'mobi', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">MOBI (deprecated)</a></li>{% endif %}
|
||||
{% if craue_setting('export_pdf') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'pdf', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">PDF</a></li>{% endif %}
|
||||
{% if craue_setting('export_json') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'json', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">JSON</a></li>{% endif %}
|
||||
{% if craue_setting('export_csv') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'csv', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">CSV</a></li>{% endif %}
|
||||
|
|
|
@ -209,7 +209,6 @@
|
|||
<div class="collapsible-body">
|
||||
<ul>
|
||||
{% if craue_setting('export_epub') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'epub'}) }}" title="Generate ePub file">EPUB</a></li>{% endif %}
|
||||
{% if craue_setting('export_mobi') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'mobi'}) }}" title="Generate Mobi file">MOBI (deprecated)</a></li>{% endif %}
|
||||
{% if craue_setting('export_pdf') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'pdf'}) }}" title="Generate PDF file">PDF</a></li>{% endif %}
|
||||
{% if craue_setting('export_csv') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'csv'}) }}" title="Generate CSV file">CSV</a></li>{% endif %}
|
||||
{% if craue_setting('export_json') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'json'}) }}" title="Generate JSON file">JSON</a></li>{% endif %}
|
||||
|
|
|
@ -140,7 +140,6 @@
|
|||
<tr><td>tecnickcom/tcpdf</td><td>LGPLv3</td></tr>
|
||||
<tr><td>twig/extensions</td><td>MIT</td></tr>
|
||||
<tr><td>twig/twig</td><td>BSD-3-Clause</td></tr>
|
||||
<tr><td>wallabag/php-mobi</td><td>Apache-2.0</td></tr>
|
||||
<tr><td>willdurand/hateoas</td><td>MIT</td></tr>
|
||||
<tr><td>willdurand/hateoas-bundle</td><td>MIT</td></tr>
|
||||
<tr><td>willdurand/jsonp-callback-validator</td><td>MIT</td></tr>
|
||||
|
|
|
@ -12,7 +12,6 @@ export_epub: Povolit export do ePub
|
|||
export_json: Povolit export do JSON
|
||||
export_csv: Povolit export do CSV
|
||||
export_pdf: Povolit export do PDF
|
||||
export_mobi: Povolit export do .mobi
|
||||
diaspora_url: Adresa URL diaspora*, pokud je služba povolena
|
||||
download_pictures: Stáhnout obrázky na váš server
|
||||
settings_changed: Konfigurace byla aktualizována
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
download_pictures: Download billeder på din server
|
||||
diaspora_url: diaspora* URL, hvis tjenesten er aktiv
|
||||
export_epub: Aktiver eksport til ePub
|
||||
export_mobi: Aktiver eksport til .mobi
|
||||
export_pdf: Aktiver eksport til PDF
|
||||
export_csv: Aktiver eksport til CSV
|
||||
export_json: Aktiver eksport til JSON
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Konfiguration aktualisiert
|
|||
download_pictures: Bilder auf den Server herunterladen
|
||||
diaspora_url: diaspora*-URL, sofern der Service aktiviert ist
|
||||
export_epub: ePUB-Export aktivieren
|
||||
export_mobi: mobi-Export aktivieren
|
||||
export_pdf: PDF-Export aktivieren
|
||||
export_csv: CSV-Export aktivieren
|
||||
export_json: JSON-Export aktivieren
|
||||
|
|
|
@ -28,7 +28,6 @@ export_txt: Ενεργοποίηση εξαγωγής TXT
|
|||
export_json: Ενεργοποίηση εξαγωγής JSON
|
||||
export_csv: Ενεργοποίηση εξαγωγής CSV
|
||||
export_pdf: Ενεργοποίηση εξαγωγής PDF
|
||||
export_mobi: Ενεργοποίηση εξαγωγής .mobi
|
||||
export_epub: Ενεργοποίηση εξαγωγής ePub
|
||||
diaspora_url: URL του diaspora*, αν είναι ενεργοποιημένη η υπηρεσία
|
||||
download_pictures: Λήψη των εικόνων στον διακομιστή σας
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Configuration updated
|
|||
download_pictures: Download pictures onto your server
|
||||
diaspora_url: diaspora* URL, if the service is enabled
|
||||
export_epub: Enable ePub export
|
||||
export_mobi: Enable .mobi export (deprecated, will be removed soon)
|
||||
export_pdf: Enable PDF export
|
||||
export_csv: Enable CSV export
|
||||
export_json: Enable JSON export
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Configuración actualizada
|
|||
download_pictures: Descargar imágenes en el servidor
|
||||
diaspora_url: URL de diaspora*, si el servicio está activado
|
||||
export_epub: Activar exportación a ePub
|
||||
export_mobi: Activar exportación a .mobi (deprecado, se eliminará pronto)
|
||||
export_pdf: Activar exportación a PDF
|
||||
export_csv: Activar exportación a CSV
|
||||
export_json: Activar exportación a JSON
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
download_pictures: تصاویر را در کارگزار خودتان باربگیرید
|
||||
diaspora_url: نشانی Diaspora، اگر فعال بود
|
||||
export_epub: فعالسازی برونسپاری به ePub
|
||||
export_mobi: فعالسازی برونسپاری به mobi
|
||||
export_pdf: فعالسازی برونسپاری به PDF
|
||||
export_csv: فعالسازی برونسپاری به CSV
|
||||
export_json: فعالسازی برونسپاری به JSON
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Configuration mise à jour
|
|||
download_pictures: Télécharger les images sur le serveur
|
||||
diaspora_url: URL de diaspora*, si le service est activé
|
||||
export_epub: Activer l'export ePub
|
||||
export_mobi: Activer l'export .mobi (déprécié, sera supprimé prochainement)
|
||||
export_pdf: Activer l'export PDF
|
||||
export_csv: Activer l'export CSV
|
||||
export_json: Activer l'export JSON
|
||||
|
|
|
@ -28,7 +28,6 @@ export_txt: Activar exportación TXT
|
|||
export_json: Activar exportación JSON
|
||||
export_csv: Activar exportación CSV
|
||||
export_pdf: Activar exportación PDF
|
||||
export_mobi: Activar exportación .mobi (xa non se usa, vai ser eliminada)
|
||||
export_epub: Activar exportación ePub
|
||||
diaspora_url: URL de diaspora*, se o servizo está activo
|
||||
download_pictures: Descargar imaxes no teu servidor
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Beállítások frissítve
|
|||
download_pictures: Képek letöltése a kiszolgálóra
|
||||
diaspora_url: diaspora* URL, ha a szolgáltatás engedélyezett
|
||||
export_epub: ePub-ba exportálás engedélyezése
|
||||
export_mobi: .mobi-ba exportálás engedélyezése
|
||||
export_pdf: PDF-be exportálás engedélyezése
|
||||
export_csv: CSV-be exportálás engedélyezése
|
||||
export_json: JSON-ba exportálás engedélyezése
|
||||
|
|
|
@ -2,7 +2,6 @@ export_txt: Aktifkan pengeksporan TXT
|
|||
export_json: Aktifkan pengeksporan JSON
|
||||
export_csv: Aktifkan pengeksporan CSV
|
||||
export_pdf: Aktifkan pengeksporan PDF
|
||||
export_mobi: Aktifkan pengeksporan .mobi
|
||||
export_epub: Aktifkan pengeksporan ePub
|
||||
diaspora_url: URL diaspora*, jika layanan diaktifkan
|
||||
settings_changed: Konfigurasi diperbarui
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
download_pictures: Scarica le immagini sul tuo server
|
||||
diaspora_url: URL di diaspora*, se il servizio è abilitato
|
||||
export_epub: Abilita esportazione ePub
|
||||
export_mobi: Abilita esportazione .mobi (deprecato, verrà rimosso presto)
|
||||
export_pdf: Abilita esportazione PDF
|
||||
export_csv: Abilita esportazione CSV
|
||||
export_json: Abilita esportazione JSON
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: 設定を更新しました
|
|||
download_pictures: サーバー上の画像をダウンロード
|
||||
diaspora_url: diaspora* URL、サービスが有効になっている場合
|
||||
export_epub: ePub のエクスポートを有効にする
|
||||
export_mobi: .mobi のエクスポートを有効にする(非推奨、近日中に削除されます)
|
||||
export_pdf: PDF のエクスポートを有効にする
|
||||
export_csv: CSV のエクスポートを有効にする
|
||||
export_json: JSON のエクスポートを有効にする
|
||||
|
|
|
@ -30,6 +30,5 @@ export_txt: TXT 내보내기 활성화
|
|||
export_json: JSON 내보내기 활성화
|
||||
export_csv: CSV 내보내기 활성화
|
||||
export_pdf: PDF 내보내기 활성화
|
||||
export_mobi: .mobi 내보내기 활성화
|
||||
export_epub: ePub 내보내기 활성화
|
||||
settings_changed: 설정을 업데이트했습니다
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Oppsett oppdatert
|
|||
download_pictures: Last ned bilder til tjeneren din
|
||||
diaspora_url: diaspora*-nettadresse, hvis tjenesten er avskrudd
|
||||
export_epub: Skru på ePub-eksport
|
||||
export_mobi: Skru på .mobi-eksport
|
||||
export_pdf: Skru på PDF-eksport
|
||||
export_csv: Skru på CSV-eksport
|
||||
export_json: Skru på JSON-eksport
|
||||
|
|
|
@ -28,7 +28,6 @@ export_txt: Schakel TXT-export in
|
|||
export_json: Schakel JSON-export in
|
||||
export_csv: Schakel CSV-export in
|
||||
export_pdf: Schakel PDF-export in
|
||||
export_mobi: Schakel .mobi-export in
|
||||
export_epub: Schakel ePub-export in
|
||||
download_pictures: Download foto's naar jouw server
|
||||
settings_changed: Instellingen bijgewerkt
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Configuracion mesa a jorn
|
|||
download_pictures: Telecargar los imatges sul servidor
|
||||
diaspora_url: URL de diaspora*, se lo servici diaspora* es activat
|
||||
export_epub: Activar l'expòrt ePub
|
||||
export_mobi: Activar l'expòrt .mobi
|
||||
export_pdf: Activar l'expòrt PDF
|
||||
export_csv: Activar l'expòrt CSV
|
||||
export_json: Activar l'expòrt JSON
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Konfiguracja zaktualizowana
|
|||
download_pictures: Pobierz obrazy na swój serwer
|
||||
diaspora_url: Adres URL Diaspora, jeżeli usługa jest włączona
|
||||
export_epub: Włącz eksport do ePub
|
||||
export_mobi: Włącz eksport do plików .mobi (przestarzałe, zostanie wkrótce usunięte)
|
||||
export_pdf: Włącz eksport do PDF
|
||||
export_csv: Włącz eksport do CSV
|
||||
export_json: Włącz eksport do JSON
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
download_pictures: Descarregar imagens ao seu servidor
|
||||
diaspora_url: URL de diaspora* caso o serviço esteja ativado
|
||||
export_epub: Habilita exportação para ePub
|
||||
export_mobi: Habilita exportação para .mobi
|
||||
export_pdf: Habilita exportação para PDF
|
||||
export_csv: Habilita exportação para CSV
|
||||
export_json: Habilita exportação para JSON
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
download_pictures: Descarcă poze pe server
|
||||
diaspora_url: diaspora* URL, dacă serviciul este permis
|
||||
export_epub: Permite exportare ePub
|
||||
export_mobi: Permite exportare .mobi
|
||||
export_pdf: Permite exportare PDF
|
||||
export_csv: Permite exportare CSV
|
||||
export_json: Permite exportare JSON
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: "Настройки обновлены"
|
|||
download_pictures: "Скачивать картинки на Ваш сервер"
|
||||
diaspora_url: "Diaspora URL, если сервис включен"
|
||||
export_epub: "Включить ePub экспорт"
|
||||
export_mobi: "Включить .mobi экспорт"
|
||||
export_pdf: "Включить PDF экспорт"
|
||||
export_csv: "Включить CSV экспорт"
|
||||
export_json: "Включить JSON экспорт"
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: ปรับปรุงองค์ประกอบ
|
|||
download_pictures: ดาวน์โหลดรูปภาพผ่านเซิฟเวอร์ของคุณ
|
||||
diaspora_url: Diaspora-URL, ถ้าเซิฟเวอร์ถูกเปิดใช้งาน
|
||||
export_epub: เปิดใช้งานการนำเข้าข้อมูลแบบ ePub
|
||||
export_mobi: เปิดใช้งานการนำเข้าข้อมูลแบบ .mobi
|
||||
export_pdf: เปิดใช้งานการนำเข้าข้อมูลแบบ PDF
|
||||
export_csv: เปิดใช้งานการนำเข้าข้อมูลแบบ CSV
|
||||
export_json: เปิดใช้งานการนำเข้าข้อมูลแบบ JSON
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Ayarlar güncellendi
|
|||
download_pictures: Resimleri sunucuya indir
|
||||
diaspora_url: hizmet etkinse diaspora* URL'si
|
||||
export_epub: ePub dışa aktarımını etkinleştir
|
||||
export_mobi: .mobi dışa aktarımını etkinleştir (kullanım dışı, yakında kaldırılacak)
|
||||
export_pdf: PDF dışa aktarımını etkinleştir
|
||||
export_csv: CSV dışa aktarımını etkinleştir
|
||||
export_json: JSON dışa aktarımını etkinleştir
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: Конфігурацію оновлено
|
|||
download_pictures: Завантажити картинки на ваш сервер
|
||||
diaspora_url: diaspora* адреса, якщо сервіс увімкнено
|
||||
export_epub: Увімкнути експорт в ePub
|
||||
export_mobi: Увімкнути експорт в .mobi
|
||||
export_pdf: Увімкнути експорт в PDF
|
||||
export_csv: Увімкнути експорт в CSV
|
||||
export_json: Увімкнути експорт в JSON
|
||||
|
|
|
@ -2,7 +2,6 @@ settings_changed: 配置已更新
|
|||
download_pictures: 在你的服务器上缓存图片
|
||||
diaspora_url: diaspora* 链接,如果该服务已被启用
|
||||
export_epub: 启用 ePub 导出
|
||||
export_mobi: 启用 .mobi 导出(已废弃,不久后将移除)
|
||||
export_pdf: 启用 PDF 导出
|
||||
export_csv: 启用 CSV 导出
|
||||
export_json: 启用 JSON 导出
|
||||
|
|
Loading…
Reference in a new issue