Skip to content

Commit

Permalink
Merge branch 'feat/135772-pdf-page-bulk-export' into imprv/156177-159…
Browse files Browse the repository at this point in the history
…580-change-pdf-converter-type-to-module
  • Loading branch information
arafubeatbox committed Dec 24, 2024
2 parents 7302e8f + 2c8412f commit 4bd0bff
Show file tree
Hide file tree
Showing 31 changed files with 697 additions and 236 deletions.
4 changes: 3 additions & 1 deletion apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"multer": "~1.4.0",
"multer-autoreap": "^1.0.3",
"mustache": "^4.2.0",
"next": "^14.2.13",
"next": "^14.2.15",
"next-dynamic-loading-props": "^0.1.1",
"next-i18next": "^15.3.1",
"next-superjson": "^1.0.7",
Expand Down Expand Up @@ -198,9 +198,11 @@
"reconnecting-websocket": "^4.4.0",
"redis": "^3.0.2",
"rehype-katex": "^7.0.1",
"rehype-meta": "^4.0.1",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.1",
"rehype-toc": "^3.0.2",
"remark-breaks": "^4.0.0",
"remark-directive": "^3.0.0",
Expand Down
12 changes: 8 additions & 4 deletions apps/app/public/static/locales/en_US/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"only_me": "Only me",
"only_inside_the_group": "Only inside the group",
"optional": "Optional",
"days": "days",
"security_settings": {
"security_settings": "Security Settings",
"scope_of_page_disclosure": "Scope of page disclosure",
Expand Down Expand Up @@ -362,9 +363,11 @@
"file_uploading": "File uploading",
"enable_files_except_image": "Enabling this option will allow upload of any file type. Without this option, only image file upload is supported.",
"attach_enable": "You can attach files other than image files if you enable this option.",
"enable_page_bulk_export": "Enable bulk exporting a page and it's child pages",
"page_bulk_export_explanation": "When enabled, users will be able to bulk export from the page menu.",
"page_bulk_export_warning": "The download period for exported results is 24 hours, and they will be deleted after that. During this period, running multiple large exports consecutively can fill up the file system.",
"page_bulk_export_settings": "Page Bulk Export Settings",
"enable_page_bulk_export": "Enable bulk export",
"page_bulk_export_explanation": "Enables a feature that allows all users to export a page and all it's child pages at once from the menu. Exported data will be automatically deleted after the storage period has passed.",
"page_bulk_export_warning": "The bulk page export feature is available to all users. In order to maintain system resources, we ask for your cooperation in using the minimum amount necessary. If you are an administrator, please inform all users of this.",
"page_bulk_export_storage_period": "Storage period",
"update": "Update",
"mail_settings": "E-mail Settings",
"mailer_is_not_set_up": "E-mail setting is not set up.",
Expand Down Expand Up @@ -1066,7 +1069,8 @@
"ADMIN_USER_GROUP_ADD_USER": "Add User to User Group",
"ADMIN_SEARCH_CONNECTION": "Attempting to reconnect to Elasticsearch",
"ADMIN_SEARCH_INDICES_NORMALIZE": "Normalize of Elasticsearch indexes",
"ADMIN_SEARCH_INDICES_REBUILD": "Rebuild Elasticsearch indexes"
"ADMIN_SEARCH_INDICES_REBUILD": "Rebuild Elasticsearch indexes",
"ADMIN_PAGE_BULK_EXPORT_SETTINGS_UPDATE": "Update Page Bulk Export Settings"
},
"g2g": {
"transfer_success": "Completed GROWI to GROWI transfer successfully",
Expand Down
10 changes: 6 additions & 4 deletions apps/app/public/static/locales/en_US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"Create under": "Create page under below:",
"V5 Page Migration": "Convert To V5 Compatibility",
"GROWI.5.0_new_schema": "GROWI.5.0 new schema",
"See_more_detail_on_new_schema": "See more detail on <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html#about-the-new-v5-compatible-format' target='_blank'>{{title}}</a> <span className='growi-custom-icons'>external_link</span> ",
"See_more_detail_on_new_schema": "See more detail on <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html#about-the-new-v5-compatible-format' target='_blank'>{{title}}</a> <span class='growi-custom-icons'>external_link</span> ",
"external_account_management": "External Account Management",
"UserGroup": "UserGroup",
"Basic Settings": "Basic Settings",
Expand Down Expand Up @@ -157,7 +157,7 @@
"duplicated_path": "Duplicated path",
"Link sharing is disabled": "Link sharing is disabled",
"successfully_saved_the_page": "Successfully saved the page",
"you_can_not_create_page_with_this_name": "You can not create page with this name",
"you_can_not_create_page_with_this_name_or_hierarchy": "You can not create page with this name or page hierarchy",
"not_allowed_to_see_this_page": "You cannot see this page",
"Confirm": "Confirm",
"Successfully requested": "Successfully requested.",
Expand Down Expand Up @@ -615,7 +615,7 @@
"alert_desc1": "On this page, you can select pages with the checkbox and batch convert to the new v5 compatible format from the \"Bulk operation\" button at the top of the screen.",
"nopages_title": "Congratulations. Ready to use GROWI v5!",
"nopages_desc1": "Now all the pages you can manage seem to be in v5 compatible format.",
"detail_info": "See the detail information from <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html' target='_blank' class='alert-link'>Upgrading GROWI to v5.0.x <span className='growi-custom-icons'>external_link</span></a>.",
"detail_info": "See the detail information from <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html' target='_blank' class='alert-link'>Upgrading GROWI to v5.0.x <span class='growi-custom-icons'>external_link</span></a>.",
"modal": {
"title": "Convert to new v5 compatible format",
"converting_pages": "Converting pages",
Expand Down Expand Up @@ -660,7 +660,9 @@
"export_page_markdown": "Export page as Markdown",
"export_page_pdf": "Export page as PDF",
"bulk_export": "Export page and all child pages",
"bulk_export_notice": "Once a download link is ready, a notification will be sent. If the number of pages is large, it may take a while for preparation.",
"bulk_export_download_explanation": "A notification will be sent when the export is complete. To download the exported file, click the notification.",
"bulk_export_exec_time_warning": "If the number of pages is large, it may take a while to export",
"large_bulk_export_warning": "To conserve system resources, please refrain from exporting a large number of pages consecutively",
"markdown": "Markdown",
"choose_export_format": "Select export format",
"bulk_export_started": "Please wait a moment...",
Expand Down
12 changes: 8 additions & 4 deletions apps/app/public/static/locales/fr_FR/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"only_me": "Seulement moi",
"only_inside_the_group": "Utilisateurs du groupe",
"optional": "Optionnel",
"days": "jours",
"security_settings": {
"security_settings": "Paramètres de sécurité",
"scope_of_page_disclosure": "Confidentialité de la page",
Expand Down Expand Up @@ -362,9 +363,11 @@
"file_uploading": "Téléversement de fichiers",
"enable_files_except_image": "Autorise le téléversement de fichiers de n'importe quel type. Lorsque désactivé, seul les fichiers de type image sont autorisés.",
"attach_enable": "Autorise le téléversement de fichiers de n'importe quel type",
"enable_page_bulk_export": "Autoriser l'exportation groupée de pages et de leurs pages subordonnées",
"page_bulk_export_explanation": "Si autorisé, l'exportation groupée sera possible à partir du menu de la page.",
"page_bulk_export_warning": "La période de téléchargement des résultats exportés est de 24 heures, après quoi ils seront supprimés. Pendant cette période, l’exécution consécutive de plusieurs exportations volumineuses peut remplir le système de fichiers.",
"page_bulk_export_settings": "Paramètres d'exportation de pages par lots",
"enable_page_bulk_export": "Activer l'exportation groupée",
"page_bulk_export_explanation": "Active une fonctionnalité qui permet à tous les utilisateurs d'exporter simultanément toutes les pages sélectionnées dans le menu des pages et leurs pages subordonnées. Les données exportées seront automatiquement supprimées une fois la période de conservation écoulée.",
"page_bulk_export_warning": "La fonctionnalité d’exportation de pages en masse est disponible pour tous les utilisateurs. Afin de maintenir les ressources du système, nous demandons votre coopération pour utiliser le montant minimum nécessaire. Si vous êtes administrateur, veuillez en informer tous les utilisateurs.",
"page_bulk_export_storage_period": "Date limite de téléchargement",
"update": "Sauvegarder",
"mail_settings": "Configuration e-mail",
"mailer_is_not_set_up": "Paramètres e-mail non configurés.",
Expand Down Expand Up @@ -1065,7 +1068,8 @@
"ADMIN_USER_GROUP_ADD_USER": "Ajouter l'utilisateur au groupe",
"ADMIN_SEARCH_CONNECTION": "Essai de reconnexion Elasticsearch",
"ADMIN_SEARCH_INDICES_NORMALIZE": "Nomarliser l'index Elasticsearch",
"ADMIN_SEARCH_INDICES_REBUILD": "Reconstruire l'index Elasticsearch"
"ADMIN_SEARCH_INDICES_REBUILD": "Reconstruire l'index Elasticsearch",
"ADMIN_PAGE_BULK_EXPORT_SETTINGS_UPDATE": "Mettre à jour les paramètres d'exportation groupée de la page"
},
"g2g": {
"transfer_success": "Transfert de GROWI vers GROWI complété!",
Expand Down
10 changes: 6 additions & 4 deletions apps/app/public/static/locales/fr_FR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"Create under": "Créer la page sous:",
"V5 Page Migration": "Convertir vers la V5",
"GROWI.5.0_new_schema": "Nouveau schéma GROWI.5.0",
"See_more_detail_on_new_schema": "Plus de détails sur <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html#about-the-new-v5-compatible-format' target='_blank'>{{title}}</a> <i class='icon-share-alt'></i> ",
"See_more_detail_on_new_schema": "Plus de détails sur <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html#about-the-new-v5-compatible-format' target='_blank'>{{title}}</a><span class='growi-custom-icons'>external_link</span> ",
"external_account_management": "Gestion des comptes externes",
"UserGroup": "Groupe utilisateur",
"Basic Settings": "Paramètres de base",
Expand Down Expand Up @@ -157,7 +157,7 @@
"duplicated_path": "Chemin dupliqué",
"Link sharing is disabled": "Le partage est désactivé",
"successfully_saved_the_page": "Page sauvegardée",
"you_can_not_create_page_with_this_name": "Vous ne pouvez pas créer cette page",
"you_can_not_create_page_with_this_name_or_hierarchy": "Vous ne pouvez pas créer de page avec ce nom ou cette hiérarchie de pages",
"not_allowed_to_see_this_page": "Vous ne pouvez pas voir cette page",
"Confirm": "Confirmer",
"Successfully requested": "Demande envoyée.",
Expand Down Expand Up @@ -608,7 +608,7 @@
"alert_desc1": "Sélectionner les pages à convertir vers le format V5 avec le bouton \"Opération de masse\".",
"nopages_title": "GROWI V5 est maintenant utilisable!",
"nopages_desc1": "Toutes les pages ont été converties au format V5.",
"detail_info": "Pour plus de détails, voir <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html' target='_blank' class='alert-link'>Convertir vers GROWI v5.0.x <span className='growi-custom-icons'>external_link</span></a>.",
"detail_info": "Pour plus de détails, voir <a href='https://docs.growi.org/en/admin-guide/upgrading/50x.html' target='_blank' class='alert-link'>Convertir vers GROWI v5.0.x <span class='growi-custom-icons'>external_link</span></a>.",
"modal": {
"title": "Convertir au format V5",
"converting_pages": "Conversion des pages",
Expand Down Expand Up @@ -653,7 +653,9 @@
"export_page_markdown": "Exporter la page en Markdown",
"export_page_pdf": "Exporter la page en PDF",
"bulk_export": "Exporter la page et toutes les pages enfants",
"bulk_export_notice": "Une fois qu'un lien de téléchargement est prêt, une notification sera envoyée. Si le nombre de pages est important, la préparation peut prendre un certain temps.",
"bulk_export_download_explanation": "Une notification sera envoyée lorsque l’exportation sera terminée. Pour télécharger le fichier exporté, cliquez sur la notification.",
"bulk_export_exec_time_warning": "Si le nombre de pages est important, l'exportation peut prendre un certain temps.",
"large_bulk_export_warning": "Pour préserver les ressources du système, veuillez éviter d'exporter un grand nombre de pages consécutivement",
"markdown": "Markdown",
"choose_export_format": "Sélectionnez le format d'exportation",
"bulk_export_started": "Patientez s'il-vous-plait...",
Expand Down
12 changes: 8 additions & 4 deletions apps/app/public/static/locales/ja_JP/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"only_me": "自分のみ",
"only_inside_the_group": "特定グループのみ",
"optional": "オプション",
"days": "",
"security_settings": {
"security_settings": "セキュリティ設定",
"scope_of_page_disclosure": "ページの公開範囲",
Expand Down Expand Up @@ -371,9 +372,11 @@
"file_uploading": "ファイルアップロード",
"enable_files_except_image": "画像以外のファイルアップロードを許可",
"attach_enable": "許可をしている場合、画像以外のファイルをページに添付可能になります。",
"enable_page_bulk_export": "ページとその配下のページの一括エクスポートを許可",
"page_bulk_export_explanation": "許可している場合、個別ページのメニューから一括エクスポートが可能になります。",
"page_bulk_export_warning": "エクスポート結果のダウンロード期限は24時間で、それを過ぎるとファイルシステムから削除されます。この間にページ数の多いエクスポートを連続で実行すると、ファイルシステムを圧迫する可能性があります。",
"page_bulk_export_settings": "ページ一括エクスポート設定",
"enable_page_bulk_export": "一括エクスポートを有効にする",
"page_bulk_export_explanation": "すべてのユーザーが、ページメニューから選択したページとその配下ページをまとめてエクスポートできる機能を有効化します。エクスポートされたデータは保存期間経過後に自動的に削除されます。",
"page_bulk_export_warning": "ページ一括エクスポート機能は全ユーザーが利用可能です。システムリソースの維持のため、必要最小限の利用にご協力をお願いいたします。管理者の方は、この旨をユーザーの皆様にご周知ください。",
"page_bulk_export_storage_period": "保存期間",
"update": "更新",
"mail_settings": "メールの設定",
"mailer_is_not_set_up": "メール設定がセットアップされていません。",
Expand Down Expand Up @@ -1076,7 +1079,8 @@
"ADMIN_USER_GROUP_ADD_USER": "ユーザーグループにユーザーを追加",
"ADMIN_SEARCH_CONNECTION": "Elasticsearch の再接続の試行",
"ADMIN_SEARCH_INDICES_NORMALIZE": "Elasticsearch のインデックスの正規化",
"ADMIN_SEARCH_INDICES_REBUILD": "Elasticsearch のインデックスのリビルド"
"ADMIN_SEARCH_INDICES_REBUILD": "Elasticsearch のインデックスのリビルド",
"ADMIN_PAGE_BULK_EXPORT_SETTINGS_UPDATE": "ページ一括エクスポート設定の更新"
},
"g2g": {
"transfer_success": "G2G移行が完了しました",
Expand Down
10 changes: 6 additions & 4 deletions apps/app/public/static/locales/ja_JP/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"Create under": "ページを以下に作成",
"V5 Page Migration": "V5 互換形式 への変換",
"GROWI.5.0_new_schema": "GROWI.5.0における新スキーマについて",
"See_more_detail_on_new_schema": "詳しくは<a href='https://docs.growi.org/ja/admin-guide/upgrading/50x.html#新しい-v5-互換形式について' target='_blank'>{{title}}</a><span className='growi-custom-icons'>external_link</span>を参照ください。",
"See_more_detail_on_new_schema": "詳しくは<a href='https://docs.growi.org/ja/admin-guide/upgrading/50x.html#新しい-v5-互換形式について' target='_blank'>{{title}}</a><span class='growi-custom-icons'>external_link</span>を参照ください。",
"external_account_management": "外部アカウント管理",
"UserGroup": "グループ",
"Basic Settings": "基本設定",
Expand Down Expand Up @@ -158,7 +158,7 @@
"duplicated_path": "重複したパス",
"Link sharing is disabled": "リンクのシェアは無効化されています",
"successfully_saved_the_page": "ページが正常に保存されました",
"you_can_not_create_page_with_this_name": "この名前でページを作成することはできません",
"you_can_not_create_page_with_this_name_or_hierarchy": "この名前、または階層でページを作成することはできません",
"not_allowed_to_see_this_page": "このページは閲覧できません",
"Confirm": "確認",
"Successfully requested": "正常に処理を受け付けました",
Expand Down Expand Up @@ -647,7 +647,7 @@
"alert_desc1": "このページでは、チェックボックスでページを選択し、画面上部の「一括操作」ボタンから新しい v5 互換形式に一括変換できます。",
"nopages_title": "おめでとうございます。GROWI v5 を使う準備が完了しました!",
"nopages_desc1": "今あなたが管理可能なページはすべて v5 互換形式になっているようです。",
"detail_info": "詳しくは <a href='https://docs.growi.org/ja/admin-guide/upgrading/50x.html' target='_blank' class='alert-link'>GROWI v5.0.x へのアップグレード <span className='growi-custom-icons'>external_link</span></a> を参照ください。",
"detail_info": "詳しくは <a href='https://docs.growi.org/ja/admin-guide/upgrading/50x.html' target='_blank' class='alert-link'>GROWI v5.0.x へのアップグレード <span class='growi-custom-icons'>external_link</span></a> を参照ください。",
"modal": {
"title": "新しい v5 互換形式への変換",
"converting_pages": "以下のページを変換します",
Expand Down Expand Up @@ -692,7 +692,9 @@
"export_page_markdown": "マークダウン形式でページをエクスポート",
"export_page_pdf": "PDF形式でページをエクスポート",
"bulk_export": "ページとその配下のページを全てエクスポート",
"bulk_export_notice": "ダウンロードの準備が完了すると、通知が届きます。ページ数が多いと、準備に時間がかかる場合があります。",
"bulk_export_download_explanation": "エクスポート完了後に通知が届きます。通知をクリックし、ファイルをダウンロードしてください。",
"bulk_export_exec_time_warning": "ページ数が多いと、エクスポートに時間がかかる場合があります",
"large_bulk_export_warning": "システムリソースの維持のため、ページ数の多いエクスポートを連続して実行することはご遠慮ください",
"markdown": "マークダウン",
"choose_export_format": "エクスポート形式を選択してください",
"bulk_export_started": "ただいま準備中です...",
Expand Down
Loading

0 comments on commit 4bd0bff

Please sign in to comment.