Commit Graph

6518 Commits

Author SHA1 Message Date
ShadowNinja
0f0502109e Security: Fix resolving of some relative paths
Trying to resolve a path with RemoveRelativePathComponents that can't
be resolved without leaving leading parent components (e.g. "../worlds/foo"
or "bar/../../worlds/foo") will fail.  To work around this, we leave
the relative components and simply remove the trailing components one
at a time, and bail out when we find a parent component.  This will
still fail for paths like "worlds/foo/noexist/../auth.txt" (the path
before the last parent component must not exist), but this is fine
since you won't be able to open a file with a path like that anyways
(the O.S. will determine that the path doesn't exist.
Try `cat /a/../etc/passwd`).
2016-12-20 17:17:38 +10:00
ShadowNinja
f522e7351a Fix RemoveRelatvePathComponents
This used to return "/foo" for "../foo" when it should return the enpty
string (i.e., error removing all relative components).
2016-12-20 17:17:38 +10:00
ShadowNinja
59f84ca0a0 Mod security: Allow read-only access to all mod paths 2016-12-20 06:34:04 +00:00
lhofhansl
24edfb77af Fix occlusion culling, again (#4930) 2016-12-19 06:43:04 +01:00
lhofhansl
e4f7ce1985 Fix occlusing counting (#4922) 2016-12-18 22:25:42 +10:00
Dániel Juhász
6d4e7f223a Fix unnecessary block loading (#4847)
This commit makes the game load blocks only if they are not in the
memory.
2016-12-18 19:20:23 +10:00
Auke Kok
78bf7c46e5 Mapgen: Make mgv7 the default in UI
The actual menu default comes from defaultsettings.cpp.
2016-12-16 12:31:38 +00:00
est31
0614da3aff Fix build with gettext enabled 2016-12-14 19:52:33 +01:00
paramat
f8408398f5 Cavegen: Wider tunnels in mgflat, mgfractal, mgvalleys
As mgv7 is now the default mapgen i re-checked its tunnel width on request,
discovered they needed to be wider, and have made this change.
This commit widens the identical 3D noise tunnels in the other mapgens in
exactly the same way.
2016-12-14 06:28:45 +00:00
est31
c67f2b2965 Run updatepo.sh 2016-12-14 00:31:12 +01:00
est31
211d919b54 Update minetest.conf.example and settings_translation_file.cpp 2016-12-14 00:30:39 +01:00
Fixer
646159159f Translated using Weblate (Ukrainian)
Currently translated at 38.1% (350 of 918 strings)
2016-12-14 00:30:39 +01:00
Wuzzy
55cb5a1983 Translated using Weblate (German)
Currently translated at 98.9% (908 of 918 strings)
2016-12-14 00:30:39 +01:00
Jan Sbrz
1c4bc0d46c Translated using Weblate (German)
Currently translated at 94.7% (870 of 918 strings)
2016-12-14 00:30:39 +01:00
Zygi Mantus
b898ab6486 Translated using Weblate (Lithuanian)
Currently translated at 26.2% (241 of 918 strings)
2016-12-14 00:30:39 +01:00
Andrey
eac6323e80 Translated using Weblate (Russian)
Currently translated at 56.3% (517 of 918 strings)
2016-12-14 00:30:39 +01:00
Maksim Gamarnik
571ed96c8e Translated using Weblate (Russian)
Currently translated at 56.2% (516 of 918 strings)
2016-12-14 00:30:39 +01:00
Stas Kies
3a0ded274e Translated using Weblate (Russian)
Currently translated at 56.1% (515 of 918 strings)
2016-12-14 00:30:39 +01:00
Alvin Hikmawan
bb9fe6eb2b Translated using Weblate (Indonesian)
Currently translated at 69.4% (638 of 918 strings)
2016-12-14 00:30:39 +01:00
Muhammad Rifqi Priyo Susanto
728909284a Translated using Weblate (Indonesian)
Currently translated at 58.6% (538 of 918 strings)

This is a merger of 2 commits.
2016-12-14 00:30:39 +01:00
Alvin Hikmawan
47b1a118ef Translated using Weblate (Indonesian)
Currently translated at 58.6% (538 of 918 strings)
2016-12-14 00:30:39 +01:00
Yana Agun Siswanto
51210d317d Translated using Weblate (Indonesian)
Currently translated at 58.6% (538 of 918 strings)
2016-12-14 00:30:38 +01:00
Onyx Steinheim
f18cebdd07 Translated using Weblate (French)
Currently translated at 100.0% (918 of 918 strings)
2016-12-14 00:30:38 +01:00
AcidNinja
68d24fb74b Translated using Weblate (French)
Currently translated at 100.0% (918 of 918 strings)

This is a merger of 4 commits.
2016-12-14 00:30:38 +01:00
Onyx Steinheim
3aabb6587d Translated using Weblate (French)
Currently translated at 97.7% (897 of 918 strings)
2016-12-14 00:30:38 +01:00
Jakub Mendel
735581bad1 Translated using Weblate (Polish)
Currently translated at 59.5% (547 of 918 strings)

This is a merger of 2 commits.
2016-12-14 00:30:26 +01:00
red-001
e36ae4ec0a Translated using Weblate (Polish)
Currently translated at 41.6% (382 of 918 strings)
2016-12-14 00:30:26 +01:00
nedzadarek
66fe077d07 Translated using Weblate (Polish)
Currently translated at 41.2% (379 of 918 strings)
2016-12-14 00:30:26 +01:00
Han So Ri
eb1d7cdb3d Translated using Weblate (Korean)
Currently translated at 53.8% (494 of 918 strings)

This is a merger of 2 commits.
2016-12-14 00:30:14 +01:00
Dongjin Han
faea229da7 Translated using Weblate (Korean)
Currently translated at 5.6% (52 of 918 strings)
2016-12-14 00:27:19 +01:00
sorichan
8785827990 Translated using Weblate (Korean)
Currently translated at 5.6% (52 of 918 strings)
2016-12-14 00:27:19 +01:00
Dongjin Han
46ac92b1a1 Translated using Weblate (Korean)
Currently translated at 1.5% (14 of 918 strings)
2016-12-14 00:27:19 +01:00
sorichan
428cebc25d Translated using Weblate (Korean)
Currently translated at 1.5% (14 of 918 strings)
2016-12-14 00:27:19 +01:00
Petter Reinholdtsen
a5ec1ddcac Translated using Weblate (Norwegian Bokmål)
Currently translated at 3.3% (31 of 918 strings)
2016-12-14 00:27:19 +01:00
Christian Haug
18a7d3e754 Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.8% (26 of 918 strings)
2016-12-14 00:27:19 +01:00
Petter Reinholdtsen
64969ef41a Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.7% (25 of 918 strings)
2016-12-14 00:27:19 +01:00
Christian Haug
9f476fd66d Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.7% (16 of 918 strings)
2016-12-14 00:27:19 +01:00
Petter Reinholdtsen
f8456dde51 Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.6% (15 of 918 strings)
2016-12-14 00:27:19 +01:00
Christian Haug
289cf93d4b Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.5% (14 of 918 strings)
2016-12-14 00:27:19 +01:00
Petter Reinholdtsen
ef4eb46b61 Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.4% (13 of 918 strings)
2016-12-14 00:27:19 +01:00
Jakub Vaněk
a2c4467255 Translated using Weblate (Czech)
Currently translated at 51.0% (469 of 918 strings)
2016-12-14 00:27:19 +01:00
Tomáš Bělohlávek
ef68a506aa Translated using Weblate (Czech)
Currently translated at 58.0% (533 of 918 strings)

This is a merger of 2 commits.
2016-12-14 00:27:02 +01:00
Jeff Huang
715fba6f39 Translated using Weblate (Chinese (Taiwan))
Currently translated at 100.0% (918 of 918 strings)
2016-12-14 00:02:01 +01:00
Mingye Wang
593eaf3b88 Translated using Weblate (Chinese (Taiwan))
Currently translated at 97.0% (891 of 918 strings)
2016-12-14 00:02:01 +01:00
tonibm19
5f41ae2a16 Translated using Weblate (Catalan)
Currently translated at 46.0% (423 of 918 strings)
2016-12-14 00:02:01 +01:00
Roc Humet
ab8fbd970f Translated using Weblate (Catalan)
Currently translated at 43.6% (401 of 918 strings)
2016-12-14 00:02:01 +01:00
Alfonso R. Zepeda R
f8c87a4496 Translated using Weblate (Spanish)
Currently translated at 57.8% (531 of 918 strings)
2016-12-14 00:02:01 +01:00
Rui
ec7e23d780 Translated using Weblate (Japanese)
Currently translated at 49.4% (454 of 918 strings)

This is a merger of 2 commits.
2016-12-14 00:01:44 +01:00
Eidy
6752dda856 Translated using Weblate (Swahili)
Currently translated at 99.8% (917 of 918 strings)

This is a merger of 3 commits.
2016-12-14 00:01:44 +01:00
Eidy
7af9442ea3 Added translation using Weblate (Swahili) 2016-12-14 00:01:44 +01:00