Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
88d43ff5d0 |
@@ -1,4 +1,4 @@
|
|||||||
name: Build Docker image
|
name: Upload Python Package
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
@@ -57,13 +57,6 @@ jobs:
|
|||||||
username: gitearobot
|
username: gitearobot
|
||||||
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
||||||
registry: git.disi.dev
|
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
|
- name: Build and publish
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
|
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
|
||||||
|
70
HISTORY.md
70
HISTORY.md
@@ -5,80 +5,10 @@ Changelog
|
|||||||
(unreleased)
|
(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
|
Fix
|
||||||
~~~
|
~~~
|
||||||
- Additional debug outputs refs NOISSUE. [Simon Diesenreiter]
|
- Additional debug outputs refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
|
||||||
Other
|
|
||||||
~~~~~
|
|
||||||
|
|
||||||
|
|
||||||
0.1.7 (2025-04-15)
|
0.1.7 (2025-04-15)
|
||||||
------------------
|
------------------
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<packageSources>
|
<packageSources>
|
||||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||||
<clear />
|
<clear />
|
||||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
<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-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="gitea-homelab" value="https://git.disi.dev/api/packages/Homelab/nuget/index.json" />
|
||||||
<add key="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" /-->
|
||||||
</packageSources>
|
</packageSources>
|
||||||
</configuration>
|
</configuration>
|
@@ -9,7 +9,6 @@ SignalIntegration.Instance = new SignalIntegration(AppConfiguration.Instance.Sig
|
|||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
Console.WriteLine("Setting up user check timer");
|
|
||||||
var userCheckTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
var userCheckTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
||||||
userCheckTimer.OnOccurence += async (s, ea) =>
|
userCheckTimer.OnOccurence += async (s, ea) =>
|
||||||
{
|
{
|
||||||
@@ -18,7 +17,7 @@ userCheckTimer.OnOccurence += async (s, ea) =>
|
|||||||
var needsSaving = false;
|
var needsSaving = false;
|
||||||
foreach (var memberId in memberList)
|
foreach (var memberId in memberList)
|
||||||
{
|
{
|
||||||
Console.WriteLine("found member: " + memberId);
|
Console.WriteLine("found member: " = memberId);
|
||||||
var foundUser = dci.Users.Where(u => u.SignalMemberId == memberId).SingleOrDefault();
|
var foundUser = dci.Users.Where(u => u.SignalMemberId == memberId).SingleOrDefault();
|
||||||
if (foundUser == null)
|
if (foundUser == null)
|
||||||
{
|
{
|
||||||
@@ -45,7 +44,6 @@ userCheckTimer.OnOccurence += async (s, ea) =>
|
|||||||
};
|
};
|
||||||
userCheckTimer.Start();
|
userCheckTimer.Start();
|
||||||
|
|
||||||
Console.WriteLine("Setting up user intro timer");
|
|
||||||
var userIntroTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
var userIntroTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
||||||
userIntroTimer.OnOccurence += async (s, ea) =>
|
userIntroTimer.OnOccurence += async (s, ea) =>
|
||||||
{
|
{
|
||||||
@@ -67,8 +65,6 @@ userIntroTimer.OnOccurence += async (s, ea) =>
|
|||||||
};
|
};
|
||||||
userIntroTimer.Start();
|
userIntroTimer.Start();
|
||||||
|
|
||||||
|
|
||||||
Console.WriteLine("Setting up pick of the day timer");
|
|
||||||
var pickOfTheDayTimer = new CronTimer("0 8 * * *", "Europe/Vienna", includingSeconds: false);
|
var pickOfTheDayTimer = new CronTimer("0 8 * * *", "Europe/Vienna", includingSeconds: false);
|
||||||
pickOfTheDayTimer.OnOccurence += async (s, ea) =>
|
pickOfTheDayTimer.OnOccurence += async (s, ea) =>
|
||||||
{
|
{
|
||||||
|
@@ -1 +1 @@
|
|||||||
0.1.15
|
0.1.8
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
||||||
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" />
|
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" />
|
||||||
<PackageReference Include="Scalar.AspNetCore" Version="2.1.*" />
|
<PackageReference Include="Scalar.AspNetCore" Version="2.1.*" />
|
||||||
<PackageReference Include="CronTimer" Version="2.0.1" />
|
<PackageReference Include="CronTimer" Version="2.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<OpenApiReference Include="swagger.json" SourceUrl="https://bbernhard.github.io/signal-cli-rest-api/src/docs/swagger.json" />
|
<OpenApiReference Include="swagger.json" SourceUrl="https://bbernhard.github.io/signal-cli-rest-api/src/docs/swagger.json" />
|
||||||
|
Reference in New Issue
Block a user