parent
d621ede7bb
commit
8702723e01
|
@ -1,3 +1,3 @@
|
||||||
#!/snap/bin/pwsh
|
#!/snap/bin/pwsh
|
||||||
Set-Location src/MyPrayerJournal
|
Set-Location src/MyPrayerJournal
|
||||||
dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained false
|
dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained false --nologo
|
|
@ -319,6 +319,8 @@ module Legal =
|
||||||
/// /api/request and /request(s) URLs
|
/// /api/request and /request(s) URLs
|
||||||
module Request =
|
module Request =
|
||||||
|
|
||||||
|
open Cuid
|
||||||
|
|
||||||
// GET /request/[req-id]/edit
|
// GET /request/[req-id]/edit
|
||||||
let edit requestId : HttpHandler = requireUser >=> fun next ctx -> task {
|
let edit requestId : HttpHandler = requireUser >=> fun next ctx -> task {
|
||||||
let returnTo =
|
let returnTo =
|
||||||
|
@ -461,6 +463,7 @@ module Request =
|
||||||
let now = ctx.Now ()
|
let now = ctx.Now ()
|
||||||
let req =
|
let req =
|
||||||
{ Request.empty with
|
{ Request.empty with
|
||||||
|
Id = Cuid.generate () |> RequestId
|
||||||
UserId = userId
|
UserId = userId
|
||||||
EnteredOn = now
|
EnteredOn = now
|
||||||
ShowAfter = None
|
ShowAfter = None
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<Version>3.1.0</Version>
|
<Version>3.1.1</Version>
|
||||||
<NoWarn>3391</NoWarn>
|
<NoWarn>3391</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -23,8 +23,9 @@
|
||||||
<PackageReference Include="Giraffe.Htmx" Version="1.8.0" />
|
<PackageReference Include="Giraffe.Htmx" Version="1.8.0" />
|
||||||
<PackageReference Include="Giraffe.ViewEngine.Htmx" Version="1.8.0" />
|
<PackageReference Include="Giraffe.ViewEngine.Htmx" Version="1.8.0" />
|
||||||
<PackageReference Include="LiteDB" Version="5.0.12" />
|
<PackageReference Include="LiteDB" Version="5.0.12" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.7" />
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.8" />
|
||||||
<PackageReference Include="NodaTime" Version="3.1.0" />
|
<PackageReference Include="NodaTime" Version="3.1.2" />
|
||||||
|
<PackageReference Update="FSharp.Core" Version="6.0.5" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="wwwroot\" />
|
<Folder Include="wwwroot\" />
|
||||||
|
|
|
@ -95,7 +95,7 @@ let toaster =
|
||||||
let htmlFoot =
|
let htmlFoot =
|
||||||
footer [ _class "container-fluid" ] [
|
footer [ _class "container-fluid" ] [
|
||||||
p [ _class "text-muted text-end" ] [
|
p [ _class "text-muted text-end" ] [
|
||||||
str "myPrayerJournal v3.1"
|
str "myPrayerJournal v3.1.1"
|
||||||
br []
|
br []
|
||||||
em [] [
|
em [] [
|
||||||
small [] [
|
small [] [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user