Commit graph

93 commits

Author SHA1 Message Date
Mihkel Martin Kasterpalu
56487089e4 Rahvatarkus: increase max length of answer to 200 and question to 75 2025-02-18 13:33:14 +02:00
Mihkel Martin Kasterpalu
37c52a0dbc Fix typo in rahvatarkus meta description 2025-02-12 07:13:37 +02:00
Mihkel Martin Kasterpalu
96f5157adf Fix deploy? 2025-02-12 06:56:18 +02:00
Mihkel Martin Kasterpalu
87e39fb563 Remove debug and comment from Attcha component 2025-02-12 06:43:47 +02:00
Mihkel Martin Kasterpalu
8761caafd8 Temporarily pin svelte version to fix deploy error 2025-02-12 06:06:11 +02:00
Mihkel Martin Kasterpalu
ed858f5022 Add drizzle output folder to .gitignore 2025-02-12 06:05:00 +02:00
Mihkel Martin Kasterpalu
f00c6f2f4d Remove source from rate limit message 2025-02-12 05:48:41 +02:00
Mihkel Martin Kasterpalu
072bf2c775 Fix deployment error /sw.js not found 2025-02-12 05:48:25 +02:00
Mihkel Martin Kasterpalu
499c497bff reformat files 2025-02-12 05:19:49 +02:00
Mihkel Martin Kasterpalu
2faf50961e Fix Dockerfile 2025-02-12 04:45:44 +02:00
Mihkel Martin Kasterpalu
1fd076a186 Update Dockerfile to create and copy database 2025-02-12 04:36:32 +02:00
Mihkel Martin Kasterpalu
c6ec335b04 Add altcha captcha to rahvatarkus, adjust some wordings in rahvatarkus 2025-02-12 04:33:08 +02:00
Mihkel Martin Kasterpalu
4363f56c23 Add Skeleton to rahvatarkus while loading instead of text 2025-02-12 03:26:47 +02:00
Mihkel Martin Kasterpalu
25ffa850e3 Add rahvatakus to games, remove "rohkem mänge soon" from games
The placeholder "more games soon" button isn't needed anymore, because
there already is enough on the site
2025-02-12 02:02:37 +02:00
Mihkel Martin Kasterpalu
2130ae5c39 Rewrite some of vaukuivali to optimize split timer
Use watch from runed for more finegrained updates
Start time only after the first scroll
Add fallbacks/estimations if we still didn't collect the time
Track the current checkpoint using only the decibel, as other info is
now in a Record accessible via the decibel as the key
2025-02-12 01:58:43 +02:00
Mihkel Martin Kasterpalu
626dd22cb1 fix image credit type in vaukuivali and projects 2025-02-12 00:27:57 +02:00
Mihkel Martin Kasterpalu
d882c670ed Optimize pakubiiti player state
Add cleanup, if user identified with session token hasn't interacted
with the game in 24h
Store the the previously separate AlbumState inside PlayerState as well.
This means it's better connected to the actual player and will also be
cleaned up
2025-02-12 00:01:51 +02:00
Mihkel Martin Kasterpalu
94b659b1f0 Add a rate limiter 2025-02-11 23:34:57 +02:00
Mihkel Martin Kasterpalu
0526d0029b Fix pakubiiti import bug 2025-02-11 21:06:20 +02:00
Mihkel Martin Kasterpalu
1979206a9d Rahvatarkus submit button to center 2025-02-11 20:19:42 +02:00
Mihkel Martin Kasterpalu
f26aa8f5c7 Rahvatarkus Better UI and errors
Handle more edgecases
More specific error messages
All error messages in Estonian
2025-02-11 20:19:42 +02:00
Mihkel Martin Kasterpalu
35ad2da1c3 Rahvatarkus better ui 2025-02-11 20:19:42 +02:00
Mihkel Martin Kasterpalu
6847b6605c rahvatarkus order by creation date, latest first 2025-02-11 15:52:49 +02:00
Mihkel Martin Kasterpalu
46287d6984 Optimize rahvatarkus API, DB schema and data loading 2025-02-11 15:50:27 +02:00
Mihkel Martin Kasterpalu
74cc8a0458 Add missing shadcn components 2025-02-11 15:49:58 +02:00
Mihkel Martin Kasterpalu
f3ec1ff41d Max limit of 10 for rahvatarkus archive API call 2025-02-11 15:15:47 +02:00
Mihkel Martin Kasterpalu
1674cdd726 WIP rahvatarkus, working CRUD demo 2025-02-11 14:46:14 +02:00
Mihkel Martin Kasterpalu
11ade8fc06 Fix pakubiiti client state import 2025-02-10 17:48:31 +02:00
Mihkel Martin Kasterpalu
53166cf2ef Add drizzle with sqlite with better-sqlite3 2025-02-10 17:15:39 +02:00
Mihkel Martin Kasterpalu
0ebb8e04ce Better sort imports 2025-02-10 16:55:16 +02:00
Mihkel Martin Kasterpalu
1219208e87 Move Paku Biiti state and utility files in lib/ to subfolder pakubiiti/ 2025-02-10 16:47:35 +02:00
Mihkel Martin Kasterpalu
340a466be0 Rename "stuffSite" title to match new name 2025-02-10 16:44:09 +02:00
Mihkel Martin Kasterpalu
a3687ac56b Fix case, where pakubiiti recieved only 2 albums from the server
Use a while loop instead of the previous for loop
Cap the amount of retries to not create infinite loops
Show an error message on the client when this cap is reached without
getting the required amount of albums
2025-02-10 12:42:40 +02:00
Mihkel Martin Kasterpalu
e08b0e87fb Add new game - vau kui vali 2025-02-06 01:37:09 +02:00
Mihkel Martin Kasterpalu
4bced28e3e Adjust types for Image.svelte 2025-02-06 01:36:54 +02:00
Mihkel Martin Kasterpalu
72452acf2c Add milliseconds to getTimeRemaining util 2025-02-06 01:36:36 +02:00
Mihkel Martin Kasterpalu
dcae4ac8f1 update compose 2025-01-31 20:31:17 +02:00
Mihkel Martin Kasterpalu
54b865876f Change repo link in footer, change package and container names 2025-01-31 20:28:27 +02:00
Mihkel Martin Kasterpalu
65d11655a0 Bump Packages 2025-01-31 20:26:54 +02:00
Mihkel Martin Kasterpalu
d692f50ade Add email to footer 2025-01-31 20:20:45 +02:00
Mihkel Martin Kasterpalu
aa70f3d509 Adjust mobile styling 2025-01-31 20:20:01 +02:00
Mihkel Martin Kasterpalu
dad4698a0a Adjust heading spacing and title styling 2025-01-31 20:08:32 +02:00
Mihkel Martin Kasterpalu
196a046567 Adjust heading spacing 2025-01-31 19:52:08 +02:00
Mihkel Martin Kasterpalu
efdb203ac8 Revert "Bump packages, migrate to tailwind 4"
This reverts commit fd0e12b665.
2025-01-31 19:51:25 +02:00
Mihkel Martin Kasterpalu
fd0e12b665 Bump packages, migrate to tailwind 4 2025-01-31 19:37:17 +02:00
Mihkel Martin Kasterpalu
cd9cd98008 Adjust Image badge and credit styling 2025-01-31 18:38:58 +02:00
Mihkel Martin Kasterpalu
ba34242475 Move projects to index, games from index to /vinge
Also move games, badges from config.ts and projects from project page
defintion to /src/lib/data
2025-01-31 18:38:44 +02:00
Mihkel Martin Kasterpalu
7de8638796 Add projects page with enhanced images 2025-01-31 16:44:38 +02:00
Mihkel Martin Kasterpalu
06e09c804d Add shadcn component to .prettierignore 2025-01-31 16:44:07 +02:00
Mihkel Martin Kasterpalu
4011e7870f simplify footer 2025-01-30 16:08:24 +02:00