Commit graph

36 commits

Author SHA1 Message Date
Taevas
3eea1b1f80 Introduce LanguageContext (#6} 2024-05-07 16:35:40 +02:00
Taevas
ad9fd17a00 Upgrade to React 19 (beta) & fix minor things 2024-05-05 19:10:10 +02: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
d9991ac0e7 Handle errors for Anilist, Lastfm, and Speedruncom Infos (#4)
Also make the client automatically request every 2 minutes an update for Last.fm
Also lightly change the `AnimateHeight` of `Info` (for the sake of the top border and better looks when multiple websites in one category)
2024-05-01 21:10:00 +02:00
Taevas
dad037bed0 AnimateHeight for Info, error handling for the Osu Info (#4) 2024-05-01 19:12:02 +02:00
Taevas
b4af91405d Start handling bad requests on client-side rather than Netlify-side (#4)
Too much can go wrong on the side of Netlify, so it should throw on purpose if anything goes bad so the client can `catch` that
2024-05-01 02:11:36 +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
4eb6eb3c94 Update outdated code
mfw my IDE just doesn't let me know about non-existing interfaces
2024-04-06 15:34:32 +02:00
Taevas
51687c8682 Updates packages, discord, infos about osu-api-v2-js 2024-04-01 01:27:09 +02:00
Taevas
84ada5849e Update dependencies 2023-11-28 18:37:11 +01:00
Taevas
77f98c5628 Show next WaniKani reviews date even if available reviews 2023-11-19 16:03:15 +01:00
Taevas
d1c0269a81 Basic code quality stuff 2023-11-05 21:01:24 +01:00
Taevas
e11d13cb62 Adjust more stuff 2023-11-02 18:13:47 +01:00
Taevas
33cf68d1c3 Adjust WaniKani 2023-11-02 01:22:02 +01:00
Taevas
ea09afc2d9 Add WaniKani 2023-11-01 21:15:29 +01:00
Taevas
9d8ab705eb Introduce CopyFields 2023-10-31 00:12:55 +01:00
Taevas
121fcb02cc Fix the inconsistent indentation
The code was actually a mess regarding the indentation!
So now it uses 2 spaces

Also, there was an issue with the Anilist information
Some MediaLists can have the properties of startedAt set to null
So we filter out such MediaLists
Guess it only applies to imported animes, so it shouldn't matter much
2023-10-30 00:52:36 +01:00
Taevas
90bb855cf7 Animation + Redesign osu info ~~again~~ 2023-05-31 01:38:27 +02: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
daba8dd68f Add HTB and Anilist back 2023-05-14 14:26:27 +02:00
Taevas
4f76b65fd4 Minor adjustments 2023-05-12 14:05:58 +02:00
Taevas
fee3766c2b Strongly type everything 2023-05-10 19:55:11 +02:00
Taevas
842a627cac Start .jsx -> .tsx conversion 2023-05-10 14:16:31 +02:00
Taevas
b18d3f4d78 Bring in some CSS (finally) 2023-05-10 01:37:37 +02:00
Taevas
ea8db8cda3 Add GitLab 2023-05-09 15:23:28 +02:00
Taevas
1bf1832c2a Add Anilist 2023-05-09 14:14:28 +02:00
Taevas
606d55f79f Add osu! 2023-05-08 21:57:34 +02:00
Taevas
74ccb4d01d Add GitHub 2023-05-08 16:52:50 +02:00
Taevas
dec32a9279 Add HackTheBox 2023-05-08 03:00:11 +02:00
Taevas
a9d2c232df Add Speedrun.com 2023-05-08 02:31:43 +02:00
Taevas
90483caac4 Make Lastfm its own component 2023-05-07 22:35:19 +02:00
Taevas
c72d2fbdf8 Implement React 2023-05-07 19:48:02 +02:00
Taevas
5ec7cd193e Setup something simple and straight-forward 2023-05-07 02:13:48 +02:00