924 Commits

Author SHA1 Message Date
slawkens
ba56ef5e33 Add some badges to README.md
(cherry picked from commit d3850280f431f9d0b513cdb5bf8b72dbc5d2ddbb)
2021-01-17 17:45:32 +01:00
slawkens
b24370e7ed Fixed the check if vocations.xml were correctly loaded 2021-01-17 17:44:30 +01:00
slawkens
b2b0b31168 Remove facebook.js, replace with direct live link
This fixes some console errors
2021-01-07 23:37:47 +01:00
slawkens
1e969f8d8a Update index.php 2021-01-07 22:43:25 +01:00
slawkens
bca098e074 Use local storage for saving menu items
Fixes a bug when visiting with browser: www.wykop.pl, and then navigating back to myaac (browser freeze)
2021-01-07 22:43:15 +01:00
slawkens
98bd51436b Unified naming 2021-01-07 11:47:57 +01:00
slawkens
1fa4b1e660 Remove some useless maxlength attribute 2021-01-04 22:06:50 +01:00
slawkens
04a36b1d11 Rename to Recovery Key 2021-01-04 22:06:26 +01:00
slawkens
611d6f505d Add option to send mail to account with Mailer
"Send Mail" link next to Email input in account editor
2021-01-04 21:34:52 +01:00
slawkens
62b485abf9 Update .gitignore 2021-01-04 19:28:18 +01:00
slawkens
61eae7d7c4 Add ./login.php to .gitignore 2021-01-04 19:17:30 +01:00
slawkens
af161b5143 Fix: PHPMailer is included through composer now 2021-01-04 19:17:07 +01:00
slawkens
d5880eac8c Use BASE_URL instead of template_path for icons
Cause they are located in images/news folder
2021-01-04 16:35:01 +01:00
slawkens
02d6ab5fe7 Add lastCheck full date to Server Status panel 2021-01-04 16:32:25 +01:00
Lee
5547ccffd6 Twig updates
Moved non-global functions from twig back into PHP.
2021-01-04 13:11:18 +00:00
Lee
8c06bd1738 function Truncate added
missing function added to functions lib.
2021-01-04 12:42:13 +00:00
Lee
469a8c1017 AdminPanel - Template Fix
Fixed a bug with $status['online'] not being filled and showing invalid badge due to error.
2021-01-04 12:24:23 +00:00
Lee
bb3602073c AdminPanel updates - changelog
-Admin menu updates
-Moved getchangelogtype/where to functions file and added to twig
-Added changelog editor to admin panel and updated changelog page
-Renamed the changelog md reader to clmd and edited the version file.
2021-01-04 12:23:36 +00:00
slawkens
6c6af59b22 Add ext-gd to composer.json 2021-01-04 08:27:45 +01:00
slawkens
a8a36c73e6 Fix notice about premend 2020-12-30 00:27:42 +01:00
slawkens
98b1d854f9 Refactor some line 2020-12-30 00:24:14 +01:00
slawkens
1ada2317fd Add support for accounts.premium_ends_at (Latest tfs 1.x) 2020-12-30 00:10:49 +01:00
slawkens
40722c8c30 Password can now contain any characters
Also added limit of 29 characters (client limitation)
2020-12-30 00:10:11 +01:00
slawkens
ff9e255f1b On prod it won't display any PHP errors
As suggested by PHP Manual
2020-12-29 22:11:40 +01:00
Lee
fbe9c31d10 config update
renamed and cleaned up the settings names for easier comprehension
2020-12-29 17:50:10 +00:00
Lee
0aed705a6a migration 31 fix.
Some mysql dbs won't allow text to have a default value.
2020-12-29 17:43:17 +00:00
Lee
06e864c954 added between()
Added missing function from creature update.
2020-12-29 17:36:16 +00:00
slawkens
1d68d013df Add json as required extension 2020-12-29 15:00:06 +01:00
Lee
8e6bc73ca6 Creature page overhaul
Updates the creature pages to show more information.
You will need to reload your creatures.
-modifies database with migration 31
-small customisations are allowed via config file.
-functions added, getMonsterLink, getItemRarity, getCreatureImgPath, left, right,
-added functions to twig.
-view elements, immunities, summons, voices, loot, pushables, canpush, canwalk, runonhealth,hostile,attackable,rewardboss,defense,armor
-filter bosses
-show list as picture preview or names list
2020-12-28 16:37:03 +00:00
Lee
7e0fded595 gitignore functions_custom
Adds system/functions_custom.php to the git ignore list.
2020-12-28 16:24:25 +00:00
Lee
c8443228fb Allow template pages
Checks if page exists in template directory and loads that page first instead of system/pages/
This allows users to make their own changes without modifying the original files for when doing updates.
2020-12-28 16:22:41 +00:00
slawkens
64fe0062ee
Merge pull request #146 from fernandomatos/template/tibiacom
Fixes and improvements at template's network box
2020-12-26 23:33:44 +01:00
Fernando Matos
3b78516ef2
Add SSL on external image requests of items and outfits (#145) 2020-12-26 23:32:17 +01:00
Fernando Matos
8f345126f7 Add conditional script loading for social networks 2020-12-26 18:30:26 -03:00
Fernando Matos
daaa472dfe Remove unnecessary top player retrievement at network box 2020-12-26 18:14:36 -03:00
Fernando Matos
87f35da3b6 Fix network box showing without social networks specified 2020-12-26 18:04:22 -03:00
Fernando Matos
6f42a60e59
Add a brand new charming installation (for version 0.9) (#144)
* Add a brand new charming installation

* Fix alert position in setup requirements validation

* Add some missing definitions

* A distinction between bootstrap CSS classes and myaac classes

For CSS-styled messages

* Remove unused functions for messages

Co-authored-by: slawkens <slawkens@gmail.com>
2020-12-22 07:47:47 +01:00
slawkens
3beedc1747 New configurable: outfit_images_wrong_looktypes 2020-12-21 01:59:32 +01:00
slawkens
6603815a81 Update bans.php 2020-12-21 01:54:17 +01:00
slawkens
c1027d3663 Fixes on new highscores
Fixed link to next page on first visit default highscores
Fixed position of "No records yet."
Also count pages is starting from 1 now (not from 0 like before)
2020-12-21 01:54:00 +01:00
slawkens
6cec5ba5bf Add required extensions and PHP version to composer.json 2020-12-20 12:13:13 +01:00
slawkens
d70b70b63c Update .editorconfig 2020-12-20 12:12:41 +01:00
slawkens
7d73e3cd98 Refactor code in delete_character.php 2020-12-19 23:25:46 +01:00
slawkens
5087fc4a00 You cannot delete character more than twice (Thanks Okke)
(cherry picked from commit 7fd784b2f615d87a028f2e1d90ec99fd67acb576)
2020-11-24 18:12:49 +01:00
Lee
30cdb1ba73 Dashboard modules updated
More flexibility and additions on the dashboard modules.

-Statistics: Accounts, Players, Monsters, Guilds, Houses
-Website Status: Maintenance
-Server Status: name, client, map, monsters loaded, MOTD,

default:
'admin_panel_modules' => 'statistics,web_status,server_status,lastlogin,created,points,coins,balance',
2020-11-07 14:36:12 +00:00
Lee
0f6612904e Updated Admin
Updated the frameworks to latest git versions
-AdminLTE v3.1.0-pre
-Bootstrap v4.5.2
No major changes just bug fixes
2020-11-07 14:13:20 +00:00
Lee
e5b5b4d3ef Template update
Adds server name to the side menu, this hides when the side menu collapses.
2020-11-07 13:56:59 +00:00
Lee
9bc63bb55c Datatables update
I noticed if the datatables files wasn't cached some pages that didn't use it would take slightly longer to load whilst it downloaded it.
This will only write the js and css files onto the page if $use_datatable = true;  is set on the page.
See accounts/news/players pages for examples.

It wasn't a massive performance loss for the user but not needed if those pages are hardly ever used.
2020-11-07 13:53:11 +00:00
Lee
dcf83d5608 Update functions.php
Moved to bottom of the page so users can call functions code from custom_functions.
2020-11-06 14:42:13 +00:00
Lee
8fe82bb5c0 adminmenus update
moved visitors links to the logs section.
2020-11-06 14:20:34 +00:00