about summary refs log tree commit diff stats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Added type and ability data to species modelKelly Rauchenberger2017-10-104-3/+30
|
* Pokémon now show the Poké Ball that they're inKelly Rauchenberger2017-10-043-1/+12
| | | | Also fixed a bug with viewing Pokémon that aren't in any game.
* Added generic met message for Pokémon from OrreKelly Rauchenberger2017-10-042-2/+7
| | | | | | Pokémon from Orre now display "Met in a trade" instead of an entirely incorrect met location, because we're not currently equipped to display the proper met data for them (see hatkirby/gen3uploader#6).
* Optimized front page queriesKelly Rauchenberger2017-10-032-9/+70
| | | | | | | | | | | Reduced the number of queries that the front page runs to 2 queries total: one to get trainer data, and one to get the Pokémon. The latter query selects only the necessary columns, notably ignoring basically everything from the revisions join other than the nickname of the most recent revision. The controller then does the work of chunking the Pokémon into party/boxes, and then into trainers/unaccounted. refs #2
* Removed box modelKelly Rauchenberger2017-10-035-57/+108
| | | | | | | | | | | | | It seemed kind of strange to have a model that there should always be exactly 14 of for each of the parent (Trainer) model instances, so the box names were moved into the Trainer model, and the Box model was removed. This commit also adds some eager loading to speed up page loading times. Also made a small change to the way the gift ribbons are extracted. refs #2
* Made "met location" into an actual associationKelly Rauchenberger2017-10-033-10/+8
|
* Emerald animated sprites only loop on demandKelly Rauchenberger2017-09-30832-1/+3
| | | | | | | It was a little annoying that the animated sprites for Pokémon in Emerald would infinitely loop without much delay between the loops, so the GIFs were edited such that they only play once, and some JavaScript was added such that mousing over the sprite makes it play again.
* Added hold itemsKelly Rauchenberger2017-09-30220-2/+79
| | | | | | | | | | | | | | | | | | | | | | An items model was created, but the seed only contains items that can be held, which excludes key items and HMs. Berry Juice, while unobtainable, is still included. The item model contains three description fields: one for Ruby/Sapphire, one for FireRed/LeafGreen, and one for Emerald. This is because the descriptions for items are different between the games. In a lot of cases, the Emerald description is the same as the Ruby/Sapphire one, so in those cases, the Emerald description is nil. The purpose of having the different descriptions is so that when a Pokémon holds an item, the website can display the description that is accurate to the game that that Pokémon is currently in. In order to fully support TMs, the move model was improved to additionally contain type and also the three description fields which operate similarly to those of the item model. For TMs, the description fields on the item are usually nil. However, some TMs in Ruby/Sapphire, as well as Emerald, have different descriptions than the moves that they correspond with. In these cases, those descriptions are in the item model, and override the move descriptions when the move is looked at as a TM.
* Added gift ribbon descriptionsKelly Rauchenberger2017-09-304-7/+60
| | | | | | This is basically just for completeness because it is unknown whether gift ribbons other than the National Ribbon and Earth Ribbon from Pokémon Colosseum were ever distributed.
* Added ribbonsKelly Rauchenberger2017-09-296-28/+367
| | | | | | Gift ribbons currently partially work: the correct ribbon image and name is shown, but the ribbon description is not yet extracted from the game and thus is just blank.
* Added axes to condition diagramKelly Rauchenberger2017-09-292-4/+21
|
* Added contest diagramKelly Rauchenberger2017-09-283-2/+128
|
* Continued working on design, added movesKelly Rauchenberger2017-09-275-52/+203
| | | | | | | | Still a very early design Also, for Pokémon that have Natures that don't benefit and hinder the same stat, there is now a + next to the stat that the Nature benefits, and a - next to the stat it hinders.
* Added section on homepage for Pokémon not in any gameKelly Rauchenberger2017-09-264-19/+51
|
* Added met location dataKelly Rauchenberger2017-09-256-28/+121
| | | | | Note that the met location for Pokémon from Orre is completely incorrect.
* Fixed leading spaces in Pokémon namesKelly Rauchenberger2017-09-241-0/+3
|
* Added space to empty box slotsKelly Rauchenberger2017-09-242-1/+9
|
* Added box namesKelly Rauchenberger2017-09-244-22/+39
|
* Worked on PC display pageKelly Rauchenberger2017-09-248-13/+209
|
* Added storage location information to PokémonKelly Rauchenberger2017-09-242-5/+19
|
* Added OT gender fieldKelly Rauchenberger2017-09-243-1/+5
|
* Started working on UIKelly Rauchenberger2017-09-242464-7/+156
| | | | | This commit imports a lot of assets from veekun, as well as a font from http://www.victoryroad.net/showthread.php?t=1507
* Started writing extractorKelly Rauchenberger2017-09-234-1/+112
|
* Moved revision moves into revision tableKelly Rauchenberger2017-09-232-23/+29
| | | | | | This is a retroactive schema change, so there's no easy way to migrate into it without losing data, but this is so early into the development of this project that it really doesn't matter.
* Created a bunch of modelsKelly Rauchenberger2017-09-166-0/+175
|
* Initial commitKelly Rauchenberger2017-09-1610-0/+68