Compare commits

..

2 Commits

Author SHA1 Message Date
e0b0d6b98c release: version 0.6.7 🚀
Some checks failed
Build Docker image / Create Release (push) Successful in 20s
CI / linter (9.0.X, ubuntu-latest) (push) Failing after 1m23s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Has been skipped
Build Docker image / deploy (push) Successful in 2m29s
SonarQube Scan / SonarQube Trigger (push) Failing after 4m53s
2025-07-20 17:24:16 +02:00
74a8c7dbe8 fix: attempted bugfix for crashing process on invalid spotify access token, refs NOISSUE 2025-07-20 17:24:14 +02:00
4 changed files with 15 additions and 3 deletions

View File

@@ -5,10 +5,22 @@ Changelog
(unreleased) (unreleased)
------------ ------------
Fix
~~~
- Attempted bugfix for crashing process on invalid spotify access token,
refs NOISSUE. [Simon Diesenreiter]
0.6.6 (2025-07-20)
------------------
Fix Fix
~~~ ~~~
- Add additional logging, refs NOISSUE. [Simon Diesenreiter] - Add additional logging, refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.6.5 (2025-07-20) 0.6.5 (2025-07-20)
------------------ ------------------

View File

@@ -255,6 +255,7 @@ messageSyncTimer.OnOccurence += async (s, ea) =>
// only start interaction timers in production builds // only start interaction timers in production builds
// for local/development testing we want those disabled // for local/development testing we want those disabled
likePlaylistCheckTimer.Start();
if (!app.Environment.IsDevelopment()) if (!app.Environment.IsDevelopment())
{ {
logger.LogTrace("Starting timer for scheduled processes."); logger.LogTrace("Starting timer for scheduled processes.");
@@ -262,7 +263,6 @@ if (!app.Environment.IsDevelopment())
userIntroTimer.Start(); userIntroTimer.Start();
pickOfTheDayTimer.Start(); pickOfTheDayTimer.Start();
ldapAssociationTimer.Start(); ldapAssociationTimer.Start();
likePlaylistCheckTimer.Start();
} }
else else
{ {

View File

@@ -110,7 +110,7 @@ public class SpotifyApiClient
public async Task<string> GetValidAuthorizationTokenAsync(User user) public async Task<string> GetValidAuthorizationTokenAsync(User user)
{ {
if (string.IsNullOrEmpty(user.SpotifyAuthAccessToken)) if (string.IsNullOrEmpty(user.SpotifyAuthAccessToken) || string.IsNullOrEmpty(user.SpotifyAuthRefreshToken))
{ {
// user either never connected Spotify or we failed to refresh token - user needs to re-authenticate // user either never connected Spotify or we failed to refresh token - user needs to re-authenticate
return string.Empty; return string.Empty;

View File

@@ -1 +1 @@
0.6.6 0.6.7