v0.7.5 bugs fixes

This commit is contained in:
2026-03-11 18:52:17 -04:00
parent 8202c838f5
commit 03a8983b7d
5 changed files with 9 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ TZ=UTC
# Copy this file to .env and customize # Copy this file to .env and customize
# Image version to run (set by build.sh, or use 'latest') # Image version to run (set by build.sh, or use 'latest')
JAMA_VERSION=0.7.4 JAMA_VERSION=0.7.5
# Default admin credentials (used on FIRST RUN only) # Default admin credentials (used on FIRST RUN only)
ADMIN_NAME=Admin User ADMIN_NAME=Admin User

View File

@@ -1,6 +1,6 @@
{ {
"name": "jama-backend", "name": "jama-backend",
"version": "0.7.4", "version": "0.7.5",
"description": "TeamChat backend server", "description": "TeamChat backend server",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {

View File

@@ -13,7 +13,7 @@
# ───────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────
set -euo pipefail set -euo pipefail
VERSION="${1:-0.7.4}" VERSION="${1:-0.7.5}"
ACTION="${2:-}" ACTION="${2:-}"
REGISTRY="${REGISTRY:-}" REGISTRY="${REGISTRY:-}"
IMAGE_NAME="jama" IMAGE_NAME="jama"

View File

@@ -1,6 +1,6 @@
{ {
"name": "jama-frontend", "name": "jama-frontend",
"version": "0.7.4", "version": "0.7.5",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -121,4 +121,9 @@ export const api = {
// Link preview // Link preview
getLinkPreview: (url) => req('GET', `/link-preview?url=${encodeURIComponent(url)}`), getLinkPreview: (url) => req('GET', `/link-preview?url=${encodeURIComponent(url)}`),
// Message pinning (DMs only, max 5 per conversation)
getPinnedMessages: (groupId) => req('GET', `/messages/pinned?groupId=${groupId}`),
pinMessage: (messageId) => req('POST', `/messages/${messageId}/pin`),
unpinMessage: (messageId) => req('DELETE', `/messages/${messageId}/pin`),
}; };