414 Commits

Author SHA1 Message Date
slawkens
94b145b215 New class: DataLoader (loads data from server)
Also combined some code responsible for loading server data
2020-10-09 23:37:24 +02:00
slawkens
b5736ad559 Rename items.php to server data.php 2020-10-09 22:29:19 +02:00
slawkens
ab3912b378 Save towns as plain PHP File in cache folder
+ Also load them on install + on reload items
= better performance when in dev mode
2020-10-09 22:27:48 +02:00
slawkens
3090989dea Fixed accounts editor for OTServ, which dont have accounts.group_id 2020-10-09 00:37:28 +02:00
slawkens
92314b8dac Fix some PhpStorm editor error message 2020-10-09 00:36:47 +02:00
slawkens
c30300c368 New configurable: item_images_extension 2020-10-08 00:13:35 +02:00
slawkens
602a4aa835
Feature/experience stages twig (#135)
* Move Experience Stages to Twig

* Change name to underline (standard)

* Update system/pages/experiencestages.php

Co-authored-by: whiteblXK <krzys16001@gmail.com>

Co-authored-by: whiteblXK <krzys16001@gmail.com>
2020-08-24 19:36:43 +02:00
slawkens
289dd3c170 New configurable: guild_description_default 2020-07-14 01:05:09 +02:00
slawkens
de1d6b9629 Fix #131
(cherry picked from commit fcff820858dca3e8d2692e9bfee27ea89c8b9727)
2020-07-07 00:54:34 +02:00
whiteblXK
722264a083 Added limit to search characters (#134)
* Update characters.php

* Update config.php

* Variable name change, better use LIMIT in query instead in loop

* Just to be sure. Security first :)

* use config function

Co-authored-by: slawkens <slawkens@gmail.com>
(cherry picked from commit dc536f0fc01862f052d5edee29ac188ac63fcf66)
2020-07-07 00:54:29 +02:00
slawkens
357d487af7 Change hasTable -> hasColumn 2020-07-07 00:15:54 +02:00
whiteblXK
1b802b040d Fixed bug with showing hidden character
(cherry picked from commit f3061a0e74c19a75fda59a69a47a07fd757f671c)
2020-07-07 00:02:33 +02:00
slawkens
25afbd935c Fix #132
(cherry picked from commit d4222e98e604592a9453a8ccde8ad2d7c28b85eb)
2020-07-03 23:25:08 +02:00
slawkens
03467ea64e Update change_password email to be more informal 2020-06-06 19:51:17 +02:00
slawkens
7469d520c9 Add $member var annotation 2020-06-06 17:13:51 +02:00
slawkens
5250b3189b Fix #126 (Max count and chance not shown) 2020-05-27 22:21:45 +02:00
Lee
e2ab301340 Update version.php
- removed extra line that is added when using a newer version than official release.
2020-05-25 23:33:06 +01:00
slawkens
af85a8b711 Display "Unknown Town" when town not found 2020-05-25 00:15:30 +02:00
slawkens
b3556c008e Add note which template menus are being edited 2020-05-24 19:34:48 +02:00
slawkens
e84933cf26 Ignore index.html in logs viewer 2020-05-10 11:45:04 +02:00
slawkens
d148b71f0f Fixes in create new character nick
+ fixed config.character_name_min/max_length being ignored in change_name.php
2020-05-09 14:07:53 +02:00
Lee
d281fc588b Fixes
-As requested the datatables and bootstrap files have been moved into the tools folder
-Fixed spells and creatures datatable.
-Double space in name fix.
2020-05-07 01:36:56 +01:00
slawkens
df59b104db Fix cancel change email request
Thanks to OtLand user anyeor
2020-04-21 00:22:50 +02:00
slawkens
ee6e68d0bf Fix exception when characters.frags enabled on TFS 1.x 2020-04-20 22:35:41 +02:00
Lee
d7333b3f21 Update accounts.php
Fix for accounts.php type not found.
2020-04-06 15:08:52 +01:00
Lee
375bd58a0c Admin Update
-Account limit fix
-Player editor full player table.
2020-04-02 20:54:20 +01:00
Lee
cddd915adf Admin fixes
-login/logout error fix
-debugging code removed
2020-04-02 18:44:15 +01:00
Lee
a0afeb2a7a Update accounts.php
-Bans table error
-Fix for #114
2020-04-02 14:52:38 +01: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
b7bb570420 Fix change info when config.account_country is disabled
Some PHP warnings and notices
2020-03-14 14:24:14 +01:00
slawkens
d94499af86 Fix displaying spells when level = 0 2020-02-29 23:14:42 +01:00
slawkens
7424901aca Change tooltip css class to item_image (bootstrap conflict) 2020-02-28 21:50:21 +01:00
slawkens
044271ad00 Change button look 2020-02-25 21:35:09 +01:00
slawkens
b8130d3fd3 Fix class name in highscores 2020-02-25 20:36:14 +01:00
slawkens
4468f3dd37 Add some notice 2020-02-25 20:36:04 +01:00
slawkens
0c9219f885 Fixed CHANGELOG.md loading in Admin Panel 2020-02-25 10:33:57 +01:00
slawkens
09db8e072e
Fix typo 2020-02-18 15:16:29 +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
f3ddf631c1 Fix typo 2020-02-15 23:13:35 +01:00
slawkens
518ae4d97a * don't install plugin when requirements are not satisfied 2020-02-15 22:41:52 +01:00
slawkens
ee9e939f88 Fix highscores online status for TFS 0.3/0.4
And all distributions, where players.online column is present
2020-02-15 08:27:06 +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
b61c6151eb This was wrong, Mr. @whiteblxk
As its not accounts table but players :)
2020-02-12 23:45:43 +01:00
slawkens
13d0718780 RuntimeException instead of die() 2020-02-12 23:20:16 +01:00
slawkens
f475c671f7 Add enable_tinymce option to Pages editor 2020-02-11 01:02:46 +01:00
slawkens
8345b839e7 Add info if PHP is enabled on the admin pages 2020-02-11 00:37:42 +01:00
slawkens
72c79e005a Add some new hooks for the account/create page
Also moved some account-create text to plugins
2020-02-10 23:07:23 +01:00
slawkens
059b8824a2 Fix function name 2020-02-07 00:22:59 +01:00
slawkens
a03a8bf0d5 Fix #51 2020-01-22 00:33:50 +01:00