Commit Graph

2065 Commits

Author SHA1 Message Date
Evgeny @ SimpleX Chat
ceeeeec476 more topics 2026-03-13 16:33:45 +00:00
Evgeny @ SimpleX Chat
f131531f5a xftp specs 2026-03-13 16:12:20 +00:00
Evgeny @ SimpleX Chat
546ee1a0e1 update specs 2026-03-13 12:43:02 +00:00
Evgeny @ SimpleX Chat
bde90500ea agent store and notifications specs 2026-03-13 12:01:06 +00:00
Evgeny @ SimpleX Chat
8557d2ab29 agent util specs 2026-03-13 11:18:29 +00:00
Evgeny @ SimpleX Chat
c940f16f37 update agent specs 2026-03-13 10:14:47 +00:00
Evgeny @ SimpleX Chat
541b3f924b agent spec 2026-03-13 09:43:58 +00:00
Evgeny @ SimpleX Chat
3a756f9842 agent client spec 2026-03-13 08:49:50 +00:00
Evgeny @ SimpleX Chat
c8f2edc242 spec for agent protocol 2026-03-13 07:35:15 +00:00
Evgeny @ SimpleX Chat
f7be44981a SMP router specs 2026-03-12 18:13:12 +00:00
Evgeny Poberezkin
8b39610ff4 Merge branch 'rcv-services' into ep/spec-2 2026-03-12 17:06:07 +00:00
Evgeny Poberezkin
48eba591bc Merge branch 'master' into rcv-services 2026-03-12 17:05:51 +00:00
sh
782cacfb3c fix: using simplexmq as dependency (move embedFile to executables) (#1734)
* web: parameterize generateSite, remove Embedded from library

Move embedFile/embedDir out of the library so it works when
simplexmq is consumed as a dependency. generateSite now accepts
mediaContent, wellKnown, and linkHtml as parameters.

* smp-server, xftp-server: embed static files in executables

Add shared apps/common/Embedded.hs with TH splices, update SMPWeb
and XFTPWeb to pass embedded content to generateSite, move
file-embed dependency from library to executables and test suite.

* refactor

* add export, move common files to Web subfolder

* fix .cabal

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-03-12 17:05:00 +00:00
Evgeny @ SimpleX Chat
260ffb1a9d SMP router specs 2026-03-12 11:29:18 +00:00
Evgeny @ SimpleX Chat
09d55de115 protocol and client specs 2026-03-12 07:02:49 +00:00
Evgeny @ SimpleX Chat
35d4065f32 specs for transport 2026-03-11 17:52:57 +00:00
sh
328d3b941a xftp-web: use XFTP server domain in share link, verify on download (#1732)
* xftp-web: use XFTP server domain in share link, verify on download

Use a random XFTP server host from the file description as the link
origin instead of the current page domain. On download, verify
that the hosting domain matches one of the servers in the description.

* xftp-web: use first description server as link origin

* xftp-web: show wrong server error in download UI instead of blank page
2026-03-11 15:59:26 +00:00
Evgeny @ SimpleX Chat
9e3b47a362 code refs, additional specs 2026-03-11 12:54:56 +00:00
Evgeny @ SimpleX Chat
326d6cc559 code comments 2026-03-11 12:17:46 +00:00
Evgeny @ SimpleX Chat
844b5ad3f1 cryptography modules specs 2026-03-11 11:53:18 +00:00
Evgeny @ SimpleX Chat
7ece87f1b6 encoding notes 2026-03-11 09:47:18 +00:00
sh
b6b87a6323 xftp-web: disable minification in vite build (#1731) 2026-03-11 09:08:23 +00:00
Evgeny @ SimpleX Chat
e5dbe97e1d spec references in code 2026-03-11 09:06:05 +00:00
Evgeny @ SimpleX Chat
66d7efa61e some modules documented 2026-03-11 08:53:57 +00:00
Evgeny @ SimpleX Chat
ea2a62ab7e more specs 2026-03-11 07:32:57 +00:00
Evgeny @ SimpleX Chat
0bba2efc45 add rcv services spec 2026-03-10 23:13:03 +00:00
Evgeny @ SimpleX Chat
8622908eb8 Merge branch 'rcv-services' into ep/spec-2 2026-03-10 19:18:58 +00:00
Evgeny @ SimpleX Chat
b81670c414 docs: move implemented rfcs 2026-03-10 19:18:34 +00:00
Evgeny @ SimpleX Chat
e3d99421d9 Merge branch 'rcv-services' into ep/spec-2 2026-03-10 16:36:53 +00:00
Evgeny @ SimpleX Chat
98351cf097 docs: add missing encodings and other protocol corrections 2026-03-10 16:36:24 +00:00
Evgeny @ SimpleX Chat
01785d5de8 docs: add e2e encrypted message wire encoding to PQDR spec 2026-03-10 09:04:21 +00:00
Evgeny @ SimpleX Chat
f745ce5ab6 docs: fix minor issues in protocols 2026-03-10 08:15:53 +00:00
Evgeny
583f4e059d update RFCs (#1730)
* update RFCs

* update

* update overview

* update terminology

* original language in threat model

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-03-09 23:35:41 +00:00
Evgeny @ SimpleX Chat
a68ab4001c Merge branch 'rcv-services' into ep/spec-2 2026-03-09 16:29:43 +00:00
Evgeny @ SimpleX Chat
3c5752383d update protocol docs 2026-03-09 16:29:05 +00:00
sh
33454444a4 xftp-web: new version (#1728)
* xftp-web: remove flux from preset

* xftp-web: new version
2026-03-09 14:26:40 +00:00
Evgeny @ SimpleX Chat
40875e3199 update 2026-03-09 12:27:02 +00:00
Evgeny Poberezkin
db6096ad9d Merge branch 'rcv-services' into ep/spec-2 2026-03-09 12:26:24 +00:00
Evgeny Poberezkin
3a25561c78 Merge branch 'master' into rcv-services 2026-03-09 12:25:52 +00:00
Evgeny Poberezkin
1449e6418c 6.5.0.10 v6.5.0-beta.5 2026-03-09 12:25:08 +00:00
sh
3a627a9599 tests: use correct web CA certificate in CLI static files test (#1727) 2026-03-09 12:23:03 +00:00
Evgeny
d2d834ad16 agent: validate destination relay certificate, allow 3-4 certificate chains (#1717)
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-03-09 12:22:42 +00:00
Evgeny @ SimpleX Chat
c7ff637437 update CODE.md 2026-03-09 10:29:12 +00:00
Evgeny @ SimpleX Chat
7eaff88b42 product and engineering specifications for simplexmq 2026-03-09 10:27:40 +00:00
Evgeny @ SimpleX Chat
c624a10e70 Merge branch 'master' into rcv-services 2026-03-09 10:23:01 +00:00
sh
437cdde4a5 xftp: add web page for server information (#1724)
* xftp: add web page for server information

* web: rename XFTP.Web to XFTPWeb, remove XFTP subdirectory

* refactor(xftp): remove storage quota from web page

* refactor

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-03-09 08:44:28 +00:00
sh
eed1bf14c6 web: extract shared web module from smp-server (#1723)
* web: extract shared web module from smp-server

Move web serving infrastructure (warp, static files, HTML templating)
from apps/smp-server/web/Static.hs into library modules:
- Simplex.Messaging.Server.Web (generic web infra + templating)
- Simplex.Messaging.Server.Web.Embedded (TH-embedded assets)

Move static assets from apps/smp-server/static/ to
src/Simplex/Messaging/Server/Web/.

Move EmbeddedWebParams/WebHttpsParams from Server.Main to Server.Web.

Keep SMP-specific rendering (serverInformation) in apps/smp-server/SMP/Web.hs.

generateSite is now generic: takes pre-rendered HTML + link page paths,
enabling reuse by XFTP and NTF servers.

* web: add tests for templating engine

Tests for render, section_, item_, and timedTTLText functions
in Simplex.Messaging.Server.Web module.

* web: add serverInfoSubsts, serveStaticPageH2, safe port parsing

* web: rename SMP.Web to SMPWeb, remove SMP subdirectory

* fix(web): section_ collapsing sections with Just "" content

Commit e48bedea ("servers: fix server pages when source code is not
specified") changed section_ to treat Just "" the same as Nothing -
collapsing the section. The intent was to handle the sourceCode case
(empty string when not specified), but the guard
`not (B.null content)` also broke operator, admin, complaints, and
hosting - all of which legitimately use Just "" as a
section-present marker.

Before (correct):
  Nothing -> before <> next
  Just content -> before <> item_ label content inside <> ...

After (broken):
  Just content | not (B.null content) -> ...
  _ -> before <> next

Restore the original behavior: only Nothing collapses a section.

* refactor

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-03-09 08:42:38 +00:00
Evgeny @ SimpleX Chat
313e96513c docs: correction to governance process (#1725) 2026-03-08 17:27:56 +00:00
Evgeny @ SimpleX Chat
8518f6087b docs: agent threat model 2026-03-07 15:47:46 +00:00
Evgeny Poberezkin
1d3057985c Merge branch 'master' into rcv-services 2026-03-04 07:33:20 +00:00