Commit graph

98 commits

Author SHA1 Message Date
indyandie
d772620699
test: make format 2024-03-05 00:54:48 -06:00
indyandie
4688b0d071
tidy 2024-03-05 00:37:02 -06:00
indyandie
cfff93d6ed
global tags 2024-03-04 03:06:12 -06:00
indyandie
3c9d27bf46
conf(drf-spectacular): set COMPONENT_SPLIT_REQUEST 2024-03-03 01:02:00 -06:00
indyandie
3a1f9dbf4a
docs(openapi): update SERVERS 2024-02-24 02:05:22 -06:00
indyandie
7f2d2bdf83
docs(openapi): update spectacular settings 2024-02-24 01:51:59 -06:00
indyandie
4bc132d82c
docs(openapi): add drf-spectacular and default settings 2024-02-24 01:51:38 -06:00
Naramsim
dc951e5aec refactor: lint 2024-01-13 18:00:27 +01:00
Naramsim
ccb60d5b24 deps: ipdate django to 3.2 2024-01-13 17:57:47 +01:00
Simón Oroño
0dcaf0d0a0 Remove unused packages in requirements.txt 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
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
Alessandro Pezzè
c3926c9983 refactor: format 2021-05-28 09:51:30 +02:00
Alessandro Pezzè
d2acfaffe5 feat: allow config via env 2021-05-22 19:20:05 +02:00
Alessandro Pezzè
c0dd3004de chore: lint 2021-05-16 22:13:07 +02:00
Alessandro Pezzè
1a3e61ec0e fix: allow postgres&redis locaion customization 2021-05-16 20:48:50 +02:00
Alessandro Pezzè
d8b867355e feat: read env when creating containers 2021-05-14 19:48:14 +02:00
Alessandro Pezzè
7714b570b7 refactor: add newline 2021-03-23 20:43:59 +01:00
Alessandro Pezzè
c27585db89 fix: allow all hosts 2021-03-19 19:53:12 +01:00
Alessandro Pezzè
875f065275 feat: add graphiql 2021-03-19 19:09:59 +01:00
Alessandro Pezzè
464aeea4af fix: run black 2020-11-23 22:05:49 +01:00
Paul Hallett
d5d55dad7f Autoformat entire project, tidy up makefile 2020-02-24 13:18:14 +13:00
Alessandro Pezzè
cb413c25cf refactor: remove comments 2020-01-26 12:38:15 +01:00
Alessandro Pezzè
3ee705ae25 feat: comment out throttling 2020-01-26 12:38:15 +01:00
Charles Marttinen
63b4f9040b chore: Configure PyLint and correct code formatting 2018-10-20 11:35:11 -04:00
Charles Marttinen
4df9920596 chore: Correct code formatting to appease linter 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
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
d25b66662e chore: Remove API v1 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
Charles Marttinen
d8483e9a67 fix: Remove unused apps from settings 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
85dd999396 Add alerts model and UI (#252) 2016-08-13 08:24:56 +01:00
Alexandre Boucey
d771c293df Added Docker Compose support for production (#183)
* Added Docker Compose support for production

* Added rate limiting to nginx
2016-07-07 13:23:59 +01:00
Paul Hallett
c4b2d52682 Add throttle settings (#223)
* Add throttle settings

Proposed API rate limit throttling. This should work directly with redis.

* Update settings.py
2016-07-06 14:04:09 +01:00
Paul Hallett
15aae235b4 Update views.py 2016-06-01 09:41:48 +01:00
Alexandre Boucey
38a88634ce Improving docker support (#179)
Allow docker to reuse previous pip layer

Fixed newlines
2016-05-03 16:05:37 +01:00
Paul Hallett
a7fa867a7c fix if statements (#177) 2016-04-30 15:42:28 +01:00
Paul Hallett
eb5783697b Set up redis cache (#176) 2016-04-30 15:36:56 +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
Paul Hallett
489c1a700e Update cors headers regex (#168) 2016-04-23 14:37:43 +01:00
phalt
75259851a9 Added missing import 2016-04-22 11:30:02 +01:00
Paul Hallett
8c8f80d66c Set up stripe donation button (#158)
* Set up stripe donation button

* Add crsf_exempt import

* rebase and update
2016-04-22 10:55:42 +01:00
root
bd30096d43 version rollback 2016-03-07 10:54:51 +00:00
root
921493826c version rollback 2016-03-07 10:54:13 +00:00
phalt
4bbb7b0a44 final lints 2016-03-05 11:40:41 +00:00
Maxwell Friederichs
5357992688 Changed Dockerfile over to use postgres. Adding custom config for the Dockerfile. 2016-02-29 21:05:25 -06:00
Zane Adickes
ec58b95478 images implemented for pokmon, pokemon forms and items 2016-02-16 01:31:19 -05:00