Commit Graph

100 Commits

Author SHA1 Message Date
StarAppeal 06cffcd7af refactoring, added s3Service.ts, add more depenedncy injection, fix tests as always i geuss 2025-09-24 23:55:05 +02:00
StarAppeal 2796c465c0 fix path and tests 2025-09-24 06:10:52 +02:00
StarAppeal cd38892d65 remove async updates (old functionality) 2025-09-20 23:10:34 +02:00
StarAppeal 6f7dc961f6 add weather polling service 2025-09-20 23:09:22 +02:00
StarAppeal d85ce74dbe add tests 2025-09-20 22:19:49 +02:00
StarAppeal 3621dcb87b fix tests 2025-09-20 22:01:11 +02:00
StarAppeal 2a62fdfab3 remove redundant call to db 2025-09-20 21:49:23 +02:00
StarAppeal 22b5d7a4e4 major refactoring and use spotify polling service instead of update every second 2025-09-20 20:37:47 +02:00
StarAppeal 01c0872459 refactoring and better userUpdate mechanism 2025-09-20 00:53:18 +02:00
StarAppeal 4bf62bbc83 refactoring to a server class 2025-09-19 23:44:42 +02:00
StarAppeal 65d87b77c6 inject SpotifyTokenService in relevant classes 2025-09-19 23:19:51 +02:00
StarAppeal 92bd66c6f3 bigger refactoring of database.service.ts 2025-09-19 22:49:56 +02:00
StarAppeal 1d97b00811 small error handling for database.service.ts and refactoring 2025-09-19 22:34:50 +02:00
StarAppeal 85afec219c adds generic solution for custom events handling instead of any data type 2025-09-19 22:29:17 +02:00
StarAppeal f866d2b5ab rename cookieJwtAuth to extractTokenFromCookie 2025-09-19 22:28:53 +02:00
StarAppeal b226308c17 small refactoring 2025-09-19 22:15:02 +02:00
StarAppeal 2fa3a3de78 small refactoring 2025-09-18 23:05:29 +02:00
StarAppeal ded120513e better existsUserByName 2025-09-18 22:36:52 +02:00
StarAppeal af68a1ed7e remove unneccessry projections in mongo 2025-09-18 22:35:46 +02:00
StarAppeal 6aac43311a dependency injection for jwtAuthenticator 2025-09-18 22:26:38 +02:00
StarAppeal 075fafa122 add test for error handling 2025-09-18 21:45:57 +02:00
StarAppeal c7d4454359 refactor to inject userservice 2025-09-18 21:14:33 +02:00
StarAppeal da19a0aaf1 add isAdmin to secure specific endpoints 2025-09-15 20:54:19 +02:00
StarAppeal 6a9ffde9f6 better api 2025-09-13 12:12:38 +02:00
StarAppeal 9e63c9d33e use cookie to store the bearer token 2025-09-11 05:35:51 +02:00
StarAppeal 6bba31e575 add and change multiple vitests 2025-09-09 05:49:30 +02:00
StarAppeal 63d9c796f6 add comprehensive tests for db services and utils 2025-09-08 06:19:00 +02:00
StarAppeal 061338c91d add @vitest/coverage-v8 and update package-lock 2025-09-08 05:18:55 +02:00
StarAppeal 3d286fbeca fix healthz endpoint 2025-09-06 04:39:14 +02:00
StarAppeal b2238bbe65 npm audit fix 2025-09-06 04:29:34 +02:00
StarAppeal 3a939c2b36 add validation middleware and improve REST API structure 2025-09-06 03:47:44 +02:00
StarAppeal b3381e04e3 remove debug logs from JWT authentication process 2025-09-04 01:07:52 +02:00
StarAppeal 1e8e040c53 add logs to debug JWT authentication process 2025-09-04 00:33:02 +02:00
StarAppeal dbbe704862 backfisch (bugfix) 2024-12-19 19:25:05 +01:00
StarAppeal be4b9f2aa3 add more logs 2024-12-19 16:33:02 +01:00
StarAppeal a332b11431 refactoring 2024-12-09 21:39:26 +01:00
StarAppeal 3c0ead55f6 fix bug 2024-12-09 04:40:04 +01:00
StarAppeal 2086fa42ac refactor 2024-12-09 04:36:18 +01:00
StarAppeal 4e4ccc04be if latest state was music or clock, emit the corresponding update events 2024-12-09 04:35:24 +01:00
StarAppeal 6d8a865ad5 add single weather or spotify update event 2024-12-09 04:28:25 +01:00
StarAppeal 04d0785c69 adds custom events for the websocket 2024-12-09 02:41:24 +01:00
StarAppeal 808450ca43 adds endpoint for changing spotify config 2024-12-09 01:12:47 +01:00
StarAppeal edb97386d1 add change password functionality 2024-12-08 04:20:14 +01:00
StarAppeal 884374c2f6 bugfix 2024-12-07 20:20:42 +01:00
StarAppeal fd9a0b257e add /me endpoint 2024-12-07 20:10:23 +01:00
StarAppeal 18fb3e0ab2 add /me endpoint 2024-12-07 05:12:39 +01:00
StarAppeal 9d51b17f1c remove debugging stuff 2024-12-07 05:10:49 +01:00
StarAppeal f744424e8e remove debugging stuff 2024-12-03 02:34:59 +01:00
StarAppeal 61dc901871 refactor 2024-12-03 01:51:58 +01:00
StarAppeal b2cb38d857 refactor 2024-12-03 01:18:59 +01:00