slawkens
717b5fdd15
Add compat Gesior classes
...
To allow more custom pages be used with myaac
2022-09-27 10:06:03 +02:00
slawkens
2563583f84
Merge branch 'develop' into feature/login-by-email
2022-05-31 12:25:26 +02:00
slawkens
82b41d4df5
Add browsehappy code
2021-12-22 07:03:34 +01:00
slawkens
02f993baea
feat: Login By Email
2021-05-01 10:16:43 +02:00
slawkens
e3f2abc06e
Fix parsing empty strings in config.lua (with comments)
...
(cherry picked from commit eed490507c83518812451e0ba50b23d5a2914ab0)
2021-02-13 22:57:11 +01:00
slawkens
ebe900fca8
Ignore arrays in config.lua (fixes experienceStages loading)
...
In future we want to parse arrays too, this is just a temporary solution
Thread: https://otland.net/threads/myacc-problem.274795/
2021-02-13 21:53:40 +01:00
slawkens
98bd51436b
Unified naming
2021-01-07 11:47:57 +01:00
slawkens
af161b5143
Fix: PHPMailer is included through composer now
2021-01-04 19:17:07 +01:00
Lee
8c06bd1738
function Truncate added
...
missing function added to functions lib.
2021-01-04 12:42:13 +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
Lee
06e864c954
added between()
...
Added missing function from creature update.
2020-12-29 17:36:16 +00: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
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
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
7814636caf
Added custom_functions file
...
Added a custom functions file for users to include any of their custom functions.
2020-11-06 14:16:54 +00:00
slawkens
abfd2c94f5
Move template_header and change_template to twig
2020-10-18 06:54:54 +02:00
slawkens
c30300c368
New configurable: item_images_extension
2020-10-08 00:13:35 +02:00
slawkens
dedb96ef4a
Fix for CloudFlare IP detection
...
(cherry picked from commit b3b6d0ff5de763bd7ec8be73fc5ef8e03b8e4601)
2020-07-03 20:39:20 +02:00
slawkens
8de8ad13bf
Fix message() function when executed in CLI
2020-06-01 08:39:13 +02:00
Lee
eaa11c68f3
Admin Panel Updates
...
- Updated Admin Panel to Bootstrap 4.
- Code cleanup
- Rewrote menu generation code
- Added top 10 coins, top 10 premium points, last 10 logins to modules page.
- Added full account list to Account editor
- Added load outfits from XML to player editor and lists all enabled outfits in editor (will default to textbox if array of outfits do not exist)
- Added tabs to account editor - account, characters,store history, bans(this is based off the bans.php page so will not work on TFS 0.2/1.0)
- Updated datepickers to display the actual date rather than unix time.
- Added last 10 posts to player editor
2020-03-31 02:03:16 +01:00
slawkens
fcfad7cef9
Fix #108
2020-02-28 22:11:04 +01:00
slawkens
7424901aca
Change tooltip css class to item_image (bootstrap conflict)
2020-02-28 21:50:21 +01:00
slawkens
8c680608ff
Fix more PHP warnings and notices
2020-02-28 21:49:47 +01:00
slawkens
ad570688c9
Add cache/plugins to clearCache functions
2020-02-22 16:24:16 +01:00
slawkens
9b3dbdc54f
Save mailer error messages to file (always)
...
Filename: mailer-error.log
This will help debugging mail sending for new users
2020-02-15 23:57:15 +01:00
slawkens
8021308822
Update Twig from 1.35.0 to 1.42.4 (PHP 5.5 is now required!)
...
This fixes some errors on PHP 7.4 and contains even more fixes
Also bumped PHP version to 5.5 as Twig requires it.
2020-02-15 05:41:38 +01:00
slawkens
2dbf189f43
Use $db->exec where appropriate
...
May bring some performance boost (little, but still)
2020-02-15 03:15:53 +01:00
slawkens
82e64559a8
Cache newses for 1 hour
...
+ Merge News classes into one and move to separate file
2020-02-15 02:47:53 +01:00
slawkens
d0d77b8775
Fix index.html deleting on cacheClear()
2020-02-15 02:40:16 +01:00
slawkens
13d0718780
RuntimeException instead of die()
2020-02-12 23:20:16 +01:00
slawkens
1ab32ca3ba
New functions: getCustomPage() and getCustomPageInfo()
2020-02-11 01:00:42 +01:00
slawkens
08f011eb33
New configurable: smtp_debug
2020-02-03 20:48:11 +01:00
tobi132
fba9f66a1f
Fix for othire not finding lookaddons column
2019-12-03 01:31:35 +01:00
tobi132
ed14f9ada0
Add optional $params param into log_append (will log arrays)
2019-10-17 12:07:08 +02:00
tobi132
9250f20559
Add get outfit to getTopPlayers (required very often)
2019-10-17 12:06:38 +02:00
tobi132
d8a70a3da6
Optimizations
2019-07-23 07:45:35 +02:00
tobi132
813de7eb3c
Add configLua function
2019-07-23 07:45:21 +02:00
tobi132
410c15c997
Fixed getItemNameById function
...
Please reload your items in admin panel to make it work
2019-07-23 07:45:03 +02:00
Evil Puncker
af1a6cf5ff
Updated copyright year and SSL link
...
Updated year to 2019 and made all my-aac.org links go to SSL by default
2019-07-17 20:22:07 -03:00
slawkens
14cb37725e
* new configurable: footer_show_load_time
2019-04-24 11:50:28 +02:00
slawkens
fc3bd432ef
* simply ignore notice if key does not exist on config()
2019-04-24 11:23:18 +02:00
slawkens
7b1989cef2
* add clear_cache.php bin command
2019-04-23 23:50:54 +02:00
slawkens
3febb340d4
* removed duplicated jquery declarations
...
This fixes some stranges errors with javascript being triggered on website
for example: not working color changes on Menus page when clicking on Add New button
2019-04-13 04:04:25 +02:00
slawkens
6a167e99dc
Add optional parameters to deleteDirectory function
...
($dir, $ignore = array(), $contentOnly = false)
2019-04-13 03:17:01 +02: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
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
fb1b9fea09
* stop using global $cache variable, use Singleton pattern instead
2018-06-03 17:09:21 +02:00
slawkens
05e15ce9ad
* replace deprecated HTML <font> tag with <span>
2018-06-01 13:35:27 +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