-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from mambax7/master
updates
- Loading branch information
Showing
186 changed files
with
9,699 additions
and
5,433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: CI | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
phpstan: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: [ '7.2', '7.4', '8.0', '8.1' ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: php-actions/composer@v5 | ||
- name: PHPStan Static Analysis | ||
uses: php-actions/phpstan@v3 | ||
with: | ||
path: / | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: mbstring, dom, fileinfo, mysql | ||
tools: phpstan, psalm | ||
# run: phpstan analyze src --level=5 --error-format=checkstyle | cs2pr | ||
# 8- Run Psalm scan | ||
- name: Run Psalm scan | ||
run: psalm --threads=8 --shepherd --stats --output-format=github | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# language: php | ||
build: | ||
environment: | ||
php: 8.0.11 | ||
nodes: | ||
tests: true | ||
analysis: | ||
dependencies: | ||
after: | ||
# The following installs the most recent XOOPS CMS version, you might want | ||
# to install a specific release tag or branch instead. | ||
- git clone --depth=1 https://github.com/XOOPS/XoopsCore25 | ||
- git clone --depth=1 https://github.com/mambax7/tag | ||
- git clone --depth=1 https://github.com/mambax7/adslight | ||
- git clone --depth=1 https://github.com/mambax7/ams | ||
- git clone --depth=1 https://github.com/mambax7/apcal | ||
- git clone --depth=1 https://github.com/mambax7/extcal | ||
- git clone --depth=1 https://github.com/mambax7/extgallery | ||
- git clone --depth=1 https://github.com/mambax7/lexikon | ||
- git clone --depth=1 https://github.com/mambax7/myalbum | ||
- git clone --depth=1 https://github.com/mambax7/mylinks | ||
- git clone --depth=1 https://github.com/mambax7/newbb | ||
- git clone --depth=1 https://github.com/mambax7/news | ||
- git clone --depth=1 https://github.com/mambax7/oledrion | ||
- git clone --depth=1 https://github.com/mambax7/publisher | ||
- git clone --depth=1 https://github.com/mambax7/smartfaq | ||
- git clone --depth=1 https://github.com/mambax7/smartpartner | ||
- git clone --depth=1 https://github.com/mambax7/wfdownloads | ||
- git clone --depth=1 https://github.com/mambax7/wflinks | ||
- git clone --depth=1 https://github.com/mambax7/xoopstube | ||
project_setup: | ||
override: true | ||
tests: | ||
override: | ||
- php-scrutinizer-run --enable-security-analysis | ||
filter: | ||
dependency_paths: | ||
- XoopsCore25/* | ||
- tag/* | ||
- adslight/* | ||
- ams/* | ||
- apcal/* | ||
- extcal/* | ||
- extgallery/* | ||
- lexikon/* | ||
- myalbum/* | ||
- mylinks/* | ||
- newbb/* | ||
- news/* | ||
- oledrion/* | ||
- publisher/* | ||
- smartfaq/* | ||
- smartpartner/* | ||
- wfdownloads/* | ||
- wflinks/* | ||
- xoopstube/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
# XOOPS CMS Module ![XOOPS CMS](https://avatars2.githubusercontent.com/u/12771439?v=3&s=200) | ||
![alt XOOPS CMS](https://xoops.org/images/logoXoopsPhp8.png) | ||
|
||
**RSSFit** is a module for XOOPS generates RSS 2.0 validated XML feed. Web masters can decide what to be displayed in the XML output by activating installed plug-ins. | ||
## RSSFit module for [XOOPS CMS 2.5.10+](https://xoops.org) | ||
|
||
**XOOPS Module Archive:** Module in this archive are older modules for XOOPS CMS, and therefore some of them might not work with the latest XOOPS and PHP versions. | ||
[![XOOPS CMS Module](https://img.shields.io/badge/XOOPS%20CMS-Module-blue.svg)](https://xoops.org) | ||
[![Software License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-2.0.html) | ||
|
||
However, please fork them and if you have any improvements and fixes, please share them back with us. | ||
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/XoopsModules25x/rss.svg?style=flat)](https://scrutinizer-ci.com/g/XoopsModules25x/rssfit/?branch=master) | ||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/95b12220e0ac4056b9af52af708379c9)](https://www.codacy.com/app/mambax7/rss_2) | ||
[![Code Climate](https://img.shields.io/codeclimate/github/XoopsModules25x/rss.svg?style=flat)](https://codeclimate.com/github/XoopsModules25x/rss) | ||
[![Latest Pre-Release](https://img.shields.io/github/tag/XoopsModules25x/rss.svg?style=flat)](https://github.com/XoopsModules25x/rssfit/tags/) | ||
[![Latest Version](https://img.shields.io/github/release/XoopsModules25x/rss.svg?style=flat)](https://github.com/XoopsModules25x/rssfit/releases/) | ||
|
||
Visit us on http://xoops.org | ||
**RSSFit** module for [XOOPS CMS](https://xoops.org) is a module for XOOPS generates RSS 2.0 validated XML feed. Web masters can decide what to be displayed in the XML output by activating installed plug-ins. | ||
|
||
The upcoming XOOPS CMS version is being crafted at: https://github.com/XOOPS | ||
[![Tutorial Available](https://xoops.org/images/tutorial-available-blue.svg)](https://xoops.gitbook.io/rssfit-tutorial/) Tutorial: see [GitBook](https://xoops.gitbook.io/rssfit-tutorial/). To contribute to the Tutorial, [fork it on GitHub](https://github.com/XoopsDocs/rssfit-tutorial) | ||
|
||
[![Translations on Transifex](https://xoops.org/images/translations-transifex-blue.svg)](https://www.transifex.com/xoops) | ||
|
||
Please visit us on https://xoops.org | ||
|
||
Current and upcoming "next generation" versions of XOOPS CMS are crafted on GitHub at: https://github.com/XOOPS |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/* | ||
* You may not change or alter any portion of this comment or credits | ||
* of supporting developers from this source code or any supporting source code | ||
* which is considered copyrighted (c) material of the original comment or credit authors. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
*/ | ||
|
||
use Xmf\Module\Admin; | ||
|
||
/** | ||
* @copyright XOOPS Project (https://xoops.org) | ||
* @license GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html) | ||
* @author XOOPS Development Team | ||
*/ | ||
|
||
use Xmf\Request; | ||
use XoopsModules\Rssfit; | ||
|
||
if (!preg_match('#/rssfit/admin/#', $_SERVER['SCRIPT_NAME'])) { | ||
header('Location: index.php'); | ||
} | ||
|
||
require_once __DIR__ . '/admin_header.php'; | ||
|
||
$adminObject = Admin::getInstance(); | ||
//xoops_cp_header(); | ||
|
||
$adminObject->displayNavigation(basename(__FILE__)); | ||
Admin::setPaypal('xoopsfoundation@gmail.com'); | ||
$adminObject->displayAbout(false); | ||
|
||
require_once __DIR__ . '/admin_footer.php'; |
Oops, something went wrong.