Commit Graph

5061 Commits

Author SHA1 Message Date
Kirk Scheibelhut
4aa46798c4 Ignore |t:| 2020-07-12 22:11:14 -07:00
Kirk Scheibelhut
2e8de2db3a
Add persistent ignore specs and auto timer toggles (#1551) 2020-07-12 19:35:04 -07:00
Guangcong Luo
25afe30af0 Use Dark Mode theming for Main Menu
"Format/Team" and the spectator checkbox have too low contrast on
certain backgrounds.

I suspect we'll get a lot of complaints regarding the redesign, but
oh well, accessibility wins here.
2020-07-11 20:55:24 -07:00
Guangcong Luo
986841acd8 Improve styling for checkbox
(Alignment still needed more tweaking, and it needed more work to
look good in the Main Menu.)
2020-07-11 22:09:50 -04:00
Kirk Scheibelhut
99c1b7451f
Introduce a "Don't allow spectators" checkbox (#1548) 2020-07-11 18:43:56 -07:00
Guangcong Luo
b51268ad23 Fix bugs in #1545
Fixes #1547
2020-07-10 09:34:30 -04:00
Guangcong Luo
d5cae3cb3b Support blank lines in PM commands 2020-07-10 08:06:46 -04:00
Kris Johnson
2a175be5d9
Add type and category support for <psicon> (#1545) 2020-07-09 23:34:31 -07:00
Annika
1717e14d53
Update database schemas (#1546) 2020-07-09 04:59:45 -07:00
Gitrman19
95d4013c8c
Update recommended moves(#1544)
* add hp bug/flying to recommended moves in gens 2/3

* add iron defense and draining kiss to recommended moves
2020-07-07 18:03:36 -07:00
Guangcong Luo
24026ed06b Fix compatibility with older browsers 2020-07-04 04:49:08 -04:00
Annika
1bd36e48ab
Fix HTML escaping for battle joins/leaves (#1542) 2020-07-03 22:26:43 -07:00
Guangcong Luo
fdca8fe5dc Support manually specifying replay password 2020-07-03 15:36:07 -04:00
Guangcong Luo
9fe419c0ed Add documentation for News API 2020-07-03 15:36:07 -04:00
Kris Johnson
943a7cee78
Update National Dex teambuilder support (#1541) 2020-07-03 01:27:51 +04:00
Annika
ed7d05381e
Clean up join/leave messages (#1538) 2020-07-01 16:29:39 -07:00
Enigami
1ce0dad778
Fix RBY accuracy/evasion tooltips (#1534) 2020-07-01 12:48:03 -07:00
Annika
44d347cd75
Fix linter warning in battle-tooltips.ts (#1540) 2020-06-29 19:20:52 -07:00
Marty-D
b877b2dfe0 Update spritesheet for DLC1 2020-06-29 10:24:03 -04:00
Guangcong Luo
05853d203b
Fix loop in addNews 2020-06-28 10:50:53 -07:00
Annika
bb9e60ff80
Use JSON API for addNews() (#1537) 2020-06-28 10:48:33 -07:00
Guangcong Luo
6be7495c32 Rename Leader to Administrator
Ideally we'll have more support for custom ranks on side servers,
but for now you'll have to deal with & and ~ having the same label,
if you still use ~.
2020-06-27 12:49:35 -04:00
Guangcong Luo
00a877333f Stop autodetecting serverid for loginserver rqs
The automatic server detection just loops through all registered
servers and tries each of them to find the correct one. This process
will hang if any registered server isn't responding to DNS queries,
which at the number we currently have, makes all servers not sending
serverid fail.

We now hard-require the Config.serverid setting, to prevent this
problem.
2020-06-27 12:46:38 -04:00
Guangcong Luo
be31237b96 Add shortcut for https://psim.us/devdiscord
This allows shortlinks in the form of <<devdiscord>> and is easier,
at least for me, than memorizing the spoink link.
2020-06-27 12:27:27 -04:00
urkerab
9de28f5f00
Don't require desktop notifications for disconnections (#1535) 2020-06-26 04:51:56 -07:00
Kris Johnson
bb24d2f3e3
Fix Urshifu-Rapid-Strike-Gmax in the teambuilder (#1536) 2020-06-25 16:15:48 -07:00
The Immortal
55032dde8f Add text for new G-Max moves 2020-06-24 16:26:46 +04:00
Kris Johnson
18778d6744
Update tooltips (#1533) 2020-06-21 00:36:07 -07:00
The Immortal
9989b0310e Update moves viability 2020-06-20 13:49:53 +04:00
Kris Johnson
56c92c434e
Add DLC move animations (#1532) 2020-06-19 22:29:45 -07:00
The Immortal
12241ade19 Add Corrosive Gas text 2020-06-19 21:20:36 +04:00
Kris Johnson
a534b9b6ae
Update tooltips for DLC moves and fix long-lasting visual bugs (#1531) 2020-06-18 23:44:13 -07:00
The Immortal
36fe0998b3 Add Quick Draw text 2020-06-19 01:59:26 +04:00
The Immortal
83087faa66 Add Poltergeist activation 2020-06-19 00:27:47 +04:00
Kris Johnson
2640f8c658
Fix National Dex teambuilder support for National Dex UU (#1530) 2020-06-15 15:43:21 -07:00
Guangcong Luo
6aaee16be0 Build formats.js
PS officially doesn't use this, but some bots used to read this
directly from GitHub, and building it is nontrivial, so this lets
bots read it from our webserver instead.

It's available at:

https://play.pokemonshowdown.com/data/formats.js

(And as usual, feel free to use HTTP if your language's HTTPS
implementation is hard to use.)
2020-06-13 14:41:33 -07:00
Guangcong Luo
e493e87db1 Update Heat Crash and Heavy Slam viability 2020-06-13 14:36:28 -07:00
fart
1513fc50c8
Increase autojoin limit to 15 (#1521) 2020-06-12 10:51:39 -07:00
Marty-D
5213c41cf5 Support CAP27 sprites 2020-06-12 13:46:59 -04:00
urkerab
d25aaedaf7
Prevent Enter from crashing during Pokémon level entry (#1528) 2020-06-12 10:06:41 -07:00
urkerab
4abfcc70a3
Fix display of Pokémon level in details form (#1527) 2020-06-12 10:05:15 -07:00
HoeenHero
9ed232d05f
Sanatise teambuilder clipboard (#1529) 2020-06-12 09:50:45 -07:00
Kirk Scheibelhut
bb8d4f268c Handle @pokemon-showdown/sets -> @smogon/sets change 2020-06-04 19:46:20 -07:00
SSlayer9
1364d76408
Remove the Pokemon Showdown Day link (#1525) 2020-06-01 10:51:14 -07:00
Guangcong Luo
a1610dd74c Limit /rank to battle format in battle rooms
Special thanks to @PartMan7 for the original code.

Closes #1524
2020-05-30 03:22:51 -04:00
Guangcong Luo
93d752dd10 Fix replay URLs in manage mode 2020-05-30 03:15:29 -04:00
Guangcong Luo
62694f04c4 Add more granular replay privacy controls 2020-05-30 02:03:30 -04:00
Guangcong Luo
df71047306 Fix sliders in Firefox
Quoting CSS tricks:

https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/

> Note that while we’re repeating code here, that’s necessary as you
> can’t comma-separate these type of selectors. Browsers will drop the
> entire selector if it doesn’t understand a part of it.

I really don't want to repeat my CSS three times, and Firefox's default
sliders don't look ugly, so we're just going to let Firefox use its
default sliders.

I'm annoyed that Firefox just takes `-webkit-appearance` without
also taking `-webkit-slider-thumb` etc, though. :/
2020-05-29 21:54:26 -07:00
Guangcong Luo
128d8bdc52 Improve CSS styling
This is modified from @StephenArg's original CSS in #1522. Thanks for
providing the original CSS for me to play around with!

Closes #1522
2020-05-29 21:41:48 -07:00
Guangcong Luo
54dce68ade Consistently wrap words in chat boxes
This makes battle chat work like chatrooms and PMs, wrapping
lines with no spaces that get too long.
2020-05-25 18:21:21 -04:00