Commit Graph

258 Commits

Author SHA1 Message Date
Greg Edwards
b8e895cdeb Battle video rankings are now sorted by Hype.
Resolves #91.
2022-07-07 00:43:30 -04:00
Greg Edwards
384f8e41b3 Fixed hype overwriting old values. 2022-07-05 01:21:09 -04:00
Greg Edwards
b88a52461a Update hype on watch/save 2022-07-04 00:06:33 -04:00
Greg Edwards
4a902f3b7e Assign hype when uploading new battle videos. 2022-06-27 02:01:44 -04:00
Greg Edwards
1c240a4dde Updated mysql connector dependency to the last 3.5 compatible version. 2022-06-12 01:57:19 -04:00
Greg Edwards
7c0cbb8d5e Sort rankings properly. 2022-06-10 19:03:09 -04:00
Greg Edwards
80f358afed Hide results for invalid teams. 2022-06-10 18:59:44 -04:00
Greg Edwards
c432c6a245 Fixed rollover proc not inserting any rows. 2022-06-10 18:21:42 -04:00
Greg Edwards
b104726ef7 Trainer rankings works!! 2022-06-10 17:39:07 -04:00
Greg Edwards
2975c5e10a Finished Trainer Rankings database calls. 2022-06-02 01:48:49 -04:00
Greg Edwards
aa0bba7be5 Implemented TrainerRankingsPerformRollover. (more to come) 2022-05-17 00:38:59 -04:00
Greg Edwards
9d404e86fc Fixed typo in table name causing problems on default Linux installs. Solves #110. 2022-05-09 00:22:27 -04:00
Greg Edwards
e8910ea3f6 Removed weird auto increment seeds from table definitions. 2022-03-27 16:41:30 -04:00
Greg Edwards
61db2d427c Added IP range bans. 2022-03-27 16:39:12 -04:00
Greg Edwards
b2b7839948 Added admin link on available Pokémon listing. 2022-03-27 02:28:27 -04:00
Greg Edwards
9d761a7d7d First draft of savefile bans 2022-03-27 02:01:04 -04:00
Greg Edwards
31070df11b Fixed null ban expiry being treated as no ban. 2022-03-27 00:20:29 -04:00
Greg Edwards
174ba6308f Added support for pokeballs beyond Quick Ball. Solves most of #59. 2022-03-21 23:43:24 -04:00
Greg Edwards
6f7cd593f5 Style 2022-03-21 20:49:21 -04:00
Greg Edwards
775a6a5366 First implementation of bans on GTS. 2022-03-21 20:44:51 -04:00
Greg Edwards
ec62d3bcd8 Trainer rankings work 2022-03-19 01:03:56 -04:00
Greg Edwards
403546ce9a Future™ 2022-02-14 23:12:22 -05:00
Greg Edwards
247de87a21 Expose these Pokedex dictionaries so we can enumerate them! 2022-02-14 23:11:50 -05:00
Greg Edwards
af80b9e0cc Fixed a lot of crashes on pokemon stats viewer. 2022-02-08 03:43:22 -05:00
Greg Edwards
db1ff08b42 Log user IP addresses. 2022-02-08 03:42:24 -05:00
Greg Edwards
e4f7511abe Updated database schema. 2022-02-08 02:51:26 -05:00
Greg Edwards
4243eb3c9f Explicitly close db connections instead of just disposing them.
(Shouldn't affect anything but who knows...)
2022-01-25 00:21:45 -05:00
Greg Edwards
b40f8304d0 Updated SELECT EXISTS queries for mariadb 10.5 support. 2021-12-13 02:08:11 -05:00
Greg Edwards
766e315ab3 Block Pokémon with Ball Seals. Cr: Gannio in #71. 2021-12-06 23:56:45 -05:00
Greg Edwards
cb92aa33b1 Fixed deduplication of pid-less battle video entries. 2021-11-25 01:41:20 -05:00
Greg Edwards
8180144b0c More style 2021-11-22 22:05:10 -05:00
Greg Edwards
296fec2bd7 Populate moveset interfaces on Battle Tower Pokémon. 2021-11-22 01:24:24 -05:00
Greg Edwards
28ea0df638 Moved GTS record Pokémon validation over to Pokemon classes. 2021-11-08 00:10:12 -05:00
Greg Edwards
0b90805fbe Added base class for Battle Tower Pokémon, derived from our abstract base Pokémon class, and plumbed the change through. 2021-10-29 01:11:46 -04:00
Greg Edwards
8d5525363d Added support for calculating gender from PV. 2021-10-27 01:00:40 -04:00
Greg Edwards
b0e672a7fc Fixes 2021-09-21 19:48:11 -04:00
Greg Edwards
28876be090 Added public StatValues ctors that take enumerables. 2021-07-27 22:40:56 -04:00
Greg Edwards
133a77d75f Improved GenV trendy phrase rendering. 2021-05-16 01:24:52 -04:00
Greg Edwards
33b5878c7f Fixed BSOD when attempting a battle tower room without a full leaderboard. 2021-05-16 01:24:03 -04:00
Greg Edwards
4418fbb8be Fixed error 13266 on depositing a Pokémon with no held item. 2021-04-16 17:54:54 -04:00
Greg Edwards
14e36d3308 Added checks that species, form, ability, and moves are in range. 2021-04-15 23:31:57 -04:00
Greg Edwards
fc52556eb1 This wasn't supposed to be committed 2021-04-15 00:31:46 -04:00
Greg Edwards
456a346b9e Added crude held item checks. #94
Credit: https://github.com/sosnek
2021-04-15 00:13:03 -04:00
Greg Edwards
5db746ee64 Added replay responses for trainer rankings. 2021-03-13 00:40:18 -05:00
Greg Edwards
3840a90332 Exclude battle frontier from search results if the player hasn't cleared the E4. Solves #9. 2021-03-07 14:21:54 -05:00
Greg Edwards
2eb175a4ed Added Game Sync ID (de)obfuscation algorithm. 2021-02-17 02:04:29 -05:00
Greg Edwards
11d508fee9 Added some basic validation checks to GTS. 2021-02-07 03:53:23 -05:00
Greg Edwards
ca27fcadaa Store email notification fields in database. 2021-02-06 21:11:40 -05:00
Greg Edwards
a31aee38ad Added email notifications fields to trainer profile classes, extracted shared functionality to base class. 2021-01-31 22:22:22 -05:00
Greg Edwards
785dfca0a6 Attempted fix of #72 by using byte 0x41 for nature instead of PV. 2019-12-31 02:38:17 -05:00