10340 Commits

Author SHA1 Message Date
Dylan K. Taylor
e21446e583
Release 3.27.0 3.27.0 2022-01-22 00:36:47 +00:00
Dylan K. Taylor
e5a9123522
PocketMine.php: require ext-crypto 2022-01-22 00:30:05 +00:00
Dylan K. Taylor
09201ac14b
Fixed chunk sending
we can't cache the encapsulated stuff anymore because of encryption.
2022-01-22 00:24:31 +00:00
Dylan K. Taylor
0697c7d316
Clean up according to newer php-cs-fixer 2022-01-21 23:45:49 +00:00
Dylan K. Taylor
1eae133118
fixed PHPStan build 2022-01-21 23:39:37 +00:00
Dylan K. Taylor
d28be4eaf2
Quick and dirty backport of encryption, preserving BC 2022-01-21 23:05:21 +00:00
Dylan K. Taylor
b33a75a6d1
Updated transient dependency junk 2022-01-21 20:45:36 +00:00
Dylan K. Taylor
bac6a2a1eb
cs: enable fully_qualified_strict_types rule 2022-01-16 22:12:51 +00:00
Dylan K. Taylor
b9b76eaed2
Server: add notice about obsoletion 2022-01-16 22:11:50 +00:00
Dylan K. Taylor
bee2aba813
Updated PHPStan baseline 2022-01-07 21:46:35 +00:00
Dylan K. Taylor
af81f80cf3
Updated PHPStan 2022-01-07 21:45:35 +00:00
Dylan K. Taylor
ed2145b6a4
php-cs-fixer: enforce EOF newlines 2022-01-07 20:12:21 +00:00
Dylan K. Taylor
e8893dd91f
3.26.6 is next 2022-01-04 20:47:31 +00:00
Dylan K. Taylor
a4af1609ea
Release 3.26.5 3.26.5 2022-01-04 20:47:31 +00:00
Dylan K. Taylor
8c4b8a9042
CS 2022-01-04 20:44:10 +00:00
Dylan T
958a9dbf0f
Merge pull request from GHSA-c6fg-99pr-25m9
* Skin: impose length limits on skinID, geometryName and geometryData fields

* Skin: remove extra newline
2022-01-04 20:40:55 +00:00
Dylan T
68f3399cfd
Merge pull request from GHSA-p62j-hrxm-xcxf
This checks the following things:
- Validity of UTF-8 encoding of title, author, and page content
- Maximum soft and hard lengths of title, author, and page content (soft
  limits may be bypassed by uncancelling PlayerEditBookEvent; hard
  limits may not be bypassed)
- Maximum number of pages. Books with more than 50 pages may still be
  edited, but may not have new pages added.
2022-01-04 20:39:02 +00:00
Dylan K. Taylor
d9c70cb176
start.cmd: prevent idiotic behaviour when paths contain characters such as brackets
god I hate this shit so much
2021-12-27 21:54:32 +00:00
Dylan K. Taylor
9979a64ad2
3.26.5 is next 2021-12-16 01:23:22 +00:00
Dylan K. Taylor
75a72786f9
Release 3.26.4 3.26.4 2021-12-16 01:23:21 +00:00
Dylan K. Taylor
3d205c6e5f
Updated transient dependency junk 2021-12-16 01:20:05 +00:00
Dylan K. Taylor
2955a92837
Updated pocketmine/nbt to 0.2.19 2021-12-16 01:19:30 +00:00
Dylan K. Taylor
7fb1669c6d
php-cs-fixer: added binary_operator_spaces and unary_operator_spaces rules 2021-12-14 23:14:39 +00:00
Dylan K. Taylor
a09817864b
php-cs-fixer: add return_type_declaration space_before 2021-12-14 22:50:43 +00:00
Dylan K. Taylor
f5bbd30dbb
Fixed skins appearing black when using RTX resource packs, closes #4537 2021-12-13 12:35:55 +00:00
Dylan K. Taylor
69d5bfa0d4
3.26.4 is next 2021-12-10 17:55:11 +00:00
Dylan K. Taylor
549fb923bf
Release 3.26.3 3.26.3 2021-12-10 17:55:07 +00:00
Dylan K. Taylor
6d5c463bdd
PlayerExperienceChangeEvent: added range checks to setNewProgress()
WE FINALLY FUCKING FOUND IT

This took several years to identify because PHP's exception stack traces don't show the actual values of parameters, but rather the values of the variables they were assigned to.

This means that if the parameter variable is mutated, the exception trace will show the value of the variable inside the function, not the value that was actually passed.
2021-12-10 17:29:57 +00:00
Dylan K. Taylor
911ad344c9
Human: do not mutate parameter variables in setXpAndProgress()
this caused a mystery that took 3 entire years to debug.
2021-12-10 17:27:28 +00:00
Dylan K. Taylor
06eaf9f273
3.26.3 is next 2021-12-09 00:27:03 +00:00
Dylan K. Taylor
1e56ed2ea3
Release 3.26.2 3.26.2 2021-12-09 00:26:59 +00:00
Dylan K. Taylor
40895a86e5
draft-release: stick a banner on the release notes to declare obsolescence 2021-12-08 23:55:43 +00:00
Dylan K. Taylor
b081394125
Do not restrict the allowed update channels client-side
we really should have an endpoint on the server that deals with this.
2021-12-08 21:57:16 +00:00
Dylan K. Taylor
f48cf68cac
updater: log a message when an update was found, but it's an older version 2021-12-08 21:55:44 +00:00
Dylan K. Taylor
264cff70ec
Release new PM3 builds onto pm3 channel 2021-12-08 21:55:12 +00:00
Dylan K. Taylor
3aabfa4ab0
bootstrap: display value of PHPRC when PHP binary is borked
PHPRC overrides the search path for php.ini, which might break the php.ini locating.
2021-12-08 20:48:44 +00:00
Dylan K. Taylor
cb0af44ccb
start.sh: improve errors when PHP isn't found 2021-11-30 23:51:35 +00:00
Dylan K. Taylor
d535f02096
Make nicer errors for PHP binary not being found 2021-11-30 23:45:25 +00:00
Dylan K. Taylor
7665f4f443
start.sh: remove 7 2021-11-30 23:43:17 +00:00
Dylan K. Taylor
20d6b69813
3.26.2 is next 2021-11-30 22:27:42 +00:00
Dylan K. Taylor
6b7d0307af
Release 3.26.1 3.26.1 2021-11-30 22:27:42 +00:00
Dylan K. Taylor
baeac2eb07
Fixed tiles not being sent with chunks 2021-11-30 22:19:28 +00:00
Dylan K. Taylor
d5f81fe261
3.26.1 is next 2021-11-30 18:53:36 +00:00
Dylan K. Taylor
0aeac3af7d
Release 3.26.0 3.26.0 2021-11-30 18:53:36 +00:00
Dylan K. Taylor
9931c1d50a
Protocol changes for 1.18.0 2021-11-30 18:46:29 +00:00
Dylan K. Taylor
8079ae341a
Updated build/php submodule to pmmp/php-build-scripts@bd329dba08 2021-11-30 01:19:14 +00:00
Dylan K. Taylor
ba295dc7dc
Always use LF in .neon files 2021-11-30 01:16:28 +00:00
Dylan K. Taylor
c19174a174
3.25.7 is next 2021-11-26 23:37:47 +00:00
Dylan K. Taylor
f95142f6b6
Release 3.25.6 3.25.6 2021-11-26 23:37:46 +00:00
Dylan K. Taylor
7ace24caab
Fixed borked build number
this was a problem before the recent clean-up; the only reason it just decided to show now is because 2000+25 is valid PHP code, so PHP saved our asses.
2021-11-26 23:36:19 +00:00