57 Commits

Author SHA1 Message Date
luk3yx
e55581a402
Mainmenu: fix showing non mobile_friendly favourite servers. (#157) 2020-05-25 17:04:15 +02:00
MoNTE48
a0a5fec1ae Mainmenu: add 'mobile_friendly' filter 2020-04-26 19:19:15 +02:00
MoNTE48
f884d0ace9 Mainmenu: fix server_id detection 2020-03-22 19:17:11 +01:00
MoNTE48
d7e19ba0d8 Mainmenu: improve the Multiplayer tab 2020-03-16 18:36:06 +01:00
MoNTE48
494eff7911 MainMenu: replace textlist with table, remove legacy code 2020-02-09 12:22:02 +01:00
MoNTE48
b3a34dd850 Builtin: Backport MT5 minor changes 2020-02-04 21:47:07 +01:00
MoNTE48
32c44e00c4 Builtin: Clearing Functions and Variables 2019-10-16 20:08:12 +02:00
MoNTE48
e6a9f981b3 Mainmenu: replace fake_ping on lag 2019-09-19 15:42:49 +02:00
MoNTE48
b79a1fd5e5 Small update mainmenu. Cleanup and fixes 2019-06-25 15:10:15 +02:00
Maksim
c31191d4aa Fix platform, item name text, cleaner, other minor fixes 2019-05-22 14:07:25 +02:00
stujones11
d5113a6b5c Add server id icons 2019-05-16 00:33:12 +02:00
MoNTE48
e98d421aff Merge remote-tracking branch 'upstream/stable-0.4' into sync 2019-04-01 20:18:54 +02:00
sfan5
1e63e53a3f Fix core.wrap_text and make its behaviour consistent with the docs
Code based on initial implementation by @dsohler.
2018-06-03 17:31:59 +02:00
Maksim Gamarnik
35770f4abb Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
SmallJoker
b6ff239ec6 CSM: Document forgotten functions 2017-05-16 21:57:26 +01:00
ShadowNinja
dfb4074a5a Use a settings object for the main settings
This unifies the settings APIs.

This also unifies the sync and async registration APIs, since the async
registration API did not support adding non-functions to the API table.
2017-05-06 15:33:19 -04:00
kilbith
ea2170ab9b Multiplayer menu: fix attempt to open nonexistant image
Since local servers and local favorites have no ping value (these
are only provided by the server) we shouldn't load a broken
image filename.

Fixes #5238
2017-02-18 22:46:45 +00:00
kilbith
833c48dc59 Serverlist: Add ping indicators (#5164) 2017-02-03 23:53:43 +10:00
Maksim Gamarnik
e05f7db82f Updated to Minetest ver. 0.4.15 2017-01-30 00:44:07 +02:00
red-001
4cf03c2016 Add keyword based search to serverlist 2017-01-15 13:43:47 -08:00
est31
e3f0e0e2b2 Client: disable pre v25 init sending by default
Disable the ability to connect to old servers by default to
improve password security.

If people still want to connect to old (0.4.12 and earlier)
servers, they can flip the send_pre_v25_init setting.

Add the ability to detect if we've tried to connect
to a server which only supports the pre v25 init protocol,
and show an apropriate error message. Most times the error
will already be catched at the serverlist level, the
detection mechanism only acts as last resort, because the
"Connection timed out" error message that would be shown
otherwise would be very confusing.

Automatic "fixing" of this condition is not desired,
as it would allow for downgrade attacks.

As already 161 of the 167 servers on the serverlist
support the new srp based auth protocol (> 96%),
the breakage should be minimal.

Follow up of commit

af30183124d40a969040d7de4b3a487feec466e4 "Add option to not send pre v25 init packet"

Also change the pessimistic assumption of masterlist
server versions to optimistic, in order to avoid buggy
behaviour (favourites not in the serverlist would be
denied to connect to, etc).
2016-08-22 20:23:28 +02:00
Maksim Gamarnik
d5854e5cf7 Merge minetest commits / WIP!
Java part WIP, pls, use prev commits!
2016-04-29 10:11:25 +03:00
Ekdohibs
1893eec3cc Fix mainmenu code downloading the public serverlist twice.
Also, fix a nil error that can happen sometimes in
menu_handle_key_up_down
2016-04-22 23:39:54 +10:00
Maksim Gamarnik
335296e0e6 Merge 2016-04-21 13:20:11 +03:00
kilbith
9c4e903fe8 Mainmenu: Code cleaning 2016-04-20 21:31:40 +10:00
kilbith
1a4731e806 Mainmenu: Unify favorite servers with main serverlist 2016-04-20 21:31:40 +10:00
Maksim Gamarnik
37fc3dbe6a Merge remote-tracking branch 'upstream1/master' 2016-04-16 14:56:15 +03:00
est31
ca4f6936ec Mainmenu: Still support favorites if send_pre_v25_init is disabled
@SmallJoker has noted a bug that servers from the (local) main menu
favorites list can't be opened.

This commit fixes the bug by disabling any main menu based protocol
checks for servers from the favorite list.

Also, it fixes a second bug that happens when a server from the
public serverlist doesn't send its supported protocol versions,
most likely because its running a minetest older than commit [1].
Then we have shown an error msg that the server has enforced
one specific protocol version. This was most likely not the case.

Of course, we can't do anything better than do an assumption on
the protocol versions if they are not known. That assumption
should however be closest to the most often occuring case as
possible.

Also, some little cleanups.

[1]: 5a0ed780f56a5225b3d7c5f64099586e390e5f39 "Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist"
2016-04-15 14:40:31 +02:00
SmallJoker
638c2c543d mainmenu: Tidy up logic in is_server_protocol_compat() (#3997)
Apply de morgan to simplify the logic.
2016-04-15 14:37:09 +02:00
Maksim Gamarnik
edb4cab692 Merge release 2016-03-28 20:08:34 +03:00
Maksim Gamarnik
f56e578960 Merge remote-tracking branch 'upstream1/master' 2016-03-21 01:45:56 +02:00
est31
a334f5f527 Add option to not send pre v25 init packet
The legacy init packet (pre v25) sends information about the client's
password that a server could use to log in to other servers if the
username and password are the same. All the other benefits of SRP of
protocol v25 are missed if the legacy init packet is still sent during
connection creation.

This patch adds an option to not send the v25 init packet. Not sending
the v25 packet means breaking compat with pre v25 servers, but as the
option is not enabled by default, no servers are affected unless the
user explicitly flips the switch. More than 90% of the servers on the
serverlist support post v25 protocols.

The patch also fixes a bug with greying out of non compliant servers
being done wrongly, the min and max params were mixed.
2016-03-15 17:20:09 +01:00
Maksim Gamarnik
8f6ddcc57c Merge branch 'upstream/master' 2016-03-14 11:44:17 +02:00
Rui914
7a9e8367db Faster insertion into table 2016-03-06 23:42:04 +00:00
Maksim Gamarnik
96325da676 Update 1 2015-11-27 12:03:23 +02:00
Maksim Gamarnik
18204b95ed Fix 2015-11-10 21:14:24 +02:00
Maksim Gamarnik
919be490f9 Update
Sync all Minetest commits
2015-11-10 13:49:24 +02:00
Maksim D. Gamarnik
98c1c2965a Stock MainMenu 2015-11-01 10:01:13 +02:00
est31
c9b9732e98 Better gettext support for protocol version mismatch messages
Previously, xgettext failed to resolve the dynamic call.
Thanks to @JakubVanek for pointing this out.
2015-10-24 20:16:47 +02:00
est31
e5ed9dedc5 Don't do formspec escaping twice for loading description 2015-08-14 15:56:25 +02:00
Maksim Gamarnik
9247f32e0e LGPL 2.1 to 3.0 on all files 2015-08-14 01:26:28 +03:00
4aiman Konsorumaniakku
e0ddb1f4e1 core->multicraft 2015-07-05 15:23:28 +03:00
Sokomine
f7dbdfa50a Set server_announce to world.mt and respect modes when changing subgame 2015-07-02 23:03:42 +02:00
Sokomine
26b340995e Fix world.mt not written when selecting mode 2015-07-01 19:50:24 +02:00
est31
81179f59e4 Fix single click world select 2015-06-30 20:09:29 +02:00
jeanpatrick.guerrero@gmail.com
06dd23637c Fix bugs in mainmenu 2015-06-30 18:11:38 +02:00
HybridDog
ef6a3e794f More reliable serverlist behaviour
-> remember the previously loaded serverlist, and use if new one failed
-> show a "loading" serverlist
2015-06-09 16:44:43 +02:00
Maksim Gamarnik
0598e2169e New MainMenu, update WversionManager, Makefile change
New MainMenu by 4aiman
WVersionManager - 1.3
Makefile - rename output apk
2015-05-12 10:59:17 +03:00
Maksim Gamarnik
328debf39a New API
Change minetest on multicraft api
2015-05-05 23:01:09 +03:00
4aiman
2857721408 'New' menu 2015-04-23 22:55:42 +03:00