Commit Graph

317 Commits

Author SHA1 Message Date
Lukáš Kucharczyk e6640a4083
Add django-cors-headers 2023-11-18 10:16:41 +01:00
Lukáš Kucharczyk 81fbcc9281
Add eslint and prettier 2023-11-18 10:16:41 +01:00
Lukáš Kucharczyk 2e891fc166
Remove cruft 2023-11-18 10:16:41 +01:00
Lukáš Kucharczyk b95d5dfb98
Remove top-level package.json 2023-11-18 10:16:40 +01:00
Lukáš Kucharczyk 0c564ef146
Add Nav component 2023-11-18 10:16:35 +01:00
Lukáš Kucharczyk 048401b20a
Integrate TailwindCSS 2023-11-18 10:16:35 +01:00
Lukáš Kucharczyk aecf0d6a6e
Change API url 2023-11-18 10:16:13 +01:00
Lukáš Kucharczyk a4ec5d0dbc
Add django-rest-framework 2023-11-18 10:16:13 +01:00
Lukáš Kucharczyk bec4e3716a
CI: autotag 2023-11-18 10:15:21 +01:00
Lukáš Kucharczyk 03142bc3c3
Add vite proxy config 2023-11-18 10:15:21 +01:00
Lukáš Kucharczyk b0ef975c2b
Add vite react 2023-11-18 10:15:20 +01:00
Lukáš Kucharczyk 555608d8c6
Fix syntax
Django CI/CD / build-and-push (push) Successful in 1m14s Details
2023-11-18 09:52:17 +01:00
Lukáš Kucharczyk a7293c659d CI: Ignore README.md 2023-11-18 09:33:31 +01:00
Lukáš Kucharczyk f36e692361 Do not run for pull requests 2023-11-18 09:33:10 +01:00
Lukáš Kucharczyk fe97f540a0 Fix CI being blocked 2023-11-18 09:32:41 +01:00
Lukáš Kucharczyk c35b539c42 Merge sessions and notes
Django CI/CD / build-and-push (push) Successful in 1m9s Details
2023-11-17 21:20:33 +01:00
Lukáš Kucharczyk bbe5e072b2 Don't display prices if zero 2023-11-17 21:10:56 +01:00
Lukáš Kucharczyk 6fc2f623dc Apply djlint 2023-11-17 21:06:57 +01:00
Lukáš Kucharczyk 9481bd5fef Add pre-commit
Django CI/CD / build-and-push (push) Successful in 1m33s Details
2023-11-17 09:34:51 +01:00
Lukáš Kucharczyk 4083165123 Use the black profile for isort 2023-11-17 09:15:18 +01:00
Lukáš Kucharczyk 45bb2681c7 Use isort on migrations 2023-11-17 09:15:06 +01:00
Lukáš Kucharczyk dbb8ec3f9a Handle empty edition_id 2023-11-17 09:14:25 +01:00
Lukáš Kucharczyk 206b5f6d46 Prevent HTMX from messing up the initial state
Django CI/CD / build-and-push (push) Successful in 1m15s Details
2023-11-16 20:33:56 +01:00
Lukáš Kucharczyk b7e14ecc83 Account for no sessions
Django CI/CD / build-and-push (push) Successful in 1m21s Details
2023-11-16 20:29:08 +01:00
Lukáš Kucharczyk 912e010729 Enable hx-boost everywhere
Django CI/CD / build-and-push (push) Successful in 1m18s Details
2023-11-16 19:56:08 +01:00
Lukáš Kucharczyk a485237456 Fix form not syncing due to HTMX
Django CI/CD / build-and-push (push) Successful in 2m38s Details
2023-11-16 19:03:16 +01:00
Lukáš Kucharczyk f5faf92ee0 Fix error
Django CI/CD / build-and-push (push) Successful in 1m57s Details
2023-11-16 16:53:59 +01:00
Lukáš Kucharczyk 07452d8c43 Re-instance gitea actions
Django CI/CD / test (push) Failing after 34s Details
Django CI/CD / build-and-push (push) Has been skipped Details
2023-11-16 16:51:52 +01:00
Lukáš Kucharczyk 229a79d266 Update .drone.yml testing
continuous-integration/drone/push Build is failing Details
2023-11-16 16:30:17 +01:00
Lukáš Kucharczyk c6ed577fe3 Formatting
continuous-integration/drone/push Build is failing Details
2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk 171e4779a3 Move static files in prod 2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk 79f94e5984 Fix docker-compose.yml 2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk ccebcb89c6 Improve Dockerfile
Major inspiration (aka direct theft) from https://github.com/wemake-services/wemake-django-template
2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk fe0a6b39e3 Fix .dockerignore 2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk 6a495f951f Remove Django admin 2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk c8646d0a0c Update dependencies 2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk f2bb15e669 Fix naive date 2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk c49177d63c isort 2023-11-16 16:27:41 +01:00
Lukáš Kucharczyk bd8d30eac1 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-16 16:27:41 +01:00
Lukáš Kucharczyk c44d8bf427 Improve time-related stuff
continuous-integration/drone/push Build is passing Details
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-15 19:14:09 +01:00
Lukáš Kucharczyk 3f037b4c7c Only allow choosing purchases of selected edition
continuous-integration/drone/push Build is passing Details
2023-11-15 14:25:42 +01:00
Lukáš Kucharczyk 8783d1fc8e Name and related_purchase validation for non-games 2023-11-15 13:04:47 +01:00
Lukáš Kucharczyk 9a1d24dbfd Sort imports, remove cruft 2023-11-15 12:19:31 +01:00
Lukáš Kucharczyk 4720660cff Fix wrong playrange ordering 2023-11-15 10:40:52 +01:00
Lukáš Kucharczyk e158bc0623 Improve how editions and purchases are displayed
continuous-integration/drone/push Build is passing Details
2023-11-15 10:37:24 +01:00
Lukáš Kucharczyk 8982fc5086 Game View: order editions by year 2023-11-14 21:19:36 +01:00
Lukáš Kucharczyk 729e1d939b Version 1.5.1
continuous-integration/drone/push Build encountered an error Details
2023-11-14 21:10:42 +01:00
Lukáš Kucharczyk 2b4683e489 Improve and cleanup ConditionalElementHandler 2023-11-14 21:09:43 +01:00
Lukáš Kucharczyk cce810e8cf Improve purchase __str__ 2023-11-14 19:55:56 +01:00
Lukáš Kucharczyk 62cd17f702 Disallow choosing non-game purchase as related purchase 2023-11-14 19:55:19 +01:00