slawkens
085ebbcfde
All $cache->set calls should have $ttl
2025-01-12 17:13:25 +01:00
slawkens
e918591666
Ignore PhpStan error
2025-01-09 22:59:02 +01:00
slawkens
175c2a1f89
Fix PhpStan
2025-01-09 22:52:30 +01:00
slawkens
3b5be1a8db
Add player->outfit_url attribute
2025-01-09 22:41:34 +01:00
slawkens
c769962e39
Refactor getTopPlayers function
...
* Option to getTopPlayers by balance
* use Cache::remember
2025-01-09 22:40:57 +01:00
slawkens
8e501c0e9c
Shorten code with Cache::remember
2025-01-09 15:50:33 +01:00
slawkens
c52ca27126
Fix if someone deletes the default kathrine template
2025-01-09 15:41:22 +01:00
slawkens
eb4b3ada49
Adjust post_ip to support ipv6
2025-01-09 13:10:04 +01:00
slawkens
68bdec7c18
Fix ip size
2025-01-09 13:06:33 +01:00
slawkens
8a612429b2
Use $db->insert instead of manual query
2025-01-09 13:03:55 +01:00
slawkens
16671ea40b
Fix change sex price deducted
2025-01-09 09:44:12 +01:00
slawkens
8fb643596f
Fix more XSS in forum
2025-01-08 23:22:51 +01:00
slawkens
c2b7286d20
Fix XSS in forum new_post
2025-01-08 23:13:40 +01:00
slawkens
d6c40c836a
Fix move_thread by unauthorized user
2025-01-08 22:36:49 +01:00
slawkens
99262c3ebd
Fix DataLoader Towns cache
2025-01-07 15:03:39 +01:00
slawkens
b8396d4c84
Fix for TFS 1.4.2 where conditions is NULL
2024-12-29 15:46:02 +01:00
slawkens
b0c8cf2ecd
Add $whoopsHandler as variable, can be used by other scripts
2024-12-29 15:45:33 +01:00
slawkens
da1816cc13
use https
2024-12-20 22:42:46 +01:00
slawkens
783d96fc65
Set default_socket_timeout for ipinfo.io checkup
2024-12-20 22:42:35 +01:00
slawkens
8e0978c1ed
Adjustments regarding accounts.id in admin panel -> Accounts editor
...
getAccountIdentityColumn() function
2024-12-19 22:32:05 +01:00
slawkens
023f1dc598
Support for accounts.id when there is no accounts.name and accounts.number
2024-12-19 21:52:05 +01:00
slawkens
06188be6e1
Fix $vocs not found
2024-12-07 13:52:52 +01:00
slawkens
2c42de688a
Fixes to tibiacom menus ActiveSubmenuItem
2024-12-07 10:28:01 +01:00
slawkens
65adf9ccdd
Load deprecated classes + add Cache class
2024-12-03 20:12:03 +01:00
slawkens
bc6663dc44
Fix online vocations numbers, thanks Marko999x
2024-11-25 20:28:00 +01:00
slawkens
e3ffe5d9e1
Display warning if zip extension is not installed
2024-11-23 14:29:16 +01:00
slawkens
c0a66037e0
Fix column not found - hidden/hide
2024-11-22 16:04:48 +01:00
slawkens
27c44f1bdf
schema: Change character set to utf8mb4 (support for Emojis in Menus/Pages/News/Forum etc.)
2024-11-22 15:52:54 +01:00
Slawomir Boczek
3f6ff3a332
Feature migrations up/down ( #270 )
...
* Migrations up down
* Add forum model
* Syntactic sugar for db structure changes
* Refactor migrations with $up & $down
* Fix migrations upgrade and downgrade
+ Add option to disable auto migrate
* Add migrate:to command
Usage: php aac migrate:to x (x - database version)
* Show error when mail is not enabled
* Fixes regarding to init.php
* Add migrate command to manually upgrade db, incase auto migrate is disabled
* Fixed rest of the migrations
* Limit max version of database
* Don't allow minus number
* Option to clear specified plugin settings by name
* Version is required
* Fix PHPStan errors
* Unset $up after migration, to prevent executing same migration twice
* Add database version to output
* This is not needed
* Update 5.php
* Set database_auto_migrate on install
* Set blank & color only if current db version supports it
* Fix duplicate function declaration
2024-11-22 15:29:23 +01:00
slawkens
79636280a7
Move current password input to the top, makes more sense
2024-11-19 20:55:53 +01:00
slawkens
afb055f2dc
More obvious name for parameter in -> installMenus
2024-11-19 14:21:15 +01:00
slawkens
6f58df0467
Update twig.php
2024-11-19 14:08:27 +01:00
slawkens
95343cec02
Change to str_contains
2024-11-19 14:08:24 +01:00
slawkens
8055785c81
Fix installMenus function
2024-11-19 07:48:52 +01:00
slawkens
64e4c08950
MyAAC\Cache
2024-11-19 07:19:43 +01:00
slawkens
12d8faa3ed
Do not clear menus by default
2024-11-19 07:05:27 +01:00
slawkens
1e6892971b
Change spaces to tabs
2024-11-19 07:03:06 +01:00
slawkens
8ae22accc9
Fix for console displaying REQUEST_URI
2024-11-18 23:49:26 +01:00
slawkens
a2fadc5945
Fixes to installMenus function
2024-11-18 23:48:03 +01:00
slawkens
84d37c5a8f
Allow OTS_Player to be passed as object to getPlayerLink
2024-11-17 18:07:10 +01:00
slawkens
bab565fbd0
Update init.php
2024-11-12 22:01:15 +01:00
slawkens
36bd3eb846
New hooks for news management
...
Can be used for example as discord hooks
2024-11-12 22:01:00 +01:00
slawkens
85bc2342cf
Fix missing bracket opening
2024-11-12 21:03:43 +01:00
slawkens
507402171b
Patching from master some small adjustments (Account Logs typo + forum new thread show button by @anyeor)
2024-11-12 21:01:14 +01:00
slawkens
941846605c
Prefer get_browser_real_ip() over REMOTE_ADDR
2024-11-12 20:59:51 +01:00
slawkens
a4a2480995
Add None vocation to highscores (can be changed to RookStayer in Admin Panel)
2024-11-12 20:51:45 +01:00
slawkens
ddced132cf
Fix if highscores_vocation box is disabled causing Choose a vocation dropdown to fail
2024-11-12 20:42:06 +01:00
slawkens
749e8e6f02
Fix choose a skill dropdown
2024-11-11 22:04:06 +01:00
slawkens
7d787b4566
Update database.php
2024-11-10 20:25:46 +01:00
slawkens
7e67e11e16
More understandable argument name
2024-11-10 20:25:42 +01:00