slawkens
7181b988e9
Add TwigTypeCastingExtension
...
Useful for casting variables in Twig
2024-04-08 07:35:48 +02:00
slawkens
191ad25eb2
Use word-break: break-all in guilds description + character comment
2024-02-16 20:39:40 +01:00
slawkens
ba537b42bb
Remove 31.php migration -> was for develop branch
2024-01-30 18:23:20 +01:00
slawkens
e26e6f3a1c
Silently ignore if the hook does not exist
2023-12-28 19:12:47 +01:00
slawkens
ee32384dca
Seems there was more XSS in bugtracker
2023-12-08 23:45:13 +01:00
slawkens
483155cf4c
Prevent session fixation
2023-11-27 23:16:51 +01:00
slawkens
55dbade8d5
Fix XSS in forum
2023-11-27 22:58:24 +01:00
slawkens
d1bc63d07a
Fix forum XSS
2023-11-27 22:58:00 +01:00
slawkens
83a91ec540
Fix XSS in bugtracker.php
2023-11-27 20:28:43 +01:00
slawkens
538076bc45
My fault
2023-09-26 22:00:45 +02:00
slawkens
4327b66f91
Clear some additional cache keys
2023-09-26 20:45:50 +02:00
slawkens
765886f0c7
Add latest clients versions
2023-08-31 14:20:49 +02:00
slawkens
8ea78a5852
thanks @elsongabriel, seems str_contains is not available in php 7
2023-08-25 20:45:45 +02:00
slawkens
063cbab93e
Allow hooks to be prefixed with HOOK_
2023-08-23 12:00:03 +02:00
slawkens
f1670f4012
Patching from develop - twig context for hooks
2023-08-21 12:25:53 +02:00
slawkens
1e874c7027
Fixed not working links from database, introduced in 0.8.10
2023-08-07 21:45:56 +02:00
slawkens
a338fd967c
Removed deprecated functions: utf8_encode & decode
2023-08-05 19:58:52 +02:00
slawkens
8796ff7e72
Remove whitespaces
2023-08-05 19:58:20 +02:00
slawkens
a8172a518f
Add some functions to compatibility layer of gesioraac
2023-08-05 19:58:04 +02:00
slawkens
7a546e5a41
There is no more info. That never worked.
2023-07-29 07:26:03 +02:00
slawkens
5f7a9154b7
Thanks @anyeor for previous fix
2023-07-11 11:17:18 +02:00
slawkens
0d52978d9f
Fix: cannot create topic on this board (check wasn't working)
2023-07-11 11:15:58 +02:00
slawkens
df48363ea4
Shorten some forum code about length
2023-07-07 17:15:13 +02:00
slawkens
34725e0257
Forum: better error messages (Suggested by @anyeor)
2023-07-07 14:34:26 +02:00
slawkens
df321154f6
Fix guild description on guilds page
2023-07-02 13:47:32 +02:00
slawkens
f2a3ec1185
Fix guild description not shown
2023-06-30 19:53:16 +02:00
slawkens
ce4aed0f17
Add word-break on forum thread & reply
...
When someone inserts long word, is will break into multiple lines
2023-06-30 19:32:47 +02:00
slawkens
e4c4990e7f
Forum: Fix quote and edit post buttons not being shown
2023-06-30 15:46:25 +02:00
slawkens
4f1235bfe9
Fix twig exception thrown when player does not exist
2023-06-28 15:15:14 +02:00
slawkens
59a149c253
Move <base href> above, so it works, thanks @Leesneaks
2023-06-27 18:15:54 +02:00
slawkens
563099f290
Revert "<base> is not working properly, use full URL instead"
...
This reverts commit fa015b8d39d926aa0bc3ea2f59577afa22174c51.
2023-06-27 17:44:19 +02:00
slawkens
3732bf988d
More changes to deleted characters (Account, guilds)
...
Account: Cannot change name, comment, gender
+ Cannot be deleted if owns a guild
Guilds: Cannot create, cannot be invited, cannot accept invite, cannot be passed leadership to
2023-06-27 17:41:04 +02:00
slawkens
ab964fa1de
Important fix: Not allow create char if limit is exceeded (by @anyeor )
...
Could have been used to spam database, now it doesn't ignore deleted characters
He is not my brother :P Just same last name
2023-06-27 15:02:28 +02:00
slawkens
b5c694224e
code formatting
2023-06-27 14:50:44 +02:00
slawkens
b574a29331
Better Gesior support
2023-06-22 22:15:18 +02:00
slawkens
6593e32d83
Change title to "Support in game"
2023-06-19 08:04:46 +02:00
slawkens
b09adc836d
Nothing important, just some comments and small code style fixes
2023-06-19 08:03:47 +02:00
slawkens
dcf9a45974
Do not display warning if HTTP_ACCEPT_LANGUAGE is not set
2023-06-19 08:01:35 +02:00
slawkens
21258313ef
New function Cache::remember($key, $ttl, $callback)
2023-06-19 08:01:11 +02:00
slawkens
f851fa3845
New characters page hooks
...
HOOK_CHARACTERS_BEFORE_SKILLS
HOOK_CHARACTERS_AFTER_SKILLS
HOOK_CHARACTERS_AFTER_QUESTS
HOOK_CHARACTERS_AFTER_EQUIPMENT
HOOK_CHARACTERS_BEFORE_DEATHS
2023-06-19 08:00:54 +02:00
slawkens
2fdd507902
Display warning if hook file does not exist
2023-06-19 08:00:11 +02:00
slawkens
b850e56ff1
Use $i for hooks, easier compare
2023-06-19 07:47:49 +02:00
SRNT-GG
8d10082179
WIP - Removing unneccessary closing tags to prevent potential issues. ( #223 )
...
* Part 1
Removing closing tags when no HTML or other output comes after the last PHP codeblock.
* Further removals
* nothing
---------
Co-authored-by: slawkens <slawkens@gmail.com>
2023-06-15 20:53:55 +02:00
slawkens
fa015b8d39
<base> is not working properly, use full URL instead
2023-06-02 15:26:09 +02:00
slawkens
4b4864561c
Better news back button
2023-06-01 11:23:28 +02:00
slawkens
475cea8549
Change button style (characters - view)
...
was causing issues in other templates
2023-06-01 09:57:20 +02:00
slawkens
760214fdbd
Init $account_logged, if no logged
2023-06-01 08:52:22 +02:00
slawkens
c261c6ba48
Add line & file to exception handler
2023-05-29 08:19:58 +02:00
slawkens
7e13b62b8f
Fix Twig error on create account
2023-05-18 19:06:50 +02:00
slawkens
e081a67589
Print more info if character cannot be created
2023-04-12 12:52:05 +02:00