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
Alessandro Pezzè
4a6e519b39
feat: fix rare cases where description is ill formatted
2019-12-17 17:25:50 +01:00
Charles Marttinen
63b4f9040b
chore: Configure PyLint and correct code formatting
2018-10-20 11:35:11 -04:00
Charles Marttinen
8832c819e3
chore: Remove python2 compatibility code
2018-10-20 11:35:11 -04:00
Charles Marttinen
3d64938a3f
chore: Upgrade to Python 3 and update Django to 2.0
2018-10-20 11:35:11 -04:00
Charles Marttinen
2cb886eee3
Implement suggested naming changes
2018-09-10 06:25:02 +10:00
Charles Marttinen
9d4f893a69
Improve performance of database build script
...
The remainder of the build script has been converted to use
`bulk_create()`. Running the build script on my machine with a
PostgresQL database took only 5 minutes 40 seconds, and with
SQLite 26 minutes 18 seconds.
2018-09-10 06:25:02 +10:00
Charles Marttinen
def70662f1
Modify database build script to use bulk_create
(WIP)
2018-09-10 06:25:02 +10:00
Charles Marttinen
b12d8576d9
Fix v2 database build script to work on Windows
...
Image sprite paths should be Unix-style, but the build script used the
OS default, so the process failed on Windows.
2018-06-02 19:29:18 -04:00
Alessandro Pezzè
9203a0d286
Sun and moon data ( #305 )
...
* badges
* Added CSV from Veekun
* added sprites from Veekun website
* quick fixes for an Exception
* bumped dependencies version
* add comment on how to upgrade to Django 1.11
* added some reminds to caching, our official wrappers and the true cost of the server
* remove index.html from sprites
* update to conform django-rest-framework 3.3.0 guidelines
* lint
2017-10-21 13:21:23 +00:00
phalt
944af0455d
build script fixes
2016-03-05 12:25:50 +00:00
phalt
4bbb7b0a44
final lints
2016-03-05 11:40:41 +00:00
Zane Adickes
791d6853d6
forgot to uncomment some things
2016-02-16 01:47:05 -05:00
Zane Adickes
ec58b95478
images implemented for pokmon, pokemon forms and items
2016-02-16 01:31:19 -05:00
Zane Adickes
fdcfae9c5c
merge with phalt
2016-02-12 23:44:08 -05:00
Zane Adickes
396bbd45ae
adding some images
2016-02-10 08:09:36 -05:00
Zane Adickes
399643aa87
get started
2016-02-09 23:11:37 -05:00
Paul Hallett
1b59324630
Merge pull request #81 from zaneadix/new-ui
...
New ui
2016-01-31 12:03:26 +00:00
Zane Adickes
d6ca4a3f60
had a stash mistake on the last push. this should be a complete push
2016-01-26 21:09:44 -05:00
Adickes
1f41e3c17f
remove templating from strings when building database
2015-12-27 00:42:41 -05:00
nimaje
33ae7a6073
avoid starimports
...
don't use starimports so don't use them in examples
2015-12-07 21:29:39 +01:00
Adickes
b58a5b76c3
a few doc changes
2015-12-07 15:17:33 -05:00
Courtney Strachan
41662657a1
Update build.py - remove duplicate data load
...
I noticed that there was a duplicate PokemonGameIndex import in the original build.py for the v2 import. It's still in your updated build.py so I edited it out.
2015-12-05 18:54:09 -08:00
Benjamin Takacs
35240b3ae5
renamed prozess_csv
to process_csv
2015-12-05 13:21:56 +01:00
Benjamin Takacs
5e5854fb7b
One function for each group of models¬
...
NOT TESTED YET! Buildscript has not finished yet (needed about 18h until now).
Made `data/v2/__init__.py` and `config/local.py` python3 compatible.
Writen helper functions because of repeating code:
+ `process_csv`
+ `build_generic`
useage demonstrated with `_build_languages`.
Writen `with_iter` for closing files automatical
when the processing has finished.
Writen for each group of models a function (named `build_`groupname)
and a function `build_all` which calls these functions.
2015-12-05 12:13:46 +01:00
Adickes
3d8e9a7649
tests now handling all convenience attributes in all apis
2015-11-26 02:18:35 +01:00
Adickes
1f480cedac
tests covering all endpoints. working on adding some convenience attributes to api resources to help connect them two way style. tests will probably need some small tweaks
2015-11-15 22:29:30 -05:00
Adickes
75e39ba530
cleaned up the berry mess
2015-11-10 14:20:06 -05:00
Adickes
aa1d7d9939
fished serving almost all data (with the exception of machines and some csv files that didnt have data yet but have been updated in veekuns repo. TESTS STILL NEED TO BE DONE.
2015-11-08 16:26:02 -05:00
Adickes
c1f1f9ace7
apis for locations, location areas, encounters, encounter rates, characteristics, contests, super contests
2015-11-05 09:55:14 -05:00
Adickes
db91f73085
fix build steps
2015-10-29 15:09:28 -04:00
Adickes
b099558de2
starting a few more api endpoints (locations and encounters)
2015-10-29 13:46:15 -04:00