Commit Graph

4678 Commits

Author SHA1 Message Date
urkerab
ab44cc18f4 Use fervent wish message for Rayquaza (#1341) 2019-07-31 17:11:24 -05:00
Guangcong Luo
5da579f508 Update teambuilder Pokeball/HPtype selectors
- Pokeball selector is now hidden (to be shown after the server-side
  implementation is done)
- HP type default setting is now "(automatic type)" to make it clearer
  that you don't normally need to change it.
2019-07-31 02:23:34 -05:00
Kirk Scheibelhut
62d1b70ef6 Support importing/exporting Pokeballs/Hidden Power (#1340) 2019-07-31 00:21:07 +02:00
Kirk Scheibelhut
7951e4ac90 HP Type -> Hidden Power 2019-07-27 14:14:18 +02:00
Kirk Scheibelhut
fde4595b3b Clean up Pokeball and HP Type selectors
- Add title to HP Type for clarity
  - Filter out impossible Normal/Fairy Hidden Powers
  - Add missing ':' to Pokeball label
2019-07-27 14:00:58 +02:00
Timo
e917aa0a42 Update button phrasing in replay 404 page (#1339) 2019-07-26 15:00:40 -05:00
Guangcong Luo
9a70ec6a48 Give private replays unguessable URLs
Future private replays will be saved under URLs that can't be guessed.
Old private replays should be unaffected.

Replays saved for locks will never have an unguessable URL, but they
can still be considered private (and not show up in searches).
2019-07-25 20:43:59 -04:00
TheJetOU
972ef67a66 Fix /hl (list/roomlist) not returning response (#1338) 2019-07-25 18:55:51 -05:00
Kirk Scheibelhut
d564debfb3 Implement HP Type and Pokeball selector in Teambuilder UI (#1335) 2019-07-25 14:16:08 -05:00
Guangcong Luo
635c09d7ea Add temporary fix for Smogtours's lack of HTTPS cert
(A full fix would require PS to support running HTTPS on ports other
than 443.)
2019-07-24 22:40:22 -04:00
Guangcong Luo
e0fd3a44b9 Fix mass highlight bug
(Bug is from 259dd6dab3)
2019-07-24 22:37:08 -04:00
TheJetOU
259dd6dab3 Support room highlights (#1334) 2019-07-22 12:00:52 -05:00
Jacob McLemore
212bffd87f Fix messages for Queenly Majesty, Dazzling, and Damp (#1332) 2019-07-21 13:30:31 +02:00
Guangcong Luo
8ca9916bdc Fix bugs in ladder prefix search
- `$prefix` needs to be initialized
- `$_REQUEST['prefix']` was misspelled as `$_REQUEST['format']`
- prefix argument in `getTop` not correctly marked as optional
- fix missing `FROM`, `AS alias`, and extraneous `)` in query
- `LIMIT` apparently can't be parameterized in MySQL?
2019-07-19 16:36:43 -04:00
Kirk Scheibelhut
787a7998da Fix ladder prefix search to search by ID 2019-07-19 06:45:48 -07:00
Kirk Scheibelhut
80aaab1ef1 Support filtering ladder by username prefix (for OLT) (#1326) 2019-07-18 14:02:06 -05:00
Guangcong Luo
b2a90ba8a8 Fix Blitz clause detection 2019-07-17 21:52:28 -04:00
Guangcong Luo
a9117e1945 Fix Flower Veil activation animation 2019-07-17 20:51:25 -05:00
Guangcong Luo
e47d261b46 Fix Flower Veil message 2019-07-17 20:42:36 -05:00
Jacob McLemore
7a4f5bd969 Make -copyboost copy crit ratio and laser focus for gen 6 and later (#1328) 2019-07-17 09:23:07 -07:00
NotTsunami
e35def4ff5 Desktop: Small package.json changes (#1327)
Restrict node-remote to https as per suggestion in https://github.com/Zarel/Pokemon-Showdown-Client/pull/1246#discussion_r290869251

no-edit-menu defaults to false since v0.7.3 (https://github.com/nwjs/nw.js/wiki/Manifest-format#no-edit-menu) to current (http://docs.nwjs.io/en/latest/References/Manifest%20Format/#no-edit-menu-mac)
2019-07-17 02:27:21 -05:00
Guangcong Luo
149d306321 Support Blitz custom rule 2019-07-16 17:08:21 -04:00
Guangcong Luo
62e6c8e617 Make room for two rows of Japanese in status text 2019-07-16 11:53:49 -04:00
Guangcong Luo
c658542f17 Don't show "15sec left" in Blitz games 2019-07-16 11:53:33 -04:00
Guangcong Luo
213dcbcc1f Add "hyperfast" speed option to replays
This option is honestly a bit too fast to follow, but I guess it's
useful for people to preview how fast Blitz is.
2019-07-16 07:10:21 -04:00
Guangcong Luo
458a630426 Support hyperfast animation in blitz formats 2019-07-16 05:51:40 -05:00
Kirk Scheibelhut
ff8fa2385a Revert "Include status in user card always, defaulting to (Online)"
This reverts commit 438511c7e9.
2019-07-15 10:44:13 -07:00
Guangcong Luo
ac741d2352 Limit userstatus size 2019-07-15 13:18:09 -04:00
Guangcong Luo
22729c7cdf Fix bug in rating tooltip 2019-07-15 10:57:46 -04:00
fart
634d92be36 Fix left-facing Castform-Snowy minisprite (#1325) 2019-07-14 18:11:58 -04:00
Guangcong Luo
f42d7f2590 Remove battle mute stat tracker
We already got the data we wanted from it.
2019-07-14 06:57:19 -04:00
Guangcong Luo
96742e89bd Fix crash when unpacking invalid teams 2019-07-14 06:52:08 -04:00
Guangcong Luo
618b5373b6 Fix ballistic2Back animation
This is mostly a hack rather than a real fix, in that it doesn't
eliminate the need for separate ballistic2 and ballistic2Back
transitions. But it works.

Fixes #1093
2019-07-14 05:50:16 -05:00
Guangcong Luo
e12f224e89 Add format dropdown
The Preact client now supports receiving formats from the server and
displaying them in a menu.

This is a very rough draft that doesn't add CSS to the menu.
2019-07-14 05:50:16 -05:00
asgdf
525132916c Tooltips: Fix weather checks for Primordial Sea/Desolate Land (#1323) 2019-07-13 18:27:03 -07:00
asgdf
4426b4ee0d List Blizzard as viable move by default in gen 1 (#1322) 2019-07-14 04:59:39 +04:00
whales
4c4e7aad7d Tournaments: Support replace message (#1321) 2019-07-12 02:45:13 -05:00
TheJetOU
75a6556634 Show Elo in battles on avatar tooltip (#1318) 2019-07-11 21:44:33 -05:00
Kirk Scheibelhut
0dfda499da Wrap long custom status messages 2019-07-10 19:23:03 -07:00
Kirk Scheibelhut
9d6bbce93f Fix red (Online) display when offline
Conext: https://www.smogon.com/forums/threads/bug-reports-v3-read-original-post-before-posting.3634749/post-8176910
2019-07-07 08:01:47 -07:00
Guangcong Luo
e74e968e19 Stop versioning built wrapper.inc.php file 2019-07-06 03:51:27 -05:00
Kirk Scheibelhut
ef3d2b93bf Unify duplicated join/leave display logic 2019-07-05 18:06:07 -07:00
Kirk Scheibelhut
85a62c83bd Fix elofilter values in dropdown 2019-07-04 14:41:27 -07:00
Guangcong Luo
3ad8fb6460 Fix crash in tooltips 2019-07-04 14:12:36 -07:00
Kirk Scheibelhut
fa72dd68de Elo filter '1000' -> 'None' 2019-07-03 22:10:27 -07:00
Kirk Scheibelhut
b09a58dbe9 Allow for filtering by more than just Elo 1300+ 2019-07-03 17:10:27 -07:00
Kirk Scheibelhut
c123b0c8b4 Redo Google Analytics setup for Battle Sounds tracking 2019-07-03 17:09:48 -07:00
Kirk Scheibelhut
468c2998dd Support player count in |tournament|start (#1315) 2019-07-03 16:23:51 -07:00
Kirk Scheibelhut
be507a4cee Fix lint errors 2019-07-03 12:11:27 -07:00
Kirk Scheibelhut
585c9643f8 Allow users to opt in to 'Prompt on refresh'
Browsers don't really allow custom unload messages anymore it seems
(https://developers.google.com/web/updates/2016/04/chrome-51-deprecations?hl=en),
but e.returnValue and return '...' together seem like they
theoretically provide the most coverage.

Tested in Chrome and Firefox on Linux.
2019-07-03 10:38:09 -07:00