summaryrefslogtreecommitdiff
path: root/src/serverlist.cpp
Commit message (Collapse)AuthorAge
* Print announce error response (#11878)ShadowNinja2022-01-01
| | | | | | | | Fix HTTPFetch caller and request ID to 64 bits Check that allocated caller ID is not DISCARD Print body if serverlist request returns error Don't print control characters from HTTP responses Document special HTTPFetch caller IDs Allow unicode to be printed
* Use JSON for favorites, move server list code to Lua (#10085)rubenwardy2021-01-22
| | | Co-authored-by: sfan5 <sfan5@live.de>
* Log server announce on updates and deletes too (#10177)Tyler Schwend2020-09-26
|
* Clean up server-side translations, remove global variable (#10075)rubenwardy2020-09-16
|
* Add PUT and DELETE request + specific method value to HTTP API (#9909)Lejo2020-07-29
|
* Make core.get_favorites("local") ignore duplicates (#7926)Paul Ouellette2019-11-08
|
* Update JsonCPP to 1.8.3 (#6466)Loïc Blot2017-09-26
| | | | | | | | | | * Update JsonCPP to 1.8.3 * Fix deprecated functions Json::FastWriter, Json::StyledWriter and Json::Reader are marked deprecated since 1.1 and are deprecated in 0.8 but not shown at compilation time. Use new methods to serialize/deserialize
* Network: Remove large parts of deprecated legacy code (#6404)SmallJoker2017-09-12
| | | | Also remove the setting 'send_pre_v25_init' Keep old enum entries for obsolete commands
* Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282)Loïc Blot2017-08-19
| | | | | | | | | | | * Code modernization: src/p*, src/q*, src/r*, src/s* (partial) * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Spelling: vertice -> vertex
* Server list cleanupShadowNinja2017-03-18
| | | | This removes the hacky server_dedicated pseudo-setting.
* Fixes for compiling with a newer (system) jsoncpp (#4429)Rogier-52016-08-10
| | | | | | | | | | | | | | | | | | | | | | | * Move included json code to jsoncpp subdirectory This is needed to avoid having to specify the minetest src directory as a system include when fixing the json includes. * Fix json includes They used "", so that the compiler searches the project's directory first. The result was that when compiling with a system jsoncpp, the project's own version of json.h was still included, instead of the system version. The includes now use <>, so a system location, or one specified with '-Ilocation' is searched only. * Fix for jsoncpp deprecated function warning When compiling with a newer version of jsoncpp (and ENABLE_SYSTEM_JSONCPP=true), jsoncpp emits a warning about a deprecated function that minetest uses.
* 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.
* Change i++ to ++iDavid Jones2015-08-25
|
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
| | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
* Clean up and tweak build systemShadowNinja2015-03-27
| | | | | | | | | | | | | | | | * Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
* 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
* Send real port to server listShadowNinja2015-01-23
|
* Serverlist: announce mg_name from map_meta.txt instead of minetest.confKahrl2014-11-10
|
* Replace setting unlimited_player_transfer_distance with player_transfer_distanceSmallJoker2014-11-08
|
* Reduce indentation of HTTPFetchOngoingShadowNinja2014-09-18
| | | | Also clean up some related things.
* Fix serverlist code style, const-correctness, and typesShadowNinja2014-06-30
|
* Fix server list boolean typing and alignmentShadowNinja2014-06-30
|
* Add support for multipart/form-data to HTTPFetch for server announcingShadowNinja2014-06-30
|
* Remove ugly curl struct pointer from jsonFetchValue signaturesapier2014-06-19
|
* Remove a lot of superfluous ifndef USE_CURL checkssapier2014-06-19
|
* Remove liquid_finite and weatherproller2014-04-18
|
* Fix wrong named masterserver announce variableproller2014-01-07
|
* Send long announce as POST, show OS in useragentproller2014-01-07
| | | | | Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
* Use httpfetch_async in serverlist announce codeKahrl2013-12-13
|
* Rename names -> can_see_far_names in announceproller2013-12-03
|
* Remove link to #, add unlimited_player_transfer_distance to announceproller2013-12-03
|
* Correct useragent in http queriesproller2013-11-06
| | | | Net struct init
* Masterserver show privs and js autoloadproller2013-11-04
|
* Masterserver updateproller2013-10-18
|
* Show git hash in version string at top left corner of windowKahrl2013-09-28
|
* Dont write directly to files but rather write and copy a tmp filePilzAdam2013-08-13
|
* More info in serverlistproller2013-08-03
|
* Masterserver mods announse, ipv6, better curl errorsproller2013-07-13
|
* Replace C++ mainmenu by formspec powered onesapier2013-07-02
|
* Fix favorite Server List on WindowsSfan52013-05-04
|
* Fix serverlist on -DRUN_IN_PLACE=0 (use path_user instead of path_share)Zeg92013-04-25
|
* Masterserver: report gameid, uptime, cosmetic fixes on server web pageproller2013-03-30
|
* Add one more curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);Ilya Zhuravlev2013-03-03
|
* Fix "longjmp causes uninitialized stack frame" (serverlist.cpp)Ilya Zhuravlev2013-03-01
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* new auto masterserverproller2013-02-22
|
* Add a list of servers to the "Multiplayer" tabJeija2013-01-21
If USE_CURL is set, it also downloads a list from a remote server. The url of this list is configurable in minetest.conf using the setting "serverlist_url" The local list of favorite servers is saved in client/serverlist/filename filename is also configureable using the setting "serverlist_file"