slawkens
8c801dddec
PHP 8.1 compatibility
2023-02-02 16:16:06 +01:00
slawkens
77460b0832
Revert "Fix compatibility with PHP 8.1"
...
This reverts commit 1d1e927d56302e6d21cb51203eee7ad43b89b38d.
2023-02-02 15:39:20 +01:00
slawkens
1d1e927d56
Fix compatibility with PHP 8.1
2023-02-02 11:17:48 +01:00
slawkens
f30181d485
Merge branch 'develop' into feature/recaptcha-v3-plus-login
2022-11-28 12:46:32 +01:00
slawkens
118e8c487e
Fixes for racaptcha
2022-11-28 12:41:29 +01:00
slawkens
2321cf84b0
patch changes & fixes from master branch
...
remove VERSION file
update rules
add 33 migration
add get_version_for_release.sh script
update schema
add use_character_sample_skills
2022-11-07 09:10:19 +01:00
slawkens
32cf487128
Feature/recaptcha v3 plus login ( #202 )
...
* [WIP] New GoogleReCAPTCHA code
Support for v3
v2-invisible doesn't work yet
* Add some notice about recaptchas versions
* Lets support only ReCaptcha v3
Too much mess ;)
* Fixes
2022-08-31 11:16:48 +02:00
slawkens
a9941dea8a
Fixes
2022-08-29 19:04:47 +02:00
slawkens
5c9737f281
Merge branch 'develop' into feature/recaptcha-v3-plus-login
2022-08-28 18:28:10 +02:00
slawkens
0abb9384a6
Fix: create account by email
...
Now you can at least create an account if account_login_by_email is enabled :)
2022-05-31 15:09:48 +02:00
slawkens
2563583f84
Merge branch 'develop' into feature/login-by-email
2022-05-31 12:25:26 +02:00
slawkens
6acbbe3fa1
patch some changes from master (character name validate)
2022-05-31 12:22:55 +02:00
slawkens
c4737eca72
Update login.php for latest TFS 1.x and otservbr
...
Works in both.
Thanks for Znote for rfc6238 lib.
2022-05-31 10:08:52 +02:00
slawkens
1764ce0519
Fix: undefined variable notice on database_log enabled
2021-08-30 16:16:33 +02:00
slawkens
6d19d69d20
Fix some undefined notice
2021-07-05 17:15:48 +02:00
slawkens
eb091e487d
Support for downgraded TFS 7.72 (with accounts.number)
...
Part one
2021-06-09 01:54:05 +02:00
slawkens
db554df041
Small improvement to plugins.enabled check
2021-06-08 19:18:01 +02:00
slawkens
80623580f2
Fix creating account if $npcCheck is enabled
2021-05-23 02:55:27 +02:00
slawkens
f9302d4f9d
Require Parsedown class through composer
2021-05-01 08:54:46 +02:00
czbadaro
ea035136e1
Gratis premium account ( #156 )
...
* skip premdays and lastdays calculation when premdays = 65535 (gratis premium in TFS)
* TFS consider 65535 as gratis premium account and PHP_INT_MAX does not assume this value
* adds condition of premdays=65535 and standardize the label "gratis premium account" with tibia client
* adjust the label "days" when there is only one day of premium account
* adjusted premium account status
* Some small adjustment
* Sorry, typo.
Co-authored-by: slawkens <slawkens@gmail.com>
(cherry picked from commit 9d7854dda62468e420c26a6e531bacf47351f499)
2021-04-23 01:14:32 +02:00
Lee
9d8f398d9f
update validator name check
...
-added character_name_npc_check to config.php
-added npc name check to validator
2021-03-09 23:42:21 +00:00
Lee
31f0050f4e
Admin - Dataloader updates
...
-Npc Lib added
-Admin Dataloader updated to load NPC names into a cached array.
-Spinner Updated to a loading button.
2021-03-09 23:38:23 +00:00
slawkens
f0c136c421
More fixes for PHP 8.0
2021-02-16 01:40:24 +01:00
slawkens
5bd5aa0edf
Fix compatibility with PHP 8.0 (latest XAMPP)
...
Solution by doctrine developers
2021-02-16 00:28:54 +01:00
slawkens
6b07d56627
Fix setPremDays for latest TFS
...
Fixes editing account in admin panel
2021-02-15 21:05:08 +01:00
slawkens
15d381adfd
Fixed account getPremDays() function for latest TFS
...
This fixes account management + signature
2021-02-15 20:57:24 +01:00
Lee
23b44d6c8a
#142 Guildnick fix
...
Fixes the Guildnick not showing in the guild pages.
2021-02-14 12:50:10 +00:00
slawkens
5a8bcec014
Fix installer choosing name, when config.php is not loaded yet
...
It has been almost 1 month there, seems no one is using develop branch ;)
2021-02-13 21:44:49 +01:00
slawkens
855e9aa3b9
Fix: do not count deleted characters
...
On create new character page
2021-01-20 19:46:07 +01:00
slawkens
a271edec47
Forgot this..
2021-01-20 18:03:30 +01:00
slawkens
81b293a5a6
Fixes to character name validation
...
Admin should be able to create any name
Also fixes to config.character_name_min_length being ignored
2021-01-20 18:02:07 +01:00
Lee
bb3602073c
AdminPanel updates - changelog
...
-Admin menu updates
-Moved getchangelogtype/where to functions file and added to twig
-Added changelog editor to admin panel and updated changelog page
-Renamed the changelog md reader to clmd and edited the version file.
2021-01-04 12:23:36 +00:00
slawkens
a8a36c73e6
Fix notice about premend
2020-12-30 00:27:42 +01:00
slawkens
1ada2317fd
Add support for accounts.premium_ends_at (Latest tfs 1.x)
2020-12-30 00:10:49 +01:00
slawkens
40722c8c30
Password can now contain any characters
...
Also added limit of 29 characters (client limitation)
2020-12-30 00:10:11 +01:00
Lee
8e6bc73ca6
Creature page overhaul
...
Updates the creature pages to show more information.
You will need to reload your creatures.
-modifies database with migration 31
-small customisations are allowed via config file.
-functions added, getMonsterLink, getItemRarity, getCreatureImgPath, left, right,
-added functions to twig.
-view elements, immunities, summons, voices, loot, pushables, canpush, canwalk, runonhealth,hostile,attackable,rewardboss,defense,armor
-filter bosses
-show list as picture preview or names list
2020-12-28 16:37:03 +00:00
slawkens
95c2adc02e
Remove twig, phpmailer & semver
2020-10-27 07:35:00 +01:00
slawkens
41e24ca535
Remove .gz extension if found in map file
2020-10-27 07:25:38 +01:00
slawkens
1a36aa8904
[WIP] New GoogleReCAPTCHA code
...
Support for v3
v2-invisible doesn't work yet
2020-10-15 19:55:12 +02:00
slawkens
94b145b215
New class: DataLoader (loads data from server)
...
Also combined some code responsible for loading server data
2020-10-09 23:37:24 +02:00
slawkens
ab3912b378
Save towns as plain PHP File in cache folder
...
+ Also load them on install + on reload items
= better performance when in dev mode
2020-10-09 22:27:48 +02:00
slawkens
a52396008d
Automatically load towns from .OTBM file
...
Takes up to 10 seconds for otservbr on my PC
Taken from old Smart AAC - class SpawnsReader.php
2020-10-09 00:12:07 +02:00
slawkens
40b151b4c5
Remove whitespaces
2020-10-07 23:36:21 +02:00
slawkens
1992410a7b
This info is useless
2020-10-07 23:36:10 +02:00
slawkens
f85361dbc5
Some optimisations in Plugins::installMenus
2020-09-25 07:49:26 +02:00
slawkens
cb6509d09d
Cache for 365 days if $ttl not set
2020-09-25 07:26:30 +02:00
slawkens
f09c129c6d
Remove duplicated line (in $db->select)
...
Caused some errors when using $db->select function (news editing for example)
2020-09-17 23:17:59 +02:00
slawkens
60eac97945
Fix creating very uncommon (bugged) account names
...
(cherry picked from commit 0326657d60c3f44bbd64d5cb22d4cbc5499dea88)
2020-07-07 01:23:53 +02:00
slawkens
ee49efd215
This is better way of doing the check for blank & color
2020-06-26 23:47:14 +02:00
slawkens
3368fbd058
New config: account_mail_block_plus_sign
...
Block emails with '+' signs like test+box@gmail.com (help protect against spamming accounts)
2020-06-06 19:37:05 +02:00