Commit Graph

2218 Commits

Author SHA1 Message Date
Guangcong Luo
ad692c2b6f Fix footer-mainmenu overlap on low res 2015-07-14 15:08:51 -04:00
Guangcong Luo
924ccd19fc Nicer tab overflow menu 2015-07-14 15:08:05 -04:00
Guangcong Luo
ebd77434d6 Show minimized userlist in low resolutions
Previously, the userlist would be completely hidden in low
resolutions, but now a user count is displayed in the top left
corner. When clicked, the entire userlist appears.
2015-07-14 15:07:38 -04:00
Guangcong Luo
53a1c2ad9e Support HTTPS PS-to-desktop team dragging
Chrome is dumb and doesn't support data URLs in HTTPS, so we have
to round-trip through action.php
2015-07-14 15:03:47 -04:00
Guangcong Luo
e2969f22ea More reliable desktop-to-PS team dragging 2015-07-14 15:01:40 -04:00
Guangcong Luo
a9056d097b More reliable team import/export 2015-07-14 04:02:42 -04:00
Guangcong Luo
1cfd574fef Fix crash when importing blank set 2015-07-14 04:02:42 -04:00
Ivo Julca
e5a63ea8ec Fix aliases of client-side preprocessed commands 2015-07-14 02:57:56 -05:00
Guangcong Luo
2ba0c96312 Merge pull request #420 from ascriptmaster/move-messages
Update sidebar on -start and -end volatile messages
2015-07-13 02:28:53 -05:00
Kevin Lau
1a54beb19a Update sidebar on -start and -end volatile messages 2015-07-12 23:42:52 -07:00
Guangcong Luo
6749f6893d Merge pull request #418 from xfix/analysis-link
Link to Showdown dex in /data
2015-07-12 15:12:08 -05:00
Guangcong Luo
9de36a55d2 Merge pull request #419 from Slayer95/popup-send
Support "send" buttons in popups
2015-07-12 03:17:57 -05:00
Ivo Julca
382a34c13b Support "send" buttons in popups 2015-07-11 23:16:51 -05:00
Slayer95
5502dbd0a2 Merge pull request #417 from ascriptmaster/master
Don't map highlights list to toName function
2015-07-11 18:46:46 -05:00
Kevin Lau
23a7126aa0 Don't map highlights list to toName function
'|' is a valid regex character and highlight phrases can occasionally pass
18 characters. If they are mapped, it can become difficult to remove
specific entries on the list.
2015-07-11 16:40:17 -07:00
Konrad Borowski
4a2cb72ce4 Link to Showdown dex in /data 2015-07-11 21:22:51 +02:00
Ivo Julca
f302205baa Fix crash on beforeunload after failed autojoin 2015-07-10 10:04:22 -05:00
Ivo Julca
d2ccb0530a Remove deprecated message styles from client.css 2015-07-10 06:50:59 -05:00
Guangcong Luo
bea52d2f3a Merge pull request #413 from Irraquated/patch-3
Make replacePlayer player the target before leaving.
2015-07-08 13:51:05 -05:00
Jackson
ca83bf0c2e Make replacePlayer player the target before leaving.
The actions were in the wrong order, you would be demoted then try to player the target; but would return `/addplayer - Access Denied`
2015-07-08 20:45:16 +10:00
Guangcong Luo
f6d1d1a185 Support dropping image files to set background 2015-07-08 00:25:35 -05:00
Guangcong Luo
369adc8f91 Support dragging teams from desktop to PS 2015-07-08 00:25:09 -05:00
Guangcong Luo
bacc0158bf Support dragging teams to desktop 2015-07-07 22:34:37 -05:00
Guangcong Luo
f12a31db30 Correct teambuilder fun fact 2015-07-07 23:36:19 -04:00
Marty-D
f21c46f49c Teambuilder: Fix movepool for Pikachu and Wormadam formes 2015-07-06 21:13:38 -04:00
Guangcong Luo
bf48867673 Refactor team drag-settling animation
New version takes advantage of the drop event, which actually has
sane event.pageX/pageY values.
2015-07-05 16:26:05 -05:00
Guangcong Luo
64da380c9c Fix team export/backup capitalization 2015-07-05 16:18:23 -05:00
Guangcong Luo
5b67f96976 Better Safari support for drag/drop 2015-07-05 16:59:50 -04:00
Guangcong Luo
f527388e55 Update desktop client Windows installer 2015-07-05 15:40:44 -05:00
Guangcong Luo
5393b57455 Fix links to rooms to always open in-window 2015-07-05 14:52:11 -04:00
Guangcong Luo
306f21d57f Merge pull request #362 from xfix/uturn-nature
Allow negative attack nature for U-turn and Volt Switch
2015-07-05 13:37:11 -05:00
Guangcong Luo
336d89ae53 Merge pull request #411 from Irraquated/patch-2
Change /buttonkick to /buttonwarn
2015-07-05 11:56:26 -05:00
Irraquated
f6cc7fa412 Change /buttonkick to /buttonwarn
(Also keeping /buttonkick as an alias) Makes the command much more understandable.
2015-07-05 10:31:54 +00:00
Guangcong Luo
527eaaceb6 Fix Join room button 2015-07-05 03:13:07 -04:00
Guangcong Luo
c4860e02bd Fix pokemon classified as Illegal in teambuilder
I'm not sure exactly what conditions cause it (and specifically why it
sometimes works and sometimes doesn't) but this should at least fix
it.
2015-07-04 22:50:48 -05:00
Guangcong Luo
30f2d5649f Animate teams settling into place after dragging
This is supported on Chrome and Safari (and probably Opera), but
not Firefox because Firefox is too buggy.

(Honestly, every browser's HTML5 drag-and-drop implementation is
super buggy, but Firefox happens to be buggy in a way that makes
this feature semi-impossible.)
2015-07-04 22:35:00 -05:00
Guangcong Luo
47e540f401 Minor refactor to global click handler 2015-07-04 16:10:54 -05:00
Guangcong Luo
627aa2a66c Add Firefox team-drag support
Team drag-rearranging is now supported on Firefox.
2015-07-04 16:10:54 -05:00
Slayer95
9ea17550eb Merge pull request #408 from xfix/patch-2
Don't use toId for room names while joining a room using popup
2015-07-04 13:44:31 -05:00
Konrad Borowski
5fd2427291 Use toRoomId instead of toId when joining a room
This lets an user join a battle room.
2015-07-04 18:28:43 +02:00
Guangcong Luo
64c22a9be0 Drag-rearrange-able teams
This is pretty experimental, but all the bugs I found are worked
out.

While researching how to best implement this, I came across the
famous PPK rant on why HTML5 drag-and-drop sucks:
http://quirksmode.org/blog/archives/2009/09/the_html5_drag.html

A lot of his complaints aren't really a big deal to me, but boy
was he right about browser bugs. Apparently mobile will never
support HTML5 drag-and-drop, either, and there are a lot of
other limitations. Oh well, this is all worth it for an
upcoming planned features: dragging and dropping team files to
and from your desktop.
2015-07-04 02:33:57 -05:00
Guangcong Luo
e1864520d9 Redesign teambuilder
- Nicer looking buttons
- Nicer layout
- Ctrl+F-able pokemon species names
2015-07-03 20:37:48 -04:00
Guangcong Luo
1ee0edc000 Fix crash in teambuilder 2015-07-03 20:36:31 -04:00
Guangcong Luo
1f4c78ee81 Shorten Google Docs URLs
Currently a special case; we might add a generalized URL shortener
later.
2015-07-03 20:36:18 -04:00
Guangcong Luo
da2434c1b8 More reliable team importing 2015-07-03 01:16:25 -04:00
Guangcong Luo
089c7eaae4 Add default for -status 2015-07-03 01:15:48 -04:00
Guangcong Luo
b995772597 Fix old-style move names 2015-07-03 01:15:29 -04:00
Ivo Julca
262be0c995 Fix silent type changes 2015-07-02 20:00:32 -05:00
Guangcong Luo
41f994890d Sync data 2015-07-02 13:21:20 -04:00
Guangcong Luo
a61ecb88e3 .gitignore node_modules 2015-07-02 13:21:10 -04:00