Compare commits
15 Commits
0.1.7
...
3ed6c4c54f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3ed6c4c54f | ||
![]() |
f2472a3ea2 | ||
![]() |
4d657cf887 | ||
![]() |
1388ce80db | ||
![]() |
d335ddfd0d | ||
![]() |
68caf0a329 | ||
![]() |
2889661f24 | ||
![]() |
513589a6fc | ||
![]() |
28616252aa | ||
![]() |
09acbbefea | ||
![]() |
9598965a4a | ||
![]() |
2111eb21e3 | ||
![]() |
49ec368b2f | ||
![]() |
a473eccfda | ||
![]() |
ce82717d62 |
@@ -1,4 +1,4 @@
|
||||
name: Upload Python Package
|
||||
name: Build Docker image
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
@@ -57,6 +57,13 @@ jobs:
|
||||
username: gitearobot
|
||||
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
||||
registry: git.disi.dev
|
||||
- name: Login to HomeLab NuGet feed
|
||||
uses: sersoft-gmbh/dotnet-nuget-login-action@v1
|
||||
with:
|
||||
registry-url: 'https://git.disi.dev/api/packages/HomeLab/nuget/index.json'
|
||||
registry-name: HomeLab
|
||||
username: gitearobot
|
||||
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
||||
- name: Build and publish
|
||||
run: |
|
||||
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
|
||||
|
81
HISTORY.md
81
HISTORY.md
@@ -5,10 +5,91 @@ Changelog
|
||||
(unreleased)
|
||||
------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Login to NuGet feed at build refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.1.14 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Fix typo refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.13 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Really fix Crontab dependency refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.12 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Hotfixed CronTab dependencyrefs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.11 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- More debug outputs refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.10 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Release version jumbled up refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.9 (2025-04-15)
|
||||
------------------
|
||||
|
||||
|
||||
0.1.8 (2025-04-15)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Additional debug outputs refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.7 (2025-04-15)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- More fixes in release logic refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.6 (2025-04-15)
|
||||
------------------
|
||||
|
10
nuget.config
10
nuget.config
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||
<clear />
|
||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
||||
<!--add key="gitea-projects" value="https://git.disi.dev/api/packages/Projects/nuget/index.json" />
|
||||
<add key="gitea-homelab" value="https://git.disi.dev/api/packages/Homelab/nuget/index.json" />
|
||||
<add key="gitea-artifacts" value="https://git.disi.dev/api/packages/Artifacts/nuget/index.json" /-->
|
||||
<!--add key="gitea-projects" value="https://git.disi.dev/api/packages/Projects/nuget/index.json" /-->
|
||||
<!--add key="gitea-artifacts" value="https://git.disi.dev/api/packages/Artifacts/nuget/index.json" /-->
|
||||
<add key="HomeLab" value="https://git.disi.dev/api/packages/HomeLab/nuget/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
</configuration>
|
@@ -9,6 +9,7 @@ SignalIntegration.Instance = new SignalIntegration(AppConfiguration.Instance.Sig
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
Console.WriteLine("Setting up user check timer");
|
||||
var userCheckTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
||||
userCheckTimer.OnOccurence += async (s, ea) =>
|
||||
{
|
||||
@@ -17,6 +18,7 @@ userCheckTimer.OnOccurence += async (s, ea) =>
|
||||
var needsSaving = false;
|
||||
foreach (var memberId in memberList)
|
||||
{
|
||||
Console.WriteLine("found member: " + memberId);
|
||||
var foundUser = dci.Users.Where(u => u.SignalMemberId == memberId).SingleOrDefault();
|
||||
if (foundUser == null)
|
||||
{
|
||||
@@ -43,6 +45,7 @@ userCheckTimer.OnOccurence += async (s, ea) =>
|
||||
};
|
||||
userCheckTimer.Start();
|
||||
|
||||
Console.WriteLine("Setting up user intro timer");
|
||||
var userIntroTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
||||
userIntroTimer.OnOccurence += async (s, ea) =>
|
||||
{
|
||||
@@ -64,6 +67,8 @@ userIntroTimer.OnOccurence += async (s, ea) =>
|
||||
};
|
||||
userIntroTimer.Start();
|
||||
|
||||
|
||||
Console.WriteLine("Setting up pick of the day timer");
|
||||
var pickOfTheDayTimer = new CronTimer("0 8 * * *", "Europe/Vienna", includingSeconds: false);
|
||||
pickOfTheDayTimer.OnOccurence += async (s, ea) =>
|
||||
{
|
||||
|
@@ -1 +1 @@
|
||||
0.1.7
|
||||
0.1.15
|
||||
|
@@ -16,7 +16,7 @@
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
||||
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" />
|
||||
<PackageReference Include="Scalar.AspNetCore" Version="2.1.*" />
|
||||
<PackageReference Include="CronTimer" Version="2.0.0" />
|
||||
<PackageReference Include="CronTimer" Version="2.0.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<OpenApiReference Include="swagger.json" SourceUrl="https://bbernhard.github.io/signal-cli-rest-api/src/docs/swagger.json" />
|
||||
|
Reference in New Issue
Block a user