Skip to content

Commit

Permalink
Merge pull request #245 from dragomano/develop
Browse files Browse the repository at this point in the history
Update to 2.8.0
  • Loading branch information
dragomano authored Nov 8, 2024
2 parents 461f554 + b94a8fd commit 72faf3e
Show file tree
Hide file tree
Showing 690 changed files with 6,457 additions and 4,000 deletions.
4 changes: 2 additions & 2 deletions .github/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ files:
translation: '%original_path%/LightPortal.%language%.php',
},
{
source: '/src/Sources/LightPortal/Addons/**/english.php',
dest: '/Sources/LightPortal/Addons/**/english.php',
source: '/src/Sources/LightPortal/Plugins/**/english.php',
dest: '/Sources/LightPortal/Plugins/**/english.php',
translation: '%original_path%/%language%.php',
},
{
Expand Down
26 changes: 13 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ src/Themes/default/scripts/light_portal/*
!src/Themes/default/scripts/light_portal/app_plugins.js
!src/Themes/default/scripts/light_portal/dev

**/Addons/**/*.less
**/Addons/**/langs/*
**/Plugins/**/*.less
**/Plugins/**/langs/*

**/Addons/ApexCharts/*
**/Addons/DiceBear/*
**/Addons/ImageUpload/*
**/Addons/IndexNow/*
**/Addons/Jodit/*
**/Addons/MediaBlock/*
**/Addons/PageScroll/*
**/Addons/YandexTurbo/*
**/Plugins/ApexCharts/*
**/Plugins/DiceBear/*
**/Plugins/ImageUpload/*
**/Plugins/IndexNow/*
**/Plugins/Jodit/*
**/Plugins/MediaBlock/*
**/Plugins/PageScroll/*
**/Plugins/YandexTurbo/*

!**/Addons/**/index.php
!**/Addons/**/langs
!**/Addons/**/langs/english.php
!**/Plugins/**/index.php
!**/Plugins/**/langs
!**/Plugins/**/langs/english.php

*.zip
43 changes: 21 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,43 @@
[![](https://img.shields.io/badge/Demo-Forum-brightgreen.svg)](https://demo.dragomano.ru)
[![](https://img.shields.io/badge/Docs-Site-orange.svg)](https://dragomano.github.io/Light-Portal/)

- **Tested on:** 8.1.28 / MariaDB 11.2.2
- **Tested on:** 8.1.30 / MariaDB 11.2.2
- **Languages:** Russian, English, Polish, Spanish, French, Turkish, Ukrainian, German, Italian, Portuguese, Greek, Czech, Danish, Dutch, Norwegian, Swedish, Arabic

## Description ([обзор на русском](https://dragomano.ru/mods/light-portal))

This modification will transform your forum into a portal that includes:

- the customizable frontpage,
- separate pages with keywords,
- blocks within 12-column flexbox grid.
- A customizable front page
- Separate pages with keywords
- Blocks within 12-column flexbox grid

The portal supports BBC, HTML, PHP, as well as Markdown content within pages and custom blocks.
The portal supports BBCode, HTML, PHP, as well as Markdown content within pages and custom blocks.

### Features

- Blocks and pages with multilingual titles.
- Support for the FontAwesome icons and any other similar packs.
- Using the Flexbox to output blocks.
- Available panels: header, left and right sidebars, center (top and bottom), footer.
- Frontpage article system: portal pages, forum topics, or boards.
- Tree comments for pages.
- Open Graph markup for pages and comments.
- Manage blocks in Admin: drag-n-drop of blocks, including updating of the priority.
- Built-in ad manager (AdsBlock plugin).
- Import and export for pages, blocks, and plugins.
- Support for plugins.
- Support for standalone mode.
- Feedback area.
- Blocks and pages with multilingual titles
- Support for FontAwesome icons and any other similar packs
- Use of Flexbox for block layout
- Available panels: header, left and right sidebars, center (top and bottom), footer
- Front page article system: portal pages, forum topics, or boards
- Nested comments for pages
- Open Graph markup for pages and comments
- Block management in Admin: drag-n-drop functionality for blocks, including priority updates
- Support for plugins
- Built-in ad manager (AdsBlock plugin)
- Import and export functionality for pages, blocks, and plugins
- Support for standalone mode
- Feedback area

## Supported by

- [JetBrains](https://www.jetbrains.com/?from=LightPortal) - Licenses for Open Source Development
- [Crowdin](https://crowdin.com/project/light-portal) - Crowdin is completely free of charge for open-source projects
- [Crowdin](https://crowdin.com/project/light-portal) is completely free of charge for open-source projects

Light Portal is completely free to use. It is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY.

It was made for your convenience, and if you like the project, support the developer. Or give a star ⭐️ to this project.
It was made for your convenience, and if you like the project, please support the developer or give a star ⭐️ to this project.

## About plugins

Some custom addons have their own licenses.
Some plugins have their own licenses.
99 changes: 55 additions & 44 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,37 +38,41 @@
<exclude name="Themes/default/scripts/light_portal/plugins.js" />
<include name="Sources/**" />
<exclude name="Sources/index.php" />
<exclude name="Sources/LightPortal/Addons/ApexCharts/**" />
<exclude name="Sources/LightPortal/Addons/BootstrapIcons/**" />
<exclude name="Sources/LightPortal/Addons/DiceBear/**" />
<exclude name="Sources/LightPortal/Addons/Disqus/**" />
<exclude name="Sources/LightPortal/Addons/EasyMarkdownEditor/**" />
<exclude name="Sources/LightPortal/Addons/EhPortalMigration/**" />
<exclude name="Sources/LightPortal/Addons/EzPortalMigration/**" />
<exclude name="Sources/LightPortal/Addons/FaBoardIcons/**" />
<exclude name="Sources/LightPortal/Addons/FacebookComments/**" />
<exclude name="Sources/LightPortal/Addons/Giscus/**" />
<exclude name="Sources/LightPortal/Addons/ImageUpload/**" />
<exclude name="Sources/LightPortal/Addons/IndexNow/**" />
<exclude name="Sources/LightPortal/Addons/Jodit/**" />
<exclude name="Sources/LightPortal/Addons/LatteLayouts/**" />
<exclude name="Sources/LightPortal/Addons/LineAwesomeIcons/**" />
<exclude name="Sources/LightPortal/Addons/Markdown/**" />
<exclude name="Sources/LightPortal/Addons/MaterialDesignIcons/**" />
<exclude name="Sources/LightPortal/Addons/MediaBlock/**" />
<exclude name="Sources/LightPortal/Addons/Optimus/**" />
<exclude name="Sources/LightPortal/Addons/PageScroll/**" />
<exclude name="Sources/LightPortal/Addons/PlatesLayouts/**" />
<exclude name="Sources/LightPortal/Addons/PluginMaker/**" />
<exclude name="Sources/LightPortal/Addons/PrettyUrls/**" />
<exclude name="Sources/LightPortal/Addons/SiteList/**" />
<exclude name="Sources/LightPortal/Addons/Snowflakes/**" />
<exclude name="Sources/LightPortal/Addons/TinyPortalMigration/**" />
<exclude name="Sources/LightPortal/Addons/TopicRatingBar/**" />
<exclude name="Sources/LightPortal/Addons/TwigLayouts/**" />
<exclude name="Sources/LightPortal/Addons/Uicons/**" />
<exclude name="Sources/LightPortal/Addons/VkComments/**" />
<exclude name="Sources/LightPortal/Addons/YandexTurbo/**" />
<exclude name="Sources/LightPortal/Plugins/AdsBlock/**" />
<exclude name="Sources/LightPortal/Plugins/ApexCharts/**" />
<exclude name="Sources/LightPortal/Plugins/BootstrapIcons/**" />
<exclude name="Sources/LightPortal/Plugins/DiceBear/**" />
<exclude name="Sources/LightPortal/Plugins/Disqus/**" />
<exclude name="Sources/LightPortal/Plugins/EasyMarkdownEditor/**" />
<exclude name="Sources/LightPortal/Plugins/EhPortalMigration/**" />
<exclude name="Sources/LightPortal/Plugins/EzPortalMigration/**" />
<exclude name="Sources/LightPortal/Plugins/FaBoardIcons/**" />
<exclude name="Sources/LightPortal/Plugins/FacebookComments/**" />
<exclude name="Sources/LightPortal/Plugins/Giscus/**" />
<exclude name="Sources/LightPortal/Plugins/ImageUpload/**" />
<exclude name="Sources/LightPortal/Plugins/IndexNow/**" />
<exclude name="Sources/LightPortal/Plugins/Jodit/**" />
<exclude name="Sources/LightPortal/Plugins/LatteLayouts/**" />
<exclude name="Sources/LightPortal/Plugins/LineAwesomeIcons/**" />
<exclude name="Sources/LightPortal/Plugins/Markdown/**" />
<exclude name="Sources/LightPortal/Plugins/MaterialDesignIcons/**" />
<exclude name="Sources/LightPortal/Plugins/MediaBlock/**" />
<exclude name="Sources/LightPortal/Plugins/Optimus/**" />
<exclude name="Sources/LightPortal/Plugins/PageScroll/**" />
<exclude name="Sources/LightPortal/Plugins/PlatesLayouts/**" />
<exclude name="Sources/LightPortal/Plugins/PluginMaker/**" />
<exclude name="Sources/LightPortal/Plugins/PrettyUrls/**" />
<exclude name="Sources/LightPortal/Plugins/SiteList/**" />
<exclude name="Sources/LightPortal/Plugins/Snowflakes/**" />
<exclude name="Sources/LightPortal/Plugins/TagList/**" />
<exclude name="Sources/LightPortal/Plugins/TinyPortalMigration/**" />
<exclude name="Sources/LightPortal/Plugins/TopicRatingBar/**" />
<exclude name="Sources/LightPortal/Plugins/TwigLayouts/**" />
<exclude name="Sources/LightPortal/Plugins/Uicons/**" />
<exclude name="Sources/LightPortal/Plugins/VkComments/**" />
<exclude name="Sources/LightPortal/Plugins/YandexTurbo/**" />
<exclude name="Sources/LightPortal/Compilers/Less.php" />
<exclude name="Sources/LightPortal/Compilers/Sass.php" />
<exclude name="Sources/LightPortal/Settings/development.config.php" />
<exclude name="Sources/LightPortal/composer.json" />
<exclude name="Sources/LightPortal/composer.lock" />
Expand All @@ -87,23 +91,33 @@
</fileset>
<fileset dir="./src">
<include name="Themes/**" />
<exclude name="Themes/default/languages/**" />
<exclude name="**/.idea/**" />
<exclude name="Themes/default/css/light_portal/plugins.css" />
<exclude name="Themes/default/scripts/light_portal/app*" />
<exclude name="Themes/default/scripts/light_portal/plugins.js" />
<include name="Sources/**" />
<exclude name="Sources/index.php" />
<exclude name="Sources/LightPortal/Addons/ApexCharts/**" />
<exclude name="Sources/LightPortal/Addons/DiceBear/**" />
<exclude name="Sources/LightPortal/Addons/ImageUpload/**" />
<exclude name="Sources/LightPortal/Addons/IndexNow/**" />
<exclude name="Sources/LightPortal/Addons/Jodit/**" />
<exclude name="Sources/LightPortal/Addons/MediaBlock/**" />
<exclude name="Sources/LightPortal/Addons/PageScroll/**" />
<exclude name="Sources/LightPortal/Addons/YandexTurbo/**" />
<exclude name="Sources/LightPortal/Plugins/ApexCharts/**" />
<exclude name="Sources/LightPortal/Plugins/DiceBear/**" />
<exclude name="Sources/LightPortal/Plugins/ImageUpload/**" />
<exclude name="Sources/LightPortal/Plugins/IndexNow/**" />
<exclude name="Sources/LightPortal/Plugins/Jodit/**" />
<exclude name="Sources/LightPortal/Plugins/MediaBlock/**" />
<exclude name="Sources/LightPortal/Plugins/PageScroll/**" />
<exclude name="Sources/LightPortal/Plugins/YandexTurbo/**" />
<exclude name="Sources/LightPortal/Plugins/*/langs/**" />
<include name="package-info.xml" />
<include name="*.php" />
</fileset>
<fileset dir="./src">
<include name="Themes/default/languages/LightPortal/index.php" />
<include name="Themes/default/languages/LightPortal/LightPortal.english.php" />
</fileset>
<fileset dir="./src">
<include name="Sources/LightPortal/Plugins/*/langs/english.php" />
<include name="Sources/LightPortal/Plugins/*/langs/index.php" />
</fileset>
</zip>
</target>
<target name="geek_edition" depends="update_version">
Expand All @@ -124,7 +138,7 @@
<exclude name="Themes/default/scripts/light_portal/plugins.js" />
<include name="Sources/**" />
<exclude name="Sources/index.php" />
<exclude name="Sources/LightPortal/Addons/**" />
<exclude name="Sources/LightPortal/Plugins/**" />
<exclude name="Sources/LightPortal/Compilers/Less.php" />
<exclude name="Sources/LightPortal/Compilers/Sass.php" />
<exclude name="Sources/LightPortal/Settings/development.config.php" />
Expand All @@ -138,12 +152,9 @@
<fileset dir="./src">
<include name="Themes/default/languages/LightPortal/index.php" />
<include name="Themes/default/languages/LightPortal/LightPortal.english.php" />
<include name="Themes/default/languages/LightPortal/LightPortal.greek.php" />
<include name="Themes/default/languages/LightPortal/LightPortal.italian.php" />
<include name="Themes/default/languages/LightPortal/LightPortal.russian.php" />
</fileset>
<fileset dir="./src">
<include name="Sources/LightPortal/Addons/*.php" />
<include name="Sources/LightPortal/Plugins/*.php" />
</fileset>
</zip>
</target>
Expand Down
2 changes: 1 addition & 1 deletion configs/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
viteStaticCopy({
targets: [
{ src: 'node_modules/sortablejs/Sortable.min.js', dest: dist },
{ src: 'node_modules/vanilla-lazyload/dist/lazyload.esm.min.js', dest: dist },
{ src: 'node_modules/vanilla-lazyload/dist/lazyload.min.js', dest: dist },
{ src: 'node_modules/virtual-select-plugin/dist/virtual-select.min.css', dest: cssDir },
{ src: 'node_modules/virtual-select-plugin/dist/virtual-select.min.js', dest: dist },
],
Expand Down
70 changes: 70 additions & 0 deletions docs/.vitepress/locales/ar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
export default {
label: 'العربية',
// https://gist.github.com/Josantonius/b455e315bc7f790d14b136d61d9ae469
lang: 'ar',
dir: 'rtl',
title: 'وثائق Light Portal',
description: 'الوثائق عبر الإنترنت Light Portal',
themeConfig: {
nav: [
{
text: 'المنزل',
link: '/'
},
{
text: 'مقدمة',
link: '/intro'
},
{
text: 'أمثلة',
link: '/examples'
},
{
text: 'تجريبي',
link: 'https://demo.dragomano.ru/'
},
{
text: 'تغيير',
link: '/changelog'
}
],
outline: { label: 'في هذه الصفحة' },
docFooter: {
prev: 'الصفحة السابقة',
next: 'الصفحة التالية'
},
darkModeSwitchLabel: 'المظهر',
lightModeSwitchTitle: 'التبديل إلى موضوع الضوء',
darkModeSwitchTitle: 'التبديل إلى السمة المظلمة',
sidebarMenuLabel: 'القائمة',
returnToTopLabel: 'العودة إلى الأعلى',
langMenuLabel: 'تغيير اللغة',
notFound: {
title: 'لا يوجد ملف',
quote: 'ولكن إذا لم تغير اتجاهك ، وإذا استمرت في البحث ، قد ينتهي بك الأمر إلى أين تتجه .',
linkLabel: 'الذهاب إلى المنزل',
linkText: 'خذني إلى المنزل'
},
search: {
options: {
translations: {
button: {
buttonText: 'البحث',
buttonAriaLabel: 'البحث'
},
modal: {
displayDetails: 'عرض قائمة مفصلة',
resetButtonTitle: 'إعادة تعيين البحث',
backButtonTitle: 'إغلاق البحث',
noResultsText: 'لا توجد نتائج لـ',
footer: {
selectText: 'لتحديد',
navigateText: 'للتنقل',
closeText: 'أن يغلق'
}
}
}
}
}
}
};
Loading

0 comments on commit 72faf3e

Please sign in to comment.