spaced4ndy
53560378bb
Merge branch 'master' into master-ghc8107
2023-12-11 17:52:48 +04:00
Alexander Bondarenko
35c1975d66
core: chat list pagination ( #3505 )
...
* add pagination args to APIGetChats
* add search to chat list API
* rename arg to paginationTs_ to match type
* lift another condition to ids query
* collect all chat refs before sorting, then get details
* split remaining preview functions
* roll back to collecting ids first with query cleanup
* add connection join back to filter out groups
* extract and expand tests
* add fav/unread args
* WIP
* lay out the queries with favs
* tweak tests
* add fav tests
* fix order by in the before case
* build query footer wholly from pagination
* add migration for direct contacts
* fix setting contact_used
* fix setting contact_used for group link contacts
* align search x filters space with UI, support filter by either favorite or unread, optimize queries, indexes
* always set chat_ts, fix tests
* refactor tests
* fix pagination logic, more tests
* refactor, rename
* increase default pagination count
* comments
* refactor
* comment
* report errors
* refactor
* remove unused type
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-12-11 17:50:32 +04:00
Evgeny Poberezkin
9f3d3e8ba4
Merge branch 'master' into master-ghc8107
2023-12-07 15:00:23 +00:00
Evgeny Poberezkin
27c14f32f1
core: 5.4.0.7
2023-12-07 14:30:42 +00:00
Evgeny Poberezkin
087acd9180
changes to support GHC 8.10.7 ( #3512 )
...
* Revert "raise lower bound on mtl to a real version (#3499 )"
This reverts commit f94c0311c1 .
* Revert "core: expand ranges to fit ghc 8.10 & 9.6 (#3496 )"
This reverts commit 9a1c7f41f7 .
* update simplexmq
* remove netword-transport fork
* compatibility with GHC 8.10.7
* simplexmq
* fix test
* simplexmq, deps
* update sqlcipher deps in sha256nix
* fix index-state in cabal.project
* index-state
* remove import
* add cabal.project.freeze
* simplexmq
* remove freeze
* simplexmq
* bytestring,simplexmq
* template-haskell, simplexmq
* simplexmq
* simplexmq
* simplexmq
* mtl
* simplexmq
* remove duplicate index-state
2023-12-04 12:29:49 +00:00
Evgeny Poberezkin
0b822e4a5c
Merge branch 'master' into master-ghc8107
2023-12-04 10:07:16 +00:00
Evgeny Poberezkin
3481d379c6
core: compatibility with GHC 8.10.7, narrow dependency ranges ( #3503 )
...
* Revert "raise lower bound on mtl to a real version (#3499 )"
This reverts commit f94c0311c1 .
* Revert "core: expand ranges to fit ghc 8.10 & 9.6 (#3496 )"
This reverts commit 9a1c7f41f7 .
* update simplexmq
* remove netword-transport fork
* simplexmq
* fix test
* fix index-state in cabal.project
* simplexmq
* simplexmq
* bytestring,simplexmq
* template-haskell, simplexmq
* simplexmq
* simplexmq
* mtl
* simplexmq
2023-12-04 10:01:37 +00:00
Evgeny Poberezkin
f8a469488e
Merge branch 'master' into master-ghc8107
2023-12-02 12:30:36 +00:00
Alexander Bondarenko
f94c0311c1
raise lower bound on mtl to a real version ( #3499 )
...
* raise lower bound on mtl to a real version
* simplexmq
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-12-02 12:24:29 +00:00
Evgeny Poberezkin
3b5e806418
Merge branch 'master' into master-ghc8107
2023-12-01 17:46:12 +00:00
Alexander Bondarenko
9a1c7f41f7
core: expand ranges to fit ghc 8.10 & 9.6 ( #3496 )
...
* expand ranges to fit ghc 8.10 & 9.6
* update nix
* use hashes from mq master
* fix more deps
* use network-transport from hackage
2023-12-01 16:52:47 +00:00
spaced4ndy
38533213d2
Merge branch 'master' into master-ghc8107
2023-11-30 20:56:51 +04:00
Alexander Bondarenko
6a21d5c7f1
add remote host bindings ( #3471 )
...
* add remote host bindings
* group iface/address together
* rename migration
* add implementation
* update view and api
* bump upstream
* add schema
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-28 16:32:33 +00:00
Evgeny Poberezkin
0c096e2c89
Merge branch 'master' into master-ghc8107
2023-11-24 19:00:30 +00:00
Evgeny Poberezkin
34d7fe3744
core: 5.4.0.6
2023-11-24 18:59:41 +00:00
Evgeny Poberezkin
45102442f4
Merge branch 'master' into master-ghc8107
2023-11-21 21:15:10 +00:00
Evgeny Poberezkin
64520a4cf4
core: 5.4.0.5, update simplexmq
2023-11-21 21:12:43 +00:00
Evgeny Poberezkin
3597d34716
Merge branch 'master' into master-ghc8107
2023-11-21 00:00:59 +00:00
Evgeny Poberezkin
47cd7de1ae
core: 5.4.0.4
2023-11-21 00:00:29 +00:00
Evgeny Poberezkin
55ead740cc
update hpack
2023-11-20 14:43:05 +00:00
Evgeny Poberezkin
49a9b0e7d6
update hpack version
2023-11-20 14:30:10 +00:00
Evgeny Poberezkin
307a1b3c5e
fix for ghc 8.10.7
2023-11-20 13:23:45 +00:00
Evgeny Poberezkin
ed6b3bbead
Merge branch 'master' into master-ghc8107
2023-11-20 13:01:22 +00:00
Evgeny Poberezkin
daa8d9bb21
Merge branch 'master' into master-ghc8107
2023-11-19 23:42:13 +00:00
Evgeny Poberezkin
e95d9d0b49
core: rename migration to remote-control, comments ( #3393 )
2023-11-18 19:18:02 +00:00
Evgeny Poberezkin
cc434cda55
Merge branch 'master' into remote-desktop
2023-11-18 18:03:13 +00:00
spaced4ndy
c0e8740f50
core: group message forwarding ( #3360 )
...
* core: group message forwarding types
* xgrpmemcon
* rework xgrpmemcon to use intros table
* only forward w/t error
* forward msg
* xGrpMsgForward, check integrity outside
* deduplicate group messages
* test
* change error
* item forwarded flag
* intro_chat_protocol_version, bump version
* comment
* highly available client option
* more comments
* notify xgrpmemcon on deduplication
* member vrange
* encoding
* remove MsgForward
* remove import
* exclude files from forwarding
* refactor
* rename to align with protocol
* forward more message types
* add events
* remove unused error, function
* add x.file.cancel, x.info and x.grp.mem.new to forwarded messages
* remove unused x.msg.file.cancel
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-18 17:52:01 +00:00
Evgeny Poberezkin
f3014f258d
Merge branch 'master' into master-ghc8107
2023-11-11 09:51:42 +00:00
Evgeny Poberezkin
b1101fbce4
Merge branch 'master' into remote-desktop
2023-11-11 09:49:22 +00:00
Evgeny Poberezkin
f7b4e4b16a
core: 5.4.0.3
2023-11-11 09:36:16 +00:00
Evgeny Poberezkin
74b78a8d7b
Merge branch 'master' into master-ghc8107
2023-11-10 21:11:08 +00:00
Alexander Bondarenko
b729144773
core: use xrcp protocol for desktop/mobile connection ( #3305 )
...
* WIP: start working on /connect remote ctrl
OOB is broken, requires fixing simplexmq bits.
* WIP: pull CtrlCryptoHandle from xrcp
* place xrcp stubs
* WIP: start switching to RemoteControl.Client types
* fix http2 sha
* fix sha256map.nix
* fix cabal.project
* update RC test
* WIP: add new remote session
* fix compilation
* simplify
* attach HTTP2 server to TLS
* starting host session in controller (WIP)
* more WIP
* compiles
* compiles2
* wip
* pass startRemote' test
* async to poll for events from host, test to send messages fails
* move xrcp handshake test to simplexmq
* detect session stops
* fix connectRemoteCtrl
* use step type
* app info
* WIP: pairing stores
* plug in hello/appInfo/pairings
* negotiate app version
* update simplexmw, remove KEM secrets from DB
* fix file tests
* tone down http2 shutdown errors
* Add stored session test
* bump simplexmq tag
* update simplexmq
* refactor, fix
* removed unused errors
* rename fields, remove unused file
* rename errors
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-08 20:13:52 +00:00
Evgeny Poberezkin
3839267f88
Merge branch 'master' into remote-desktop
2023-11-08 13:10:42 +00:00
spaced4ndy
a04dc5d05b
core: preset simplex contact ( #3321 )
2023-11-07 17:45:59 +04:00
Evgeny Poberezkin
177112ab18
update simplexmq
2023-11-04 19:04:40 +00:00
Alexander Bondarenko
02c0cd5619
Cut at attaching http server/client ( #3299 )
...
* Cut at attaching http server/client
* switch to xrcp branch
2023-11-01 10:48:58 +00:00
spaced4ndy
5dbe2b2745
Merge branch 'master' into master-ghc8107
2023-10-30 21:00:11 +04:00
spaced4ndy
b1fdc936a6
Merge branch 'master' into remote-desktop
2023-10-30 20:58:39 +04:00
spaced4ndy
f34bbdbd9c
core: improve group link protocol (immediately establish group connection without first creating contact) ( #3288 )
2023-10-30 20:40:20 +04:00
Evgeny Poberezkin
d90da57f12
core: store/get remote files ( #3289 )
...
* 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
2023-10-29 19:06:32 +00:00
Evgeny Poberezkin
16bda26022
core: derive JSON with TH ( #3275 )
...
* core: derive JSON with TH
* fix tests
* simplify events
* reduce diff
* fix
* update simplexmq
* update simplexmq
2023-10-26 15:44:50 +01:00
Alexander Bondarenko
e1bd6a93af
use multicast address for announce ( #3241 )
...
* use multicast address for announce
* Add explicit multicast group membership
* join multicast group on a correct side
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-23 13:44:04 +01:00
Evgeny Poberezkin
93800268e4
Merge branch 'master' into remote-desktop
2023-10-23 10:04:51 +01:00
Evgeny Poberezkin
d6b9a45a39
Merge branch 'master' into master-ghc8107
2023-10-22 15:10:33 +01:00
Evgeny Poberezkin
79275424ea
core: 5.4.0.2
2023-10-22 15:06:55 +01:00
Evgeny Poberezkin
b5e114d834
Merge branch 'master' into remote-desktop
2023-10-22 13:04:15 +01:00
Alexander Bondarenko
0d1a080a6e
remote protocol ( #3225 )
...
* draft remote protocol types and external api
* types (it compiles)
* add error
* move remote controller from http to remote host client protocol
* refactor (doesnt compile)
* fix compile
* Connect remote session
* WIP: wire in remote protocol
* add commands and events
* cleanup
* fix desktop shutdown
* prepare for testing remote files
* Add file IO
* update simplexmq to master
with http2 to 4.1.4
* use json transcoder
* update simplexmq
* collapse RemoteHostSession states
* fold RemoteHello back into the protocol command
move http-command-response-http wrapper to protocol
* use sendRemoteCommand with optional attachments
use streaming request/response
* ditch lazy body streaming
* fix formatting
* put body builder/processor closer together
* wrap handleRemoteCommand around sending files
* handle ChatError's too
* remove binary, use 32-bit encoding for JSON bodies
* enable tests
* refactor
* refactor request handling
* return ChatError
* Flatten remote host
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-22 09:42:19 +01:00
spaced4ndy
87d84cfccc
core: filter connection plan query results by user_id ( #3251 )
2023-10-21 19:13:32 +04:00
Evgeny Poberezkin
73652e4bba
Merge branch 'master' into remote-desktop
2023-10-12 10:43:59 +01:00
Evgeny Poberezkin
effc281271
Merge branch 'master' into master-ghc8107
2023-10-11 21:27:21 +01:00