Commit Graph

770 Commits

Author SHA1 Message Date
slawkens
7378905ae8 New configurable: hooks_debug
To view where hooks are located in .twig files
Patching from 1.x
2026-01-30 22:51:14 +01:00
slawkens
ab89ccaaa7 Allow links in error_box 2026-01-30 22:50:15 +01:00
slawkens
d37c2e7720 Merge branch '0.8' of https://github.com/slawkens/myaac into 0.8 2026-01-30 22:48:00 +01:00
slawkens
6a1e6b470c Don't display hidden news for admin - it's confusing
Patching from 1.x
2026-01-30 22:46:02 +01:00
slawkens
0c69e59104 Merge branch '0.8' of https://github.com/slawkens/myaac into 0.8 2026-01-30 22:41:08 +01:00
slawkens
2e50f8f81c Fix $status['uptimeReadable'], was totally wrong 2026-01-30 22:40:58 +01:00
slawkens
ed8b36f452 Server Status: Write to status-error.log if there is connection error
Patching from 1.x
2026-01-30 22:38:19 +01:00
slawkens
63e0ce696e Fixed [player/guild/house] bb code in forum 2026-01-30 22:35:34 +01:00
slawkens
44c917aefa Account character list: Add [ DELETED ] for deleted characters 2026-01-30 22:34:33 +01:00
slawkens
0a930e9acb Account Manage: Change last login to correct login time
Instead of just "now"
2026-01-30 22:32:44 +01:00
slawkens
a76741c9da Remove html tags from email function (patched from 1.x)
Better score in tests
2026-01-30 22:29:44 +01:00
slawkens
63a99e0f92 Fix post_edit being an author, didn't worked 2026-01-30 22:24:09 +01:00
slawkens
e542e8a7ce Two new hooks for pages loaded from database (custom pages)
HOOK_BEFORE_PAGE_CUSTOM,
HOOK_AFTER_PAGE_CUSTOM
2025-05-31 22:08:28 +02:00
slawkens
149e10261b Add code to insert guild_ranks, incase guild trigger is missing 2025-05-28 23:09:24 +02:00
slawkens
5726c9fa94 Load hooks before twig, add new hooks: HOOK_TWIG + HOOK_INIT 2025-05-16 07:42:50 +02:00
slawkens
26b2c472cc Fix HOOK_LAST 2025-05-15 22:40:09 +02:00
slawkens
76440a37d0 New hooks for account characters change-comment page 2025-05-15 20:22:36 +02:00
slawkens
335b7b3112 Do not return -1 in case of freePremium, makes things harder 2025-05-14 09:22:22 +02:00
slawkens
6418b782a3 Update buttons.base.html.twig 2025-04-22 14:15:37 +02:00
slawkens
29a198bfce Display more info when error parsing config.lua value 2025-04-22 14:07:46 +02:00
slawkens
06a235237d Plugin name is required, version is optional 2025-04-22 14:05:10 +02:00
slawkens
9c15c2fa68 Add $db->hasTableAndColumns($table, $columns), credits to @opentibiabr Team 2025-04-22 14:03:25 +02:00
slawkens
4b9a7eaf85 Add noSubmit option to buttons.base 2025-04-22 13:44:45 +02:00
slawkens
89f537c8c2 getPremDays: returns -1 if freePremium 2025-03-15 23:00:01 +01:00
slawkens
d1c72b3240 Update exception.php 2025-01-27 21:45:59 +01:00
slawkens
7abc3c7833 Exception: better style - better showing of longer exceptions 2025-01-27 21:30:39 +01:00
slawkens
05827b7861 Typo 2025-01-27 21:29:57 +01:00
slawkens
c304a9ab43 Better exception handler, which clears the whole html output, so the message is better visible 2025-01-27 21:29:43 +01:00
slawkens
d390ea325e Fix exception $account->getName 2025-01-18 19:12:08 +01:00
slawkens
37ba9c7366 All $cache->set calls should have $ttl 2025-01-17 22:55:35 +01:00
slawkens
7c3ebf70fa Optimize $player->isOnline() function, thanks @gesior 2025-01-17 22:52:00 +01:00
slawkens
39b19ed4c8 Fix change sex price deducted 2025-01-09 09:42:09 +01:00
slawkens
580b888b1d Fix XSS in forum 2025-01-08 23:29:34 +01:00
slawkens
19d3e15c11 Fix move_thread by unauthorized user 2025-01-08 22:34:16 +01:00
slawkens
5a68d204bb Fix for TFS 1.4.2 where conditions is NULL 2024-12-29 15:38:02 +01:00
slawkens
e09fe51774 Set default_socket_timeout for ipinfo.io checkup 2024-12-26 08:53:40 +01:00
slawkens
3c4b19743f Linux is case-sensitive, made a mistake here, sorry! 2024-11-26 18:25:01 +01:00
slawkens
4658d1cb29 More obvious name for parameter in -> installMenus 2024-11-19 14:03:49 +01:00
slawkens
b25feaadf6 Fix includes 2024-11-19 14:03:02 +01:00
slawkens
2693db5f6f images/news is in the main folder 2024-11-19 08:21:06 +01:00
slawkens
8195b44061 require src/plugins.php 2024-11-19 07:46:16 +01:00
slawkens
035d0c1012 Add forward-compatible MyAAC namespace 2024-11-19 07:15:26 +01:00
slawkens
5a953ce901 Do not clear menus by default 2024-11-19 07:05:40 +01:00
slawkens
01660bd2b4 Fix for console displaying REQUEST_URI 2024-11-18 23:47:31 +01:00
slawkens
5b858c521a target_blank in template menus links 2024-11-18 23:47:11 +01:00
slawkens
d1c5a189c3 Add Plugins::installMenus function 2024-11-18 23:46:37 +01:00
slawkens
de1bb37bcb getGuildNameById($id) + getGuildLogoById($id) 2024-11-18 23:46:04 +01:00
slawkens
e0036a3e32 Syntactic sugar for db structure changes 2024-11-08 14:38:00 +01:00
slawkens
7f4737631d Add none vocation to highscores 2024-10-10 15:33:25 +02:00
slawkens
317505bf19 Add missing Validator::characterName check 2024-09-12 09:40:36 +02:00