660 Commits

Author SHA1 Message Date
Lee
d1e6061541 Admin panel fixes (#62)
* Admin Panel

* fixes

-Code Clean Up
-Remove dist folder and merged into tools.
2018-11-24 15:42:20 +01:00
slawkens
96e55b17b1 Update TODO 2018-11-24 15:16:19 +01:00
Lee
6dab50cbd8 Admin Panel (#61)
Thank you Lee for this awesome, Bootstrap Admin Panel!
2018-11-22 07:12:14 +01:00
slawkens
89f24c631c Fix something that Open Tibia developers don't think about
This fixes #60
2018-11-08 08:35:55 +01:00
slawkens
5d0a0d352b Fix database_name in Usage_Statistics
(cherry picked from commit 3c6f44d)
2018-10-31 07:49:12 +01:00
slawkens
63bc0a9620 Fix bug where server_config table does not exist (OTHire as an example)
Happened in Usage_Statistics class
Thanks for reporting the OtLand user - Olddies

(cherry picked from commit dacc5b9)
2018-10-31 07:48:56 +01:00
slawkens
0791ccbcf5 Update .github/ISSUE_TEMPLATE.md 2018-10-22 12:22:26 +02:00
slawkens
d03ab6c79f * change config.lua.ownerEmail to config.mail_address
(cherry picked from commit a4bccba)
2018-10-22 09:28:35 +02:00
slawkens
72e2a762da * fixed the mystical defect where "Create Account" button was not highlighted (on the account/manage page)
(cherry picked from commit 1740542)
2018-10-22 09:19:44 +02:00
slawkens
cd0b1f10cc * $db->hasTable is the way to go 2018-10-18 09:13:36 +02:00
slawkens
a81824a7eb (Nothing important) just remove a minus in a word "re-install" 2018-10-18 08:24:59 +02:00
slawkens
589d07ed40 * add an additional text to the install page informing that user can reinstall MyAAC by deleting config.local.php
(cherry picked from commit 0129c79)
2018-10-18 08:23:49 +02:00
slawkens
9a86f1ebed * add fatal error message when myaac tables in database do not exist
(cherry picked from commit ba1c5e9)
2018-10-18 08:23:29 +02:00
slawkens
2695995211 Move tibiacom boxes to Twig templates
Yes they are looking and working same as before ;)
2018-10-16 01:42:15 +02:00
slawkens
ff8105f809 Use strict check where appriopriate 2018-10-16 01:40:49 +02:00
slawkens
98a05f53d2 Add var annotation 2018-10-16 01:39:03 +02:00
slawkens
549b1a2f13 New Twig function: getPlayerLink($s, $p) 2018-10-16 01:35:16 +02:00
slawkens
b50d0cd710 Throw an exception if template index file cannot be found 2018-10-16 01:34:48 +02:00
slawkens
ff135c034c Add Extension Twig_Extension_Debug if env is 'dev' 2018-10-15 17:34:10 +02:00
slawkens
eb93b08342 Update system/pages/admin/mailer.php 2018-10-15 17:28:59 +02:00
slawkens
048c40c16c
Update README.md 2018-08-15 08:00:55 +02:00
slawkens
33b871efa6 * fixed undefined config index from Twig autoloader 2018-06-27 00:01:04 +02:00
slawkens
2010094f83 * fixed multiple mail recipients when using admin mailer function
It resulted in mail being sent to all users multiple times..
2018-06-08 21:08:00 +02:00
slawkens
693e201900 * added ISSUE_TEMPLATE.md 2018-06-06 21:59:16 +02:00
slawkens
2333180c50 * configurable if deleted characters from account should be listed (this closes #49) 2018-06-06 21:17:41 +02:00
slawkens
915e9409dc * fixed #55 (Cache class not found) 2018-06-06 20:28:36 +02:00
slawkens
b6be3226c5 * nothing important .. (fixed some notices from IDE) 2018-06-03 20:26:30 +02:00
slawkens
b83cad36b6 * remove some unused png files from kathrine template 2018-06-03 20:26:29 +02:00
slawkens
fb1b9fea09 * stop using global $cache variable, use Singleton pattern instead 2018-06-03 17:09:21 +02:00
slawkens
45a387000d * optimize template load code (less file_exists checks) 2018-06-03 17:07:44 +02:00
slawkens
e6b052f8e9 * lowered condition execution cost 2018-06-03 17:03:53 +02:00
slawkens
6365105515 * replace Cache class name with self() 2018-06-01 19:53:57 +02:00
slawkens
550b664a61 * Environment is now configurable ('prod' for production, 'dev' for development)
Significantly better load times with 'prod' !!!
2018-06-01 19:12:48 +02:00
slawkens
510459b046 * support for database persistent and socket connections (performance boost) 2018-06-01 18:56:57 +02:00
slawkens
adbec47fad * silently ignore if status_interval is not set in config 2018-06-01 18:35:37 +02:00
slawkens
ae24a4ea4c * fixed that database_log was always on 2018-06-01 18:27:46 +02:00
slawkens
db67bb0b98 * new configurable: status_interval (how often to fetch status from server) 2018-06-01 18:23:48 +02:00
slawkens
857ce1324c * cache lastkills.php 2018-06-01 16:13:41 +02:00
slawkens
82d6467cee * new configurable: status_timeout 2018-06-01 16:04:23 +02:00
slawkens
887c792a76 * (internal) replace deprecated PDO_ attributes with PDO:: 2018-06-01 16:00:56 +02:00
slawkens
b3625dffbc * Fixed missing prefix for cache get() and delete() functions
Cause those functions to not work correctly..
2018-06-01 15:03:13 +02:00
slawkens
90cd5dfae7 * added missing highscores_balance configurable 2018-06-01 14:09:22 +02:00
slawkens
8ce791368c * fixed wrong name of the skill in highscores for balance (was showing "level" instead of "balance") 2018-06-01 13:59:47 +02:00
slawkens
05e15ce9ad * replace deprecated HTML <font> tag with <span> 2018-06-01 13:35:27 +02:00
slawkens
1926c5ec5b * change deprecated HTML <center> tag to <div style="text-align:center"> 2018-06-01 11:55:04 +02:00
slawkens
0bb1d869af * (internal) change intval() function to (int) casting (up to 6x faster) 2018-06-01 11:33:22 +02:00
slawkens
c654ea329c * replace "$twig->render()" with "$this->display" 2018-05-29 21:29:08 +02:00
slawkens
68d74a490b * performance and optimisations fixes part 2, according to awesome PHPStorm Php Inspections plugin! 2018-05-29 21:16:48 +02:00
slawkens
857aa110c8 * remove unnecessary parentheses in include/require (forgot this part) 2018-05-29 21:10:30 +02:00
slawkens
6ba24eebb0 * nothing important: changed some text 2018-05-29 21:09:20 +02:00