slawkens
dfd78b9735
Merge branch 'develop' into feature/settings
2021-03-05 10:10:51 +01:00
Lee
a1c7c2768c
Delete char with house #149
...
oops, didn't mean to submit that last push, I hadn't added the empty check. (noob moment)
quick fix for #149
2021-02-02 14:42:30 +00:00
Lee
565e6e3a3d
Delete char with house #149
...
Patch to stop players deleting themselves if they have a house
Fixes #149
2021-02-02 14:13:36 +00:00
slawkens
81b293a5a6
Fixes to character name validation
...
Admin should be able to create any name
Also fixes to config.character_name_min_length being ignored
2021-01-20 18:02:07 +01:00
slawkens
8b41e144f8
Open/Closed Website Status now changes dynamically
2021-01-18 02:17:39 +01:00
slawkens
a41f653e05
Move Admin module statistics to Twig
2021-01-18 02:00:46 +01:00
slawkens
b399bee3ac
Cancel button should return to menus main screen
2021-01-18 01:47:56 +01:00
slawkens
8f88c82a13
Add "table-responsive d-md-table" class
...
Makes tables in admin panel responsive
2021-01-18 01:47:11 +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
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
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
98b1d854f9
Refactor some line
2020-12-30 00:24:14 +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
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
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
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
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
6f74029d76
Update spells.php
...
$canEdit was removed in a previous git.
Removing this fixes the error.
2020-11-06 14:18:08 +00:00
slawkens
cf2c5e36bc
Feature/better highscores ( #141 )
...
* Move highscores to twig
* Add highscores frags for TFS 1.x
* Change $config to config()
* Cache highscores
The most asked and long awaited feature? :>
* Fix highscores_per_page and rename configurable
* Fix next page link (some typo)
* Fix too many players being shown
* Fix when changing config.highscores_per_page
* Update system/pages/highscores.php
Co-authored-by: whiteblXK <krzys16001@gmail.com>
Co-authored-by: whiteblXK <krzys16001@gmail.com>
2020-11-02 23:34:29 +01:00
slawkens
5d5875d540
Bans page working for TFS 1.x + move to Twig ( #140 )
...
* Bans page working for TFS 1.x + move to Twig
* Remove some debug code
* Add some protection
* Better check.
2020-10-30 06:52:50 +01:00
slawkens
9fe419cfe7
Creatures and monsters are now reloaded in Admin Panel
2020-10-27 07:33:21 +01:00
slawkens
42a628731d
move characters link to twig
2020-10-27 07:24:21 +01:00
slawkens
928de13459
Fix two boxes being show on email_change_cancel
...
(cherry picked from commit 8518afe70d7c0c2f79a4a3b21028509be7373e67)
2020-10-12 22:31:31 +02:00
slawkens
65b4b2d183
Rename file to admin.data.html.twig
2020-10-09 23:38:33 +02:00
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
6edc90c82c
Add email + password fields as type
2020-06-20 08:48:31 +02:00
slawkens
084e191b28
Add Sections + Add setting($key) function
...
Reorganisation
2020-06-09 23:48:31 +02:00
slawkens
fa0de1c413
Settings [WIP]
...
New Settings class
New Plugins::load() method
Move config.php to settings.php
MyAAC Settings will have plugin_name = 'core'
Add compat_config.php
2020-06-09 01:39:55 +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