Compare commits

..

4 Commits

Author SHA1 Message Date
c24bef2a35 fix lxmf propagation node app data 2025-11-21 11:44:29 -06:00
liamcottle
011876bec5 2.3.0 2025-11-11 23:09:01 +13:00
liamcottle
e3dae8aea9 update rns to v1.0.2 2025-11-11 22:57:46 +13:00
liamcottle
c2ee9be39a update lxmf to v0.9.2 2025-11-11 22:56:57 +13:00
7 changed files with 12 additions and 79 deletions

View File

@@ -1,55 +0,0 @@
# Documentation
README.md
LICENSE
donate.md
screenshots/
# Development files
.github/
electron/
# Build artifacts and cache
public/
node_modules/
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
env/
venv/
ENV/
env.bak/
venv.bak/
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
# OS files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Git
.git/
.gitignore
# Docker files
Dockerfile*
docker-compose*.yml
.dockerignore
# Logs
*.log
# Temporary files
*.tmp
*.temp

View File

@@ -118,7 +118,7 @@ jobs:
replacesArtifacts: true
omitDraftDuringUpdate: true
omitNameDuringUpdate: true
artifacts: "dist/*-linux.AppImage,dist/*-linux.deb"
artifacts: "dist/*-linux.AppImage"
build_docker:
runs-on: ubuntu-latest

View File

@@ -1,11 +1,5 @@
# Build arguments
ARG NODE_VERSION=20
ARG NODE_ALPINE_SHA256=sha256:6a91081a440be0b57336fbc4ee87f3dab1a2fd6f80cdb355dcf960e13bda3b59
ARG PYTHON_VERSION=3.11
ARG PYTHON_ALPINE_SHA256=sha256:822ceb965f026bc47ee667e50a44309d2d81087780bbbf64f2005521781a3621
# Build the frontend
FROM node:${NODE_VERSION}-alpine@${NODE_ALPINE_SHA256} AS build-frontend
FROM node:20-bookworm-slim AS build-frontend
WORKDIR /src
@@ -19,15 +13,13 @@ RUN npm install --omit=dev && \
npm run build-frontend
# Main app build
FROM python:${PYTHON_VERSION}-alpine@${PYTHON_ALPINE_SHA256}
FROM python:3.11-bookworm
WORKDIR /app
# Install Python deps
COPY ./requirements.txt .
RUN apk add --no-cache --virtual .build-deps gcc musl-dev && \
pip install -r requirements.txt && \
apk del .build-deps
RUN pip install -r requirements.txt
# Copy prebuilt frontend
COPY --from=build-frontend /src/public public

View File

@@ -3248,9 +3248,9 @@ class ReticulumMeshChat:
app_data_bytes = base64.b64decode(app_data_base64)
data = msgpack.unpackb(app_data_bytes)
return {
"enabled": bool(data[0]),
"enabled": bool(data[2]),
"timebase": int(data[1]),
"per_transfer_limit": int(data[2]),
"per_transfer_limit": int(data[3]),
}
except:
return None

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "reticulum-meshchat",
"version": "2.2.1",
"version": "2.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "reticulum-meshchat",
"version": "2.2.1",
"version": "2.3.0",
"license": "MIT",
"dependencies": {
"@mdi/js": "^7.4.47",

View File

@@ -1,6 +1,6 @@
{
"name": "reticulum-meshchat",
"version": "2.2.1",
"version": "2.3.0",
"description": "",
"main": "electron/main.js",
"scripts": {
@@ -70,11 +70,7 @@
},
"linux": {
"artifactName": "ReticulumMeshChat-v${version}-${os}.${ext}",
"target": [
"AppImage",
"deb"
],
"maintainer": "Liam Cottle <liam@liamcottle.com>",
"target": "AppImage",
"extraFiles": [
{
"from": "build/exe",

View File

@@ -1,6 +1,6 @@
aiohttp>=3.12.14
cx_freeze>=7.0.0
lxmf>=0.8.0
lxmf>=0.9.2
peewee>=3.18.1
rns>=1.0.0
rns>=1.0.2
websockets>=14.2