Mostly just changed up Tailwind's animation and reverted Superpower's
animation until I can figure out a better one to use. Also changed up
Discharge to be different from Volt Switch.
If the user attempts to add any regular expressions that throw a syntax
error on RegExp object construction, they can see the first pattern that
throws an error along with its error message without breaking their
entire highlight list.
For some slow connections, movedex data will sometimes fail to load fully. This makes it so that moves not loaded will display their move type as "Unknown" rather than "undefined"
Regular expression is now written using new RegExp constructor to
make a more readable regular expression (even if I admit it's not
that great because of `+` everywhere, but this is JavaScript, so no
neat `/x` flag for regular expressions).
This heavily changes behaviour of auto-linking, in particular.
- URLs can be in parenthesis, see 6b8b68d for more details and
justification of a change.
- More top level domains are allowed in URLs without http:// prefix.
Anything that is two letter is allowed, as long followed by slash
or colon.
- Allow auto-linking URLs starting with `www.`, even with unrecognized
TLD. Chances are if a domain has this particular subdomain, it's a
website address.
- Removed qmark.tk special case, this site is dead anyway.
- Added support for `.co` TLD. This domain gets a lot of popularity,
and it doesn't look like it could harm anything.
- Added support for `.info` TLD. This is because the special case
of handling two letter TLD doesn't handle `.info`.
When attempting to go on an unregistered server when there is already
another registered server sharing the same IP/Port pair (such as in
virtual hosting), you get redirected to the registered server, which
is undesirable
Users can now set whether or not these are hidden by default, or left
visible.
Missing documentation has been added to /help and inconsistencies in
their grammar have been fixed.
Notification count is now displayed on the Dock icon in the desktop
client (in Windows, the taskbar needs to be in Large Icons mode).
Since notifications aren't persistent, this is useful as a long-term
reminder that you have something in PS pending.
This uses a newer NW.js feature, so it requires updating to the
latest version of the PS desktop client (0.3.0).
By default, the Join Room window is only auto-opened on startup if
it fits. This changes it so that if it doesn't fit on startup but
the window is later resized to fit, the Join Room window will
auto-open if it hasn't been opened yet.
In addition to behaving more expectedly, this deals with an issue
in NW.js in Windows where maximizing doesn't happen before PS
loads.
Clicking links to PS rooms can be pretty unreliable in terms of whether
and where they open. This commit uses a global click handler, to make
sure that any and every link to PS rooms, including links in the News,
will open in the current PS window.
You can always right-click and Open in New Tab, of course.
Display the reveal button based on each user's screen instead of the current room's chat for cases such as a user being locked/banned for a PM offense without having any messages in the room.
- Added a new graphic for fire animations
- Added many new spread move animations (Surf, Heat Wave, Snarl)
- Changed some miscellaneous move animations