Release v1.44.0 - PWA

Features

Basic PWA

What is a PWA you wonder? It stands for Progressive Web App, and allows you to install the client as if it was an ordinary mobile app or desktop app.

Next time you visit wolfery.com using a mobile device, you might be asked if you wish to install the application. If you decline the installation, you can install it later by using the following steps:

  1. Tap Chrome’s overflow menu (the three dot icon ⋮ )
  2. Click the “Install Wolfery" option.
  3. Select install and Wolfery should relaunch in its own window and appear in your app list.

You can also install it on other browsers and on desktops. See these instructions on cdc.gov.

PWA advantages

There are currently no advantages in functionality associated with installing the client. It will just make it look more integrated, use more of the screen, and possibly load a bit quicker.

Later on, PWA only features, such as mobile Push Notifications, may be added.

GitHub issue #11 - Basic PWA

Reconnect spinner

When using mobile layout (width ≤ 720 pixels), a reconnect spinner will show in the upper left corner whenever the client is disconnected and is trying to reconnect/resynchronize with the server:

disconnected_spinner

Thanks to @Shinyuu for the suggestion (sorry for not solving the iPhone connection issues yet)!
GitHub issue #25 - Reconnect indicator

Total awake

The Awake list now shows the total number of characters awake. When using a filter, or if Show all is not selected, it will also show the number of matched/shown characters:

GitHub issue #24 - Total awake

Access policies in game

The policies are now accessible through links at the top of the Player Settings page (open by clicking the cog wheel-icon next to Logout):

Clicking a link will open the policy text in a new browser tab.

GitHub issue #10 - Access policies when logged in

Improvements

Increased auto sleep duration

The duration by which a character is put to sleep, because the client is disconnected, has been increased from 5 minutes to 60 minutes.

This means: Mobile-only players will not be put to sleep all the time! :grin:

Fit app in visual viewport

On mobile devices, the height of the visual viewport wasn’t showing the entire application when the navigation bar or the virtual keyboard was visible, often causing the tab bar at the top to be pushed out of view. With this update, the application resizes so that both the tab bar and the input console is showing at the same time:

GitHub issue #20 - Mobile: Fill visible viewport

Open dialog on clicking Whois info

Clicking on the information area shown by the whois command will now open the About character dialog, where additional information can be found:

Thanks to @Elissa for starting the discussion, and @WakuWaku for coming with the suggestion in this topic.

GitHub issue #23 - Open dialog on clicking Whois info

Prohibited content policy

The Terms of Service policy has been updated to include a new Prohibited content section:

Prohibited content

You may not upload content that contains:

  • sexually suggestive or explicit photos of real people;
  • photos depicting graphic violence, humiliation, or gore;
  • realistic or semi-realistic sexually suggestive or explicit images of children;

If an image is not a photo, but may be mistaken for one, it will be regarded as a photo.

The policy also obsoletes the “No pornographic images” rule (See: help rules), which has been removed.

Roll command moved to communicate

The roll command has been moved to the communicate help category instead of basic. See:

help communicate

Help category aliases

Some help categories have been given aliases, hopefully making them slightly easier to find. Examples of aliases are:

Help category Alias
help communicate help communication, help talk
help profiles help profile
help build rooms help build room, help building rooms

In addition, the tab completion for the help command has been improved to include aliases.

Fixes

Enter on full stops
When using Gboard on Android, and typing a full stop (.) in the command console, the keyboard occasionally added the text: Enter. This was caused by a bug in Gboard, and was triggered by the “Enter your command (or type help)” placeholder text. As a workaround, the placeholder text has been removed on Android devices.
Thanks to @IcoTwilight for reporting it, and to @Alyx for helping in replicating the issue in this thread.
GitHub issue #16 - Enter on full stops

Tags.js throws TypeError
On mobile devices in particular, an error occasionally occurred when initializing the client:

Error: TypeError: Cannot read properties of undefined (reading 'value')
at ModelToCollection.compare [as _compare] (Tags.js?6a3b:36:15)

This has been fixed in the develop branch of the modapp-resource repository.

URL redirect security vulnerability
A security vulnerability in the client could allow a malicious user to perform phishing attacks by crafting legit links to Mucklet or Wolfery, while having the victim redirected somewhere else for their login. This has been fixed.
GitHub issue #22 - Static URL config

Help topic margins

When using the help command, there were almost no top or bottom margins around the help information in the chat log. This has been fixed, and the margins have been restored back to normal.

6 Likes