* bots, tests: run broadcast bot test in CI
* tests: test moderation that arrives before the message
* ci, tests: run all tests in CI
* tests: update re-enabled tests, restore query plans, PostgreSQL schema from CI
* tests: remove CI skip helpers no longer used
* tests: expect XFTP AUTH error of cancelled standalone file
* tests: update query plans from CI
* tests: update query plans from CI
* tests: expect group history and member contacts in async group test
* tests: accept subscription summary after first events on restart
* tests: make AUTH and client timeout direct tests deterministic
* tests: keep bob's badge clock before renewal until the move back
* tests: keep the quota of 2 messages only on the member's receive queue
* tests: keep query plans files with repeated entries of one query
* tests: update query plans from CI
* tests: stop the host before a member requests to join with a badge
* tests: remove repeated entries of one query from query plans files
* tests: accept the refusal of an unknown remote host after its session code
* ci: state when the query plans test fails
* tests: skip multicast discovery on macOS CI runners
* tests: accept a remote host started with one local address
* tests: restore the client timeout test except its zero timeout
* tests: fail when a remote host prints another line than its other addresses
* ci: name the tests that overwrite generated files
* tests: move the badge clock after the restoring device arms its wake
* tests: keep both members on the quota server in the member inactivity test
* tests: accept subscription summaries in any order in the async group test
* tests: update query plans from CI
* tests: quota of 2 only on bob's queues in member inactivity test
* tests: connect to a deleted link after its queue is deleted
* core: save relay connection before requesting relay link data
* core: share relay connection creation between join and retry
* tests: connect to a re-added relay when its connection is saved late
* tests: delay only the relay connection record, not the command
* tests: record API fixtures on SQLite only
* core: update query plans
* ci: run PostgreSQL tests with the steps of build-linux
* core: fix /start remote host parser when iface name contains a space
The iface= field used jsonP (which calls takeByteString and strict-decodes
the entire remaining input as JSON). When port= followed iface=, the strict
decode failed on the trailing data and the text1P fallback stopped at the
first space inside the JSON-quoted interface name (e.g. "Ethernet 2"),
leaving unparseable junk and producing "Failed reading: empty".
Replace jsonP with a bounded quotedP that consumes only up to the closing
quote, leaving port=… for the next parser.
* plan: document fix for /start remote host iface-with-space parser bug
* core: compress commands in remote connection
* backwards compatible compression
* show in CLI if compression is enabled
* use aroundWith for ghc 8.10.7 compatibility
* skip bot API tests in GHC 8.10.7
* rfc: bot messages and buttons
* update
* update bot rfc
* core: add bot commands to chat preferences and peer type to profile
* update postgresql schema
* update query plans
* chat sessions preference
* markdown for bot commands
* schema
* core: file preference, options to create bot from CLI
* core: different command type
* ios: commands menu
* update types
* update ios
* improve command markdown
* core, ios: update types
* android, desktop: clickable commands in messages in chats with bots
* android, desktop: commands menu
* command menu button, bot icon
* ios: connect flow for bots
* android, desktop: connect flow for bots
* icon
* CLI commands to view and set commands, remove "hidden" property of command, bot api docs
* corrections
* fix inheriting profile preferences to business groups
* note on business address
* ios: export localizations
* fix test
* commands to set file preference on user/contact, tidy up layout and display of command and attachment buttons
* core: short bio/description for contact and group profiles
* use short description in commands
* fix tests
* query plans
* ios: show contact and group profile descriptions
* android, desktop: short description/bio
* ui: layout for chat info, correct copy
* comment out fields to add/edit short descriptions
* remove short description from events
* postgres schema
* core: only skip creating agent user when app is first started
* firstTime
* prompt
* fix test
* if
* simplexmq
* ci timeout
* skip test
* add test timeout
* log test times
* simplexmq
* timeout
* simplexmq without new batching
* Revert "simplexmq without new batching"
This reverts commit 9879bcb57c.
* without new batching again
* with builder, without sized builder
* lazy bytestring, same batching logic
* fewer chunks
* remove lazy
* optimize batching in simplexmq
* handle session setup errors
* add command/async wrapper
* move furniture around
* detect disconnects and force them with closeConnection
* simplify http server log
* close TLS in other cases
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* core: update remote API
* Add session verification event between tls and http2
* roll back char_ '@' parsers
* use more specific parser for verification codes
* cabal.project.local for mac
---------
Co-authored-by: IC Rainbow <aenor.realm@gmail.com>
* core: store remote files (wip)
* fix/test store remote file
* get remote file
* get file
* validate remote file metadata before sending to controller
* CLI commands, test
* update store method
* Fix remoteHandshakeTest
Sidesteps some yet to be uncovered bug when
mobile stops its side before the desktop.
* remove ambiguous update warning
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* Receiving files on CRRcvFileComplete
* Add remote /fr test
* Add broken startFileTransfer notice
* Sending files with SendFile/SendImage
With tests for SendFile.
* Add APISendMessage handling
* Test file preconditions
No files should be in stores before actual sending.
* Fix mobile paths in storeFile
* Wire some of the session endpoints
* Start sending remote commands
* Expand remote controller
- Fix queues for pumping to remote
- Add 3-way test
- WIP: Add TTY wrapper for remote hosts
- Stop remote controller w/o ids to match starting
* Fix view events
* Drop notifications, add message test
* refactor, receive test
* hunt down stray asyncs
* Take discovery sockets in brackets
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>