556 Commits

Author SHA1 Message Date
slawkens
5abc08ba9d * fix "Notice: Undefined index: blesscount" in Player editor 2019-04-13 03:58:20 +02:00
slawkens
2164e9a5a0 * show error message if cache disabled and login failed 2019-04-13 03:30:30 +02:00
slawkens
c87100c0fe * "Clear cache" option in admin panel cleans now signatures and twig too 2019-04-13 03:18:53 +02:00
slawkens
6a167e99dc Add optional parameters to deleteDirectory function
($dir, $ignore = array(), $contentOnly = false)
2019-04-13 03:17:01 +02:00
slawkens
4d566500e9 Fixed guilds "Add new rank function"
Exception thrown in OTS_GuildRank::__toString() method

https://otland.net/threads/myaac-bug-guild-new-rank.263953/
2019-04-09 00:49:30 +02:00
slawkens
2dd51d0202 (nothing important) remove whitespaces.. 2019-03-19 11:17:37 +01:00
slawkens
862b58c176 (configurable) auto login after registration 2019-03-19 11:17:15 +01:00
slawkens
8c50a84516 Shortened some code 2019-03-18 20:00:33 +01:00
whiteblXK
7c8f87bd78 Changes in lastlogin from admin module 2019-03-16 20:13:17 +01:00
whiteblXK
ded5274be7 Modules in admin panel, thanks to Lee for the code 2019-03-16 19:03:00 +01:00
whiteblXK
d03989481b More changes to news admin 2019-03-16 10:33:08 +01:00
whiteblXK
dac59d3133 Move add/edit/delete/hide news to admin panel 2019-03-15 21:01:15 +01:00
whiteblXK
7a5333ba62 Small fixes in Team Page 2019-03-15 16:05:13 +01:00
whiteblXK
f8e9fe376b Fixed problem with displaying errors in admin - pages panel 2019-03-14 15:56:44 +01:00
whiteblXK
622122562f Team page - display outfits of the players (configurable) 2019-03-13 20:39:16 +01:00
whiteblXK
3fc8d01070 Move team page to twig template 2019-03-12 16:19:27 +01:00
whiteblXK
276f3a5516 Move lastkills/killstatistics to twig template 2019-03-11 17:51:43 +01:00
Lee
1859867039 Bug Fixes
-fix for getSkillTries as reported by whiteblXK
-fix for login and account type as reported by vG-
2018-12-30 01:00:26 +00:00
Lee
8c83eb805b vG- loss_mana bug fix (#67)
* loss_mana bug fix

vG loss_mana bug fix
2018-12-27 22:06:43 +01:00
Lee
2667d2b41c Updates + Fixes (#66)
* Updates

+added account editor country list
+added account editor website access flag editor.
+added player blessing1-8 editor
+added fav icon
+added $account->setLastLogin
+added $player->checkBlessings (for blessings 1-8)
+bug fixes

* Blessing Fix

Should now detect the amount of blessings if blessings1 onwards exists.
2018-12-26 11:32:58 +01:00
Lee
1b539f82ac Updates (#65)
* Updates

+Added missing images
+Added report viewer as requested by icekis
-Code cleanup

if strict db, need to set spell to null run

ALTER TABLE `myaac_spells` CHANGE `spell` `spell` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
2018-12-12 20:44:29 +01:00
Lee
876b1b988a Code clean up + datatables (#64)
* Reformat Code

Reformat Code
- spaces + tabs

* Code cleanup

removed duplicated datatables code

* Datatables

replace spells, monsters tables with JavaScript Sortable Tables (DataTables?)
2018-12-02 06:30:36 +01:00
slawkens
1f9aa96486 Accounts Editor: Fix if accounts.coins does not exists 2018-11-29 22:53:55 +01:00
slawkens
2d17116119 Always show Upload Plugin option with Select File 2018-11-29 22:52:04 +01:00
Lee
82fed8abfe Account fix (#63)
* Admin Panel

* fixes

-Code Clean Up
-Remove dist folder and merged into tools.

* Use Acc Name

Use Acc Name fix for login.

* Pull fix

* Dashboard fix

- Fix coins table
- Fix points table
2018-11-26 06:40:39 +01:00
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
Lee
6dab50cbd8 Admin Panel (#61)
Thank you Lee for this awesome, Bootstrap Admin Panel!
2018-11-22 07:12:14 +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
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
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
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
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
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
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