Commit Graph

1669 Commits

Author SHA1 Message Date
Evgeny Poberezkin c863283b86 use domain without prefix in profiles and in database, rename fields and types 2026-07-02 22:03:31 +01:00
Evgeny Poberezkin 80ddf976bd simplify 2026-07-01 22:25:06 +01:00
Evgeny @ SimpleX Chat 3d36896f91 fix error 2026-07-01 20:49:42 +00:00
Evgeny Poberezkin 37f1d2b146 remove empty line 2026-07-01 21:34:04 +01:00
Evgeny Poberezkin 189aa0617e remove unused 2026-07-01 21:29:43 +01:00
Evgeny Poberezkin 5825ad84de clean up 2026-07-01 20:36:26 +01:00
Evgeny Poberezkin c86bf5b3b4 revert breaking field name change 2026-07-01 17:35:51 +01:00
Evgeny @ SimpleX Chat d295799fb0 verify name proof 2026-07-01 12:13:51 +00:00
Evgeny @ SimpleX Chat 633a95dbe6 alerts 2026-06-30 18:38:38 +00:00
Evgeny Poberezkin 86bbe62a28 more renames 2026-06-30 17:42:40 +01:00
Evgeny @ SimpleX Chat 569de5cd06 finalize renames, ui alerts 2026-06-30 16:06:45 +00:00
sh 9bd38c4aec android, desktop, ios: connect via SimpleX name (#7068)
* android, desktop, ios: connect via SimpleX name

* android, desktop, ios: open known contact on name lookup; surface prepared contact

Name search opens the contact (not list-filter); resolved/prepared contacts and groups are added to the chat list so they're visible and openable. Kotlin compile-verified; iOS edits pattern-matched, pending Xcode build.

* feat(names): UI names role + agent NAME error

Parity with the core names rework (#7045):

- Add `names` to ServerRoles (Android + iOS) and a per-operator
  "To resolve names" toggle under the SMP section (xftp has no names
  role; the shared ServerRoles field stays false there).
- Mirror the new agent error: NameErrorType + a NAME case on both
  AgentErrorType and ProtocolErrorType (the SMP ErrorType mirror), so
  the new SMP/agent NAME errors decode instead of crashing the decoder.
- Remove ChatErrorType.SimplexNameResolverUnavailable (deleted in core)
  and repoint its "name resolution unavailable" alert to the agent
  NAME NO_SERVERS error, reusing the existing strings.

Android (multiplatform) compiles clean; iOS mirrors the same changes
(builds in Xcode).

* feat(names): UI warning when no server resolves names

Mirror core USWNoNamesServers: add the NoNamesServers variant to
UserServersWarning (Kotlin sealed class + Swift enum) and its
globalWarning / globalServersWarning branch, rendered by the existing
ServersWarningFooter / ServersWarningView. Matches the noChatRelays
warning exactly.

* fix(servers): show all validation errors and warnings, not just the first

globalServersError/Warning returned only the first entry, so a second
warning (e.g. no names servers behind no chat relays) or a second error
(e.g. no XFTP servers behind no SMP servers) was never displayed. Make
them return all entries (globalServersErrors/Warnings) and render one
footer row each, across the three combined-footer views. Per-protocol
SMP/XFTP footers are unchanged.

* docs(names): add SimpleX name UI plan

* feat(names): add name model fields + SimplexName helpers

* feat(names): verify + set-name API & responses

* docs(names): bump core sync to 5008b4e62

* feat(names): show name + verification on chat info

* feat(names): add Verify SimpleX names privacy toggle

* feat(names): add set-name screens (user + channel)

* update ui

* fix kotlin

* fix codable

* fix ios

* fix errors

* api in UI

* send name as string in protocol

* update simplexmq, capitalize

* verify that name is in profile for own and known contacts and channels as condition of name resolution

* update simplexmq

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-06-30 11:26:04 +01:00
Evgeny Poberezkin ec8fe669c7 add api for setting public group access 2026-06-29 23:07:12 +01:00
Evgeny Poberezkin 5402750b79 query plan 2026-06-29 18:07:49 +01:00
Evgeny Poberezkin 832d2c58a1 bot api 2026-06-29 15:25:20 +01:00
Evgeny @ SimpleX Chat b6944d73d1 test 2026-06-29 11:36:37 +00:00
Evgeny @ SimpleX Chat e5f2fb0654 fix plan for names 2026-06-29 11:20:20 +00:00
Evgeny Poberezkin a6dbd0e9b0 refactor 2026-06-28 23:11:13 +01:00
Evgeny Poberezkin c94144d8d4 remove proof from channel addres 2026-06-28 23:03:45 +01:00
Evgeny @ SimpleX Chat 1d18ca9dce simplify 2026-06-28 21:47:26 +00:00
Evgeny @ SimpleX Chat 26755c3688 rename fields 2026-06-28 20:57:37 +00:00
Evgeny Poberezkin 9d8bd54bcf remove comments 2026-06-28 20:29:27 +01:00
Evgeny Poberezkin cc0e56d972 simplify 2026-06-28 20:23:43 +01:00
Evgeny @ SimpleX Chat ea1ffd68c4 fix links 2026-06-28 18:14:32 +00:00
Evgeny Poberezkin b3b75f1a3b renames 2026-06-28 17:34:41 +01:00
Evgeny @ SimpleX Chat 8c1162ee59 rename columns 2026-06-28 15:53:22 +00:00
Evgeny @ SimpleX Chat 5e1247e6cf change field for name 2026-06-28 14:59:46 +00:00
Evgeny @ SimpleX Chat 7671225946 mapM_ 2026-06-28 11:35:08 +00:00
Evgeny @ SimpleX Chat 7eb7c49d72 refactor verification 2026-06-28 11:30:55 +00:00
Evgeny @ SimpleX Chat 5600d01d45 renames 2026-06-28 10:04:41 +00:00
Evgeny @ SimpleX Chat 35fd8e7400 read short links when looking up by name 2026-06-28 09:18:40 +00:00
Evgeny @ SimpleX Chat 3084df657e load own names 2026-06-28 08:49:50 +00:00
Evgeny @ SimpleX Chat 38a360ce93 refactor to another type 2026-06-28 08:20:44 +00:00
Evgeny @ SimpleX Chat 2a7084960b refactor 2026-06-27 23:24:16 +00:00
Evgeny @ SimpleX Chat 5b659c8858 refactor more 2026-06-27 22:38:45 +00:00
Evgeny Poberezkin 09b4c7b151 bots api 2026-06-27 23:29:53 +01:00
Evgeny @ SimpleX Chat 8bcabcb912 move names 2026-06-27 21:57:53 +00:00
Evgeny Poberezkin cc86ee8e93 rename 2026-06-27 21:50:13 +01:00
Evgeny @ SimpleX Chat 30130f8402 refactor 2026-06-27 19:03:06 +00:00
Evgeny Poberezkin 72c5417c75 refactor setting user name 2026-06-27 16:49:17 +01:00
Evgeny Poberezkin c51071b740 refactor setting user name 2026-06-27 16:31:29 +01:00
Evgeny @ SimpleX Chat a990a7f7d4 remove spurious comments 2026-06-27 14:59:45 +00:00
Evgeny Poberezkin fbcdd1f21f type name 2026-06-27 15:34:27 +01:00
Evgeny @ SimpleX Chat 471a538622 remove cute language 2026-06-27 14:32:54 +00:00
Evgeny Poberezkin b4ce534643 simplify warnings 2026-06-27 15:17:21 +01:00
Evgeny Poberezkin 22122eed68 remove comment 2026-06-27 14:45:24 +01:00
Evgeny @ SimpleX Chat fc0582cf08 split verify API for contacts and public groups 2026-06-27 13:39:44 +00:00
Evgeny @ SimpleX Chat 9d753f5d1f remove same link, use simplexmq instead 2026-06-27 10:59:19 +00:00
Evgeny @ SimpleX Chat 7781e24209 ad hoc link comparison, create short link 2026-06-27 09:28:18 +00:00
Evgeny Poberezkin 79e0884e5e generate bot types, schema, unStrJSON, fix tests 2026-06-27 08:41:05 +01:00