Commit Graph

25 Commits

Author SHA1 Message Date
Ethan Roseman 6fb6d3c6dc
squash migrations 2022-11-23 02:17:21 +09:00
Luke Street 8eaf1784f3
Use cache for get_all_entries (#21)
* Use cache for get_all_entries

* Use prefetch_related in get_all_entries

* Run formatter

* More type annotations
2022-11-22 02:22:28 +09:00
Luke e98cbf8159
Improvements to get_progress_shield (#19)
- Use passed in category_slug
- Default to {measure}/total when not specified
- Use colors with better contrast
2022-11-21 15:33:54 +09:00
Ethan Roseman 693d4325d9
Upgrade deps, cli beginnings, api reorg (#18) 2022-09-23 05:40:44 +09:00
EllipticEllipsis ff0116dbb8
Shields (#17)
* First attempt

* Working

* Tweak the mode handling a bit
2022-09-22 21:03:46 +09:00
Ethan Roseman c98e43d087
endpoints for creating projects and versions, other fixes 2022-08-28 22:59:52 +09:00
Ethan Roseman 1899828ba5
settings, fixes, ULTIMATE_API_KEY 2022-08-28 21:38:46 +09:00
Ethan Roseman 86e73f3d09
get all entries based on mode url param 2022-08-28 12:49:37 +09:00
Ethan Roseman ae6197df11
Standardize /data response format, prepare for multiple entries in responses 2022-08-28 09:54:05 +09:00
Ethan Roseman f68a9c4154
entry creation serializer/validation + test 2022-08-27 21:28:16 +09:00
Ethan Roseman 5d619698c4
Validate category creation requests, unit test (#15)
* Validate category creation requests, unit test

* unit tests
2022-08-27 02:34:59 -04:00
EllipticEllipsis d5978edd29
Some URL fields for projects (#12)
* Add some URLFields to projects

* null=False version
2022-08-26 19:18:58 +09:00
Ethan Roseman 3b62d63fbb
Better Entry measures serialization (#11) 2022-08-26 11:16:04 +09:00
Ethan Roseman 686e15385e
Cleanup/reorg (#10)
* Cleanup/reorg WIP - serializers next

* PR comments, fixes

* fix URLs
2022-08-26 11:02:16 +09:00
EllipticEllipsis 5790357ac4
Add some POSTing functionality and some python files to make POST requests (#9)
* First attempt at csv parsing

* Probably right format now

* Add POSTing

* Updates and mypy
2022-08-25 15:26:27 +09:00
Ethan Roseman 3e8b5809a0
CI (#6)
Add github actions CI (black, mypy, django tests)
2022-08-25 12:41:19 +09:00
Ethan Roseman 2624839689
Unix timestamps, better exceptions 2022-08-24 14:42:20 +09:00
Ethan Roseman aaa92af032
CategoryDigestView 2022-08-24 10:58:55 +09:00
Ethan Roseman 8bf138d8c9
generate auth key 2022-08-24 10:38:09 +09:00
Ethan Roseman 3defb09002
better admin experience 2022-08-24 10:35:16 +09:00
Ethan Roseman 9848c8db9a
version digest view 2022-08-22 17:54:38 +09:00
Ethan Roseman e656ab4e64
measures 2022-08-22 11:01:56 +09:00
Ethan Roseman e5608c291d
api work 2022-08-21 20:25:44 +09:00
Ethan Roseman 800996542f
db changes 2022-08-20 12:33:37 +09:00
Ethan Roseman 5b02dc1b33
initial shtuff 2022-08-19 19:35:05 +09:00