Skip to content

Commit

Permalink
Merge pull request #43 from dragomano/dev
Browse files Browse the repository at this point in the history
Update to 3.0 Beta
  • Loading branch information
dragomano authored Mar 8, 2024
2 parents e3567bc + 4023a1a commit a1d5ca5
Show file tree
Hide file tree
Showing 109 changed files with 7,225 additions and 4,125 deletions.
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
/.github export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/*.md export-ignore
/*.md export-ignore
/composer.json export-ignore
/composer.lock export-ignore
/rector.php export-ignore
3 changes: 2 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
custom: ["https://www.buymeacoffee.com/bugo", "https://qiwi.com/n/DRAGOMANO"]
ko_fi: dragomano
custom: ['https://www.buymeacoffee.com/bugo']
18 changes: 10 additions & 8 deletions .github/crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_API_TOKEN
base_path: ".."
base_url: "https://api.crowdin.com"
base_path: '..'
base_url: 'https://api.crowdin.com'
preserve_hierarchy: true

files: [
{
source: "Themes/default/languages/Optimus/Optimus.english.php",
translation: "%original_path%/Optimus.%language%.php",
}
]
files:
[
{
source: 'src/Themes/default/languages/Optimus/Optimus.english.php',
dest: 'Themes/default/languages/Optimus/Optimus.english.php',
translation: '%original_path%/Optimus.%language%.php',
},
]
27 changes: 13 additions & 14 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- main
paths:
- 'Themes/default/languages/**'
- 'src/Themes/default/languages/**'

env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
Expand All @@ -19,17 +19,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
if: env.CROWDIN_API_TOKEN != null
uses: actions/checkout@v4

- name: Checkout
if: env.CROWDIN_API_TOKEN != null
uses: actions/checkout@v2

- name: Crowdin Action
if: env.CROWDIN_API_TOKEN != null
uses: crowdin/github-action@1.4.7
with:
upload_sources: true
upload_translations: false
download_translations: false
#crowdin_branch_name: 'next'
config: '.github/crowdin.yml'
- name: Crowdin Action
if: env.CROWDIN_API_TOKEN != null
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
download_translations: false
#crowdin_branch_name: 'next'
config: '.github/crowdin.yml'
16 changes: 13 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
.idea/
.vscode/
vendor/
/**/composer.lock
coverage/
.phpunit.cache/
.phpunit.result.cache

Themes/default/languages/Optimus/*
Themes/default/languages/Optimus/index.php
!Themes/default/languages/Optimus/Optimus.english.php
src/Themes/default/languages/Optimus/*
src/Themes/default/languages/Optimus/index.php
!src/Themes/default/languages/Optimus/Optimus.english.php

src/Sources/Optimus/Addons/*/

src/Sources/Optimus/Libs/*
!src/Sources/Optimus/Libs/index.php
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Optimus

[![SMF 2.1](https://img.shields.io/badge/SMF-2.1-ed6033.svg?style=flat)](https://github.com/SimpleMachines/SMF2.1)
[![SMF 3.0 Alpha](https://img.shields.io/badge/SMF-3.0_Alpha-ed2533.svg?style=flat)](https://github.com/SimpleMachines/SMF/tree/release-3.0)
![License](https://img.shields.io/github/license/dragomano/optimus)
![Hooks only: Yes](https://img.shields.io/badge/Hooks%20only-YES-blue)
![PHP](https://img.shields.io/badge/PHP-^7.4-blue.svg?style=flat)
[![Total Downloads](https://img.shields.io/github/downloads/dragomano/Optimus/total.svg)](https://github.com/dragomano/Optimus/releases)
![PHP](https://img.shields.io/badge/PHP-^8.0-blue.svg?style=flat)
[![Crowdin](https://badges.crowdin.net/smf-optimus/localized.svg)](https://crowdin.com/project/smf-optimus)

- **Tested on:** PHP 8.2.13 / MariaDB 10.11.6
- **Languages:** English, Russian, Dutch, Turkish, Spanish, German, Italian
- **Tested on:** PHP 8.0.30 / MariaDB 10.11.6
- **Languages:** English, Russian, Dutch, Turkish, Spanish, German, Italian, Polish

### Reviews

Expand All @@ -16,16 +18,17 @@
### Features

- Managing of title and description for the main forum page.
- Managing of title, description, and keywords metatags for topic pages.
- Managing of title, description, and keywords meta-tags for topic pages.
- Description meta-tag for boards' and topics' pages.
- Keywords meta-tag for topics. Users can fill them when creating/changing topics.
- Support of Open Graph meta-tags and Twitter Cards.
- Ability to specify the verification codes when adding sites to Google, Yandex, and Bing (Webmaster Tools).
- Adding custom metatags.
- Adding any counters without template editing.
- Adding custom meta-tags.
- Adding any JS/CSS code without template editing.
- Changing the robots.txt and .htaccess from the Settings page.
- Generator for the robots.txt file.
- Simple Sitemap XML.
- Generation of favicon.
- Support of Cyrillic domains.
- Managing of favicon.
- Statistics of search queries on the forum.
- Ability to create simple redirects.
- Support of addons.
123 changes: 0 additions & 123 deletions Sources/Optimus/Boards.php

This file was deleted.

Loading

0 comments on commit a1d5ca5

Please sign in to comment.