Commit graph

14 commits

Author SHA1 Message Date
00f4961316 Reorganize some Infos 2025-03-02 16:10:56 +01:00
1e71c12f60 Small imports stuff, hide "hacking" Info away
No plans to resume learning about cybersecurity
2025-02-18 02:14:01 +01:00
41d33ab964 Type some Netlify functions more strongly
So no more `any`, and use some typing from some libraries
2025-02-17 13:26:10 +01:00
96911a8d95 Rework how the linting is done 2025-02-16 17:05:02 +01:00
Taevas
0d9e4f6ed7 Get the osu! oauth token from MongoDB
I will likely use MongoDB for other things with this website in the future
2024-05-05 18:14:05 +02:00
Taevas
719672ffa0 Load an Info's Website separately from the Info itself
Makes it so:
- An `Info`'s `Website` doesn't need to wait for other `Website`s of that same `Info` to load to show up
- An `Info`s `Website` not working won't prevent other `Website`s of that same `Info` from showing up
- Code is more split and organized

Furthermore, the token for the osu! API is now stored, and used for ALL osu! requests for 24 hours instead of being revoked

Overall, it's a lot of future-proofing so things on working even if I'm no longer there to maintain them
Also so `Info`s can be added, changed, and removed more easily
2024-05-04 19:14:18 +02:00
Taevas
dad037bed0 AnimateHeight for Info, error handling for the Osu Info (#4) 2024-05-01 19:12:02 +02:00
Taevas
d2f3cada52 Lint Netlify functions 2024-04-27 21:22:48 +02:00
Taevas
eb85319f73 Also apply basic linting to Netlify functions 2024-04-27 18:45:18 +02:00
Taevas
d1c0269a81 Basic code quality stuff 2023-11-05 21:01:24 +01:00
Taevas
74da396a8b Get ready to add more than infos 2023-05-29 14:47:53 +02:00
Taevas
6398e40e31 Support for multiple websites in same infobox 2023-05-16 00:41:02 +02:00
Taevas
fee3766c2b Strongly type everything 2023-05-10 19:55:11 +02:00
Taevas
ea8db8cda3 Add GitLab 2023-05-09 15:23:28 +02:00