Commit graph

1265 commits

Author SHA1 Message Date
Naramsim
35f4712ed3 cicd: run on PRs 2023-11-30 15:03:43 +01:00
Naramsim
f7f2be7c1b cicd: try add build image action 2023-11-30 09:14:49 +01:00
Naramsim
b348e60d2c refactor: merge migrations 2023-11-30 04:09:39 +01:00
Simón Oroño
b3d6608283 Fix tests for sprites
Moved the declaration of sprite_data variables closer to their actual
usage.
2023-11-26 11:57:16 -04:00
Simón Oroño
61c21853ef Fix serializers for ItemSprites and PokemonFormSprites 2023-11-26 11:57:16 -04:00
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
0dcaf0d0a0 Remove unused packages in requirements.txt 2023-11-26 11:57:16 -04:00
Simón Oroño
d57fd5ab01 Add a Makefile rule for running the tests inside the docker container 2023-11-26 11:57:16 -04:00
Simón Oroño
45efd0702c Remove root __init__.py file
This was preventing the tests from running.
2023-11-26 11:57:16 -04:00
Simón Oroño
db33cfc1a4 Format missing files 2023-11-26 11:57:16 -04:00
Simón Oroño
d1e2d9c5b4 Use new JSON field in Django instead of Postgres custom one 2023-11-26 11:57:16 -04:00
Simón Oroño
8f716cdbf0 Update Django to version 3.1
Some third-party packages had to be updated and some new settings were
added due to `manage.py` not running.
2023-11-26 11:57:16 -04:00
Simón Oroño
30e8a01253 Format migration 0014_auto_20231119_0303.py 2023-11-26 11:57:16 -04:00
Simón Oroño
49d970f0ed Remove unused serializer class PokemonSpritesSerializer 2023-11-26 11:57:16 -04:00
Simón Oroño
6ff2c0c217 Fix serialization of pokemon sprites 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
Simón Oroño
218864dfbc Make the type of the sprites column in pokemon_v2_pokemonsprites jsonb
This is so Hasura automatically transforms the field into an array
instead of a JSON encoded in a string.

Migration was generated by the `makemigrations` command.
2023-11-26 11:57:16 -04:00
Alessandro Pezzè
7f3d32de57
Merge pull request #965 from JulesLetters/typo-minds-eye
Fix Mind's Eye ability to have apostrophe
2023-11-26 17:27:01 +09:00
Justin Dowell
571361e26c Fix Mind's Eye ability to have apostrophe 2023-11-25 00:54:28 -06:00
Alessandro Pezzè
e6ba307c22
Merge pull request #957 from penelopeysm/sinnoh-starters
Add SV learnset for Sinnoh starters
2023-11-12 14:33:18 +09:00
Penelope Yong
3ff04231bb
Add SV learnset for Sinnoh starters
Closes #956
2023-11-11 14:46:11 +00:00
Alessandro Pezzè
0dfb20d121
Merge pull request #954 from JintoYamanaka/add_stat_changes 2023-11-08 23:53:08 +09:00
Alessandro Pezzè
d88716bacc
Merge branch 'master' into add_stat_changes 2023-11-08 22:46:25 +09:00
JintoYamanaka
49380605ed Add 'stat_changes' entries for 4 moves
Included the missing 'stat_changes' for Stockpile, Memento, Defog, and Shell Smash to accurately reflect their in-game effects.
2023-11-08 20:52:20 +09:00
Alessandro Pezzè
f96e236849
Merge pull request #953 from PokeAPI/format-newblack-serializer 2023-11-08 19:21:01 +09:00
Naramsim
8ba6f94c0c refactor/fix: format/sprite test 2023-11-08 11:11:56 +01:00
Naramsim
5237c4ccc9 refactor: format with new black 2023-11-08 10:44:55 +01:00
Naramsim
3fa2b6952f fix: don't add or replace parts of the sprites' URL 2023-11-08 10:22:56 +01:00
Alessandro Pezzè
369d09f390
Merge pull request #951 from 14239/master 2023-11-08 09:11:59 +09:00
14239
5eb8a4e95d Only rearrange edited move's order 2023-11-06 20:23:55 +09:00
14239
ca8a3a6a07 Merge branch 'master' of https://github.com/14239/pokeapi 2023-11-06 20:19:32 +09:00
14239
73ea615bfb Revert "Add order for Level 1 moves in Gen 9"
This reverts commit 123bae116a.
2023-11-06 20:14:34 +09:00
Alessandro Pezzè
aad0c8e5fd
Merge branch 'master' into master 2023-11-06 11:49:44 +01:00
Naramsim
e63ce54b80 refactor: run black 2023-11-06 11:38:12 +01:00
Alessandro Pezzè
203f3979cd
Merge branch 'master' into master 2023-11-06 11:20:38 +01:00
Alessandro Pezzè
3e4a710d07
refactor: format 2023-11-06 08:55:57 +01:00
Alessandro Pezzè
ccf4c80198
Merge pull request #949 from LeonEstrak/fix_sprites_url
Fix: Sprites URL in GraphQL
2023-11-06 08:25:52 +01:00
14239
123bae116a Add order for Level 1 moves in Gen 9
and resorting moves by order entry
2023-11-04 14:59:19 +09:00
LeonEstrak
c4748f5be9
Fix: Sprites URL in GraphQL
Signed-off-by: LeonEstrak <aniket2583@gmail.com>
2023-11-01 14:25:40 +05:30
Alessandro Pezzè
f7e87abc70
Merge pull request #945 from lati111/hisuian-form-index-fix 2023-10-24 12:30:30 +02:00
AnonymousPancakes
df93e024a3 Adjusted form order on hisuian forms 2023-10-23 19:35:57 +02:00
Alessandro Pezzè
b7eb08324c
Merge pull request #848 from revoice1/Add-previous-abilities 2023-10-16 17:12:14 +02:00
Alessandro Pezzè
07c8b5c860
Merge pull request #920 from penelopeysm/sv-dlc
Learnset updates for SV DLC1
2023-10-10 15:21:18 +02:00
Alessandro Pezzè
f7367faae5
Merge branch 'master' into Add-previous-abilities 2023-10-09 12:58:37 +02:00
Penelope Yong
5137037562
Remove duplicated Ursaluna moves 2023-10-08 19:18:57 +01:00
Penelope Yong
063a8c5acd
Merge remote-tracking branch 'upstream/master' into sv-dlc 2023-10-08 19:03:32 +01:00
Penelope Yong
e6a52aca06
Remove duplicated lines 2023-10-08 18:58:44 +01:00
Penelope Yong
3988e62575
Add new TMs in SV 2023-10-08 18:56:33 +01:00
Penelope Yong
d678be937a
Add Trick Room to Indeedee-F 2023-10-08 16:38:14 +01:00
Penelope Yong
d861c2d64f
Add Alolan Grimer egg moves 2023-10-08 01:29:27 +01:00