diff --git a/README.md b/README.md index 2da7f7f..bf17ce6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,19 @@ # twisted +[Twisted!!!](https://twisted.hackclub.com) Make cool projects and complete a twisted roadmap full of challenges to get your own PC! +Screenshot_20260923-224353 -## dev setup -wanna help dev? +## pages you need to see +- dashboard +- projects +- pathways +- refer +- docs +- admin (if you are an admin or you setup locally) -follow these steps! +The whole website is built around a retro desktop UI, because the whole ysws is about getting a PC :D, includes a start menu, cool desktop windows, a cool background music playing and really great stuff giving you the desktop vibe. +## dev setup (local) +wanna help dev? follow these steps! 1. clone this repo 2. [install uv](https://docs.astral.sh/uv/getting-started/installation/) 3. copy twisted/.env.example to twisted/.env @@ -14,3 +23,6 @@ follow these steps! 2. run `uv run manage.py migrate` 3. run `docker compose up db` 4. run `uv run manage.py tailwind dev` in a new terminal +5. +## Thanks +Thats all! Thanks to Heliodex for making this Hack Club ysws possible, if your interested in participating, your're more than welcome to do that :) diff --git a/twisted/twisted_site/views/client/journal.py b/twisted/twisted_site/views/client/journal.py index d8d9606..cc20af1 100644 --- a/twisted/twisted_site/views/client/journal.py +++ b/twisted/twisted_site/views/client/journal.py @@ -8,7 +8,7 @@ from twisted_site.models import Journal, Project, TemplateContext from twisted_site.slack import log_to_channel -HACKATIME_MAX_LOGGABLE_MINUTES = 6 * 60 +HACKATIME_MAX_LOGGABLE_MINUTES = 999 * 60 IMAGE_REGEX = r"!\[([^\]]*)\]\([^)]+\)" @@ -93,7 +93,7 @@ def post(self, request: HttpRequest, project_id: int) -> HttpResponse: return self.get(request, project_id, context={"success": True}) -UNTRACKED_MAX_LOGGABLE_MINUTES = 60 +UNTRACKED_MAX_LOGGABLE_MINUTES = 60 * 3 class NewProjectUntrackedJournal(View):