slawkens
a631760dbf
Order fraggers by time
2024-06-23 16:10:50 +02:00
slawkens
813786c768
Update cleanup_players.php
2024-06-14 06:42:45 +02:00
slawkens
0db0ec1aa4
Fix useGuildNick displaying
2024-06-14 06:42:42 +02:00
slawkens
bdc0c43d3f
Refactor account routes into sub folders
2024-06-13 22:23:43 +02:00
slawkens
47a19e85dd
Reposition code for setting ranks (addition to previous commit)
2024-06-13 13:07:03 +02:00
slawkens
d9c1b2507c
Create guild_rank entries, in case MySQL trigger not loaded
2024-06-13 12:51:29 +02:00
slawkens
3fadf87a7a
Fix title on login page
2024-06-11 13:14:15 +02:00
slawkens
c24576165c
login.php early exit + fix title
2024-06-11 12:55:02 +02:00
slawkens
a04d186c22
Fix highscores frags for TFS 1.x and canary
2024-06-10 18:53:17 +02:00
slawkens
42f99c3edc
Fraggers in characters page for TFS 1.x and canary
2024-06-08 23:27:19 +02:00
slawkens
a1bcb217ec
Fixes regarding not working google recaptcha (+few previous commits)
2024-05-30 17:36:07 +02:00
slawkens
6f209440e0
Fix XSS in monsters.php, thanks to @gesior
2024-05-15 22:18:39 +02:00
slawkens
8cf4e3da02
Fix change_info if account_country is disabled
2024-04-15 21:54:18 +02:00
slawkens
d5915df37e
Fix redirects in forum + polls
2024-04-14 16:06:57 +02:00
slawkens
eb0c2a7674
Post-fix redirect
2024-04-14 16:02:55 +02:00
slawkens
c92a410209
Don't allow redirect to external website
2024-04-08 19:08:21 +02:00
slawkens
ffaa0729ac
Add player->getOutfit function
2024-04-01 23:19:12 +02:00
slawkens
2afe0c1185
Fill up the equipment variable no matter of config
2024-03-28 21:25:43 +01:00
Slawomir Boczek
fe7ad61abe
phpstan support ( #250 )
...
* phpstan v1 + workflow
* Fix intend
* More fixes
* Update phpstan.neon
* phpstan level 2
* Move errors ignoring into phpstan.neon
* phpstan level 3
* Don't ignore templates folder
* Something from level 4
* Update phpstan.neon
2024-02-18 14:59:25 +01:00
slawkens
9f3231fff6
Fix delete character exception
2024-02-16 20:27:48 +01:00
slawkens
ad789c50ff
Create creatures.php
2024-02-03 20:54:50 +01:00
slawkens
ccfd2b4f55
Rename creatures to monsters
2024-02-03 20:54:09 +01:00
slawkens
3f5744964a
Get rid of ?subtopic=x links
2024-02-03 20:34:42 +01:00
slawkens
b22dc0014a
Change spaces to tabs
2024-02-03 20:30:21 +01:00
slawkens
00cbce20b0
Various fixes in forum
...
Add new access type: guest - all visitors, player will be now for logged players only
Fixed default forum board access for guests
2024-02-03 20:01:38 +01:00
slawkens
a2c8e2b2ae
phpstan: level 1 passed
2024-01-31 00:36:15 +01:00
slawkens
6494bd2c0c
Add optional $return = false parameter to the csrf function
2024-01-30 22:40:40 +01:00
slawkens
d71bab648d
Change hidden to hide (Eloquent blocked keyword)
2024-01-27 16:54:48 +01:00
slawkens
ba6119e6d0
Rename pages
2024-01-27 09:58:11 +01:00
slawkens
6ed8f18115
Move consts to global.php
2024-01-27 08:44:51 +01:00
slawkens
e3775fed86
Update bans.php
2024-01-27 01:01:59 +01:00
slawkens
b6f98ffdee
test github actions
2024-01-27 01:00:25 +01:00
slawkens
1a6fb8bee2
Refactoring classes into src/ folder, so they will be auto-loaded by composer
2024-01-27 00:36:49 +01:00
slawkens
514c4a037a
admin.links style
2024-01-25 22:02:08 +01:00
slawkens
a9fb5dffa3
Fix account manage redirect
2023-12-09 09:26:33 +01:00
slawkens
da77ec20ef
Delete bugtracker, it will be included as plugin
2023-12-08 23:56:29 +01:00
slawkens
e17dde0dca
Fix session fixation
2023-11-27 23:52:36 +01:00
slawkens
d1046ba21d
Fix forum XSS
2023-11-27 22:56:38 +01:00
slawkens
98332f1483
Fix XSS in bugtracker.php
2023-11-27 22:29:24 +01:00
slawkens
1423046039
Sort changelogs by date + make sortable in admin panel
2023-11-25 20:09:42 +01:00
slawkens
48e9a1ed51
Fix account lost interface links
2023-11-25 15:44:34 +01:00
Slawomir Boczek
790d85a88a
CSRF Protection ( #235 )
...
* Fix alert class name
* feature: csrf protection
* Cosmetics
* Fix token generate
* Admin Panel: changelogs csrf protection
* news/id route
* Refactor admin newses + add csrf
* Use admin.links instead
* Admin panel: Pages csrf
* Menus: better csrf + add success message on reset colors
* Plugins csrf
* Move definitions
* add info function, same as note($message)
* Update mailer.php
* Fix new page/news links
* clear_cache & maintenance csrf
* Formatting
* Fix news type
* Fix changelog link
* Add new changelog link
* More info to confirm dialog
* This is always true
2023-11-11 10:57:57 +01:00
slawkens
a04fbde607
Fix highscores error
2023-11-09 20:32:20 +01:00
Kamil Grzechulski
26a80e0741
fix: password2 variable refactor to correct name ( #237 )
2023-10-06 07:52:21 +02:00
slawkens
9e2a87f448
Add forgotten prefix for some settings
2023-08-25 17:09:31 +02:00
slawkens
0746708743
Reviewed some settings again, fixing many glitches
2023-08-24 17:20:32 +02:00
Gabriel Pedro
a692607c5e
feat: replace POT Query Builder to Eloquent ORM ( #230 )
...
* wip
* wip
* wip
* wip
* wip
* fix: reusing pdo connection from pot
* wip
* wip
* wip
* wip
* move files
In future, all classes will be in src/ folder
* Replace namespace name, for future
* Remove duplicated exception
* Fix towns from db
* Fix spells page
* Add default FAQ question + FAQ model
* feat: reset colors in menus
* Add confirm + save button at the top (menus)
* Do not insert duplicated FAQ on install
* Refactor install menus
* Fix changelogs showing
* Fix menu update, only with specified template name
* Fix account create -> missing compat
* Fix bans_per_page
* banned_by is player_id. type = 2 is namelock in tfs 0.3
* Add getPlayerNameById, fix getPlayerNameByAccount
* Change link name
* Order by lastlogin
* fix: query optimize
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Refactor notepad.php, class was useless
* This is showing error, if the updated rows = 0
* Fix success & error class (bootstrap)
* Uncomment require migrate.php
* Some distro have owner_id
* Update Player.php
---------
Co-authored-by: slawkens <slawkens@gmail.com>
2023-08-21 10:16:58 +02:00
slawkens
7cea023965
Remove item.php include (was removed in last commits)
2023-08-15 22:33:37 +02:00
slawkens
6c8961638e
Merge branch '0.9' into develop
2023-08-12 13:28:07 +02:00
slawkens
3dd493b790
banned_by is player_id. type = 2 is namelock in tfs 0.3
2023-08-12 13:23:53 +02:00