postnhost 0.0.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/{LICENSE.txt → LICENSE} +6 -6
- data/README.md +343 -15
- data/Rakefile +66 -6
- data/app/assets/builds/postnhost/application.css +2 -0
- data/app/assets/builds/postnhost/application.js +50190 -0
- data/app/assets/config/postnhost_manifest.js +2 -0
- data/app/assets/images/postnhost/demo.webp +0 -0
- data/app/assets/images/postnhost/icons/alert-circle.svg +3 -0
- data/app/assets/images/postnhost/icons/arrow-left-long.svg +3 -0
- data/app/assets/images/postnhost/icons/arrow-left.svg +3 -0
- data/app/assets/images/postnhost/icons/arrow-right-end-on-rectangle.svg +3 -0
- data/app/assets/images/postnhost/icons/arrow-right-long.svg +3 -0
- data/app/assets/images/postnhost/icons/arrow-right.svg +3 -0
- data/app/assets/images/postnhost/icons/bars.svg +3 -0
- data/app/assets/images/postnhost/icons/bluesky.svg +3 -0
- data/app/assets/images/postnhost/icons/check-circle.svg +3 -0
- data/app/assets/images/postnhost/icons/chevron-down-small.svg +3 -0
- data/app/assets/images/postnhost/icons/chevron-down.svg +3 -0
- data/app/assets/images/postnhost/icons/chevron-left.svg +3 -0
- data/app/assets/images/postnhost/icons/chevron-right.svg +3 -0
- data/app/assets/images/postnhost/icons/clock.svg +3 -0
- data/app/assets/images/postnhost/icons/close.svg +3 -0
- data/app/assets/images/postnhost/icons/code-bracket.svg +3 -0
- data/app/assets/images/postnhost/icons/document-text.svg +3 -0
- data/app/assets/images/postnhost/icons/drag-handle.svg +8 -0
- data/app/assets/images/postnhost/icons/edit.svg +3 -0
- data/app/assets/images/postnhost/icons/external-link.svg +3 -0
- data/app/assets/images/postnhost/icons/eye.svg +4 -0
- data/app/assets/images/postnhost/icons/facebook.svg +3 -0
- data/app/assets/images/postnhost/icons/folder.svg +3 -0
- data/app/assets/images/postnhost/icons/image.svg +3 -0
- data/app/assets/images/postnhost/icons/info-circle.svg +3 -0
- data/app/assets/images/postnhost/icons/instagram.svg +3 -0
- data/app/assets/images/postnhost/icons/language.svg +3 -0
- data/app/assets/images/postnhost/icons/layers.svg +3 -0
- data/app/assets/images/postnhost/icons/lightning.svg +3 -0
- data/app/assets/images/postnhost/icons/linkedin.svg +3 -0
- data/app/assets/images/postnhost/icons/logout.svg +3 -0
- data/app/assets/images/postnhost/icons/magnifying-glass.svg +3 -0
- data/app/assets/images/postnhost/icons/mastodon.svg +3 -0
- data/app/assets/images/postnhost/icons/menu.svg +3 -0
- data/app/assets/images/postnhost/icons/plus.svg +3 -0
- data/app/assets/images/postnhost/icons/schedule.svg +3 -0
- data/app/assets/images/postnhost/icons/settings.svg +4 -0
- data/app/assets/images/postnhost/icons/sparkles.svg +3 -0
- data/app/assets/images/postnhost/icons/spinner.svg +4 -0
- data/app/assets/images/postnhost/icons/threads.svg +3 -0
- data/app/assets/images/postnhost/icons/tiktok.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/align-center.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/align-left.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/align-right.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/apply-link.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/blockquote.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/bold.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/bullet-list.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/code-block.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/code.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/heading-2.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/heading-3.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/image-add.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/italic.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/link.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/ordered-list.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/redo.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/remove-link.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/strike.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/table.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/underline.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/undo.svg +3 -0
- data/app/assets/images/postnhost/icons/tiptap/youtube.svg +4 -0
- data/app/assets/images/postnhost/icons/translate.svg +3 -0
- data/app/assets/images/postnhost/icons/trash.svg +3 -0
- data/app/assets/images/postnhost/icons/user.svg +4 -0
- data/app/assets/images/postnhost/icons/users.svg +3 -0
- data/app/assets/images/postnhost/icons/warning.svg +3 -0
- data/app/assets/images/postnhost/icons/x.svg +3 -0
- data/app/assets/images/postnhost/icons/youtube.svg +3 -0
- data/app/assets/images/postnhost/logo.webp +0 -0
- data/app/assets/images/postnhost/og-image.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/08-how-to-control-suggested-articles-and-top-picks-01-discovery-controls.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/09-all-about-authors-in-postnhost-01-author-profile.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/09-all-about-authors-in-postnhost-02-multiple-authors.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/11-how-to-schedule-an-article-for-publication-01-timezone.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/11-how-to-schedule-an-article-for-publication-02-scheduled-article.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/12-how-article-version-history-and-restores-work-01-version-history.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/13-how-to-add-and-manage-languages-01-language-management.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/14-how-to-translate-articles-pages-and-categories-01-translation-options.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/14-how-to-translate-articles-pages-and-categories-02-ai-language-selection.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/16-how-to-add-navigation-links-01-navigation-builder.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/16-how-to-add-navigation-links-02-external-link-settings.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/17-how-to-add-a-logo-and-default-og-image-01-assets-settings.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/19-how-to-customize-public-text-for-each-language-01-i18n-overrides.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/20-how-to-configure-structured-data-and-sitemap-seo-01-site-schema.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/20-how-to-configure-structured-data-and-sitemap-seo-02-author-schema-defaults.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/20-how-to-configure-structured-data-and-sitemap-seo-03-author-schema-advanced-fields.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/08-suggested-articles-and-top-picks.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/09-authors.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/11-scheduling.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/12-version-history.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/13-languages.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/14-translations.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/16-navigation-links.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/17-logo-and-default-og-image.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/19-public-text-for-each-language.webp +0 -0
- data/app/assets/images/postnhost/sample-docs/covers/20-structured-data-and-sitemap-seo.webp +0 -0
- data/app/assets/stylesheets/application.tailwind.css +347 -0
- data/app/assets/stylesheets/postnhost/application.css +15 -0
- data/app/assets/xsl/sitemap.xsl +64 -0
- data/app/controllers/concerns/postnhost/authentication.rb +59 -0
- data/app/controllers/concerns/postnhost/canonical_first_page_redirect.rb +14 -0
- data/app/controllers/concerns/postnhost/language_switcher.rb +42 -0
- data/app/controllers/concerns/postnhost/onboarding/access_control.rb +57 -0
- data/app/controllers/concerns/postnhost/onboarding/step_assignment.rb +55 -0
- data/app/controllers/concerns/postnhost/public_footer_data.rb +103 -0
- data/app/controllers/concerns/postnhost/public_http_caching.rb +35 -0
- data/app/controllers/concerns/postnhost/public_page_size.rb +17 -0
- data/app/controllers/concerns/postnhost/public_template_resolvable.rb +44 -0
- data/app/controllers/concerns/postnhost/settings/i18n_manageable.rb +61 -0
- data/app/controllers/concerns/postnhost/settings/navigation_manageable.rb +118 -0
- data/app/controllers/concerns/postnhost/settings/schema_manageable.rb +140 -0
- data/app/controllers/concerns/postnhost/users/schema_manageable.rb +119 -0
- data/app/controllers/postnhost/application_controller.rb +37 -0
- data/app/controllers/postnhost/article_variants_controller.rb +138 -0
- data/app/controllers/postnhost/articles/cover_images_controller.rb +35 -0
- data/app/controllers/postnhost/articles/images_controller.rb +28 -0
- data/app/controllers/postnhost/articles/translations_controller.rb +26 -0
- data/app/controllers/postnhost/articles_controller.rb +130 -0
- data/app/controllers/postnhost/categories/translations_controller.rb +24 -0
- data/app/controllers/postnhost/categories_controller.rb +59 -0
- data/app/controllers/postnhost/category_variants_controller.rb +69 -0
- data/app/controllers/postnhost/languages_controller.rb +66 -0
- data/app/controllers/postnhost/onboarding_controller.rb +70 -0
- data/app/controllers/postnhost/page_variants_controller.rb +136 -0
- data/app/controllers/postnhost/pages/images_controller.rb +28 -0
- data/app/controllers/postnhost/pages/translations_controller.rb +26 -0
- data/app/controllers/postnhost/pages_controller.rb +95 -0
- data/app/controllers/postnhost/public/articles_controller.rb +135 -0
- data/app/controllers/postnhost/public/authors_controller.rb +57 -0
- data/app/controllers/postnhost/public/categories_controller.rb +61 -0
- data/app/controllers/postnhost/public/static_pages_controller.rb +77 -0
- data/app/controllers/postnhost/public_controller.rb +32 -0
- data/app/controllers/postnhost/sessions_controller.rb +37 -0
- data/app/controllers/postnhost/settings/site_scripts_controller.rb +61 -0
- data/app/controllers/postnhost/settings_controller.rb +63 -0
- data/app/controllers/postnhost/sitemap_controller.rb +17 -0
- data/app/controllers/postnhost/templates_controller.rb +26 -0
- data/app/controllers/postnhost/users_controller.rb +112 -0
- data/app/helpers/postnhost/application_helper.rb +236 -0
- data/app/helpers/postnhost/article_helper.rb +41 -0
- data/app/helpers/postnhost/category_helper.rb +52 -0
- data/app/helpers/postnhost/common_css_helper.rb +97 -0
- data/app/helpers/postnhost/navigation_helper.rb +148 -0
- data/app/helpers/postnhost/pagy_helper.rb +103 -0
- data/app/helpers/postnhost/public_pages_helper.rb +287 -0
- data/app/helpers/postnhost/schema_helper.rb +102 -0
- data/app/helpers/postnhost/seo_helper.rb +428 -0
- data/app/helpers/postnhost/settings_helper.rb +79 -0
- data/app/javascript/application.js +3 -0
- data/app/javascript/controllers/ai_translation_controller.js +42 -0
- data/app/javascript/controllers/application.js +9 -0
- data/app/javascript/controllers/author_manager_controller.js +96 -0
- data/app/javascript/controllers/auto_save_controller.js +244 -0
- data/app/javascript/controllers/bulk_selection_controller.js +74 -0
- data/app/javascript/controllers/burger_controller.js +20 -0
- data/app/javascript/controllers/category_manager_controller.js +99 -0
- data/app/javascript/controllers/collapsible_sidebar_controller.js +87 -0
- data/app/javascript/controllers/cover_image_upload_controller.js +164 -0
- data/app/javascript/controllers/dropdown_controller.js +38 -0
- data/app/javascript/controllers/editor_mobile_sidebars_controller.js +36 -0
- data/app/javascript/controllers/file_auto_submit_controller.js +23 -0
- data/app/javascript/controllers/flash_message_controller.js +40 -0
- data/app/javascript/controllers/index.js +71 -0
- data/app/javascript/controllers/navigation_builder_controller.js +463 -0
- data/app/javascript/controllers/public_mobile_nav_controller.js +26 -0
- data/app/javascript/controllers/publish_guard_controller.js +47 -0
- data/app/javascript/controllers/reading_progress_controller.js +38 -0
- data/app/javascript/controllers/schedule_manager_controller.js +87 -0
- data/app/javascript/controllers/suggestion_manager_controller.js +99 -0
- data/app/javascript/controllers/template_preview_controller.js +34 -0
- data/app/javascript/controllers/tiptap_editor_controller.js +812 -0
- data/app/javascript/controllers/title_field_controller.js +17 -0
- data/app/javascript/helpers/auto_save_state.js +47 -0
- data/app/javascript/helpers/code_highlighting.js +48 -0
- data/app/javascript/helpers/dom_helpers.js +109 -0
- data/app/javascript/helpers/style_helpers.js +168 -0
- data/app/jobs/postnhost/application_job.rb +9 -0
- data/app/jobs/postnhost/scheduled_article_job.rb +13 -0
- data/app/jobs/postnhost/translation/article_variant_job.rb +17 -0
- data/app/jobs/postnhost/translation/category_variant_job.rb +17 -0
- data/app/jobs/postnhost/translation/page_variant_job.rb +17 -0
- data/app/models/concerns/postnhost/article/image_uploadable.rb +11 -0
- data/app/models/concerns/postnhost/excerpt_optimizable.rb +57 -0
- data/app/models/concerns/postnhost/inline_image_uploadable.rb +40 -0
- data/app/models/concerns/postnhost/page/image_uploadable.rb +11 -0
- data/app/models/concerns/postnhost/primary_language_guard.rb +18 -0
- data/app/models/concerns/postnhost/public_revision_touch.rb +15 -0
- data/app/models/concerns/postnhost/schema_localizable.rb +28 -0
- data/app/models/postnhost/application_record.rb +5 -0
- data/app/models/postnhost/article.rb +142 -0
- data/app/models/postnhost/article_author.rb +20 -0
- data/app/models/postnhost/article_category.rb +8 -0
- data/app/models/postnhost/article_suggestion.rb +19 -0
- data/app/models/postnhost/article_variant.rb +28 -0
- data/app/models/postnhost/category.rb +34 -0
- data/app/models/postnhost/category_variant.rb +24 -0
- data/app/models/postnhost/language.rb +38 -0
- data/app/models/postnhost/navigation.rb +76 -0
- data/app/models/postnhost/navigation_item.rb +100 -0
- data/app/models/postnhost/page.rb +63 -0
- data/app/models/postnhost/page_variant.rb +26 -0
- data/app/models/postnhost/public_site_revision.rb +24 -0
- data/app/models/postnhost/published_cover_image.rb +28 -0
- data/app/models/postnhost/setting.rb +116 -0
- data/app/models/postnhost/site_script.rb +11 -0
- data/app/models/postnhost/snapshot/article.rb +142 -0
- data/app/models/postnhost/snapshot/article_author.rb +11 -0
- data/app/models/postnhost/snapshot/article_category.rb +10 -0
- data/app/models/postnhost/snapshot/article_suggestion.rb +11 -0
- data/app/models/postnhost/snapshot/article_variant.rb +60 -0
- data/app/models/postnhost/snapshot/page.rb +33 -0
- data/app/models/postnhost/snapshot/page_variant.rb +41 -0
- data/app/models/postnhost/template.rb +20 -0
- data/app/models/postnhost/user.rb +63 -0
- data/app/models/postnhost/version.rb +7 -0
- data/app/services/postnhost/base_service.rb +17 -0
- data/app/services/postnhost/constraints/public_locale_constraint.rb +9 -0
- data/app/services/postnhost/constraints/public_route_constraint.rb +19 -0
- data/app/services/postnhost/onboarding/step_processor.rb +27 -0
- data/app/services/postnhost/onboarding/steps/base.rb +52 -0
- data/app/services/postnhost/onboarding/steps/choose_languages.rb +66 -0
- data/app/services/postnhost/onboarding/steps/complete_post_install_checklist.rb +12 -0
- data/app/services/postnhost/onboarding/steps/create_admin_account.rb +28 -0
- data/app/services/postnhost/onboarding/steps/finish_setup.rb +27 -0
- data/app/services/postnhost/onboarding/steps/set_site_metadata.rb +70 -0
- data/app/services/postnhost/public_navigation_targets.rb +67 -0
- data/app/services/postnhost/public_request_context.rb +101 -0
- data/app/services/postnhost/publishing/article_variants/publish.rb +26 -0
- data/app/services/postnhost/publishing/article_variants/publish_many.rb +23 -0
- data/app/services/postnhost/publishing/article_variants/snapshot_writer.rb +44 -0
- data/app/services/postnhost/publishing/article_variants/unpublish.rb +27 -0
- data/app/services/postnhost/publishing/article_variants/unpublish_many.rb +23 -0
- data/app/services/postnhost/publishing/articles/publish.rb +25 -0
- data/app/services/postnhost/publishing/articles/publish_scheduled.rb +42 -0
- data/app/services/postnhost/publishing/articles/snapshot_writer.rb +84 -0
- data/app/services/postnhost/publishing/articles/unpublish.rb +26 -0
- data/app/services/postnhost/publishing/bulk_transition.rb +63 -0
- data/app/services/postnhost/publishing/error.rb +12 -0
- data/app/services/postnhost/publishing/page_variants/publish.rb +26 -0
- data/app/services/postnhost/publishing/page_variants/publish_many.rb +23 -0
- data/app/services/postnhost/publishing/page_variants/snapshot_writer.rb +41 -0
- data/app/services/postnhost/publishing/page_variants/unpublish.rb +27 -0
- data/app/services/postnhost/publishing/page_variants/unpublish_many.rb +23 -0
- data/app/services/postnhost/publishing/pages/publish.rb +25 -0
- data/app/services/postnhost/publishing/pages/snapshot_writer.rb +38 -0
- data/app/services/postnhost/publishing/pages/unpublish.rb +26 -0
- data/app/services/postnhost/publishing/revision.rb +37 -0
- data/app/services/postnhost/publishing/route_validator.rb +41 -0
- data/app/services/postnhost/publishing/versions/restore_draft.rb +64 -0
- data/app/services/postnhost/service_result.rb +7 -0
- data/app/services/postnhost/sitemap_builder.rb +395 -0
- data/app/services/postnhost/translation/article_variant_translator.rb +102 -0
- data/app/services/postnhost/translation/category_variant_translator.rb +92 -0
- data/app/services/postnhost/translation/content_translator.rb +119 -0
- data/app/services/postnhost/translation/openai_llm_client.rb +30 -0
- data/app/services/postnhost/translation/page_variant_translator.rb +55 -0
- data/app/uploaders/base_uploader.rb +26 -0
- data/app/uploaders/cover_image_uploader.rb +31 -0
- data/app/uploaders/postnhost/avatar_uploader.rb +17 -0
- data/app/uploaders/postnhost/inline_article_image_uploader.rb +38 -0
- data/app/uploaders/postnhost/inline_page_image_uploader.rb +38 -0
- data/app/uploaders/postnhost/setting_asset_uploader.rb +18 -0
- data/app/views/layouts/postnhost/_favicon.html.erb +6 -0
- data/app/views/layouts/postnhost/_footer.html.erb +67 -0
- data/app/views/layouts/postnhost/_header.html.erb +89 -0
- data/app/views/layouts/postnhost/_sidebar.html.erb +72 -0
- data/app/views/layouts/postnhost/application.html.erb +23 -0
- data/app/views/layouts/postnhost/articles.html.erb +34 -0
- data/app/views/layouts/postnhost/product.html.erb +36 -0
- data/app/views/layouts/postnhost/public/templates/default.html.erb +110 -0
- data/app/views/layouts/postnhost/public/templates/swiss-editorial.html.erb +213 -0
- data/app/views/layouts/postnhost/public/templates/workspace-journal.html.erb +231 -0
- data/app/views/layouts/postnhost/public_header/_dashboard_sign_in.html.erb +14 -0
- data/app/views/layouts/postnhost/public_header/_language_switcher.html.erb +43 -0
- data/app/views/layouts/postnhost/public_header/_logo.html.erb +9 -0
- data/app/views/postnhost/article_variants/_variants_list.html.erb +82 -0
- data/app/views/postnhost/article_variants/edit.html.erb +48 -0
- data/app/views/postnhost/article_variants/index.html.erb +128 -0
- data/app/views/postnhost/article_variants/publish.turbo_stream.erb +3 -0
- data/app/views/postnhost/article_variants/unpublish.turbo_stream.erb +3 -0
- data/app/views/postnhost/article_variants/update.turbo_stream.erb +3 -0
- data/app/views/postnhost/articles/_author_manager.html.erb +38 -0
- data/app/views/postnhost/articles/_category_manager.html.erb +42 -0
- data/app/views/postnhost/articles/_cover_image_upload.html.erb +82 -0
- data/app/views/postnhost/articles/_suggestion_manager.html.erb +43 -0
- data/app/views/postnhost/articles/_version_snapshot.html.erb +10 -0
- data/app/views/postnhost/articles/edit.html.erb +51 -0
- data/app/views/postnhost/articles/index.html.erb +132 -0
- data/app/views/postnhost/articles/publish.turbo_stream.erb +3 -0
- data/app/views/postnhost/articles/unpublish.turbo_stream.erb +3 -0
- data/app/views/postnhost/articles/update.turbo_stream.erb +3 -0
- data/app/views/postnhost/articles/version_preview.html.erb +17 -0
- data/app/views/postnhost/articles/versions.html.erb +68 -0
- data/app/views/postnhost/categories/edit.html.erb +77 -0
- data/app/views/postnhost/categories/index.html.erb +80 -0
- data/app/views/postnhost/categories/new.html.erb +50 -0
- data/app/views/postnhost/categories/show.html.erb +99 -0
- data/app/views/postnhost/category_variants/_category_variants_list.html.erb +67 -0
- data/app/views/postnhost/category_variants/_form.html.erb +29 -0
- data/app/views/postnhost/category_variants/edit.html.erb +21 -0
- data/app/views/postnhost/category_variants/index.html.erb +82 -0
- data/app/views/postnhost/category_variants/new.html.erb +21 -0
- data/app/views/postnhost/languages/edit.html.erb +45 -0
- data/app/views/postnhost/languages/index.html.erb +86 -0
- data/app/views/postnhost/languages/new.html.erb +45 -0
- data/app/views/postnhost/languages/show.html.erb +156 -0
- data/app/views/postnhost/onboarding/_post_install_checklist.html.erb +40 -0
- data/app/views/postnhost/onboarding/_step_1.html.erb +42 -0
- data/app/views/postnhost/onboarding/_step_2.html.erb +38 -0
- data/app/views/postnhost/onboarding/_step_3.html.erb +62 -0
- data/app/views/postnhost/onboarding/_step_4.html.erb +26 -0
- data/app/views/postnhost/onboarding/show.html.erb +51 -0
- data/app/views/postnhost/page_variants/_variants_list.html.erb +82 -0
- data/app/views/postnhost/page_variants/edit.html.erb +50 -0
- data/app/views/postnhost/page_variants/index.html.erb +128 -0
- data/app/views/postnhost/page_variants/publish.turbo_stream.erb +3 -0
- data/app/views/postnhost/page_variants/unpublish.turbo_stream.erb +3 -0
- data/app/views/postnhost/page_variants/update.turbo_stream.erb +3 -0
- data/app/views/postnhost/pages/edit.html.erb +50 -0
- data/app/views/postnhost/pages/index.html.erb +110 -0
- data/app/views/postnhost/pages/publish.turbo_stream.erb +3 -0
- data/app/views/postnhost/pages/unpublish.turbo_stream.erb +3 -0
- data/app/views/postnhost/public/articles/content_for/_index.html.erb +30 -0
- data/app/views/postnhost/public/articles/content_for/_preview.html.erb +9 -0
- data/app/views/postnhost/public/articles/content_for/_show.html.erb +24 -0
- data/app/views/postnhost/public/authors/content_for/_show.html.erb +24 -0
- data/app/views/postnhost/public/categories/content_for/_index.html.erb +29 -0
- data/app/views/postnhost/public/static_pages/content_for/_show.html.erb +19 -0
- data/app/views/postnhost/public/templates/default/articles/_article_card.html.erb +37 -0
- data/app/views/postnhost/public/templates/default/articles/_search_form.html.erb +12 -0
- data/app/views/postnhost/public/templates/default/articles/_suggestions.html.erb +44 -0
- data/app/views/postnhost/public/templates/default/articles/_top_picks.html.erb +42 -0
- data/app/views/postnhost/public/templates/default/articles/index.html.erb +53 -0
- data/app/views/postnhost/public/templates/default/articles/preview.html.erb +102 -0
- data/app/views/postnhost/public/templates/default/articles/show.html.erb +111 -0
- data/app/views/postnhost/public/templates/default/authors/_article_card.html.erb +28 -0
- data/app/views/postnhost/public/templates/default/authors/_profile_block.html.erb +29 -0
- data/app/views/postnhost/public/templates/default/authors/show.html.erb +36 -0
- data/app/views/postnhost/public/templates/default/categories/_article_card.html.erb +34 -0
- data/app/views/postnhost/public/templates/default/categories/index.html.erb +48 -0
- data/app/views/postnhost/public/templates/default/shared/_article_authors.html.erb +24 -0
- data/app/views/postnhost/public/templates/default/shared/_author_avatar.html.erb +9 -0
- data/app/views/postnhost/public/templates/default/shared/_hero_cover_image.html.erb +11 -0
- data/app/views/postnhost/public/templates/default/shared/_pagination.html.erb +35 -0
- data/app/views/postnhost/public/templates/default/shared/_thumbnail_cover_image.html.erb +9 -0
- data/app/views/postnhost/public/templates/default/static_pages/show.html.erb +22 -0
- data/app/views/postnhost/public/templates/swiss-editorial/articles/_article_card.html.erb +28 -0
- data/app/views/postnhost/public/templates/swiss-editorial/articles/_search_form.html.erb +19 -0
- data/app/views/postnhost/public/templates/swiss-editorial/articles/_suggestions.html.erb +42 -0
- data/app/views/postnhost/public/templates/swiss-editorial/articles/_top_picks.html.erb +38 -0
- data/app/views/postnhost/public/templates/swiss-editorial/articles/index.html.erb +133 -0
- data/app/views/postnhost/public/templates/swiss-editorial/articles/preview.html.erb +42 -0
- data/app/views/postnhost/public/templates/swiss-editorial/articles/show.html.erb +100 -0
- data/app/views/postnhost/public/templates/swiss-editorial/authors/_article_card.html.erb +27 -0
- data/app/views/postnhost/public/templates/swiss-editorial/authors/_profile_block.html.erb +32 -0
- data/app/views/postnhost/public/templates/swiss-editorial/authors/show.html.erb +31 -0
- data/app/views/postnhost/public/templates/swiss-editorial/categories/_article_card.html.erb +28 -0
- data/app/views/postnhost/public/templates/swiss-editorial/categories/index.html.erb +88 -0
- data/app/views/postnhost/public/templates/swiss-editorial/shared/_article_authors.html.erb +26 -0
- data/app/views/postnhost/public/templates/swiss-editorial/shared/_author_avatar.html.erb +9 -0
- data/app/views/postnhost/public/templates/swiss-editorial/shared/_hero_cover_image.html.erb +11 -0
- data/app/views/postnhost/public/templates/swiss-editorial/shared/_pagination.html.erb +35 -0
- data/app/views/postnhost/public/templates/swiss-editorial/shared/_thumbnail_cover_image.html.erb +9 -0
- data/app/views/postnhost/public/templates/swiss-editorial/static_pages/show.html.erb +17 -0
- data/app/views/postnhost/public/templates/workspace-journal/articles/_article_card.html.erb +44 -0
- data/app/views/postnhost/public/templates/workspace-journal/articles/_search_form.html.erb +19 -0
- data/app/views/postnhost/public/templates/workspace-journal/articles/_suggestions.html.erb +49 -0
- data/app/views/postnhost/public/templates/workspace-journal/articles/_top_picks.html.erb +34 -0
- data/app/views/postnhost/public/templates/workspace-journal/articles/index.html.erb +69 -0
- data/app/views/postnhost/public/templates/workspace-journal/articles/preview.html.erb +113 -0
- data/app/views/postnhost/public/templates/workspace-journal/articles/show.html.erb +120 -0
- data/app/views/postnhost/public/templates/workspace-journal/authors/_article_card.html.erb +1 -0
- data/app/views/postnhost/public/templates/workspace-journal/authors/_profile_block.html.erb +32 -0
- data/app/views/postnhost/public/templates/workspace-journal/authors/show.html.erb +33 -0
- data/app/views/postnhost/public/templates/workspace-journal/categories/_article_card.html.erb +1 -0
- data/app/views/postnhost/public/templates/workspace-journal/categories/index.html.erb +58 -0
- data/app/views/postnhost/public/templates/workspace-journal/shared/_article_authors.html.erb +27 -0
- data/app/views/postnhost/public/templates/workspace-journal/shared/_article_card.html.erb +44 -0
- data/app/views/postnhost/public/templates/workspace-journal/shared/_author_avatar.html.erb +9 -0
- data/app/views/postnhost/public/templates/workspace-journal/shared/_category_navigation.html.erb +10 -0
- data/app/views/postnhost/public/templates/workspace-journal/shared/_hero_cover_image.html.erb +11 -0
- data/app/views/postnhost/public/templates/workspace-journal/shared/_pagination.html.erb +35 -0
- data/app/views/postnhost/public/templates/workspace-journal/shared/_thumbnail_cover_image.html.erb +9 -0
- data/app/views/postnhost/public/templates/workspace-journal/static_pages/show.html.erb +17 -0
- data/app/views/postnhost/sessions/new.html.erb +59 -0
- data/app/views/postnhost/settings/edit.html.erb +68 -0
- data/app/views/postnhost/settings/sections/_assets.html.erb +40 -0
- data/app/views/postnhost/settings/sections/_feature_flags.html.erb +43 -0
- data/app/views/postnhost/settings/sections/_i18n.html.erb +57 -0
- data/app/views/postnhost/settings/sections/_navigation.html.erb +98 -0
- data/app/views/postnhost/settings/sections/_schema.html.erb +253 -0
- data/app/views/postnhost/settings/sections/_scripts.html.erb +79 -0
- data/app/views/postnhost/settings/sections/_site.html.erb +41 -0
- data/app/views/postnhost/settings/sections/_timezone.html.erb +19 -0
- data/app/views/postnhost/shared/_ai_translation_modal.html.erb +85 -0
- data/app/views/postnhost/shared/_flash_messages.html.erb +27 -0
- data/app/views/postnhost/shared/_form_errors.html.erb +22 -0
- data/app/views/postnhost/shared/_seo_meta_tags.html.erb +70 -0
- data/app/views/postnhost/shared/_structured_data.html.erb +5 -0
- data/app/views/postnhost/shared/articles/_action_buttons.html.erb +87 -0
- data/app/views/postnhost/shared/articles/_cover_image_preview.html.erb +30 -0
- data/app/views/postnhost/shared/articles/_editor_column.html.erb +15 -0
- data/app/views/postnhost/shared/articles/_editor_column_preview.html.erb +33 -0
- data/app/views/postnhost/shared/articles/_error_messages.html.erb +23 -0
- data/app/views/postnhost/shared/articles/_meta_sidebar.html.erb +322 -0
- data/app/views/postnhost/shared/articles/_meta_sidebar_preview.html.erb +29 -0
- data/app/views/postnhost/shared/articles/_post_actions.html.erb +105 -0
- data/app/views/postnhost/shared/articles/_schedule_actions.html.erb +51 -0
- data/app/views/postnhost/shared/articles/_tiptap_editor.html.erb +225 -0
- data/app/views/postnhost/shared/articles/_title_field.html.erb +9 -0
- data/app/views/postnhost/shared/articles/_version_action_buttons.html.erb +35 -0
- data/app/views/postnhost/shared/elements/_button.html.erb +20 -0
- data/app/views/postnhost/shared/elements/_button_link.html.erb +24 -0
- data/app/views/postnhost/shared/elements/_empty_state.html.erb +22 -0
- data/app/views/postnhost/shared/elements/_error_messages.html.erb +28 -0
- data/app/views/postnhost/shared/elements/_form_card.html.erb +10 -0
- data/app/views/postnhost/shared/elements/_form_page_header.html.erb +21 -0
- data/app/views/postnhost/shared/elements/_icon_button.html.erb +17 -0
- data/app/views/postnhost/shared/elements/_page_header.html.erb +40 -0
- data/app/views/postnhost/shared/elements/_table_container.html.erb +23 -0
- data/app/views/postnhost/shared/pages/_action_buttons.html.erb +84 -0
- data/app/views/postnhost/shared/pages/_meta_sidebar.html.erb +132 -0
- data/app/views/postnhost/shared/pages/_post_actions.html.erb +69 -0
- data/app/views/postnhost/templates/edit.html.erb +83 -0
- data/app/views/postnhost/users/_avatar.html.erb +9 -0
- data/app/views/postnhost/users/_form.html.erb +160 -0
- data/app/views/postnhost/users/edit.html.erb +26 -0
- data/app/views/postnhost/users/index.html.erb +91 -0
- data/app/views/postnhost/users/new.html.erb +9 -0
- data/app/views/postnhost/users/schema_edit.html.erb +175 -0
- data/config/locales/de.yml +55 -0
- data/config/locales/en.yml +88 -0
- data/config/locales/es.yml +58 -0
- data/config/locales/fr.yml +55 -0
- data/config/locales/ja.yml +55 -0
- data/config/locales/ko.yml +55 -0
- data/config/locales/pl.yml +55 -0
- data/config/locales/pt.yml +55 -0
- data/config/locales/ru.yml +55 -0
- data/config/routes.rb +112 -0
- data/db/migrate/20250822213820_create_users.rb +29 -0
- data/db/migrate/20250822214046_create_categories.rb +15 -0
- data/db/migrate/20250822214106_create_languages.rb +16 -0
- data/db/migrate/20250822214148_create_articles.rb +34 -0
- data/db/migrate/20250822214217_create_article_variants.rb +24 -0
- data/db/migrate/20250929091137_create_article_categories.rb +12 -0
- data/db/migrate/20251013204200_create_versions.rb +40 -0
- data/db/migrate/20260106074532_create_article_suggestions.rb +13 -0
- data/db/migrate/20260108110506_create_category_variants.rb +15 -0
- data/db/migrate/20260308130000_create_settings.rb +23 -0
- data/db/migrate/20260323113000_create_pages.rb +19 -0
- data/db/migrate/20260414100000_create_article_authors.rb +14 -0
- data/db/migrate/20260512100000_create_templates.rb +9 -0
- data/db/migrate/20260520110001_create_navigations.rb +9 -0
- data/db/migrate/20260520110002_create_navigation_items.rb +22 -0
- data/db/migrate/20260528000002_create_page_variants.rb +20 -0
- data/db/migrate/20260709090000_create_snapshots.rb +154 -0
- data/db/migrate/20260726130000_create_site_scripts.rb +11 -0
- data/lib/generators/postnhost/install/install_generator.rb +55 -0
- data/lib/generators/postnhost/install/templates/carrierwave.rb +17 -0
- data/lib/generators/postnhost/install/templates/postnhost.rb +36 -0
- data/lib/generators/postnhost/locale/locale_generator.rb +36 -0
- data/lib/generators/postnhost/static_pages/static_pages_generator.rb +47 -0
- data/lib/generators/postnhost/tailwindcss/install_generator.rb +100 -0
- data/lib/generators/postnhost/tailwindcss/templates/host.tailwind.css +4 -0
- data/lib/generators/postnhost/user/user_generator.rb +36 -0
- data/lib/generators/postnhost/views/views_generator.rb +140 -0
- data/lib/postnhost/configuration.rb +64 -0
- data/lib/postnhost/css_build.rb +68 -0
- data/lib/postnhost/css_scope.rb +77 -0
- data/lib/postnhost/engine.rb +57 -0
- data/lib/postnhost/sample_data.rb +865 -0
- data/lib/postnhost/settings/i18n_overrides.rb +137 -0
- data/lib/postnhost/settings/i18n_patch.rb +18 -0
- data/lib/postnhost/tailwind_compiler.rb +75 -0
- data/lib/postnhost/tailwind_input.rb +32 -0
- data/lib/postnhost/version.rb +1 -3
- data/lib/postnhost.rb +26 -3
- data/lib/tasks/postnhost_snapshots.rake +77 -0
- data/lib/tasks/postnhost_tasks.rake +71 -0
- metadata +679 -21
- data/.github/workflows/main.yml +0 -27
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.rubocop.yml +0 -8
- data/Gemfile +0 -13
- data/bin/console +0 -11
- data/bin/setup +0 -8
- data/postnhost.gemspec +0 -31
metadata
CHANGED
|
@@ -1,36 +1,696 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: postnhost
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kirill Shevchenko
|
|
8
|
-
|
|
8
|
+
- Maxim Sova
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
-
dependencies:
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bcrypt
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: carrierwave
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '3.0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '3.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: carrierwave-aws
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '1.6'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1.6'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: crass
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: nokogiri
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: openai
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: pagy
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '43.0'
|
|
104
|
+
type: :runtime
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "~>"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '43.0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: paper_trail
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '16.0'
|
|
118
|
+
type: :runtime
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '16.0'
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: rails
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '7.2'
|
|
132
|
+
type: :runtime
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - ">="
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: '7.2'
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: rails-i18n
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - ">="
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '0'
|
|
146
|
+
type: :runtime
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - ">="
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: '0'
|
|
153
|
+
- !ruby/object:Gem::Dependency
|
|
154
|
+
name: rouge
|
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
|
156
|
+
requirements:
|
|
157
|
+
- - ">="
|
|
158
|
+
- !ruby/object:Gem::Version
|
|
159
|
+
version: '0'
|
|
160
|
+
type: :runtime
|
|
161
|
+
prerelease: false
|
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - ">="
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: '0'
|
|
167
|
+
- !ruby/object:Gem::Dependency
|
|
168
|
+
name: ruby-vips
|
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
|
170
|
+
requirements:
|
|
171
|
+
- - ">="
|
|
172
|
+
- !ruby/object:Gem::Version
|
|
173
|
+
version: '0'
|
|
174
|
+
type: :runtime
|
|
175
|
+
prerelease: false
|
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
177
|
+
requirements:
|
|
178
|
+
- - ">="
|
|
179
|
+
- !ruby/object:Gem::Version
|
|
180
|
+
version: '0'
|
|
181
|
+
- !ruby/object:Gem::Dependency
|
|
182
|
+
name: turbo-rails
|
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
|
184
|
+
requirements:
|
|
185
|
+
- - ">="
|
|
186
|
+
- !ruby/object:Gem::Version
|
|
187
|
+
version: '0'
|
|
188
|
+
type: :runtime
|
|
189
|
+
prerelease: false
|
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
191
|
+
requirements:
|
|
192
|
+
- - ">="
|
|
193
|
+
- !ruby/object:Gem::Version
|
|
194
|
+
version: '0'
|
|
195
|
+
description: PostnHost is a mountable Rails CMS engine with structured data, multilingual
|
|
196
|
+
publishing, version history, and a rich-text editor.
|
|
15
197
|
email:
|
|
16
198
|
- kirills167@gmail.com
|
|
199
|
+
- maximsova@gmail.com
|
|
17
200
|
executables: []
|
|
18
201
|
extensions: []
|
|
19
202
|
extra_rdoc_files: []
|
|
20
203
|
files:
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- ".rspec"
|
|
24
|
-
- ".rubocop.yml"
|
|
25
|
-
- Gemfile
|
|
26
|
-
- LICENSE.txt
|
|
204
|
+
- CHANGELOG.md
|
|
205
|
+
- LICENSE
|
|
27
206
|
- README.md
|
|
28
207
|
- Rakefile
|
|
29
|
-
-
|
|
30
|
-
-
|
|
208
|
+
- app/assets/builds/postnhost/application.css
|
|
209
|
+
- app/assets/builds/postnhost/application.js
|
|
210
|
+
- app/assets/config/postnhost_manifest.js
|
|
211
|
+
- app/assets/images/postnhost/demo.webp
|
|
212
|
+
- app/assets/images/postnhost/icons/alert-circle.svg
|
|
213
|
+
- app/assets/images/postnhost/icons/arrow-left-long.svg
|
|
214
|
+
- app/assets/images/postnhost/icons/arrow-left.svg
|
|
215
|
+
- app/assets/images/postnhost/icons/arrow-right-end-on-rectangle.svg
|
|
216
|
+
- app/assets/images/postnhost/icons/arrow-right-long.svg
|
|
217
|
+
- app/assets/images/postnhost/icons/arrow-right.svg
|
|
218
|
+
- app/assets/images/postnhost/icons/bars.svg
|
|
219
|
+
- app/assets/images/postnhost/icons/bluesky.svg
|
|
220
|
+
- app/assets/images/postnhost/icons/check-circle.svg
|
|
221
|
+
- app/assets/images/postnhost/icons/chevron-down-small.svg
|
|
222
|
+
- app/assets/images/postnhost/icons/chevron-down.svg
|
|
223
|
+
- app/assets/images/postnhost/icons/chevron-left.svg
|
|
224
|
+
- app/assets/images/postnhost/icons/chevron-right.svg
|
|
225
|
+
- app/assets/images/postnhost/icons/clock.svg
|
|
226
|
+
- app/assets/images/postnhost/icons/close.svg
|
|
227
|
+
- app/assets/images/postnhost/icons/code-bracket.svg
|
|
228
|
+
- app/assets/images/postnhost/icons/document-text.svg
|
|
229
|
+
- app/assets/images/postnhost/icons/drag-handle.svg
|
|
230
|
+
- app/assets/images/postnhost/icons/edit.svg
|
|
231
|
+
- app/assets/images/postnhost/icons/external-link.svg
|
|
232
|
+
- app/assets/images/postnhost/icons/eye.svg
|
|
233
|
+
- app/assets/images/postnhost/icons/facebook.svg
|
|
234
|
+
- app/assets/images/postnhost/icons/folder.svg
|
|
235
|
+
- app/assets/images/postnhost/icons/image.svg
|
|
236
|
+
- app/assets/images/postnhost/icons/info-circle.svg
|
|
237
|
+
- app/assets/images/postnhost/icons/instagram.svg
|
|
238
|
+
- app/assets/images/postnhost/icons/language.svg
|
|
239
|
+
- app/assets/images/postnhost/icons/layers.svg
|
|
240
|
+
- app/assets/images/postnhost/icons/lightning.svg
|
|
241
|
+
- app/assets/images/postnhost/icons/linkedin.svg
|
|
242
|
+
- app/assets/images/postnhost/icons/logout.svg
|
|
243
|
+
- app/assets/images/postnhost/icons/magnifying-glass.svg
|
|
244
|
+
- app/assets/images/postnhost/icons/mastodon.svg
|
|
245
|
+
- app/assets/images/postnhost/icons/menu.svg
|
|
246
|
+
- app/assets/images/postnhost/icons/plus.svg
|
|
247
|
+
- app/assets/images/postnhost/icons/schedule.svg
|
|
248
|
+
- app/assets/images/postnhost/icons/settings.svg
|
|
249
|
+
- app/assets/images/postnhost/icons/sparkles.svg
|
|
250
|
+
- app/assets/images/postnhost/icons/spinner.svg
|
|
251
|
+
- app/assets/images/postnhost/icons/threads.svg
|
|
252
|
+
- app/assets/images/postnhost/icons/tiktok.svg
|
|
253
|
+
- app/assets/images/postnhost/icons/tiptap/align-center.svg
|
|
254
|
+
- app/assets/images/postnhost/icons/tiptap/align-left.svg
|
|
255
|
+
- app/assets/images/postnhost/icons/tiptap/align-right.svg
|
|
256
|
+
- app/assets/images/postnhost/icons/tiptap/apply-link.svg
|
|
257
|
+
- app/assets/images/postnhost/icons/tiptap/blockquote.svg
|
|
258
|
+
- app/assets/images/postnhost/icons/tiptap/bold.svg
|
|
259
|
+
- app/assets/images/postnhost/icons/tiptap/bullet-list.svg
|
|
260
|
+
- app/assets/images/postnhost/icons/tiptap/code-block.svg
|
|
261
|
+
- app/assets/images/postnhost/icons/tiptap/code.svg
|
|
262
|
+
- app/assets/images/postnhost/icons/tiptap/heading-2.svg
|
|
263
|
+
- app/assets/images/postnhost/icons/tiptap/heading-3.svg
|
|
264
|
+
- app/assets/images/postnhost/icons/tiptap/image-add.svg
|
|
265
|
+
- app/assets/images/postnhost/icons/tiptap/italic.svg
|
|
266
|
+
- app/assets/images/postnhost/icons/tiptap/link.svg
|
|
267
|
+
- app/assets/images/postnhost/icons/tiptap/ordered-list.svg
|
|
268
|
+
- app/assets/images/postnhost/icons/tiptap/redo.svg
|
|
269
|
+
- app/assets/images/postnhost/icons/tiptap/remove-link.svg
|
|
270
|
+
- app/assets/images/postnhost/icons/tiptap/strike.svg
|
|
271
|
+
- app/assets/images/postnhost/icons/tiptap/table.svg
|
|
272
|
+
- app/assets/images/postnhost/icons/tiptap/underline.svg
|
|
273
|
+
- app/assets/images/postnhost/icons/tiptap/undo.svg
|
|
274
|
+
- app/assets/images/postnhost/icons/tiptap/youtube.svg
|
|
275
|
+
- app/assets/images/postnhost/icons/translate.svg
|
|
276
|
+
- app/assets/images/postnhost/icons/trash.svg
|
|
277
|
+
- app/assets/images/postnhost/icons/user.svg
|
|
278
|
+
- app/assets/images/postnhost/icons/users.svg
|
|
279
|
+
- app/assets/images/postnhost/icons/warning.svg
|
|
280
|
+
- app/assets/images/postnhost/icons/x.svg
|
|
281
|
+
- app/assets/images/postnhost/icons/youtube.svg
|
|
282
|
+
- app/assets/images/postnhost/logo.webp
|
|
283
|
+
- app/assets/images/postnhost/og-image.webp
|
|
284
|
+
- app/assets/images/postnhost/sample-docs/08-how-to-control-suggested-articles-and-top-picks-01-discovery-controls.webp
|
|
285
|
+
- app/assets/images/postnhost/sample-docs/09-all-about-authors-in-postnhost-01-author-profile.webp
|
|
286
|
+
- app/assets/images/postnhost/sample-docs/09-all-about-authors-in-postnhost-02-multiple-authors.webp
|
|
287
|
+
- app/assets/images/postnhost/sample-docs/11-how-to-schedule-an-article-for-publication-01-timezone.webp
|
|
288
|
+
- app/assets/images/postnhost/sample-docs/11-how-to-schedule-an-article-for-publication-02-scheduled-article.webp
|
|
289
|
+
- app/assets/images/postnhost/sample-docs/12-how-article-version-history-and-restores-work-01-version-history.webp
|
|
290
|
+
- app/assets/images/postnhost/sample-docs/13-how-to-add-and-manage-languages-01-language-management.webp
|
|
291
|
+
- app/assets/images/postnhost/sample-docs/14-how-to-translate-articles-pages-and-categories-01-translation-options.webp
|
|
292
|
+
- app/assets/images/postnhost/sample-docs/14-how-to-translate-articles-pages-and-categories-02-ai-language-selection.webp
|
|
293
|
+
- app/assets/images/postnhost/sample-docs/16-how-to-add-navigation-links-01-navigation-builder.webp
|
|
294
|
+
- app/assets/images/postnhost/sample-docs/16-how-to-add-navigation-links-02-external-link-settings.webp
|
|
295
|
+
- app/assets/images/postnhost/sample-docs/17-how-to-add-a-logo-and-default-og-image-01-assets-settings.webp
|
|
296
|
+
- app/assets/images/postnhost/sample-docs/19-how-to-customize-public-text-for-each-language-01-i18n-overrides.webp
|
|
297
|
+
- app/assets/images/postnhost/sample-docs/20-how-to-configure-structured-data-and-sitemap-seo-01-site-schema.webp
|
|
298
|
+
- app/assets/images/postnhost/sample-docs/20-how-to-configure-structured-data-and-sitemap-seo-02-author-schema-defaults.webp
|
|
299
|
+
- app/assets/images/postnhost/sample-docs/20-how-to-configure-structured-data-and-sitemap-seo-03-author-schema-advanced-fields.webp
|
|
300
|
+
- app/assets/images/postnhost/sample-docs/covers/08-suggested-articles-and-top-picks.webp
|
|
301
|
+
- app/assets/images/postnhost/sample-docs/covers/09-authors.webp
|
|
302
|
+
- app/assets/images/postnhost/sample-docs/covers/11-scheduling.webp
|
|
303
|
+
- app/assets/images/postnhost/sample-docs/covers/12-version-history.webp
|
|
304
|
+
- app/assets/images/postnhost/sample-docs/covers/13-languages.webp
|
|
305
|
+
- app/assets/images/postnhost/sample-docs/covers/14-translations.webp
|
|
306
|
+
- app/assets/images/postnhost/sample-docs/covers/16-navigation-links.webp
|
|
307
|
+
- app/assets/images/postnhost/sample-docs/covers/17-logo-and-default-og-image.webp
|
|
308
|
+
- app/assets/images/postnhost/sample-docs/covers/19-public-text-for-each-language.webp
|
|
309
|
+
- app/assets/images/postnhost/sample-docs/covers/20-structured-data-and-sitemap-seo.webp
|
|
310
|
+
- app/assets/stylesheets/application.tailwind.css
|
|
311
|
+
- app/assets/stylesheets/postnhost/application.css
|
|
312
|
+
- app/assets/xsl/sitemap.xsl
|
|
313
|
+
- app/controllers/concerns/postnhost/authentication.rb
|
|
314
|
+
- app/controllers/concerns/postnhost/canonical_first_page_redirect.rb
|
|
315
|
+
- app/controllers/concerns/postnhost/language_switcher.rb
|
|
316
|
+
- app/controllers/concerns/postnhost/onboarding/access_control.rb
|
|
317
|
+
- app/controllers/concerns/postnhost/onboarding/step_assignment.rb
|
|
318
|
+
- app/controllers/concerns/postnhost/public_footer_data.rb
|
|
319
|
+
- app/controllers/concerns/postnhost/public_http_caching.rb
|
|
320
|
+
- app/controllers/concerns/postnhost/public_page_size.rb
|
|
321
|
+
- app/controllers/concerns/postnhost/public_template_resolvable.rb
|
|
322
|
+
- app/controllers/concerns/postnhost/settings/i18n_manageable.rb
|
|
323
|
+
- app/controllers/concerns/postnhost/settings/navigation_manageable.rb
|
|
324
|
+
- app/controllers/concerns/postnhost/settings/schema_manageable.rb
|
|
325
|
+
- app/controllers/concerns/postnhost/users/schema_manageable.rb
|
|
326
|
+
- app/controllers/postnhost/application_controller.rb
|
|
327
|
+
- app/controllers/postnhost/article_variants_controller.rb
|
|
328
|
+
- app/controllers/postnhost/articles/cover_images_controller.rb
|
|
329
|
+
- app/controllers/postnhost/articles/images_controller.rb
|
|
330
|
+
- app/controllers/postnhost/articles/translations_controller.rb
|
|
331
|
+
- app/controllers/postnhost/articles_controller.rb
|
|
332
|
+
- app/controllers/postnhost/categories/translations_controller.rb
|
|
333
|
+
- app/controllers/postnhost/categories_controller.rb
|
|
334
|
+
- app/controllers/postnhost/category_variants_controller.rb
|
|
335
|
+
- app/controllers/postnhost/languages_controller.rb
|
|
336
|
+
- app/controllers/postnhost/onboarding_controller.rb
|
|
337
|
+
- app/controllers/postnhost/page_variants_controller.rb
|
|
338
|
+
- app/controllers/postnhost/pages/images_controller.rb
|
|
339
|
+
- app/controllers/postnhost/pages/translations_controller.rb
|
|
340
|
+
- app/controllers/postnhost/pages_controller.rb
|
|
341
|
+
- app/controllers/postnhost/public/articles_controller.rb
|
|
342
|
+
- app/controllers/postnhost/public/authors_controller.rb
|
|
343
|
+
- app/controllers/postnhost/public/categories_controller.rb
|
|
344
|
+
- app/controllers/postnhost/public/static_pages_controller.rb
|
|
345
|
+
- app/controllers/postnhost/public_controller.rb
|
|
346
|
+
- app/controllers/postnhost/sessions_controller.rb
|
|
347
|
+
- app/controllers/postnhost/settings/site_scripts_controller.rb
|
|
348
|
+
- app/controllers/postnhost/settings_controller.rb
|
|
349
|
+
- app/controllers/postnhost/sitemap_controller.rb
|
|
350
|
+
- app/controllers/postnhost/templates_controller.rb
|
|
351
|
+
- app/controllers/postnhost/users_controller.rb
|
|
352
|
+
- app/helpers/postnhost/application_helper.rb
|
|
353
|
+
- app/helpers/postnhost/article_helper.rb
|
|
354
|
+
- app/helpers/postnhost/category_helper.rb
|
|
355
|
+
- app/helpers/postnhost/common_css_helper.rb
|
|
356
|
+
- app/helpers/postnhost/navigation_helper.rb
|
|
357
|
+
- app/helpers/postnhost/pagy_helper.rb
|
|
358
|
+
- app/helpers/postnhost/public_pages_helper.rb
|
|
359
|
+
- app/helpers/postnhost/schema_helper.rb
|
|
360
|
+
- app/helpers/postnhost/seo_helper.rb
|
|
361
|
+
- app/helpers/postnhost/settings_helper.rb
|
|
362
|
+
- app/javascript/application.js
|
|
363
|
+
- app/javascript/controllers/ai_translation_controller.js
|
|
364
|
+
- app/javascript/controllers/application.js
|
|
365
|
+
- app/javascript/controllers/author_manager_controller.js
|
|
366
|
+
- app/javascript/controllers/auto_save_controller.js
|
|
367
|
+
- app/javascript/controllers/bulk_selection_controller.js
|
|
368
|
+
- app/javascript/controllers/burger_controller.js
|
|
369
|
+
- app/javascript/controllers/category_manager_controller.js
|
|
370
|
+
- app/javascript/controllers/collapsible_sidebar_controller.js
|
|
371
|
+
- app/javascript/controllers/cover_image_upload_controller.js
|
|
372
|
+
- app/javascript/controllers/dropdown_controller.js
|
|
373
|
+
- app/javascript/controllers/editor_mobile_sidebars_controller.js
|
|
374
|
+
- app/javascript/controllers/file_auto_submit_controller.js
|
|
375
|
+
- app/javascript/controllers/flash_message_controller.js
|
|
376
|
+
- app/javascript/controllers/index.js
|
|
377
|
+
- app/javascript/controllers/navigation_builder_controller.js
|
|
378
|
+
- app/javascript/controllers/public_mobile_nav_controller.js
|
|
379
|
+
- app/javascript/controllers/publish_guard_controller.js
|
|
380
|
+
- app/javascript/controllers/reading_progress_controller.js
|
|
381
|
+
- app/javascript/controllers/schedule_manager_controller.js
|
|
382
|
+
- app/javascript/controllers/suggestion_manager_controller.js
|
|
383
|
+
- app/javascript/controllers/template_preview_controller.js
|
|
384
|
+
- app/javascript/controllers/tiptap_editor_controller.js
|
|
385
|
+
- app/javascript/controllers/title_field_controller.js
|
|
386
|
+
- app/javascript/helpers/auto_save_state.js
|
|
387
|
+
- app/javascript/helpers/code_highlighting.js
|
|
388
|
+
- app/javascript/helpers/dom_helpers.js
|
|
389
|
+
- app/javascript/helpers/style_helpers.js
|
|
390
|
+
- app/jobs/postnhost/application_job.rb
|
|
391
|
+
- app/jobs/postnhost/scheduled_article_job.rb
|
|
392
|
+
- app/jobs/postnhost/translation/article_variant_job.rb
|
|
393
|
+
- app/jobs/postnhost/translation/category_variant_job.rb
|
|
394
|
+
- app/jobs/postnhost/translation/page_variant_job.rb
|
|
395
|
+
- app/models/concerns/postnhost/article/image_uploadable.rb
|
|
396
|
+
- app/models/concerns/postnhost/excerpt_optimizable.rb
|
|
397
|
+
- app/models/concerns/postnhost/inline_image_uploadable.rb
|
|
398
|
+
- app/models/concerns/postnhost/page/image_uploadable.rb
|
|
399
|
+
- app/models/concerns/postnhost/primary_language_guard.rb
|
|
400
|
+
- app/models/concerns/postnhost/public_revision_touch.rb
|
|
401
|
+
- app/models/concerns/postnhost/schema_localizable.rb
|
|
402
|
+
- app/models/postnhost/application_record.rb
|
|
403
|
+
- app/models/postnhost/article.rb
|
|
404
|
+
- app/models/postnhost/article_author.rb
|
|
405
|
+
- app/models/postnhost/article_category.rb
|
|
406
|
+
- app/models/postnhost/article_suggestion.rb
|
|
407
|
+
- app/models/postnhost/article_variant.rb
|
|
408
|
+
- app/models/postnhost/category.rb
|
|
409
|
+
- app/models/postnhost/category_variant.rb
|
|
410
|
+
- app/models/postnhost/language.rb
|
|
411
|
+
- app/models/postnhost/navigation.rb
|
|
412
|
+
- app/models/postnhost/navigation_item.rb
|
|
413
|
+
- app/models/postnhost/page.rb
|
|
414
|
+
- app/models/postnhost/page_variant.rb
|
|
415
|
+
- app/models/postnhost/public_site_revision.rb
|
|
416
|
+
- app/models/postnhost/published_cover_image.rb
|
|
417
|
+
- app/models/postnhost/setting.rb
|
|
418
|
+
- app/models/postnhost/site_script.rb
|
|
419
|
+
- app/models/postnhost/snapshot/article.rb
|
|
420
|
+
- app/models/postnhost/snapshot/article_author.rb
|
|
421
|
+
- app/models/postnhost/snapshot/article_category.rb
|
|
422
|
+
- app/models/postnhost/snapshot/article_suggestion.rb
|
|
423
|
+
- app/models/postnhost/snapshot/article_variant.rb
|
|
424
|
+
- app/models/postnhost/snapshot/page.rb
|
|
425
|
+
- app/models/postnhost/snapshot/page_variant.rb
|
|
426
|
+
- app/models/postnhost/template.rb
|
|
427
|
+
- app/models/postnhost/user.rb
|
|
428
|
+
- app/models/postnhost/version.rb
|
|
429
|
+
- app/services/postnhost/base_service.rb
|
|
430
|
+
- app/services/postnhost/constraints/public_locale_constraint.rb
|
|
431
|
+
- app/services/postnhost/constraints/public_route_constraint.rb
|
|
432
|
+
- app/services/postnhost/onboarding/step_processor.rb
|
|
433
|
+
- app/services/postnhost/onboarding/steps/base.rb
|
|
434
|
+
- app/services/postnhost/onboarding/steps/choose_languages.rb
|
|
435
|
+
- app/services/postnhost/onboarding/steps/complete_post_install_checklist.rb
|
|
436
|
+
- app/services/postnhost/onboarding/steps/create_admin_account.rb
|
|
437
|
+
- app/services/postnhost/onboarding/steps/finish_setup.rb
|
|
438
|
+
- app/services/postnhost/onboarding/steps/set_site_metadata.rb
|
|
439
|
+
- app/services/postnhost/public_navigation_targets.rb
|
|
440
|
+
- app/services/postnhost/public_request_context.rb
|
|
441
|
+
- app/services/postnhost/publishing/article_variants/publish.rb
|
|
442
|
+
- app/services/postnhost/publishing/article_variants/publish_many.rb
|
|
443
|
+
- app/services/postnhost/publishing/article_variants/snapshot_writer.rb
|
|
444
|
+
- app/services/postnhost/publishing/article_variants/unpublish.rb
|
|
445
|
+
- app/services/postnhost/publishing/article_variants/unpublish_many.rb
|
|
446
|
+
- app/services/postnhost/publishing/articles/publish.rb
|
|
447
|
+
- app/services/postnhost/publishing/articles/publish_scheduled.rb
|
|
448
|
+
- app/services/postnhost/publishing/articles/snapshot_writer.rb
|
|
449
|
+
- app/services/postnhost/publishing/articles/unpublish.rb
|
|
450
|
+
- app/services/postnhost/publishing/bulk_transition.rb
|
|
451
|
+
- app/services/postnhost/publishing/error.rb
|
|
452
|
+
- app/services/postnhost/publishing/page_variants/publish.rb
|
|
453
|
+
- app/services/postnhost/publishing/page_variants/publish_many.rb
|
|
454
|
+
- app/services/postnhost/publishing/page_variants/snapshot_writer.rb
|
|
455
|
+
- app/services/postnhost/publishing/page_variants/unpublish.rb
|
|
456
|
+
- app/services/postnhost/publishing/page_variants/unpublish_many.rb
|
|
457
|
+
- app/services/postnhost/publishing/pages/publish.rb
|
|
458
|
+
- app/services/postnhost/publishing/pages/snapshot_writer.rb
|
|
459
|
+
- app/services/postnhost/publishing/pages/unpublish.rb
|
|
460
|
+
- app/services/postnhost/publishing/revision.rb
|
|
461
|
+
- app/services/postnhost/publishing/route_validator.rb
|
|
462
|
+
- app/services/postnhost/publishing/versions/restore_draft.rb
|
|
463
|
+
- app/services/postnhost/service_result.rb
|
|
464
|
+
- app/services/postnhost/sitemap_builder.rb
|
|
465
|
+
- app/services/postnhost/translation/article_variant_translator.rb
|
|
466
|
+
- app/services/postnhost/translation/category_variant_translator.rb
|
|
467
|
+
- app/services/postnhost/translation/content_translator.rb
|
|
468
|
+
- app/services/postnhost/translation/openai_llm_client.rb
|
|
469
|
+
- app/services/postnhost/translation/page_variant_translator.rb
|
|
470
|
+
- app/uploaders/base_uploader.rb
|
|
471
|
+
- app/uploaders/cover_image_uploader.rb
|
|
472
|
+
- app/uploaders/postnhost/avatar_uploader.rb
|
|
473
|
+
- app/uploaders/postnhost/inline_article_image_uploader.rb
|
|
474
|
+
- app/uploaders/postnhost/inline_page_image_uploader.rb
|
|
475
|
+
- app/uploaders/postnhost/setting_asset_uploader.rb
|
|
476
|
+
- app/views/layouts/postnhost/_favicon.html.erb
|
|
477
|
+
- app/views/layouts/postnhost/_footer.html.erb
|
|
478
|
+
- app/views/layouts/postnhost/_header.html.erb
|
|
479
|
+
- app/views/layouts/postnhost/_sidebar.html.erb
|
|
480
|
+
- app/views/layouts/postnhost/application.html.erb
|
|
481
|
+
- app/views/layouts/postnhost/articles.html.erb
|
|
482
|
+
- app/views/layouts/postnhost/product.html.erb
|
|
483
|
+
- app/views/layouts/postnhost/public/templates/default.html.erb
|
|
484
|
+
- app/views/layouts/postnhost/public/templates/swiss-editorial.html.erb
|
|
485
|
+
- app/views/layouts/postnhost/public/templates/workspace-journal.html.erb
|
|
486
|
+
- app/views/layouts/postnhost/public_header/_dashboard_sign_in.html.erb
|
|
487
|
+
- app/views/layouts/postnhost/public_header/_language_switcher.html.erb
|
|
488
|
+
- app/views/layouts/postnhost/public_header/_logo.html.erb
|
|
489
|
+
- app/views/postnhost/article_variants/_variants_list.html.erb
|
|
490
|
+
- app/views/postnhost/article_variants/edit.html.erb
|
|
491
|
+
- app/views/postnhost/article_variants/index.html.erb
|
|
492
|
+
- app/views/postnhost/article_variants/publish.turbo_stream.erb
|
|
493
|
+
- app/views/postnhost/article_variants/unpublish.turbo_stream.erb
|
|
494
|
+
- app/views/postnhost/article_variants/update.turbo_stream.erb
|
|
495
|
+
- app/views/postnhost/articles/_author_manager.html.erb
|
|
496
|
+
- app/views/postnhost/articles/_category_manager.html.erb
|
|
497
|
+
- app/views/postnhost/articles/_cover_image_upload.html.erb
|
|
498
|
+
- app/views/postnhost/articles/_suggestion_manager.html.erb
|
|
499
|
+
- app/views/postnhost/articles/_version_snapshot.html.erb
|
|
500
|
+
- app/views/postnhost/articles/edit.html.erb
|
|
501
|
+
- app/views/postnhost/articles/index.html.erb
|
|
502
|
+
- app/views/postnhost/articles/publish.turbo_stream.erb
|
|
503
|
+
- app/views/postnhost/articles/unpublish.turbo_stream.erb
|
|
504
|
+
- app/views/postnhost/articles/update.turbo_stream.erb
|
|
505
|
+
- app/views/postnhost/articles/version_preview.html.erb
|
|
506
|
+
- app/views/postnhost/articles/versions.html.erb
|
|
507
|
+
- app/views/postnhost/categories/edit.html.erb
|
|
508
|
+
- app/views/postnhost/categories/index.html.erb
|
|
509
|
+
- app/views/postnhost/categories/new.html.erb
|
|
510
|
+
- app/views/postnhost/categories/show.html.erb
|
|
511
|
+
- app/views/postnhost/category_variants/_category_variants_list.html.erb
|
|
512
|
+
- app/views/postnhost/category_variants/_form.html.erb
|
|
513
|
+
- app/views/postnhost/category_variants/edit.html.erb
|
|
514
|
+
- app/views/postnhost/category_variants/index.html.erb
|
|
515
|
+
- app/views/postnhost/category_variants/new.html.erb
|
|
516
|
+
- app/views/postnhost/languages/edit.html.erb
|
|
517
|
+
- app/views/postnhost/languages/index.html.erb
|
|
518
|
+
- app/views/postnhost/languages/new.html.erb
|
|
519
|
+
- app/views/postnhost/languages/show.html.erb
|
|
520
|
+
- app/views/postnhost/onboarding/_post_install_checklist.html.erb
|
|
521
|
+
- app/views/postnhost/onboarding/_step_1.html.erb
|
|
522
|
+
- app/views/postnhost/onboarding/_step_2.html.erb
|
|
523
|
+
- app/views/postnhost/onboarding/_step_3.html.erb
|
|
524
|
+
- app/views/postnhost/onboarding/_step_4.html.erb
|
|
525
|
+
- app/views/postnhost/onboarding/show.html.erb
|
|
526
|
+
- app/views/postnhost/page_variants/_variants_list.html.erb
|
|
527
|
+
- app/views/postnhost/page_variants/edit.html.erb
|
|
528
|
+
- app/views/postnhost/page_variants/index.html.erb
|
|
529
|
+
- app/views/postnhost/page_variants/publish.turbo_stream.erb
|
|
530
|
+
- app/views/postnhost/page_variants/unpublish.turbo_stream.erb
|
|
531
|
+
- app/views/postnhost/page_variants/update.turbo_stream.erb
|
|
532
|
+
- app/views/postnhost/pages/edit.html.erb
|
|
533
|
+
- app/views/postnhost/pages/index.html.erb
|
|
534
|
+
- app/views/postnhost/pages/publish.turbo_stream.erb
|
|
535
|
+
- app/views/postnhost/pages/unpublish.turbo_stream.erb
|
|
536
|
+
- app/views/postnhost/public/articles/content_for/_index.html.erb
|
|
537
|
+
- app/views/postnhost/public/articles/content_for/_preview.html.erb
|
|
538
|
+
- app/views/postnhost/public/articles/content_for/_show.html.erb
|
|
539
|
+
- app/views/postnhost/public/authors/content_for/_show.html.erb
|
|
540
|
+
- app/views/postnhost/public/categories/content_for/_index.html.erb
|
|
541
|
+
- app/views/postnhost/public/static_pages/content_for/_show.html.erb
|
|
542
|
+
- app/views/postnhost/public/templates/default/articles/_article_card.html.erb
|
|
543
|
+
- app/views/postnhost/public/templates/default/articles/_search_form.html.erb
|
|
544
|
+
- app/views/postnhost/public/templates/default/articles/_suggestions.html.erb
|
|
545
|
+
- app/views/postnhost/public/templates/default/articles/_top_picks.html.erb
|
|
546
|
+
- app/views/postnhost/public/templates/default/articles/index.html.erb
|
|
547
|
+
- app/views/postnhost/public/templates/default/articles/preview.html.erb
|
|
548
|
+
- app/views/postnhost/public/templates/default/articles/show.html.erb
|
|
549
|
+
- app/views/postnhost/public/templates/default/authors/_article_card.html.erb
|
|
550
|
+
- app/views/postnhost/public/templates/default/authors/_profile_block.html.erb
|
|
551
|
+
- app/views/postnhost/public/templates/default/authors/show.html.erb
|
|
552
|
+
- app/views/postnhost/public/templates/default/categories/_article_card.html.erb
|
|
553
|
+
- app/views/postnhost/public/templates/default/categories/index.html.erb
|
|
554
|
+
- app/views/postnhost/public/templates/default/shared/_article_authors.html.erb
|
|
555
|
+
- app/views/postnhost/public/templates/default/shared/_author_avatar.html.erb
|
|
556
|
+
- app/views/postnhost/public/templates/default/shared/_hero_cover_image.html.erb
|
|
557
|
+
- app/views/postnhost/public/templates/default/shared/_pagination.html.erb
|
|
558
|
+
- app/views/postnhost/public/templates/default/shared/_thumbnail_cover_image.html.erb
|
|
559
|
+
- app/views/postnhost/public/templates/default/static_pages/show.html.erb
|
|
560
|
+
- app/views/postnhost/public/templates/swiss-editorial/articles/_article_card.html.erb
|
|
561
|
+
- app/views/postnhost/public/templates/swiss-editorial/articles/_search_form.html.erb
|
|
562
|
+
- app/views/postnhost/public/templates/swiss-editorial/articles/_suggestions.html.erb
|
|
563
|
+
- app/views/postnhost/public/templates/swiss-editorial/articles/_top_picks.html.erb
|
|
564
|
+
- app/views/postnhost/public/templates/swiss-editorial/articles/index.html.erb
|
|
565
|
+
- app/views/postnhost/public/templates/swiss-editorial/articles/preview.html.erb
|
|
566
|
+
- app/views/postnhost/public/templates/swiss-editorial/articles/show.html.erb
|
|
567
|
+
- app/views/postnhost/public/templates/swiss-editorial/authors/_article_card.html.erb
|
|
568
|
+
- app/views/postnhost/public/templates/swiss-editorial/authors/_profile_block.html.erb
|
|
569
|
+
- app/views/postnhost/public/templates/swiss-editorial/authors/show.html.erb
|
|
570
|
+
- app/views/postnhost/public/templates/swiss-editorial/categories/_article_card.html.erb
|
|
571
|
+
- app/views/postnhost/public/templates/swiss-editorial/categories/index.html.erb
|
|
572
|
+
- app/views/postnhost/public/templates/swiss-editorial/shared/_article_authors.html.erb
|
|
573
|
+
- app/views/postnhost/public/templates/swiss-editorial/shared/_author_avatar.html.erb
|
|
574
|
+
- app/views/postnhost/public/templates/swiss-editorial/shared/_hero_cover_image.html.erb
|
|
575
|
+
- app/views/postnhost/public/templates/swiss-editorial/shared/_pagination.html.erb
|
|
576
|
+
- app/views/postnhost/public/templates/swiss-editorial/shared/_thumbnail_cover_image.html.erb
|
|
577
|
+
- app/views/postnhost/public/templates/swiss-editorial/static_pages/show.html.erb
|
|
578
|
+
- app/views/postnhost/public/templates/workspace-journal/articles/_article_card.html.erb
|
|
579
|
+
- app/views/postnhost/public/templates/workspace-journal/articles/_search_form.html.erb
|
|
580
|
+
- app/views/postnhost/public/templates/workspace-journal/articles/_suggestions.html.erb
|
|
581
|
+
- app/views/postnhost/public/templates/workspace-journal/articles/_top_picks.html.erb
|
|
582
|
+
- app/views/postnhost/public/templates/workspace-journal/articles/index.html.erb
|
|
583
|
+
- app/views/postnhost/public/templates/workspace-journal/articles/preview.html.erb
|
|
584
|
+
- app/views/postnhost/public/templates/workspace-journal/articles/show.html.erb
|
|
585
|
+
- app/views/postnhost/public/templates/workspace-journal/authors/_article_card.html.erb
|
|
586
|
+
- app/views/postnhost/public/templates/workspace-journal/authors/_profile_block.html.erb
|
|
587
|
+
- app/views/postnhost/public/templates/workspace-journal/authors/show.html.erb
|
|
588
|
+
- app/views/postnhost/public/templates/workspace-journal/categories/_article_card.html.erb
|
|
589
|
+
- app/views/postnhost/public/templates/workspace-journal/categories/index.html.erb
|
|
590
|
+
- app/views/postnhost/public/templates/workspace-journal/shared/_article_authors.html.erb
|
|
591
|
+
- app/views/postnhost/public/templates/workspace-journal/shared/_article_card.html.erb
|
|
592
|
+
- app/views/postnhost/public/templates/workspace-journal/shared/_author_avatar.html.erb
|
|
593
|
+
- app/views/postnhost/public/templates/workspace-journal/shared/_category_navigation.html.erb
|
|
594
|
+
- app/views/postnhost/public/templates/workspace-journal/shared/_hero_cover_image.html.erb
|
|
595
|
+
- app/views/postnhost/public/templates/workspace-journal/shared/_pagination.html.erb
|
|
596
|
+
- app/views/postnhost/public/templates/workspace-journal/shared/_thumbnail_cover_image.html.erb
|
|
597
|
+
- app/views/postnhost/public/templates/workspace-journal/static_pages/show.html.erb
|
|
598
|
+
- app/views/postnhost/sessions/new.html.erb
|
|
599
|
+
- app/views/postnhost/settings/edit.html.erb
|
|
600
|
+
- app/views/postnhost/settings/sections/_assets.html.erb
|
|
601
|
+
- app/views/postnhost/settings/sections/_feature_flags.html.erb
|
|
602
|
+
- app/views/postnhost/settings/sections/_i18n.html.erb
|
|
603
|
+
- app/views/postnhost/settings/sections/_navigation.html.erb
|
|
604
|
+
- app/views/postnhost/settings/sections/_schema.html.erb
|
|
605
|
+
- app/views/postnhost/settings/sections/_scripts.html.erb
|
|
606
|
+
- app/views/postnhost/settings/sections/_site.html.erb
|
|
607
|
+
- app/views/postnhost/settings/sections/_timezone.html.erb
|
|
608
|
+
- app/views/postnhost/shared/_ai_translation_modal.html.erb
|
|
609
|
+
- app/views/postnhost/shared/_flash_messages.html.erb
|
|
610
|
+
- app/views/postnhost/shared/_form_errors.html.erb
|
|
611
|
+
- app/views/postnhost/shared/_seo_meta_tags.html.erb
|
|
612
|
+
- app/views/postnhost/shared/_structured_data.html.erb
|
|
613
|
+
- app/views/postnhost/shared/articles/_action_buttons.html.erb
|
|
614
|
+
- app/views/postnhost/shared/articles/_cover_image_preview.html.erb
|
|
615
|
+
- app/views/postnhost/shared/articles/_editor_column.html.erb
|
|
616
|
+
- app/views/postnhost/shared/articles/_editor_column_preview.html.erb
|
|
617
|
+
- app/views/postnhost/shared/articles/_error_messages.html.erb
|
|
618
|
+
- app/views/postnhost/shared/articles/_meta_sidebar.html.erb
|
|
619
|
+
- app/views/postnhost/shared/articles/_meta_sidebar_preview.html.erb
|
|
620
|
+
- app/views/postnhost/shared/articles/_post_actions.html.erb
|
|
621
|
+
- app/views/postnhost/shared/articles/_schedule_actions.html.erb
|
|
622
|
+
- app/views/postnhost/shared/articles/_tiptap_editor.html.erb
|
|
623
|
+
- app/views/postnhost/shared/articles/_title_field.html.erb
|
|
624
|
+
- app/views/postnhost/shared/articles/_version_action_buttons.html.erb
|
|
625
|
+
- app/views/postnhost/shared/elements/_button.html.erb
|
|
626
|
+
- app/views/postnhost/shared/elements/_button_link.html.erb
|
|
627
|
+
- app/views/postnhost/shared/elements/_empty_state.html.erb
|
|
628
|
+
- app/views/postnhost/shared/elements/_error_messages.html.erb
|
|
629
|
+
- app/views/postnhost/shared/elements/_form_card.html.erb
|
|
630
|
+
- app/views/postnhost/shared/elements/_form_page_header.html.erb
|
|
631
|
+
- app/views/postnhost/shared/elements/_icon_button.html.erb
|
|
632
|
+
- app/views/postnhost/shared/elements/_page_header.html.erb
|
|
633
|
+
- app/views/postnhost/shared/elements/_table_container.html.erb
|
|
634
|
+
- app/views/postnhost/shared/pages/_action_buttons.html.erb
|
|
635
|
+
- app/views/postnhost/shared/pages/_meta_sidebar.html.erb
|
|
636
|
+
- app/views/postnhost/shared/pages/_post_actions.html.erb
|
|
637
|
+
- app/views/postnhost/templates/edit.html.erb
|
|
638
|
+
- app/views/postnhost/users/_avatar.html.erb
|
|
639
|
+
- app/views/postnhost/users/_form.html.erb
|
|
640
|
+
- app/views/postnhost/users/edit.html.erb
|
|
641
|
+
- app/views/postnhost/users/index.html.erb
|
|
642
|
+
- app/views/postnhost/users/new.html.erb
|
|
643
|
+
- app/views/postnhost/users/schema_edit.html.erb
|
|
644
|
+
- config/locales/de.yml
|
|
645
|
+
- config/locales/en.yml
|
|
646
|
+
- config/locales/es.yml
|
|
647
|
+
- config/locales/fr.yml
|
|
648
|
+
- config/locales/ja.yml
|
|
649
|
+
- config/locales/ko.yml
|
|
650
|
+
- config/locales/pl.yml
|
|
651
|
+
- config/locales/pt.yml
|
|
652
|
+
- config/locales/ru.yml
|
|
653
|
+
- config/routes.rb
|
|
654
|
+
- db/migrate/20250822213820_create_users.rb
|
|
655
|
+
- db/migrate/20250822214046_create_categories.rb
|
|
656
|
+
- db/migrate/20250822214106_create_languages.rb
|
|
657
|
+
- db/migrate/20250822214148_create_articles.rb
|
|
658
|
+
- db/migrate/20250822214217_create_article_variants.rb
|
|
659
|
+
- db/migrate/20250929091137_create_article_categories.rb
|
|
660
|
+
- db/migrate/20251013204200_create_versions.rb
|
|
661
|
+
- db/migrate/20260106074532_create_article_suggestions.rb
|
|
662
|
+
- db/migrate/20260108110506_create_category_variants.rb
|
|
663
|
+
- db/migrate/20260308130000_create_settings.rb
|
|
664
|
+
- db/migrate/20260323113000_create_pages.rb
|
|
665
|
+
- db/migrate/20260414100000_create_article_authors.rb
|
|
666
|
+
- db/migrate/20260512100000_create_templates.rb
|
|
667
|
+
- db/migrate/20260520110001_create_navigations.rb
|
|
668
|
+
- db/migrate/20260520110002_create_navigation_items.rb
|
|
669
|
+
- db/migrate/20260528000002_create_page_variants.rb
|
|
670
|
+
- db/migrate/20260709090000_create_snapshots.rb
|
|
671
|
+
- db/migrate/20260726130000_create_site_scripts.rb
|
|
672
|
+
- lib/generators/postnhost/install/install_generator.rb
|
|
673
|
+
- lib/generators/postnhost/install/templates/carrierwave.rb
|
|
674
|
+
- lib/generators/postnhost/install/templates/postnhost.rb
|
|
675
|
+
- lib/generators/postnhost/locale/locale_generator.rb
|
|
676
|
+
- lib/generators/postnhost/static_pages/static_pages_generator.rb
|
|
677
|
+
- lib/generators/postnhost/tailwindcss/install_generator.rb
|
|
678
|
+
- lib/generators/postnhost/tailwindcss/templates/host.tailwind.css
|
|
679
|
+
- lib/generators/postnhost/user/user_generator.rb
|
|
680
|
+
- lib/generators/postnhost/views/views_generator.rb
|
|
31
681
|
- lib/postnhost.rb
|
|
682
|
+
- lib/postnhost/configuration.rb
|
|
683
|
+
- lib/postnhost/css_build.rb
|
|
684
|
+
- lib/postnhost/css_scope.rb
|
|
685
|
+
- lib/postnhost/engine.rb
|
|
686
|
+
- lib/postnhost/sample_data.rb
|
|
687
|
+
- lib/postnhost/settings/i18n_overrides.rb
|
|
688
|
+
- lib/postnhost/settings/i18n_patch.rb
|
|
689
|
+
- lib/postnhost/tailwind_compiler.rb
|
|
690
|
+
- lib/postnhost/tailwind_input.rb
|
|
32
691
|
- lib/postnhost/version.rb
|
|
33
|
-
-
|
|
692
|
+
- lib/tasks/postnhost_snapshots.rake
|
|
693
|
+
- lib/tasks/postnhost_tasks.rake
|
|
34
694
|
homepage: https://postnhost.com
|
|
35
695
|
licenses:
|
|
36
696
|
- MIT
|
|
@@ -38,7 +698,7 @@ metadata:
|
|
|
38
698
|
homepage_uri: https://postnhost.com
|
|
39
699
|
source_code_uri: https://github.com/postnhost/postnhost
|
|
40
700
|
changelog_uri: https://github.com/postnhost/postnhost/blob/main/CHANGELOG.md
|
|
41
|
-
|
|
701
|
+
rubygems_mfa_required: 'true'
|
|
42
702
|
rdoc_options: []
|
|
43
703
|
require_paths:
|
|
44
704
|
- lib
|
|
@@ -46,16 +706,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
46
706
|
requirements:
|
|
47
707
|
- - ">="
|
|
48
708
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 3.
|
|
709
|
+
version: 3.4.0
|
|
50
710
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
711
|
requirements:
|
|
52
712
|
- - ">="
|
|
53
713
|
- !ruby/object:Gem::Version
|
|
54
714
|
version: '0'
|
|
55
715
|
requirements: []
|
|
56
|
-
rubygems_version:
|
|
57
|
-
signing_key:
|
|
716
|
+
rubygems_version: 4.0.16
|
|
58
717
|
specification_version: 4
|
|
59
|
-
summary: Open
|
|
60
|
-
control, and rich editor.
|
|
718
|
+
summary: Open-source, SEO-ready CMS engine for Rails
|
|
61
719
|
test_files: []
|