Commit Graph

5281 Commits

Author SHA1 Message Date
MacChaeger
6d8b55a8fe
Refactor sides to use .isFar over .n for graphics (#1658) 2020-11-24 06:11:02 -08:00
Kris Johnson
97d9e6f241
Don't show AG in the Gen 8 teambuilder (#1679) 2020-11-23 14:29:11 +04:00
MacChaeger
9f6a054798
Tooltips: fix phantom Sticky Barbs for players (#1678) 2020-11-22 13:14:49 +04:00
Annika
ca9a6ee311
Usermodlog: Hide emails from lower staff (#1675) 2020-11-22 00:49:48 -08:00
MacChaeger
fb56aa8c84
Actually remove healing berries after their eaten (#1677) 2020-11-22 00:15:17 -08:00
Leonard Craft III
626be11396
Tooltips: Fix Grassy Terrain typo (#1676) 2020-11-21 15:45:22 -05:00
Guangcong Luo
45bda076f0 Allow data-send on <form> and <button>
This is slated to be the newest and easiest way to make buttons do
things:

`<button data-send="/join lobby">`

`<button name="send" value="/join lobby">`

Neither one is implemented yet, of course; that will come in a future
commit. This just allows them through the HTML sanitizer, which is
apparently the hardest part.
2020-11-20 14:27:10 +00:00
Guangcong Luo
9c20129f58 Support a <youtube> tag
Syntax is

    <youtube src="https://www.youtube.com/watch?v=dQw4w9WgXcQ" />

Video will be 320x180, I'm sure future pull requests will add custom
dimension support.
2020-11-20 13:58:57 +00:00
Kris Johnson
069121a0e0
Fix the teambuilders of various OMs (#1674) 2020-11-20 00:50:46 -08:00
Leonard Craft III
1a9d0e5059
Fix challenging "boolean" usernames (#1673) 2020-11-19 23:20:18 -08:00
Mia
ace0f2eaa5
Add CSS for subtle notifying buttons (#1672) 2020-11-18 19:07:31 -08:00
Guangcong Luo
eb31ed9411 Sync website pages
- <<requesthelp>> for an Other help request. No need to go to the main
  help request page because <<report>> and <<appeal>> already exist.

- /pages/formatsuggestions

- Credits: link to Spandan's personal page
2020-11-17 20:55:56 -05:00
Guangcong Luo
723d109557 Fix crash in replay upload 2020-11-17 20:54:31 -05:00
Guangcong Luo
4df93cd077 Fix /users/0
The website API now reports userid '0' as an unregistered user.

Apparently PHP treats the string '0' as falsy. In the interests of
not overhauling literally all our APIs, I've decided to only change
the code in the website API. The rest doesn't need to be changed
because number-only userids haven't been allowed for a very long
time.

Fixes https://github.com/smogon/pokemon-showdown/pull/7704
2020-11-17 20:53:41 -05:00
MacChaeger
4f05461a6e
Battles: Fix undefined volatile tags (#1671) 2020-11-17 02:23:30 -08:00
Leonard Craft III
fb8e6a1aaf
Improve G-Max/Pledge/Focus Energy/Attract appearance (#1670) 2020-11-17 01:42:56 -08:00
1Mitsuki
6dc0176665
Update faq-pt.md (#1651)
That was an overlook
2020-11-12 11:46:42 +04:00
MacChaeger
ab4f06316f
Fix teambuilder top bar for boxes (#1661) 2020-11-11 19:19:28 -08:00
Kris Johnson
69fa5e8435
Adjust support for building text files (#1664) 2020-11-11 14:41:05 -08:00
MacChaeger
a5cb673dad
Standardize volatile tag formatting (#1665) 2020-11-11 14:37:16 -08:00
MacChaeger
bae9231947
Teambuilder: Support importing/unpacking/dragging/dropping boxes (#1662) 2020-11-10 21:35:28 -08:00
MacChaeger
69a61201f3
Simplify protocol for the Unnerve ability (#1663) 2020-11-10 14:17:18 -08:00
Kris Johnson
7f7857d5b1
Update credits (#1660) 2020-11-08 17:27:09 -08:00
Annika
7e671835a9
Website: Clarify the FAQ (#1659)
https://www.smogon.com/forums/threads/translating-more-commands-for-ps.3653753/page-4#post-8651047
2020-11-08 14:42:17 -08:00
Annika
dd86028a7f
Remove trailing whitespace 2020-11-08 13:30:36 -08:00
Annika
6f046fbccb
Website: Add Italian translation for the FAQ
Courtesy of Alpha and Milak
2020-11-08 13:29:34 -08:00
Marty-D
a9d4d5e9e9
Fix Urshifu forme reveal 2020-11-08 12:34:43 -05:00
MacChaeger
d10c473a9d
Teambuilder: Implement Box system (#1222) 2020-11-07 18:16:23 -08:00
Kris Johnson
214786973f
Fix Gastrodon-East's learnset (#1656) 2020-11-04 06:21:46 +04:00
Kris Johnson
fffd393f97
Fix National Dex teambuilder (#1655) 2020-11-03 00:10:12 -05:00
The Immortal
695eb0b835
Teambuilder: Update useful moves 2020-11-03 06:11:53 +04:00
Kris Johnson
ac8846eb9e
Add teambuilder support for DLC 1 metas and fix various bugs (#1654) 2020-11-03 05:29:01 +04:00
Mia
2d215a2c4e
Support text formatting in |error| (#1652) 2020-11-02 08:50:14 -08:00
Mia
acf8feb611
Mainmenu: Show out-of-date app users an error (#1653) 2020-11-02 08:43:24 -08:00
Marty-D
7b60b7ba86 Update Pokemon icons sheet 2020-11-01 13:40:31 -05:00
Kris Johnson
6d02caa2de
Add support for Gen 3 Doubles formats (#1650) 2020-10-31 19:29:16 -07:00
Annika
51f097893d
Website: Add Portguese translation for the FAQ (#1648) 2020-10-30 09:51:19 -07:00
Mia
f41caf7298
Don't allow ! for client commands (#1647) 2020-10-30 05:44:38 -07:00
Guangcong Luo
c53511b5d7 Add PartMan and Plague von Karma to Credits 2020-10-29 16:24:40 +00:00
Guangcong Luo
fe0c919709 Add browser support section of README
(This is being moved from the server README where it doesn't really
belong.)
2020-10-29 13:17:34 +00:00
Guangcong Luo
41924294b5 Update Credits 2020-10-29 13:17:34 +00:00
Kris Johnson
0110fc87b9
Add animations for Crown Tundra moves (#1643) 2020-10-28 13:01:55 -07:00
Mia
d5c2cf40d6
Remove friends list code (#1646) 2020-10-28 12:52:42 -07:00
Guangcong Luo
7fc87cad1c Build data/text.js from server
text.js is no longer maintained in the client repo; it's now built
directly from the server's data/text/ directory.
2020-10-27 17:09:49 +00:00
Kris Johnson
8e6f3700e0
Add Eerie Spell and G-Max Depletion activation messages (#1644) 2020-10-26 15:21:38 -04:00
Leonard Craft III
b49aa3a500
Tooltips: Display current Dragon Energy BP (#1642)
* Tooltips: Display current Dragon Energy BP

* Fix build and Silver Powder typo
2020-10-26 21:22:31 +04:00
Marty-D
9bf683df7b
Add As One entry message 2020-10-23 19:56:19 -04:00
Marty-D
2ae5ff3d67 Update some battle messages 2020-10-23 18:27:10 -04:00
Guangcong Luo
374c18580e Update jQuery types
It looks like a past jQuery type bug was fixed sometime recently.
2020-10-20 16:59:46 +01:00
Guangcong Luo
0a4a1f9c63 Refactor sanitizeHTML 2020-10-20 16:45:15 +01:00