Commit graph

105 commits

Author SHA1 Message Date
FallenDeity
545e1a0826 feat: Add showdown field to pokemon api resource 2023-12-16 09:56:19 +05:30
Simón Oroño
76f7a340e6 Use JSONField instead of CharField for sprites
The models affected were PokemonFormSprites and ItemSprites. This was
done to ensure they are properly returned when querying those tables
with Hasura.
2023-11-26 11:57:16 -04:00
Simón Oroño
fa14336516 Stop encoding sprites when inserting them on the database
Since the column is now jsonb, we need to stop encoding it or it gets
inserted as a string rather than a JSON object.
2023-11-26 11:57:16 -04:00
Naramsim
e63ce54b80 refactor: run black 2023-11-06 11:38:12 +01:00
Alessandro Pezzè
3e4a710d07
refactor: format 2023-11-06 08:55:57 +01:00
LeonEstrak
c4748f5be9
Fix: Sprites URL in GraphQL
Signed-off-by: LeonEstrak <aniket2583@gmail.com>
2023-11-01 14:25:40 +05:30
Ryan Voice
7af0acf677 fix formatting 2023-02-16 15:53:48 -08:00
Ryan Voice
fb893e4177 Add previous ability data structure 2023-02-16 15:18:04 -08:00
Luis Vinicius
44af033872 Add: front_shiny to official_artwork 2022-11-21 19:40:30 -03:00
Naramsim
c9f49c95f5 reformat: black 2022-08-08 15:49:09 +02:00
Alessandro Pezzè
c2a781e5de try: use env var 2022-08-08 11:35:35 +02:00
Aniket Chakraborty
28354a973c Updated Sprite URL
Previously the sprite endpoint returned the relative path of
the image with a /media/ prefix which was not useful for API consumer.
Now it returns a URL pointing to the image present in github.com/PokeApi/Sprites.

Signed-off-by: Aniket Chakraborty <aniket2583@gmail.com>
2022-06-26 19:01:55 +05:30
Christian Garza
e4affb50c9 Add transparent sprites for gen-i and gen-ii 2021-11-15 17:57:00 -08:00
Alessandro Pezzè
bcd290be71 fix: format code 2021-10-25 19:27:41 +02:00
Rolf
eb4d313c1d Added Pokémon Home images support. 2021-10-04 20:53:15 +02:00
Julian Lawrance
206af8a6fd Remove order column from Generation model and use ID column instead 2021-07-19 19:00:40 +01:00
Julian Lawrance
0d9bc4f2b9 Run formatter 2021-07-16 22:32:06 +01:00
Julian Lawrance
1173b43ad1 Add order field to Generation model 2021-07-16 22:29:55 +01:00
Julian Lawrance
44f14a0118 Merge remote-tracking branch 'upstream/master' into feature/past-type-efficacy 2021-02-24 13:41:20 +00:00
Julian Lawrance
bbc8cbdf2b Merge remote-tracking branch 'origin' into feature/pokemon-form-types 2021-02-18 20:36:13 +00:00
Julian Lawrance
0aeb047677 Merge branch 'master' into feature/past-type-efficacy 2021-02-13 22:22:41 +00:00
Alessandro Pezzè
b5f014af82
Merge branch 'master' into past-pokemon-types 2021-02-10 20:41:02 +01:00
Alessandro Pezzè
ffea952902 refactor: change var names 2021-02-08 19:56:35 +01:00
Alessandro Pezzè
84b5a1874a fix: use string name when not default 2021-02-08 19:54:08 +01:00
Julian L
c273a42f98
Merge branch 'master' into past-pokemon-types 2021-02-06 21:56:50 +00:00
Julian Lawrance
76ba2ae00e Format source code 2021-02-06 21:52:36 +00:00
Julian Lawrance
6ce7ca413d Merge branch 'master' into past-pokemon-types 2021-02-06 21:29:40 +00:00
Alessandro Pezzè
92213330b3 chore: format wih black 2021-02-05 22:59:44 +01:00
Alessandro Pezzè
46f210ab81 feat: polish code/add female forms sprites 2021-02-05 22:58:23 +01:00
Alessandro Pezzè
06f78e6fd2 feat: build more image sprites 2021-02-05 22:58:23 +01:00
Alessandro Pezzè
6b33ed2bc6 play: allow null values 2020-09-02 19:57:00 +02:00
Christian Garza
4e8b0da539 Extend pokemon sprites to include gen-vii and gen-viii icons 2020-08-23 20:05:22 -07:00
Alessandro Pezzè
b2c381a89e
Merge branch 'master' into master 2020-08-15 21:32:56 +02:00
Alessandro Pezzè
6e9f123060
Merge branch 'master' into staging 2020-08-15 21:22:36 +02:00
Raghav Nair
25e026cc6a Removing ultrabeast column and only updating is_legendary and is_mythical 2020-08-14 22:14:09 -07:00
Christian Garza
afd4b6d9ec Extend pokemon sprites to include gen-v animated sprites 2020-08-14 17:29:19 -07:00
Alessandro Pezzè
41f6c39682 Merge branch 'master' into gen-8 2020-08-11 19:28:20 +02:00
Alessandro Pezzè
028ae7f9d9 fix: @C-Garza fix 2020-08-10 20:05:39 +02:00
Raghav Nair
99dabe387c Updating PokemonSpecies serializer, fields, tests 2020-08-09 12:35:45 -07:00
Christian Garza
03c7cb7f33 Update build.py 2020-08-08 14:12:34 -07:00
Christian Garza
0bc8f09e1f Extend pokemon sprites to include gen-ii to gen-vii and official artwork images 2020-08-04 03:17:48 -07:00
Alessandro Pezzè
6c307583b9 fix: use False for gender_diff 2020-08-01 12:57:57 +02:00
Alessandro Pezzè
7ceba2f1b1 refactor: apply black 2020-08-01 12:24:38 +02:00
Alessandro Pezzè
047575ff41 play: add some pokemon 2020-08-01 12:00:09 +02:00
Christian Garza
e45a9a6570 Extend pokemon sprites to include gray gen-i images 2020-07-28 02:48:01 -07:00
Christian Garza
7f19263e75 Extend pokemon sprites to include gen-i images 2020-07-27 17:22:15 -07:00
Alessandro Pezzè
1c67ac45a4 feat: allow null values in pokemon.csv 2020-07-25 21:18:10 +02:00
Christian Garza
f44da153fb Fix linting errors 2020-07-10 02:59:05 -07:00
Christian Garza
a14271a67a Extend pokemon sprites to include dream-world images from submodule 2020-07-09 23:58:11 -07:00
Julian Lawrance
98d67b19ed Create model, serialiser and migration for Pokemon form types 2020-04-25 14:10:50 +01:00