Commit graph

126 commits

Author SHA1 Message Date
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
23ba8056ef chore: Update Django to 1.10 2018-10-20 11:35:11 -04:00
Charles Marttinen
ee96433e6d chore: Update Django to 1.9 2018-10-20 11:35:11 -04:00
Charles Marttinen
6663813dc2 fix: Add LocationArea back to REST API
LocationArea is a special case that was missed when getting rid of the
hit counter.
2018-10-18 23:18:36 -04:00
Charles Marttinen
76c2b58e4e fix: Remove old website and associated code
The pokeapi.co website has been rebuilt and moved to a separate
project, so the website in this project is obsolete.

This removes all files and code related to the website, including the
'alerts' and 'hits' apps (which managed website alerts and the hit
counter) and unused site assets (CSS, JS, images).
2018-10-18 23:18:36 -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
Paul Hallett
404f23abd1 Change URL from PokéAPI to gh for sprites (#257) 2016-08-13 18:35:42 +01:00
sentwistler
28bd7ccd67 move flavor texts now available (#220)
* move flavor texts now available

* fix failed lints

* add documentation for move flavor text field
2016-07-05 09:42:03 +01:00
Sargun Vohra
d6ae95c617 Redo PokemonEncounterView (#212)
* redo PokemonEncounterView (fix #210)
2016-06-25 13:33:52 -04:00
Sargun Vohra
cf19dcca29 Pokemon form names (#213)
* added names and form names to the pokemon-form resource

* document pokemon form names

* close #185
2016-06-25 12:56:24 -04:00
Sargun Vohra
f8c641716e Link moves to machines (#211)
* add Machines resource to link TM/HM items to moves

* document new Machines resource

* fix #198
2016-06-25 12:45:20 -04:00
Sargun Vohra
fce9410c50 Fix for dealing with name format (#207)
* Allow plus in names (fix #146)

* Handle id/name that does not match the format instead of throwing an error
2016-06-04 12:27:36 -04:00
Sargun Vohra
1890ad9512 Allow negative IDs (fix #145) (#206) 2016-06-04 11:18:45 +01:00
Paul Hallett
4919c0674d DB index, improve Pokemon performance (#194)
* DB index, improve Pokemon performance

* fix test

* blep
2016-05-30 14:58:03 +01:00
Sargun Vohra
ba7cfafbc4 use empty list instead of null for evolution details (#191) 2016-05-25 09:01:23 +01:00
Sargun Vohra
254937c673 Always wrap evolution details in a list (#190)
* fix #188, always wrap evolution details in a list

* update evolution details test to accomodate fix
2016-05-24 14:56:15 +01:00
Paul Bowsher
13becdb6a8 Fix a typo (#184)
`abailable` -> `available`
2016-05-09 09:24:32 +01:00
Paul Hallett
422d98fff2 Optimisations (#174)
* removed all the things causing slow times on data

* fixup look sharp

* use ujson

* bep
2016-04-30 13:02:27 +01:00
Shohei Shimomura
0bce568bce Update pokemon_v2/README.md (#153) 2016-04-23 11:06:16 +01:00
smasher164
2bf7a9667b Update docs and readme to show that /location/ and /location-area/ only take an id, not a name. 2016-03-16 19:29:53 -04:00
Mordechai Zuber
3242948828 Fix for phalt/pokeapi#120 2016-03-09 16:52:00 +02:00
phalt
e12586a536 Fix migrations again 2016-03-05 12:14:10 +00:00
phalt
4bbb7b0a44 final lints 2016-03-05 11:40:41 +00:00
phalt
341b635332 Linting for the entire project 2016-03-05 09:27:25 +00:00
phalt
36e8781c68 Version bumps, removing whitespaces 2016-03-05 08:26:51 +00:00
Adickes
effe512e61 merge migrations paths 2016-03-01 19:56:44 -05:00
Zane Adickes
421a87fdc4 Merge branch 'v2-images' into flavor-texts 2016-02-25 00:04:58 -05:00
Zane Adickes
77c69889e1 clean merge 2016-02-25 00:02:51 -05:00
Zane Adickes
a16e6418e5 pokemon flavor texts now available 2016-02-24 23:55:59 -05:00
Paul Hallett
c9661531b0 Merge pull request #79 from zaneadix/New-Data
updated data with all of latest veekun updates
2016-02-23 10:06:21 +00:00
Zane Adickes
12640795ff Merge pull request #88 from SiMylo/master
Fixing Issue #85 (Duplicated Move Data)
2016-02-18 23:20:58 -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
PoroCYon
1f57a68964 Fixed type info in the docs 2016-02-13 02:36:09 +01:00
PoroCYon
e54370aa25 Fixed more typos in the docs 2016-02-12 21:28:48 +01:00
PoroCYon
5587ebd9ac Fixed typos in README (fixes #97)
I've left `pokédexes` as it is.
2016-02-12 12:46:02 +01: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
SiMylo
cba1cbe292 Using PEP 0008 as Guide
Attempting to incorporate the style guide linked by phalt.  Should have
no functional changes, but is hopefully easier to read/review.
2016-02-08 08:28:55 -06:00
SiMylo
b08392cd3e Shorten Line Lengths
Refactoring a little so the line lengths will be shorter?
2016-02-05 08:11:48 -06:00
SiMylo
58a7b287f4 Fixing Issue #85 (Duplicated Move Data)
Contains a fix and testing for the following issue:

I found that we are sometimes sending multiple exact duplicates of
pokemon move data when there are different levels at which a pokemon
learns a move for different version groups.  I found that the problem
was that we were using order_by('level') and duplicate('move_id') .
This link explains why this behavior happens.
https://docs.djangoproject.com/en/1.7/ref/models/querysets/#distinct
2016-02-03 14:24:48 -06: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
Zane Adickes
91e84b7079 reorganiztion and clean up. 2016-01-09 10:55:39 -05:00
Zane Adickes
b1302233aa still need to re-organize v2 docs and work on doc navigation 2016-01-07 08:20:10 -05:00
Zane Adickes
66370dad44 ui using django templates 2016-01-06 17:10:05 -05:00
Zane Adickes
90a0066f33 oh well nevermind 2016-01-04 19:39:50 -05:00
Zane Adickes
f9e528dd38 cleanup. navigation between version uis 2016-01-01 20:05:39 -05:00
Zane Adickes
00408c89e2 home page try it out. contributors. started docs. 2016-01-01 16:48:41 -05:00
Zane Adickes
0fda377b8c new ui code in angular 2015-12-30 08:22:15 -05:00