spaced4ndy
09481e09b6
core, mobile: file error statuses, cancel sent file ( #2193 )
2023-04-18 12:48:36 +04:00
Evgeny Poberezkin
5b4c183466
core: do not create decryption error chat items for earlier messages ( #2189 )
...
* core: do not create decryption error chat items for earlier messages
* do not report earlier error, mobile items, fix tests
2023-04-16 18:30:25 +01:00
Evgeny Poberezkin
aea526f69d
core: add chat items to indicate decryption failures due to ratchets being out of sync ( #2175 )
...
* core: add chat items to indicate decryption failures due to ratchets being out of sync
* show ratchet errors in chat items, show all integrity errors
* show decryption errors, tests
* ios: chat items, remove item for duplicate messages
* android: decryption errors chat items
* eol
2023-04-16 11:35:45 +01:00
spaced4ndy
73638129bc
core: cancel file transfer when chat item is marked deleted ( #2137 )
2023-04-03 18:49:22 +04:00
spaced4ndy
ef05fa4905
core: file protocol field; ios: distinguish behavior and look of XFTP and SMP files ( #2090 )
...
* core: file protocol field; ios: distinguish behavior and look of XFTP and SMP files
* remove unused method
* count style
* corrections
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-28 19:20:06 +01:00
Evgeny Poberezkin
c79eb36a7a
core: update file status on XFTP progress events ( #2079 )
...
* core: update file status on XFTP progress events
* update simplexmq
2023-03-27 12:37:22 +01:00
Evgeny Poberezkin
d7f9e17bcb
core: use XFTP to send and receive files ( #1993 )
...
* core: use XFTP to send and receive files
* xftp files progress
* xftp reception stubs, migration
* update simplexmq
* xftp sequence diagram
* additional chat events
* send file via XFTP
* send XFTP file description inline when file is uploaded
2023-03-13 10:30:32 +00:00
JRoberts
bd3325a889
core: show/keep message as moderated for moderator ( #1916 )
2023-02-08 22:29:36 +04:00
Evgeny Poberezkin
9e4499de6d
core: allow admins/owners delete member messages ( #1869 )
...
* core: allow admins/owners delete member messages
* allow message deletion to admins/owners
* deleted by types, schema
* check role
* fix test, view
* view, tests
* comment
* test timed deletion events
* refactor
* refactor
* refactor
---------
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2023-02-08 11:08:53 +04:00
JRoberts
58f06aa821
core: print error context on store internal errors ( #1699 )
2023-01-06 14:22:16 +04:00
Evgeny Poberezkin
aae0802ec8
core: chat items with offered feature ( #1620 )
...
* core: chat items with offered feature
* texts
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* new preference items
* test
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-22 14:56:29 +00:00
JRoberts
74a20ef70c
core: sort chat previews by chat ts ( #1625 )
2022-12-22 17:43:10 +04:00
Evgeny Poberezkin
64fb1f0b85
core: do not start disappearing timer for live messages until they stop being live, and start it on item update instead, provided they are read ( #1609 )
...
* core: do not start disappearing timer for live messages until they stop being live, and start it on item update instead, provided they are read
* change delays in tests
* diffInSeconds
2022-12-20 10:17:29 +00:00
JRoberts
84e43c57f6
core: ttl in feature chat items, view responses ( #1595 )
...
* core: ttl in feature chat items, view responses
* fix tests
* fix test
* view
* refactor
* use prefChangedValue
* use groupPrefChangedValue
* use cupIntValue
* simplify types
* groupFeatureState
* groupPrefToText
* prefToText, view
* remove prefFeature
* rename intValue -> param
* int -> param
* timedTTLText
* remove pragma
* restore pragma
* simplify
* timedTTLText
* fix tests
* off, after
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-19 21:18:59 +04:00
Evgeny Poberezkin
86271fe109
terminal: support live messages ( #1597 )
...
* terminal: toggle live message updates
* terminal: send live messages (#1599 )
* terminal: send live messages
* show edited messages
* send and continue live message with Alt-Enter
* truncate live messages to full words
* remove comments
* refactor
* refactor to avoid clearing live message prompt and show it faster
* $
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-19 11:16:50 +00:00
Evgeny Poberezkin
4ab7e5e1c8
terminal: command to get last item ID (to reference it in the tests) ( #1596 )
...
* terminal: command to get last item ID (to reference it in the tests)
* lastItemId
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-17 19:33:58 +04:00
Evgeny Poberezkin
d105e59655
core: set item that was live as 0, that was never live as NULL (Maybe Bool type) ( #1594 )
...
* core: set item that was live as 0, that was never live as NULL (Maybe Bool type)
* fix
2022-12-17 13:58:16 +00:00
JRoberts
cee403c1ed
core: simplify terminal mark messages read logic ( #1589 )
2022-12-16 15:56:16 +04:00
Evgeny Poberezkin
8786e2147a
core, mobile: logic for enabling disappearing messages ( #1588 )
...
* core: logic for enabled for disappearing messages
* refactor
* update feature enabled in UI
2022-12-16 10:27:59 +00:00
Evgeny Poberezkin
6b8705e9f4
core: support for live messages ( #1577 )
2022-12-16 11:51:04 +04:00
JRoberts
17cd3cdca4
core: make ttl optional in TimedMessagesPreference ( #1583 )
...
* core: make ttl Maybe in TimedMessagesPreference
* omitNothingFields
2022-12-15 18:11:08 +00:00
JRoberts
aa264690ab
core: add ttl to XMsgUpdate ( #1581 )
2022-12-15 17:29:46 +04:00
JRoberts
0e837ae392
core: timed messages ( #1561 )
...
* docs: disappearing messages rfc
* change schema
* word
* wip
* wip
* todos
* todos
* remove cancel, refactor
* revert prefs
* CITimed
* schema
* time on send direct
* time on send group
* add ttl to msg container, refactor
* timed on receive
* time on read
* getTimedItems, fix tests
* mark read in terminal - view, input, output, fix tests
* refactor
* comment
* util
* insert atomically
* refactor
* use guards
* refactor startTimedItemThread
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-15 15:17:29 +04:00
Evgeny Poberezkin
e0c932c04e
core: change AgentErrorType to String to preserve backward compatibility with stored errors ( #1485 )
2022-12-03 13:28:51 +00:00
JRoberts
07ef6e4090
ios: marked deleted chat items, full deletion preference; android: types ( #1473 )
...
* ios: marked deleted chat items; full deletion preference
* text_, menu, backend
* android types
* more android types
* fix
* refactor ios
* restore previews
* box
* refactor menu
* revert unnecessary content.text changes
* Update apps/ios/Shared/Views/Chat/ChatItem/CIVoiceView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* revert layered framed items
* clever framed view
* improve look
* restore previews
* restore previews
* refactor
* refactoring, almost looks good
* look
* add previews
* more previews
* remove preview of legacy item
* ChatItemDeleted
* flip if
* remove text_
* refactor
* abstract pref property
* move marked deleted
* revert pref change
* undo menu
* fix - change to constants
* undo pref logic
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-03 15:40:31 +04:00
JRoberts
9ad29aa17e
core: full deletion by sender based on preference; don't overwrite item content on "mark deleted" ( #1470 )
2022-11-30 19:42:33 +04:00
Evgeny Poberezkin
1872744543
core, mobile: add group feature to allow direct messages ( #1465 )
...
* core, mobile: split group features to a separate type (to add directAllowed later)
* add directMessages group feature, update tests
2022-11-29 15:19:20 +00:00
JRoberts
56a3f98dc0
core: create certain informational chat items as read ( #1452 )
2022-11-28 16:27:22 +04:00
Evgeny Poberezkin
e6e5faeb9c
core: chat items for group preferences ( #1402 )
...
* core: chat items for group preferences
* chat items for group preference changes and sent item for contact/user prerences changes
* prohibited features, tests
* enable all tests
* fix
2022-11-23 11:04:08 +00:00
Evgeny Poberezkin
2b09fb425d
core: chat items showing preference changes ( #1399 )
2022-11-22 12:50:56 +00:00
JRoberts
b1fa1a84fe
core: voice msg content type ( #1368 )
2022-11-15 15:24:55 +04:00
JRoberts
d432dfba21
core: include pending group link connections into chat previews on joining side ( #1291 )
2022-11-04 12:00:03 +04:00
JRoberts
5243613045
core: group link connection request uri data; automatically join groups over group links ( #1275 )
2022-11-03 14:46:36 +04:00
Evgeny Poberezkin
cbdd9b9e37
ios: switch contact and member to another address ( #1282 )
...
* ios: switch contact and member to another address
* update simplexmq (JSON encoding)
2022-11-02 09:48:20 +00:00
Evgeny Poberezkin
d5fc0d7dfc
core: update event name, ios: types/api/ui (wip) to switch connection to another address, fix contact/member info view, fix setting multiple servers ( #1281 )
...
* core: update event name, ios: types/api/ui (wip) to switch connection to another address, fix contact/member info view, fix setting multiple servers
* fix
* update strings
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-11-01 20:30:53 +00:00
Evgeny Poberezkin
a72f603e13
core: switch connection ( #1277 )
...
* core: switch connection
* chat items for SWITCH
* additional events for connection switch
* update simplexmq
* test
* comment test output
* update messages for connection switch
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-11-01 13:26:08 +00:00
JRoberts
d0a0a0461f
mobile: change role item texts, uncomment button ( #1241 )
...
* mobile: change role item texts, uncomment button
* Update apps/android/app/src/main/res/values-de/strings.xml
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-10-22 18:40:21 +04:00
JRoberts
5bcb725ea5
core: exclude contacts accepted via group link from chat previews ( #1234 )
...
* RGEInvitedViaGroupLink
* CRSentGroupInvitationViaLink
* via_group_link filtering
* reset
* refactor
* remove brackets
2022-10-21 17:35:07 +04:00
Stanislav Dmitrenko
213b586f8f
core: Forcing chat unread ( #1228 )
...
* core: Forcing chat unread
* Implementation
* Renaming
* Removed unused code
* test
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-10-19 19:38:44 +01:00
Evgeny Poberezkin
fb03a119ea
core: support inline file transfers ( #1187 )
...
* core: support inline file transfers
* parameterize ChatMessage
* send files inline when accepted
* accept inline file transfers (almost works)
* db error SERcvFileInvalid
* inline file transfer works (TODO fix test)
* inline file transfer tests, change encodings
* fixture
* combine messages into x.file.acpt.inv, refactor
* inline file mode
* decide whether to receive file inline on the recipient side, not only via file invitation
* test inline files "sent" mode
* check that file was offered inline
* update schema
* enable encryption tests
* test name
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* fix the list of rcv files to subscribe too
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-14 13:06:33 +01:00
JRoberts
135bdf3842
core: optimize bulk chat item deletion 2 ( #1172 )
2022-10-05 19:54:28 +04:00
Evgeny Poberezkin
f9c691cab1
ios: change member role ( #1164 )
...
* ios: change member role
* chat item types, error alerts
* update alert
* translations
* update messages
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* update translations
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-04 09:53:43 +01:00
JRoberts
575706c7c7
core: platform independent json encoding for MsgErrorType ( #1163 )
2022-10-03 12:55:59 +04:00
Evgeny Poberezkin
58f6b168e6
core: protocol/commands to change member role ( #1159 )
...
* core: protocol/commands to change member role
* change member roles
* add test
* correction
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* add member profile to group member role events
* resend invitation when invited member role changes
* test role change with invitation, fix
* add delays to tests
* add test delay
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-03 09:00:47 +01:00
JRoberts
9cb2542079
core: scheduled deletion ( #1075 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-09-28 20:47:06 +04:00
JRoberts
c07d4a5e4e
core: use async agent commands when establishing connections w/t user action ( #977 )
...
* wip
* wip
* wip
* schema
* schema
* wip
* wip
* rework
* revert
* update simplexmq
* async commands
* corr id wip
* wip
* update simplexmq
* corr id
* wip
* rename variable
* wip
* refactor
* ACK continuation
* wip
* fix queries
* fix queries
* clean up schema
* update simplexmq, do not lock on stopping chat
* clean up
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-09-14 19:45:21 +04:00
JRoberts
2fc6873c42
core: simplify incognito feature - remove host/invitee incognito profiles communication; remove incognito mode group creation and join; use same incognito profile known to host when joining ( #978 )
2022-08-27 19:56:03 +04:00
Evgeny Poberezkin
bd7aa81625
core: DB json encoding for group events (platform independent) ( #966 )
...
* core: DB json encoding for group events (platform independent)
* comment, migration
* shorter constructors
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-08-23 16:24:43 +04:00
JRoberts
5e67654249
core: incognito connections ( #926 )
2022-08-18 11:35:31 +04:00
Evgeny Poberezkin
0c58adff08
core: editing group profiles (no conflict resolution) ( #851 )
...
* core: editing group profiles with conflict resolution
* update group profiles
* fix group update
* add test, add group profile to chat items, update terminal output
* Update apps/android/.idea/gradle.xml
2022-07-29 19:04:32 +01:00