slawkens
03c7dd0002
Merge branch 'main' into feature/2fa
2025-08-12 14:36:29 +02:00
slawkens
b6e1620f14
Fix #318 (online.php throws error in one scenario)
2025-08-07 21:17:25 +02:00
slawkens
c836308601
pages/online: add cache, resulting in 20x performance boost
...
(for an example server with 2k players)
2025-07-31 13:28:46 +02:00
slawkens
0efe47ce71
Twig: add cache variable
2025-07-31 13:15:06 +02:00
slawkens
3b47e9df2f
Cache::remember: $ttl = 0 means no cache
2025-07-31 13:02:55 +02:00
slawkens
43415cf35d
Add missing $fillable into PlayerOnline model
2025-07-31 12:32:18 +02:00
slawkens
cf7fd20452
Mailer: send only to verified accounts (option)
2025-07-31 09:19:49 +02:00
slawkens
20d69a641c
Fix exception if setting not found
2025-07-24 23:30:28 +02:00
slawkens
2d4be327b2
Fix if highscores show outfit disabled
2025-07-24 23:07:49 +02:00
slawkens
bb097b69ce
Update settings.php
2025-07-22 22:06:32 +02:00
slawkens
6e5a4ff8c7
Fix if setting found in db, but not found in plugins
2025-07-22 21:49:05 +02:00
slawkens
caf326a658
Refactor to use HAS_ACCOUNT_COINS
...
$db->hasColumn('accounts', 'coins') -> HAS_ACCOUNT_COINS
2025-07-22 21:44:09 +02:00
slawkens
7d27e5a0ba
New setting: Default Account Transferable Coins
2025-07-22 21:32:51 +02:00
slawkens
d8132d4d76
Highscores revamp a bit
...
* Show real rank, if 2 or more players have the same skill, show them with same rank
* New setting: highscores_online_status
* Additional fields passed to twig: updatedAt, totalResults, page, baseLink
2025-07-22 18:18:29 +02:00
slawkens
1566deb84a
Add getExperienceForLevel (level)
2025-07-19 15:46:51 +02:00
slawkens
5271633bdb
Account -> isPremium -> ignore config.freePremium
2025-07-19 15:00:17 +02:00
slawkens
ce5b1cf2a6
Update CacheClearCommand.php
2025-07-19 11:16:55 +02:00
slawkens
83f84172e0
Add warning about APCu clear in CLI
...
Adds a warning message if attempting to clear APCu cache from the CLI, as this is not supported. Users are advised to use the Admin Panel for clearing APCu cache outside of development environments.
2025-07-19 11:16:03 +02:00
slawkens
34fead906e
Allow for timestamp as integer in the timeago twig function
2025-07-19 10:05:25 +02:00
slawkens
f0f2e3785f
Fix phpstan
2025-07-08 15:44:45 +02:00
slawkens
36ca755243
New setting: Display Skills Box on highscores
...
Better space management
2025-07-08 14:28:48 +02:00
slawkens
f17269e44c
Move admin bar code into body_start place_holder
2025-07-08 14:22:51 +02:00
slawkens
dcb96f4ce1
Refactor code - early exit
2025-07-08 13:48:33 +02:00
slawkens
a89f9a8484
Set $process_sections to true
2025-07-08 09:22:12 +02:00
slawkens
e435062025
[WIP] 2fa
2025-07-05 08:20:58 +02:00
slawkens
ecc9bd4042
Merge branch 'main' into feature/2fa
2025-07-01 14:18:38 +02:00
slawkens
c92148d467
Revert delete clearRouteCache, is used somewhere else
2025-06-27 07:23:22 +02:00
slawkens
047742848b
Delete clearRouteCache, was useless
...
Directory is cleaned already
2025-06-27 07:15:13 +02:00
slawkens
fe8281594e
Fix cache:clear command (missing init)
2025-06-27 07:13:33 +02:00
slawkens
0bff910a05
adjust command email:send + mail:send (alias)
2025-06-25 19:43:40 +02:00
slawkens
6d43fc181f
In case the script don't have install option, inform the user
2025-06-25 17:36:43 +02:00
slawkens
13d33822b5
Rename to plugin:setup, also add alias to previous command
2025-06-25 17:36:02 +02:00
slawkens
f78ebad136
Remove error number from 404 & 405 pages
2025-06-24 14:57:01 +02:00
slawkens
0da524fefe
Fix plugin install:install command
2025-06-23 00:21:41 +02:00
slawkens
797377e428
Replace TwoFactorAuth with self
2025-06-22 22:34:36 +02:00
slawkens
96b5df9d74
Merge branch 'main' into feature/2fa
2025-06-22 18:51:32 +02:00
slawkens
6cf4b9dac5
Fix xdebug warnings in load_config_lua
2025-06-22 18:51:20 +02:00
slawkens
b3dfc56c96
[WIP] Working 2fa email auth
2025-06-22 18:50:54 +02:00
slawkens
96d6e04bd2
Update 46-account_email_codes.sql
2025-06-22 13:19:29 +02:00
slawkens
9146eee327
Move
2025-06-22 11:55:34 +02:00
slawkens
3d97fa0719
Merge branch 'main' into feature/2fa
2025-06-22 11:45:21 +02:00
slawkens
566c2a9151
Move out of $cache->enabled
2025-06-22 08:48:24 +02:00
slawkens
a66cafceab
2fa: first draft
2025-06-22 08:34:30 +02:00
slawkens
0f48f12e2e
Update admin.plugins.outdated.html.twig
2025-06-19 18:53:11 +02:00
Slawomir Boczek
0ea247ce7e
Feature/plugins versions check ( #310 )
...
* Check plugins versions from plugins.my-aac.org/api
* Improve plugin update check messaging
Updated the success message when checking for plugin updates to clarify the source. Added an informational message when outdated plugins are found to improve user feedback.
* Use configurable API URI for plugin updates
Replaces hardcoded plugin API URI with a configurable value from config, defaulting to the official API. Also fixes a typo in the success message.
2025-06-19 16:46:22 +02:00
slawkens
b329da52aa
Use apcu_clear_cache
2025-06-17 17:52:23 +02:00
slawkens
c720ccc451
Add missing csrf()
2025-06-15 19:35:12 +02:00
slawkens
8dc42b6544
Nothing important: just formatting
2025-06-15 19:05:47 +02:00
slawkens
29faa4f695
Add missing csrf() in success.html.twig
2025-06-15 19:03:03 +02:00
slawkens
4767120043
Update online.html.twig
2025-06-14 21:19:52 +02:00