Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FluxCP 2.0 #233

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
e269236
Introduced composer dependency management.
secretdataz Mar 29, 2019
b5c681d
Removed the long-removed Zend Engine 1 compatibility mode
secretdataz Mar 29, 2019
cf0cc26
Implemented env() helper
secretdataz Mar 29, 2019
e5fd0f9
Ignore .env file
secretdataz Mar 29, 2019
eee2e9b
First attempt at restructuring FluxCP
secretdataz Mar 29, 2019
a462e05
Removed useless assignment in Mailer.php
secretdataz Mar 29, 2019
d962076
Updated documentation
secretdataz Mar 31, 2019
240f7cf
Some unstaged changes I didn't know I had
Feb 11, 2022
ef0f2a1
Statement's `execute()` fix from https://github.com/rathena/FluxCP/co…
cydh Feb 11, 2022
b993b56
Fixed Whoops prevents error logging
cydh Feb 11, 2022
a8e863a
Attempt to fix theme directory lookup
cydh Feb 11, 2022
3968b3f
Merge pull request #1 from cydh/hotfix/fluxpr-246
secretdataz Feb 11, 2022
3cb119d
Merge pull request #2 from cydh/hotfix/fixed-whoops
secretdataz Feb 11, 2022
d364156
Merge pull request #3 from cydh/hotfix/themes-dir
secretdataz Feb 11, 2022
dc80ed1
Added .editorconfig file to force editor settings
cydh Jul 22, 2018
f6fe8e0
Fix #234 error handling bug
sanasol Feb 11, 2022
dab6359
Fixes renewal mob_db tables usage
sanasol Feb 11, 2022
9f107c6
fix/add more information discord
sader1992 Feb 11, 2022
d3e1aa9
EMail -> email
sader1992 Feb 11, 2022
b43c049
Added bindParams function
cydh Jul 11, 2019
c281e7f
Reapply Cydh's fix
Feb 11, 2022
f2bc53d
fixes #247, sql_mode only_full_group_by error
sanasol Aug 28, 2019
0984f68
Paypal connection for IPN is based on your website SSL
marky291 Jan 12, 2020
2974bff
Fix registration error message
sanasol Jan 15, 2020
1f01ec3
fix MVP ranking
sanasol May 7, 2020
f0f5a9a
Updated .gitignore to ignore changed states for custom themes in /the…
Akkarinage Dec 10, 2020
d11fb1a
Add content-type header to Discord POST requests
Akkarinage Feb 11, 2022
b70a670
added body reset
gamingmagic Feb 11, 2022
0ee4fbc
Support for webservice (guild icons)
Balferian Aug 24, 2021
300537d
Captcha not working on PHP 7.2.12 (Windows) (#223)
marqroldan Feb 11, 2022
9d2fd68
Add Divine-Pride integration (items and monster images)
Balferian Feb 11, 2022
d59ef19
Initial release for support new formats db
Balferian Feb 11, 2022
2ff5780
Updated logdata moduke to support new mob_db column name
sanasol Feb 11, 2022
93bbd24
Set BackwardYears to default to 60
Akkarinage Jan 20, 2022
87718d2
Added Discord Webhook explanations in application.php
Akkarinage Jan 23, 2022
d36de05
Renamed Card to Slot for end-users
Feb 7, 2022
a075bf5
Updated imagecreatefrombmpstring function, and added a check to preve…
Feb 11, 2022
a0c8927
Update dependencies. Tested on PHP 8.0.3
secretdataz Feb 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# rAthena FluxCP EditorConfig file
# EditorConfig is awesome: https://EditorConfig.org

root = true

[*]
insert_final_newline = true
trim_trailing_whitespace = true

[*.php]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4

[*.json]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# rAthena environment configuration file
APP_ENV="production"
APP_ADDRESS="localhost"
APP_BASE_URI="/"

INSTALLER_PASSWORD="CHANGEME"
DEFAULT_LANGUAGE="en-us"
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,19 @@
# Caches
/data/tmp/*.php
/data/tmp/*.cache
/data/tmp/emblems

# Non-Default Themes
/themes/*
!/themes/default
!/themes/bootstrap
!/themes/installer

# Composer's vendor directory
/vendor/

# Intellij IDEA/phpStorm
/.idea/

# .env
.env
60 changes: 28 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,60 @@
FluxCP
======
# FluxCP

[![Total alerts](https://img.shields.io/lgtm/alerts/g/rathena/FluxCP.svg?logo=lgtm&logoWidth=18&color=orange)](https://lgtm.com/projects/g/rathena/FluxCP/alerts/)
[![Open Issues](https://img.shields.io/github/issues/rathena/FluxCP.svg?logo=github&logoWidth=18&color=yellow)](https://lgtm.com/projects/g/rathena/FluxCP/alerts/)
[![Open PRs](https://img.shields.io/github/issues-pr/rathena/FluxCP.svg?logo=github&logoWidth=18&color=blue)](https://lgtm.com/projects/g/rathena/FluxCP/alerts/)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d842cd47636244668f3093151b288eff)](https://www.codacy.com/app/rathena/FluxCP?utm_source=github.com&utm_medium=referral&utm_content=rathena/FluxCP&utm_campaign=Badge_Grade)

Flux Control Panel (FluxCP) for rAthena servers.

Requirements
---------
* PHP 5.2
* PDO and PDO-MYSQL extensions for PHP5 (including PHP_MYSQL support)
## Requirements
* Composer dependency manager
* PHP 7.0 or later
* PDO and PDO-MYSQL extensions for PHP
* MySQL 5
* Optional: GD2 (for guild emblems and registration CAPTCHA)
* Optional: Tidy (for cleaner HTML output)
* Optional: mod_rewrite support for UseCleanUrls feature
* Optional: [Item images](http://rathena.org/board/files/file/2509-item-images/)


What's New?
---------
## What's New?
* The description files are kept upto-date with each new commit from rAthena.
* Pre-integrated themes:
- default
- Bootstrap
* default
* Bootstrap

* Built-In:
- News and Pages CMS with integrated TinyMCE
- Service Desk (ITIL Incident Management style support ticket system)
- Additional Logs
- More Ranking Lists
- Discord Integration
- Google ReCaptcha
- Remote AtCommand functionality
* News and Pages CMS with integrated TinyMCE
* Service Desk (ITIL Incident Management style support ticket system)
* Additional Logs
* More Ranking Lists
* Discord Integration
* Google ReCaptcha
* Remote AtCommand functionality


How To ... ?
---------
## How To ... ?
We have a small doc library that covers:
* Basic User Documentation
- Installation
- [Themes](https://github.com/rathena/FluxCP/blob/master/doc/user_theme.md)
- [Languages](https://github.com/rathena/FluxCP/blob/master/doc/user_lang.md)
- Installing Addons
- Updating FluxCP
* [Installation](https://github.com/rathena/FluxCP/blob/master/doc/installing.md)
* [Themes](https://github.com/rathena/FluxCP/blob/master/doc/user_theme.md)
* [Languages](https://github.com/rathena/FluxCP/blob/master/doc/user_lang.md)
* Installing Addons
* Updating FluxCP

* Developer Documentation
- Creating an Addon
- Providing Addon updates
- Creating a custom Theme

* Creating an Addon
* Providing Addon updates
* Creating a custom Theme
* [Migrating your addon to FluxCP 2.0](https://github.com/rathena/FluxCP/blob/master/doc/migrating.md)

Join the Discussion
---------
## Join the Discussion
We have a discord server separate from rAthena just for FluxCP stuff!
The channels there can be used to obtain help, discuss testing, view anonymous feedback log, Github commits, etc.
https://discord.gg/0XP9qqhUV9GLSfCh


Extra Credits
---------
## Extra Credits
Original FluxCP created by Paradox924X and Byteflux with additional contributions from Xantara.
Some works from other users have been integrated into this project.
3 changes: 3 additions & 0 deletions addons/helloworld/modules/helloworld/index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

use rAthena\FluxCp\Flux;

if (!defined('FLUX_ROOT')) exit;

$fluxVersion = Flux::VERSION;
Expand Down
4 changes: 3 additions & 1 deletion addons/helloworld/themes/default/helloworld/index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php if (!defined('FLUX_ROOT')) exit; ?>
<?php use rAthena\FluxCp\Flux;

if (!defined('FLUX_ROOT')) exit; ?>
<h2><?php echo Flux::message('HelloWorld') ?></h2>
<p><?php echo Flux::message('HelloInfoText') ?></p>
<p><?php printf(Flux::message('HelloVersionText'), $fluxVersion) ?></p>
26 changes: 26 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "rathena/fluxcp",
"description": "rAthena MMORPG server control panel",
"type": "project",
"license": "LGPL-3.0-only",
"minimum-stability": "stable",
"require": {
"php": ">=7.0",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-gd": "*",
"phpmailer/phpmailer": "^5.2.27",
"vlucas/phpdotenv": "^3.3"
},
"autoload": {
"psr-4": {
"rAthena\\FluxCp\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"require-dev": {
"filp/whoops": "^2.3"
}
}
Loading