slawkens
56e501f8f6
Update StatusService.php
2025-03-16 22:21:00 +01:00
slawkens
8e86b8c015
Move admin code to App\Admin class
...
Removed old myaac_admin_menu code
Add logged() + accountLogged() functions
2025-03-16 19:18:25 +01:00
slawkens
18ac8537c7
Merge branch 'develop' into feature/app-rewrite
2025-03-16 12:40:40 +01:00
slawkens
29207361b7
Merge branch 'main' into develop
2025-03-16 12:39:32 +01:00
slawkens
6fac883659
Replace links with from accountmanagement to account/manage
2025-03-16 12:39:07 +01:00
slawkens
13b8fcf454
Avoid globals where possible
...
$logged => logged()
$account_logged => accountLogged()
2025-03-16 12:36:22 +01:00
slawkens
a71f41193c
Replace $logged & $account_logged
2025-03-16 09:41:41 +01:00
slawkens
d77e3b3db0
Update forum.php
2025-03-16 09:41:08 +01:00
slawkens
8857c30c7b
Make $sections global
2025-03-16 09:41:02 +01:00
slawkens
31d2a3bde8
Make $action global (required by many scripts)
2025-03-16 09:40:52 +01:00
slawkens
b047f73fe6
Fix app instance + $logged and $account_logged globals+ $menus
2025-03-16 09:23:30 +01:00
slawkens
613b710d29
Replace with get('groups')
2025-03-16 08:43:18 +01:00
slawkens
fddb18d412
Move ->load into App.php and other fixes
2025-03-16 08:41:46 +01:00
slawkens
deb8745ca1
Merge branch 'develop' into feature/app-rewrite
2025-03-15 23:23:49 +01:00
slawkens
25013ae91b
Merge branch 'main' into develop
2025-03-15 23:09:14 +01:00
slawkens
4a6896b446
getPremDays: returns -1 if freePremium
2025-03-15 22:48:59 +01:00
slawkens
d2dbe2dd72
Cleanup
2025-03-15 18:10:13 +01:00
slawkens
c2516c3b6b
Fix migrate command
2025-03-15 18:10:04 +01:00
slawkens
32cdb51812
Fixes to account logged
2025-03-10 10:45:39 +01:00
slawkens
c357f392a0
[WIP] App rewrite
2025-03-09 22:39:16 +01:00
slawkens
c336569684
Fix twig bridge
2025-03-09 21:43:21 +01:00
slawkens
2ad828a340
Merge branch 'develop' into feature/app-rewrite
2025-03-09 21:41:52 +01:00
Slawomir Boczek
cb6e9a6a88
Feature/twig hooks filters ( #258 )
...
* feat: Hooks filters
* Cleanup
2025-03-09 21:39:37 +01:00
slawkens
015585a79b
Merge branch 'develop' into feature/app-rewrite
2025-03-09 21:34:06 +01:00
Slawomir Boczek
7312383f73
Account actions rework on ip (Use single column for IP - VARCHAR(45)) ( #289 )
...
* Account actions rework on ip (Use single column for IP - VARCHAR(45))
* No foreach needed here
2025-03-09 21:18:12 +01:00
slawkens
2c59c4d8f7
feat: Rewrite of the core: avoid globals where possible
...
Create services for: login, status, router, database, AnonymousStatistics
Drop gesior.backward_support
Drop compat/pages.php
Drop part of compat/classes.php
Move signature to routes
2025-03-09 14:41:41 +01:00
slawkens
c2f55791c0
Nothing important, just better code style
2025-03-03 20:07:59 +01:00
slawkens
3c1210fefa
Nothing important, just better code style
2025-03-03 20:07:54 +01:00
slawkens
464492d826
Update OTS_Account.php
2025-02-26 16:16:45 +01:00
slawkens
887b5068ad
Fix house links
2025-02-15 12:15:35 +01:00
slawkens
4c5cc8b573
Change monster link to $_GET ?name=
2025-02-15 12:03:44 +01:00
slawkens
529bdcf016
Use latest outfit-images host from @gesior
2025-02-12 18:20:24 +01:00
slawkens
aa52df6e2e
Fix menu colors once again, plus add !important tag
2025-02-09 20:54:47 +01:00
slawkens
ed89b99cd1
Addition to previous commit, allow list types with spaces
2025-02-09 01:29:32 +01:00
slawkens
9d7fc98e1e
Fix if vocation name has more words
2025-02-09 01:16:15 +01:00
slawkens
f646856e20
Unification of the variable menu_default_links_color
2025-02-09 01:02:14 +01:00
slawkens
f97f8cbe87
Move admin.menus.header html to twig
2025-02-09 00:47:46 +01:00
slawkens
d5dd7297b5
Fix deprecation warnings from jquery
2025-02-09 00:03:39 +01:00
slawkens
73de93a561
Rework menus: Different categories can have different colors
2025-02-08 23:56:58 +01:00
slawkens
ae1161d770
Add template_name to twig variables
2025-02-08 23:43:15 +01:00
slawkens
4b6024dc45
Save settings in a transaction
2025-02-02 22:36:18 +01:00
slawkens
28fef952f8
feat: Settings: enable Save button only if changes has been made
2025-02-02 22:36:17 +01:00
slawkens
4fda4f643b
feat: Settings: password input with hide/show options
2025-02-02 21:55:16 +01:00
slawkens
19686725dc
Add HOOK_INIT, executed just after $hooks are loaded
2025-02-02 16:17:49 +01:00
slawkens
b46ddb43d0
Twig session(key) function + reworked session functions to accept multi-array like in Laravel
...
Important: getSession returns NULL now instead of false if session value not found
2025-02-02 16:16:59 +01:00
slawkens
de468a8dcd
Fixed need to click on button second time
2025-02-02 14:22:57 +01:00
slawkens
ea51ad27c3
Fix online status + vocation for TFS 0.x
2025-02-01 00:35:22 +01:00
slawkens
4d749b8815
Fix error in CLI, where BASE_URL is not defined
2025-01-24 21:42:52 +01:00
slawkens
a45ceab83a
Make players.comment and guilds.description VARCHAR
2025-01-22 21:44:58 +01:00
slawkens
669c447fca
Fix hook ACCOUNT_LOGIN_BEFORE_ACCOUNT location
2025-01-21 21:45:28 +01:00