Evgeny Poberezkin and GitHub
e1370e8f3c
core: split Store.hs to multiple files for faster re-compilation ( #2589 )
...
* core: split Store.hs to multiple files for faster re-compilation
* remove unused compiler pragmas
2023-06-18 10:20:11 +01:00
Evgeny Poberezkin and GitHub
46c6f5e615
cli: option to auto-accept files ( #2540 )
...
* cli: option to auto-accept files
* auto-accept works
* test
* add missing field
2023-06-16 13:43:06 +01:00
c06a970987
core: message reactions ( #2429 )
...
* core: message reactions
* remove comments
* core: commands to set reactions
* fix tests
* process reaction messages
* store functions
* include reactions on item updates
* remove print
* view, tests
* load reactions for new items
* test removing reaction
* remove spaces
* limit the number of different reactions on one item
* remove unique constraints
* fix permissions
* indexes
* check chat item content before adding reaction
* fix group reactions
* simpler index
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-05-15 11:28:53 +01:00
Evgeny Poberezkin and GitHub
5116bfa79c
cli: option to disable notifications, closes #2340 ( #2373 )
2023-05-03 16:40:11 +01:00
Evgeny Poberezkin and GitHub
5ae0afe1fe
ios: update servers API/UI ( #2149 )
...
* ios: update servers API/UI
* fix UI
* fix
2023-04-06 22:48:32 +01:00
Evgeny Poberezkin and GitHub
1a3f0bed47
core: update servers API to include XFTP servers, ios: generalize UI to manage servers ( #2140 )
...
* core: update servers API to include XFTP servers, ios: generalize UI to manage servers
* add test
* update migrations to pass tests
* fix readme
* update simplexmq
2023-04-05 21:59:12 +01:00
spaced4ndy and GitHub
b20824e16c
core: notify about xftp errors ( #2105 )
2023-03-30 18:36:39 +04:00
Evgeny Poberezkin
1f15cf54af
Merge branch 'master' into xftp
2023-03-27 18:57:14 +01:00
Evgeny Poberezkin and GitHub
c96ba30018
core: support down migrations to allow reverting to the previous version ( #2072 )
...
* core: support down migrations to allow reverting to the previous version
* update schema
* update simplexmq
* rename errors
* remove unused functions
* migration UI, test migration
* update migration UI
* return current migrations in CRVersionInfo
* update simplexmq
* test down migrations
* cleanup ios
* show migrations in log
2023-03-27 18:34:48 +01:00
spaced4ndy
babbca48f8
Merge branch 'master' into xftp
2023-03-23 13:58:23 +04:00
Evgeny Poberezkin and GitHub
06a0dbd0f2
core, iOS: hidden and muted user profiles ( #2025 )
...
* core, ios: profile privacy design
* migration
* core: user profile privacy
* update nix dependencies
* update simplexmq
* import stateTVar
* update core library
* update UI
* update hide/show user profile
* update API, UI, fix test
* update api, UI, test
* update api call
* fix api
* update UI for hidden profiles
* filter notifications on hidden/muted profiles when inactive, alerts
* updates
* update schema, test, icon
2023-03-22 15:58:01 +00:00
spaced4ndy and GitHub
34a3387830
core: xftp servers option; use local xftp server in tests ( #2015 )
2023-03-16 14:12:19 +04:00
Evgeny Poberezkin and GitHub
2b77920dcd
teminal: option to log errors and service messages to file, closes #1516 ( #1957 )
...
* teminal: option to log errors and service messages to file, closes #1516
* rename function
2023-02-28 23:26:08 +00:00
Evgeny Poberezkin and GitHub
d5f6b76ec5
core: increase default queue sizes to 1024, fix broadcast bot not to lock when queue is smaller than the number of contacts ( #1955 )
2023-02-26 16:36:11 +00:00
Evgeny Poberezkin and GitHub
a2e5733be6
core: update/fix webrtc frame encryption function to return error ( #1950 )
...
* core: update/fix webrtc frame encryption function to return error
* ios: update C header
* more tests
2023-02-24 20:55:59 +00:00
Evgeny Poberezkin and GitHub
35a1ce4903
core: separate core options to use in bots ( #1937 )
...
* core: separate core options to use in bots
* ci: install pkg-config for mac
2023-02-18 17:39:16 +00:00
Evgeny Poberezkin and GitHub
b7575ec01d
core: encrypt/decrypt WebRTC frames ( #1935 )
...
* core: encrypt/decrypt WebRTC frames
* swift API
* add decrypt stub
* change name
* remove unused type
* move functions
* update cabal file
* copy bytes from encrypted string
2023-02-16 20:25:37 +00:00
Evgeny Poberezkin and GitHub
af414d7f6e
terminal: options for log level and internal queue sizes ( #1755 )
...
* terminal: log levels
* option for internal queue sizes
2023-01-16 09:13:46 +00:00
Evgeny Poberezkin and GitHub
74245d3f2b
core: agent stats ( #1650 )
2022-12-26 22:24:34 +00:00
Evgeny Poberezkin and GitHub
7f0355ec67
core: only send voice messages without acceptance ( #1444 )
...
* core: only send voice messages without acceptance
* remove some unnecessary changes
* update
* refactor receiveInlineMode
2022-11-26 22:39:56 +00:00
Evgeny Poberezkin and GitHub
491fe4a9bf
core, ios: advanced server config ( #1371 )
...
* ios: advanced server config
* simplify UI
* core: ServerCfg
* commit migration, update schema
* add preset servers to response
* return default servers if none saved
* fix test
2022-11-16 15:37:20 +00:00
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
Evgeny Poberezkin and GitHub
a977a0dd17
core: single function to initialize the chat controller only if encryption key is correct ( #1107 )
2022-09-23 22:22:56 +04:00
Evgeny Poberezkin and GitHub
7999e88554
core: fix chatInitKey to pass database key to agent store ( #1010 )
2022-09-02 20:20:43 +01:00
Evgeny Poberezkin and GitHub
2b5e3a9459
core: C API to migrate and check database ( #1008 )
...
* core: C API to migrate and check database
* update simplexmq
2022-09-02 16:38:41 +01:00
Evgeny Poberezkin and GitHub
02ca7234fb
use SQLCipher ( #981 )
...
* use SQLCipher
* pass encryption key via CLI options
* update dependencies to use git
* add CONTRIBUTING.md
* move flag, enable build in sqlcipher branch
* update dependencies
2022-08-30 12:49:07 +01:00
Evgeny Poberezkin
aac80dacf7
core: host connection events
2022-08-13 14:18:12 +01:00
Evgeny Poberezkin and GitHub
4ad1abcbfa
core: support passing all network configuration to the agent ( #868 )
...
* core: support passing all network configuration to the agent
* update simplexmq
2022-08-02 15:36:12 +01:00
Evgeny Poberezkin and GitHub
4fd13c637c
core: access messaging servers via SOCKS5 proxy ( #835 )
...
* core: access messaging servers via SOCKS5 proxy
* update option info
* update simplexmq
2022-07-23 14:49:04 +01:00
Evgeny Poberezkin and GitHub
4bf5125c51
core: support combining store functions in one transaction ( #740 )
...
* refactor store functions (WIP - does not compile yet)
* update chat
* update simplexmq
2022-06-18 20:06:13 +01:00
Evgeny Poberezkin and GitHub
c62d99ab97
core: remove connection pool ( #738 )
...
* core: remove connection pool
* remove local ref from cabal.project
* update simplexmq
* log test
* fix test
2022-06-16 20:00:51 +01:00
Evgeny Poberezkin and GitHub
6f195c4167
core add chat_recv_msg_wait and chat_parse_markdown to published API ( #736 )
2022-06-11 11:52:55 +01:00
Evgeny Poberezkin and GitHub
f341e54128
Export & import storage archive ( #726 )
...
* core: import and export of chat archive
* export chat archive
* import archive, support starting chat after it is stopped
* test for maintenance mode
* test/fix archive with files
* prevent starting chat after chat database was deleted or imported
* update simplexmq
2022-06-06 16:23:47 +01:00
Evgeny Poberezkin and GitHub
b7860ad0e8
simplex-chat server & JavaScript/TypeScript SDK/client ( #539 )
...
* simplex-chat server
* typescript types for chat commands and command serialization
* typescript ChatResponse type
* more types
* more types
* websocket chat client
* aligb ts/haskell types
* chat server & TS client via websockets - it works
* TS chat client test
* TS chat client test
* update test
* more api functions
* more api methods, refactor, readme
* squaring chat bot example, fixes
* update readme
* remove console.log
* npm version 0.1.0
2022-05-13 19:44:03 +01:00
2058e904e6
core: refactor files folder support ( #532 )
...
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-04-15 16:16:34 +04:00
JRoberts and GitHub
e560ed8327
core: support files folder for mobile, delete files, chat item in CRRcvFileComplete ( #530 )
2022-04-15 09:36:38 +04:00
Evgeny Poberezkin and GitHub
fa313caa82
terminal: refactor chat core used in terminal app and in bot examples ( #516 )
...
* terminal: refactor chat core used in terminal app and in bot examples
* fix tests
* refactor
2022-04-10 17:13:06 +01:00
Evgeny Poberezkin and GitHub
0ac9785e4b
terminal: option to execute a single chat command via command line ( #515 )
2022-04-10 16:30:54 +01:00
90a18186d9
configurable smp servers ( #366 , #411 ); core: profile images ( #384 )
...
* core: configurable smp servers (#366 )
* core: update simplexmq hash
* core: update simplexmq hash (fix SMPServer json encoding)
* core: fix crashing on supplying duplicate SMP servers
* core: update simplexmq hash (remove SMPServer FromJSON)
* core: update simplexmq hash (merged master)
* core: profile images (#384 )
* adding initial RFC
* adding migration SQL
* update RFC
* linting
* Apply suggestions from code review
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* refine RFC
* add avatars db migration to Store.hs
* initial chages to have images in users/groups
* fix protocol tests
* update SQL & MobileTests
* minor bug fixes
* add missing comma
* fix query error
* refactor and update functions
* bug fixes + testing
* update to parse base64 web format images
* fix parsing and use valid padded base64 encoded image
* fix typos
* respose to and suggestions from review
* fix: typo
* refactor: avatars -> profile_images
* fix: typo
* swap updateProfile parameters
* remove TODO
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* ios, android: configurable smp servers (only model and api for android) (#392 )
* android: configurable smp servers (ui)
* fix thumb color, fix text field color in dark mode
* update simplexmq hash (configurable servers in master)
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-03-10 15:45:40 +04:00
Efim Poberezkin and GitHub
9d4de4b295
core: correctly set "yes to migrations" in agent config ( #393 )
2022-03-02 22:18:14 +04:00
5961b7d951
asynchronously subscribe to user connections ( #310 )
...
* asynchronously subscribe to user connections
* send subscription status summaries to view/api
* refactor
* add help messages in summaries
* update simplexmq
* rename config field
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-02-25 12:29:36 +00:00
739990c732
terminal: make input responsible for echo to keep commands synchronous (as in mobile) and avoid echo delays ( #343 )
...
* terminal: make input responsible for echo to keep commands synchronous (as in mobile) and avoid echo delays
* use echo
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com >
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com >
2022-02-21 12:05:00 +00:00
Efim Poberezkin and GitHub
ff7a8cade1
test chat items ( #285 )
2022-02-09 20:58:02 +04:00
Efim Poberezkin and GitHub
f5507436f3
chat item status, CRChatItemUpdated api response ( #269 )
2022-02-07 15:19:34 +04:00
Evgeny Poberezkin and GitHub
408a30c25b
simplify mobile API to have single controller ( #274 )
...
* simplify mobile API to have single controller
* update chat response in swift
* add async to stack
2022-02-06 16:18:01 +00:00
Evgeny Poberezkin
c34eddb82a
fix utf8 encoding for C API requests
2022-02-04 12:41:43 +00:00
Evgeny Poberezkin
d07ce0b8f4
use 8 byte characters, as encoding is handled elsewhere
2022-02-04 08:15:25 +00:00
Evgeny Poberezkin and GitHub
0ba4598ca2
JSON encoding for ChatResponse and all other types used in mobile API ( #226 )
...
* JSON encoding for ChatResponse and all other types used in mobile API
* omit null corrId in response, refactor
* more JSON field names
2022-01-26 21:20:08 +00:00
Evgeny Poberezkin and GitHub
b86f034c0b
update C api to return JSON messages via chat_recv_msg ( #224 )
2022-01-24 22:52:55 +00:00
b38d5f3465
started chat model ( #221 )
...
* started chat model
* refactor processing commands and UI events
* message chat event processing
* groups: delayed delivery of messages and introductions to announced members (#217 )
* combine migrations, rename fields
* show all view messages vis ChatResponse type
* serialize chat response
* update C api
* remove unused extensions, fix typos
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com >
2022-01-24 16:07:17 +00:00