Repository navigation
Releases
Releases · way4os/w4os-helpers
3.0.0-beta.6
Freeze current state before refactor
- fix(search): a registering simulator is read after 30 s, when its regions are loaded: the snapshot it makes while starting is the one it keeps
- fix(profile): only the show in search flag of the account is written, the other flags are not the user's choice
- docs(changelog): show in search is the flags of the user account
- fix(profile): show in search is the first flag of the user account, which is what OpenSimulator shows and keeps, not a column of the profile
- fix(search): a simulator that could not be read keeps its backoff, it is not read again in 90 s
- fix(search): a simulator that registers is read again 90 s later, its regions are not all loaded when it registers
- fix(search): avatar_publish_update needs the secure session of the avatar, not the address of the caller
- fix(search): avatar_publish_update answers as the other calls do, a struct with success and errorMessage
- feat(search): avatar_publish_update, the show in search box of a profile that Robust ignores, written for the simulators of the grid only
- fix(search): a registering simulator is let go at once, not held while its snapshot is read (it was read empty); the search reads the hosts that are due once a minute
- docs(changelog): the regions table of the search, the search requests without flags
- fix(search): the table of the regions of the search is never the regions table of Robust, whether Robust has made it or not yet
- fix(search): a search request without flags or without the day|category pieces is answered, not a 500
- feat(pages): the web search, the page of an avatar, the popular places; fix: the search registry is read in process, and by the search every ten minutes
- docs(changelog): the script an address names answers it
- fix(routes): the script an address names answers it, a registration that points to query.php no longer takes the place of the search
- feat(health): an address is shown as the config says it and linked as it was asked; docs: the web search settings as tested with Firestorm
- feat(config): search_url, search of the grid info first, SearchURL of the login service when the grid has only that
- feat(pages): public pages grid_info and grid_status (ONLINE, OFFLINE) under the helpers, GridInfoURL and GridStatusURL in [Helpers]; fix(health): the profile with an avatar name is in the config section
- refactor(config): the ini files are read by the engine's OpenSim_Config; feat(health): what the grid says first, compared with the config, each service called without data and with valid data
- feat(health): one aligned table by config file, cert, time and result on the right, franker colors
- feat(health): the health page asks the engine's checks; wrong calls get their code (418, 405, 400, 404, 503), never a 500 on purpose
- refactor(functions): the helpers use the engine's functions (destinations, teleport links, regions, XML answers, currency, XML-RPC polyfill) and keep only what is theirs
- fix(health): the avatar the profile is asked for is the first account that is not the services of the grid
- fix(currency)!: no default key, without MoneyScriptAccessKey the currency is not served (bad configuration); fix(health): 404 and any error in red, orange for an untrusted certificate, the key row, the profile without a name expects a bad request
- fix(health): curl ignores the certificate and the page reports it, the profile is asked with the name of the owner and without; /helpers is a public page and health keeps its own address; the script key is only the MoneyServer's
- fix(config): the ini files are read with their includes and constants, MoneyScriptAccessKey only in [MoneyServer] of MoneyServer.ini; fix(health): sections and settings as in the ini files, links, final HTTP code or error code, every address of [GridInfoService]; the address of the helpers answers
- feat(pages): the menu lists the pages the site serves, health also under the helpers path; fix(currency): each grid has its own script key (MoneyServer's, Helpers.ini's, or made of its database password)
- docs(economy): what currency.php and landtool.php do with a module, and who sends to the page of Gloebit
- fix(economy): currency.php and landtool.php serve any module but the beta one, Gloebit adds through its region and sends to its page when it cannot; default rate 4 for 1000, UseUTCTime back
- feat(economy): the currency is what the economy module says (Gloebit, BetaGridLike), the settings of Gloebit are read, a currency sold elsewhere is never added; web_profile_url routes the profiles
- fix(routes): an address of the grid is served when its host (and its port, if it gives one) are the ones of the page served
- fix(guide): the block is destination_guide, as the setting is called: the home page shows it
- fix(config): a key given twice in a section is read as OpenSimulator reads it, the first one
- feat(config)!: the helpers read the official settings of OpenSim.ini and Robust.ini, Helpers.ini holds what has no place there; routes from the addresses of the grid on this site; each query on the database of its service
- fix(guide): the title of a category is its name
- feat(pages): templates in layouts, pages and components with suffixes, a theme folder that replaces them and the assets, the guide and directory_info as blocks of the layout (3-6-3), styles in the head
- feat(guide): an empty guide tells the one who runs the grid why, in the log and in the page source; docs(layout): the templates, the blocks, the assets
- feat(health): the addresses of the grid itself are asked at /get_grid_info
- feat(pages): one layout with a left and a right sidebar, blocks as variables of the templates, a health page, the routes of the profiles; assets in assets/
- feat(pages): blocks (grid info, grid status) and a layout that adapts to viewers and browsers; static files in static/, page scripts in pages/
- feat(guide): a guide_source that is a file name is looked for in the folder of the grid
- fix(search): the cache gives back what was stored, an empty list included
- test(helpers): the destinations, the teleport links, UUIDs, the price of the currency and the guide, with no OpenSim at all
- fix(events): opensim_latin1_only, which eventsparser calls, exists
- fix(scripts): guide through the router and from helpers.ini, textgen size and download, directory_info without grids
- docs(changelog): the currency fixes, shorter
- fix(currency): the balances table is locked with a valid query
- fix(currency): the region of a transaction is looked up in the database of the grid
- fix(currency): the transactions of a money server get an id, the purchase for a land debits nothing
- fix(currency): a default rate, the Gloebit pack, the balance for who has the session, the answers of landtool
- docs(changelog): the offline messages behind the router
- fix(router): a script called with what OpenSimulator adds to it (offline.php/SaveMessage/) is served, and gets it as PATH_INFO
- docs(changelog): the delay of the unreachable simulators
- fix(search): a simulator that cannot be reached is asked again later, as the code says, not at every run
- docs(changelog): the fixes of the search
- fix(search): a parcel without picture or group does not get the ones of the parcel before it
- fix(search): the second page and the sort by traffic: the page is a number for the SQL, the order is not a parameter
- fix(search): an answer without a result still has its list of data, which the module reads
- fix(xmlrpc): the polyfill leaves the printing to the methods, as the extension does: one answer, not two
- fix(router): a script runs in the global scope, as with a web server, the entry includes it
- refactor(search): remove SEARCH_REGISTRARS, dead code: a simulator registers to several search services with its DATA_SRV_*
3.0.0-beta.5
- update:
dev/runs build-tools instead of its own copy of the scripts - update: bash-tools 1.0.7 in require-dev, the scripts use its functions
3.0.0-beta.4
- new:
dev/release.shmakes the whole release,dev/switch.shthe composer part - new:
dev/build.shmakes the Debian package and the zip - update: the scripts load
includes/bootstrap.php(libraries, config, database, functions),config.phponly defines constants, a missing one is a 503 - fix: the xmlrpc polyfill is loaded only without the extension, a server that has it got a 500
- new: the config of the grid,
/etc/opensim/grids/<grid>/helpers.ini, is read when there is noincludes/config.php - update:
directory_info.phpandclasses/init.phpload the bootstrap - update: a constant the config leaves out takes a default, a service database the main one
- fix: the helpers refuse to run without a database, and say so in the log
- new:
index.phprouter,OPENSIM_ROUTESsets the URL of each service - new: home and splash pages, Twig templates
3.0.0-beta.1
v3.0.0-beta.1
- new the engine (
magicoli/opensim-engine) and the REST client (magicoli/opensim-rest-php) are composer packages; the legacy composer tasks are moved inlegacy - new the XML-RPC polyfill uses
phpxmlrpc/phpxmlrpc, and a Laravel-backed configuration polyfill serves the legacy helpers - new
get_grid_infoaccepts an external grid (cached, fetched once per grid in the same HTTP request);osdb_cache_get()andosdb_cache_set()give a persistent cache - new
directory_info.phpgives the statistics of the search directory,textgen.phpcreates a dynamic texture from a URL,register.phpstops at once when the search database is not connected - new
opensim_sanitize_uri(), andincludes/config.phpis included when it exists - update PHP 8.2 is the minimum (composer platform 8.2.0), the code runs clean on PHP 8.2 to 8.5, the required extensions are declared
- update the parcels use only the Laravel logic, and an exporter saves to the OpenSim database: the main code is free of the historical discrepancies of that database
- update the code is formatted from
.editorconfigand.prettierrc.json(single quotes, PSR-12),${var}syntax is replaced - update tests: a pest suite checks the PHP minimum and compatibility
- fix
opensim_format_tp()hop links (a position is not mandatory, no scheme in a text link) andopensim_link_region()no longer crashes with incomplete arguments - fix the gatekeeper address has its scheme,
parser.phpdoes not warn when a region is offline,eventsparser.phpdoes not crash on an undefined variable - fix an error notification displayed three times when a place search has no result, the XML error (expat error code 3) for empty search results, duplicate
TPLINK*constants, wrong URLs in the cron example
Full Changelog: v2.4.0...3.0.0-beta.1
v2.5.0
- new comprehensive installation instructions (merged from 3.x branch)
- add directory_info.php script, prividing basic stats of search directory content
- fix error notification displayed 3 times when no place search results
- fix apache xml error (expat reports error code 3) for empty search results
- fix duplicate TPLINK* constant declarations
- fix wrong URLs in cron example
- new textgen.php script (create dynamic texture from url)
- fix pos not mandatory for hop links in opensim_format_tp (merge changes from w4os project)
- use SEARCH_TABLE_EVENTS constant instead of default events table name
- offline message : move sender info after the message for better display in mailbox list
Full Changelog: v2.4.0...v2.5.0