aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/common.lua
Commit message (Collapse)AuthorAge
* Fix core.wrap_text and make its behaviour consistent with the docssfan52018-06-03
| | | | Code based on initial implementation by @dsohler.
* CSM: Document forgotten functionsSmallJoker2017-05-16
|
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | 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.
* Multiplayer menu: fix attempt to open nonexistant imagekilbith2017-02-18
| | | | | | | | 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
* Serverlist: Add ping indicators (#5164)kilbith2017-02-03
|
* Add keyword based search to serverlistred-0012017-01-15
|
* Client: disable pre v25 init sending by defaultest312016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Fix mainmenu code downloading the public serverlist twice.Ekdohibs2016-04-22
| | | | | Also, fix a nil error that can happen sometimes in menu_handle_key_up_down
* Mainmenu: Code cleaningkilbith2016-04-20
|
* Mainmenu: Unify favorite servers with main serverlistkilbith2016-04-20
|
* Mainmenu: Still support favorites if send_pre_v25_init is disabledest312016-04-15
| | | | | | | | | | | | | | | | | | | | | | | @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"
* mainmenu: Tidy up logic in is_server_protocol_compat() (#3997)SmallJoker2016-04-15
| | | Apply de morgan to simplify the logic.
* Add option to not send pre v25 init packetest312016-03-15
| | | | | | | | | | | | | | | | | 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.
* Faster insertion into tableRui9142016-03-06
|
* Better gettext support for protocol version mismatch messagesest312015-10-24
| | | | | Previously, xgettext failed to resolve the dynamic call. Thanks to @JakubVanek for pointing this out.
* Don't do formspec escaping twice for loading descriptionest312015-08-14
|
* Set server_announce to world.mt and respect modes when changing subgameSokomine2015-07-02
|
* Fix world.mt not written when selecting modeSokomine2015-07-01
|
* Fix single click world selectest312015-06-30
|
* Fix bugs in mainmenujeanpatrick.guerrero@gmail.com2015-06-30
|
* More reliable serverlist behaviourHybridDog2015-06-09
| | | | | -> remember the previously loaded serverlist, and use if new one failed -> show a "loading" serverlist
* Remove duplicate code since 8ca08a850ff2494652aa0ac2daa3d00f03aa4e7aLoic Blot2015-03-25
|
* Save creative_mode and enable_damage setting for each world in world.mtfz722015-03-18
| | | | Create Parameters on world initialisation and set settings of old worlds
* Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est312015-02-18
| | | | | | | check serverlist Client now informs about incompatible servers from the list, this permits to prevent the protocol movements. Server announces its supported protocol versions to master server
* Fix forgotten favourite list image update of simple menusapier2015-01-04
|
* Ignore downloaded public serverlist if public_serverlist is falseKahrl2014-12-30
| | | | | Fixes #1807: When the server list finishes downloading, the local server list resets in certain conditions
* Display serverlist flags as iconsKahrl2014-12-13
|
* Add formspec toolkit and refactor mainmenu to use itsapier2014-05-16
Fix crash on using cursor keys in client menu without selected server Add support for non fixed size tabviews