13564 Commits

Author SHA1 Message Date
teknomunk
1c53a6dfb0 Update luachech check.lst to lastest master
Additional script updates
2025-03-08 13:22:04 +01:00
teknomunk
da6f426675 Start making lua-language-server checks able to fail 2025-03-08 13:22:04 +01:00
teknomunk
8b169a1d02 Make luacheck fail, but ignore most files unless explicitly flagged for checking so checks can be phased in slowly 2025-03-08 13:22:04 +01:00
teknomunk
c02658e3f4 Fix syntax error when module doesn't have a name listed in mod.conf, add runtime_depends and runtime_optional_depends to module dependency sources 2025-03-08 13:22:04 +01:00
teknomunk
b07deff461 Add DIR_DELIM global 2025-03-08 13:22:04 +01:00
teknomunk
cbd0845059 Make workflows function for both gitea and forgejo 2025-03-08 13:22:04 +01:00
teknomunk
f7d9e1c2c0 Move lua environment detection to its own file and source in the test scripts 2025-03-08 13:22:04 +01:00
teknomunk
de3cf45f74 Use platform misc_helpers in unit tests 2025-03-08 13:22:04 +01:00
teknomunk
b0bc6cd2cc Remove misc_helpers and use platform builtins instead, detect luanti/minetest path to access platform builtins 2025-03-08 13:22:04 +01:00
teknomunk
95daa9bde1 Rework unit test runner to allow multiple unit test files per module, update paths of existing unit tests 2025-03-08 13:22:04 +01:00
teknomunk
f2233fc1e5 Update luacheck script and passing files list, add luacheck_globals to mcl_init and mesecons 2025-03-08 13:22:04 +01:00
teknomunk
8f5ea5e41c Have automated tests fail if any file that previously passed luacheck no longer does 2025-03-08 13:22:04 +01:00
teknomunk
b455611020 Add PcgRandom mock stub 2025-03-08 13:22:04 +01:00
teknomunk
c9d865902a Change checkout and test running 2025-03-08 13:22:04 +01:00
teknomunk
e3bc53719e Correct luacheck path, use autodetected lua binary name in tests/lua-language-server.sh 2025-03-08 13:22:04 +01:00
teknomunk
10e2e0516b Setup config directory on start, don't use tests/tmp for world directory 2025-03-08 13:22:04 +01:00
teknomunk
153cb5638f Change server startup command to match alpine linux package 2025-03-08 13:22:04 +01:00
teknomunk
ff103251c8 Update server startup test, lua language server check 2025-03-08 13:22:04 +01:00
teknomunk
9293d6bd01 Update test workflow, add lua-language-server check, split up test.sh 2025-03-08 13:22:04 +01:00
teknomunk
02e4df591e Put luacheck command into '' so that <> can be used 2025-03-08 13:22:04 +01:00
teknomunk
f58553e5c2 Reduce verbosity of luacheck section 2025-03-08 13:22:04 +01:00
teknomunk
a405399dd1 Silence commands run by test.sh 2025-03-08 13:22:04 +01:00
teknomunk
cbf17870d2 Move mcl_util unit tests from init.lua to unit-test.lua 2025-03-08 13:22:04 +01:00
teknomunk
df792d6d57 Make mcl_mobs load with mock luanti API and move testing asserts out of init.lua to unit-test.lua 2025-03-08 13:22:04 +01:00
teknomunk
c805d3badd Fill in some of luanti mock object from 7176ad30f9/mods/CORE/vl_scheduler/unit-test.lua 2025-03-08 13:22:04 +01:00
teknomunk
a3a3b8e5b1 Start making mock luanti API 2025-03-08 13:22:04 +01:00
teknomunk
c2fb7f2553 Cleanup lua-language-server findings, turn off --no-color, use string:trim() from misc_helpers.lua 2025-03-08 13:22:04 +01:00
teknomunk
c37964a3b1 Fix regex error 2025-03-08 13:22:04 +01:00
teknomunk
02dc6e4d91 Fix call 2025-03-08 13:22:04 +01:00
teknomunk
3d2cbc5d8e Address review comments 2025-03-08 13:22:04 +01:00
teknomunk
28653754a2 Detect lua version 2025-03-08 13:22:04 +01:00
teknomunk
1ebf9f4d9c Update to checkout minimal history 2025-03-08 13:22:04 +01:00
teknomunk
379ce25a39 Add luanti lls reference, add lua-language-server to Dockerfile for CI worker 2025-03-08 13:22:04 +01:00
teknomunk
5c79ca6cc4 Implement the start of automated testing 2025-03-08 13:22:04 +01:00
the-real-herowl
fd6e7d3d30 Merge pull request 'release_0_89_on_display' (#4993) from release_0_89_on_display into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4993
2025-03-08 06:25:53 +01:00
the-real-herowl
03d6b580bf Post-release set version 0.90.0-SNAPSHOT 2025-03-08 04:45:13 +01:00
the-real-herowl
0b7441bf61 Add release notes for v0.89 0.89.0 2025-03-08 04:39:18 +01:00
the-real-herowl
6bef2de087 Updated release credits and set version for v0.89 2025-03-08 04:39:18 +01:00
Mikita Wiśniewski
97be30f1e6 Fix fallen log generation by offsetting y+1 (#4992)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4992
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-08 04:37:21 +01:00
the-real-herowl
871c9ee727 Merge pull request 'Rewrite and actualize README.md' (#4976) from readme_upd into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4976
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2025-03-07 23:24:48 +01:00
the-real-herowl
1cb87edf28 Readme compatibility with various .md parsers 2025-03-07 23:10:51 +01:00
Mikita Wiśniewski
288f0162aa Rewrite and actualize README.md, add GETTING_STARTED.md 2025-03-07 22:22:18 +01:00
Nicu
af3eaaeac6 Updated HOW_TO_PLAY.md for Luanti 5.10 and later (#4983)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4983
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Nicu <kneekoo@noreply.git.minetest.land>
Co-committed-by: Nicu <kneekoo@noreply.git.minetest.land>
2025-03-07 21:05:23 +01:00
the-real-herowl
b9991f2de1 Merge pull request 'Translation files update for 0.89' (#4979) from translation-090 into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4979
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2025-03-07 20:57:37 +01:00
kno10
e43f3009ca German translations 2025-03-07 20:57:37 +01:00
kno10
1e9ee97a7d update locales 2025-03-07 20:57:37 +01:00
teknomunk
6fab15e8df Fix crash when hostile mobs are disabled (#4989)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4989
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-03-07 20:05:47 +01:00
the-real-herowl
c89349251b Merge pull request 'Integrate mcl_cozy: add the ability to sit and lay on blocks' (#4975) from mcl_cozy into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4975
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-03-07 20:03:25 +01:00
Mikita Wiśniewski
2b0503f84b mcl_cozy: Update Russian i18n 2025-03-07 20:03:25 +01:00
kno10
bf753346a1 mcl_cozy translation updates + German 2025-03-07 20:03:25 +01:00