mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
Add reactions, reliable push & session checks
Implements message reactions and reaction packs (domain models, services, admin HTTP API, media processing via ImageSharp and limits) and adds reliable push delivery (ChatPushNotification, ChatPushDispatcher, ChatPushWorker, improved ChatNotificationService). Enhances message reading (ReadChat API, unread counts, concurrency-safe receipts) and tightens session security (access-token session validation in JWT, hub filter, SessionAuthorization). Improves SignalR behavior (session groups, reaction/channel events, hub/error mappings). Adds EF migrations, many controller fixes (Forbid handling, password API), tests (Govor.Server.Tests), docs, CI and tooling updates (Dockerfile → .NET 10, GH Actions matrix for sqlite/postgres, Govor.Server.slnx, global.json), and small infra changes (AutoMapper bump, NullPushProvider, storage/token handling).
This commit is contained in:
+8
-16
@@ -1,26 +1,18 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
WORKDIR /src
|
||||
|
||||
# Êîïèðóåì òîëüêî .sln è .csproj
|
||||
COPY *.sln ./
|
||||
COPY global.json ./
|
||||
COPY Govor.API/*.csproj ./Govor.API/
|
||||
COPY Govor.Application/*.csproj ./Govor.Application/
|
||||
COPY Govor.Core/*.csproj ./Govor.Core/
|
||||
COPY Govor.Data/*.csproj ./Govor.Data/
|
||||
COPY Govor.Domain/*.csproj ./Govor.Domain/
|
||||
COPY Govor.Contracts/*.csproj ./Govor.Contracts/
|
||||
|
||||
COPY libs/ ./libs/
|
||||
RUN dotnet restore Govor.API/Govor.API.csproj
|
||||
|
||||
# Êîïèðóåì âåñü êîä
|
||||
COPY . .
|
||||
WORKDIR /src/Govor.API
|
||||
RUN dotnet publish -c Release -o /app/publish
|
||||
RUN dotnet publish Govor.API/Govor.API.csproj -c Release --no-restore -o /app/publish
|
||||
|
||||
# Runtime image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/publish .
|
||||
|
||||
ENV ASPNETCORE_HTTP_PORTS=8080
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["dotnet", "Govor.API.dll"]
|
||||
ENTRYPOINT ["dotnet", "Govor.API.dll"]
|
||||
|
||||
Reference in New Issue
Block a user