Compare commits
6 Commits
0.3.0
...
010316aa70
Author | SHA1 | Date | |
---|---|---|---|
![]() |
010316aa70 | ||
![]() |
d416242712 | ||
e9a824c6ef | |||
e0f206bc0c | |||
183309e1ed | |||
a6321324f7 |
35
HISTORY.md
35
HISTORY.md
@@ -4,6 +4,37 @@ Changelog
|
||||
|
||||
(unreleased)
|
||||
------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Save DateTime as UTC, refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.3.2 (2025-05-25)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Exception thrown on LastOrDefault(), refs NOISSUE. [Simon
|
||||
Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.3.1 (2025-05-24)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Fix build errors, refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.3.0 (2025-05-24)
|
||||
------------------
|
||||
- Ci: more CI fixes, refs NOISSUE. [Simon Diesenreiter]
|
||||
- Ci: improve commit message generation script, refs NOISSUE. [Simon
|
||||
Diesenreiter]
|
||||
@@ -225,6 +256,10 @@ Other
|
||||
0.1.9 (2025-04-15)
|
||||
------------------
|
||||
|
||||
|
||||
0.1.8 (2025-04-15)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Additional debug outputs refs NOISSUE. [Simon Diesenreiter]
|
||||
|
@@ -18,10 +18,6 @@ LdapIntegration.Instance = new LdapIntegration(AppConfiguration.Instance.LDAPCon
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
var rand = new Random();
|
||||
var num = rand.NextInt64();
|
||||
var mod = num % AppConfiguration.Instance.AverageDaysBetweenRequests;
|
||||
|
||||
Console.WriteLine("Setting up user check timer");
|
||||
var userCheckTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
||||
userCheckTimer.OnOccurence += async (s, ea) =>
|
||||
@@ -96,7 +92,7 @@ pickOfTheDayTimer.OnOccurence += async (s, ea) =>
|
||||
{
|
||||
var dci = DataContext.Instance;
|
||||
|
||||
var lastSong = dci.SongSuggestions?.LastOrDefault();
|
||||
var lastSong = dci.SongSuggestions?.OrderBy(s => s.Id).LastOrDefault();
|
||||
|
||||
if (lastSong != null && lastSong.Date >= DateTime.Today.Subtract(TimeSpan.FromDays(AppConfiguration.Instance.DaysBetweenRequests)))
|
||||
{
|
||||
@@ -135,7 +131,7 @@ pickOfTheDayTimer.OnOccurence += async (s, ea) =>
|
||||
SuggestionHelper = suggestion,
|
||||
UserHasSubmitted = false,
|
||||
HasUsedSuggestion = false,
|
||||
Date = DateTime.Today
|
||||
Date = DateTime.Today.ToUniversalTime()
|
||||
};
|
||||
if (luckyUser.SignalMemberId is string signalId)
|
||||
{
|
||||
|
@@ -1 +1 @@
|
||||
0.3.0
|
||||
0.3.3
|
||||
|
Reference in New Issue
Block a user