Commit Graph

321 Commits

Author SHA1 Message Date
Lukáš Kucharczyk d6f77c0c19 Add django-cors-headers
Django CI/CD / build-and-push (pull_request) Has been cancelled Details
2023-11-18 09:23:54 +01:00
Lukáš Kucharczyk 52881a88c6 Remove top-level package.json 2023-11-18 09:23:54 +01:00
Lukáš Kucharczyk 76b09fea39 Integrate TailwindCSS 2023-11-18 09:23:54 +01:00
Lukáš Kucharczyk 89f6959fc1 Change API url 2023-11-18 09:23:10 +01:00
Lukáš Kucharczyk 77d6ad2618 Add django-rest-framework 2023-11-18 09:23:09 +01:00
Lukáš Kucharczyk 125d17da8a Merge sessions and notes 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 38d416c4f3 Don't display prices if zero 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 63bb8e5fa6 Apply djlint 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 71ede4e4dd Add pre-commit 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 12159e00c1 Use the black profile for isort 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk f4bdb0a3e2 Use isort on migrations 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 583efe1754 Handle empty edition_id 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 0f5067d66d Prevent HTMX from messing up the initial state 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk a32d6c38ab Account for no sessions 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 4f67bd85c7 Enable hx-boost everywhere 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk cabcaebead Fix form not syncing due to HTMX 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 047f67c4cb Fix error 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 34118e1319 Re-instance gitea actions 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk bd07f19939 Update .drone.yml testing 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 78a50739a8 Formatting 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk a579ef7d7d Move static files in prod 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 8ab2dcc950 Fix docker-compose.yml 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk ee4efae594 Improve Dockerfile
Major inspiration (aka direct theft) from https://github.com/wemake-services/wemake-django-template
2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk b3eed84e1b Fix .dockerignore 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk eb53a5983c Remove Django admin 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 023736d544 Update dependencies 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 4a990bb6c6 Fix naive date 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk af85607ada isort 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 978714125b Improve time-related stuff
Add created_at to all models
Add modified_at to Session
Get rid of custom now() function
Make sure aware datetime is used everywhere
2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 51ba5cfa20 Improve time-related stuff
Add created_at to all models
Add modified_at to Session
Get rid of custom now() function
Make sure aware datetime is used everywhere
2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk a7dd0c5556 Only allow choosing purchases of selected edition 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 7b2dba7483 Name and related_purchase validation for non-games 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 250fa0ee9d Sort imports, remove cruft 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk 952961a3ad Fix wrong playrange ordering 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 1f9b3d5682 Improve how editions and purchases are displayed 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk c8e8ba8c8e Game View: order editions by year 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk ab9c1d61dd Version 1.5.1 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk d64ad125ff Improve and cleanup ConditionalElementHandler 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 410f20acea Improve purchase __str__ 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk d280fa3798 Disallow choosing non-game purchase as related purchase 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 29d6cb8a4a Version 1.5.0 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk c4fdefadb0 Order purchases by date on game view 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 7ba212e718 Add purchase types 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 7b459a2735 CI: run migrations before tests 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk f0822ff221 Make sure empty stats are 0 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 200819ceb0 Change stats years to 2000 up to current year 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 8a433616c4 Add stat for finished this year's games 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 809e8e2d7c Fix detecting manual durations 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 528b7d78a1 Remove deprecated USE_L10N 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 5270525fc2 Add more tests 2023-11-18 09:22:25 +01:00