Commit Graph

4666 Commits

Author SHA1 Message Date
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
Kirk Scheibelhut
0fd801a581 Sort userlist by (rank, away) as opposed to (away, rank) 2019-07-02 15:40:26 -07:00
Kirk Scheibelhut
438511c7e9 Include status in user card always, defaulting to (Online) 2019-07-02 10:19:28 -07:00
Kirk Scheibelhut
766a254287 Add analytics to track battle sound preferences (#1309) 2019-07-01 15:41:42 -07:00
Kirk Scheibelhut
e56a995297 Don't override makeChallenge with acceptChallenge (#1313) 2019-07-01 14:16:13 -07:00
TheJetOU
1b7126c037 Improve teambuilder searchbox (#1311) 2019-06-30 21:27:36 -07:00
Kirk Scheibelhut
4cc4879ffc Include group in join/leave messages (#1312)
Battle join/leave was fixed to include group in #1295, but
apparently chat join/leave should show group as well.
2019-06-28 10:24:34 -07:00
Guangcong Luo
0e50de3498 Teambuilder: Don't focus team search on load
This introduces another annoyance where backspacing out of a search will
blur it, but that'll have to be fixed by a different update.
2019-06-27 14:42:01 -04:00
Guangcong Luo
065cc828d1 Build replays in ./build full
Now that the replay repo is inside the client repo, this makes sense.
2019-06-27 14:41:24 -04:00
HoeenHero
ac21fc1c77 Replays: toId -> toID (#1310) 2019-06-25 10:23:18 -07:00
Guangcong Luo
b47708efa0 Implement teambuilder dropdown selector
This took way too long to get to a presentable state.

- search.js has been refactored into battle-search.ts (search logic)
  and battle-searchresults.tsx (display)

- panel-teambuilder.tsx has been split into teambuilder (team list) and
  teambuilder-team (team editor).

- The teambuilder's text editor can now detect which line it's on,
  and show the appropriate search result panel.

- The teambuilder's text editor now detects sets dynamically, and has
  the beginnings of support for set comments.

Currently, everything here is really basic, and mostly just a tech
demo for people to play around with and understand the direction of
the new teambuilder, but it'll be improved over time.
2019-06-25 00:51:27 -07:00
littlefoot22
26fa6f71e1 Add advanced search in Teambuilder (#1133) 2019-06-25 16:25:58 +09:00
asgdf
1dc825bcaf Tooltips: Fix possible abilities display in old gens (#1305) 2019-06-21 17:12:39 +09:00