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
Guangcong Luo
7a340a101c
Make githooks/update more terse
2015-07-02 13:20:25 -04:00
Guangcong Luo
279893d2ee
Delete old jQuery file
2015-07-02 12:48:36 -04:00
Guangcong Luo
5abc202006
Don't cache old tournament JS files
2015-07-02 12:47:51 -04:00
Ivo Julca
744a2d80a6
Fix teams not being sent for tournament battles
2015-07-02 07:08:43 -05:00
Guangcong Luo
4aabfaf07f
Fix crashes related to empty teams
2015-07-02 04:20:00 -04:00
Guangcong Luo
5a5f8e0c9a
Merge branch 'MasterFloat-patch-1'
2015-06-30 15:55:15 -05:00
MasterFloat
1603a1a7a5
Fix popmenu button padding in Mozilla
...
This adds 1px top and bottom padding to popupmenu's button to match its
hover offset. Necessary because of a bug in Mozilla involving box-sizing
of buttons.
2015-06-30 15:25:42 -05:00
Guangcong Luo
6c15f75c61
Update 'icons' for empty team
2015-06-30 04:18:42 -05:00
Guangcong Luo
35ea08391d
An empty string is not a corrupt team
2015-06-30 04:17:26 -05:00
Ivo Julca
464129ce8c
Safe return type ([]) for team unpacker functions
2015-06-30 04:05:36 -05:00
Ivo Julca
b3276d0290
Fix Desktop client teambuilder crash
...
Attempting to go to Team List after deletion of all Pokémon in a team triggered a TypeError
2015-06-30 03:59:26 -05:00
Guangcong Luo
d674dfca8d
Support packed teams in desktop client
2015-06-30 03:20:29 -05:00
Ivo Julca
4106dd379d
Fix crash in Storage.packTeam for some corrupted teams
2015-06-30 02:45:34 -05:00
Guangcong Luo
86820e79a0
Minor grammatical fix to a comment
2015-06-30 02:25:01 -05:00
Guangcong Luo
84be1cd2f2
Teambuilder: more reliable team saving
2015-06-30 02:24:50 -05:00
Guangcong Luo
37af6ced67
Remove extraneous saveTeams function
2015-06-30 02:24:17 -05:00
Guangcong Luo
bbc2188a40
Refactor teambuilder to use packed teams
...
This is a major refactor that changes the teambuilder to store
teams in packed format whenever possible, for approximately 50%
less memory usage for team storage.
The only visible change here is that pokemon nicknames have been
replaced with pokemon icons in the teambuilder team list, to
match the team selector in the main menu, which simplifies
extracting information from packed teams.
2015-06-30 02:16:55 -05:00