Evgeny Poberezkin
84a77de53c
remove apiParseMarkdown commands from console ( #511 )
2022-04-08 18:58:09 +01:00
IanRDavies
d90c4261b8
ios: link previews ( #503 )
...
* refactor image utils and initial link metadata tools
* remove LPMetadata conversion as we will build our own view to avoid network calls
* initial very basic preview outline, remove icon loading
* connect preview view to compose view
* v0.1 barely working
* minor refactor
* refactor
* collect images effectively
* link up to api for send/receive
* rework async get metadata logic
* show previews in chat
* refactor resizing logic
* checkpoint before view editing
* ui changes
* housekeeping
* ui tweaks
* typo
* improve link preview design/logic
* resize image to target data size
* fix link preview state machine
* tidy up
* fix typo
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-04-08 18:17:10 +01:00
Evgeny Poberezkin
238cc8b90b
ios: update libs
2022-04-07 16:11:18 +01:00
Evgeny Poberezkin
a17ddede53
ios: update binaries
2022-04-04 20:44:38 +01:00
IanRDavies
0ecaa59df6
ios: update image picker ( #495 )
...
* switch to PHPicker for photos. TODO add back camera functionality. [rough]
* add back camera selection option
* remove force unwrap of optional
* response to comments
* rerun tests
* refactor naming
2022-04-04 19:19:54 +01:00
Evgeny Poberezkin
309fdf422f
ios: scripts ( #501 )
2022-04-04 12:33:28 +01:00
Evgeny Poberezkin
852421315b
SimpleX Chat bot example ( #499 )
...
* SimpleX Chat bot example
* extract repl bot
* update .cabal
2022-04-04 08:14:42 +01:00
JRoberts
ef41034e17
Merge branch 'stable'
2022-04-03 14:05:57 +04:00
Evgeny Poberezkin
4247dc4271
ios update build num 35
2022-04-02 16:09:49 +01:00
Evgeny Poberezkin
7f945d2530
ios: improve connection error alerts
2022-04-02 14:35:35 +01:00
Evgeny Poberezkin
3dc9eded54
ios: fix alert on contact deletion from chat info ( #496 )
2022-04-02 12:23:05 +01:00
Evgeny Poberezkin
5c13267b47
mobile: build nums ios 34, android 22
2022-04-02 10:41:26 +01:00
IanRDavies
e10c8c7234
android: minor text changes ( #491 )
...
* minor changes for readability
* update notifications popup wording
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-04-02 10:15:44 +01:00
IanRDavies
052963f19e
ios: tidy up tmp images ( #494 )
...
* catch image URL and tidy up after the fact
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-04-01 17:13:54 +01:00
Evgeny Poberezkin
c7d7c6c608
mobile: build number ios 33, android 21
2022-04-01 16:54:55 +01:00
Evgeny Poberezkin
ea95912bd5
mobile: update lib and versions 1.5 (ios - 32, android - 20)
2022-04-01 09:58:00 +01:00
JRoberts
d080a3a87b
mobile: hide broadcast delete button ( #488 )
2022-03-31 21:38:53 +04:00
JRoberts
4c6800f1ff
android: change font ( #426 )
2022-03-30 23:35:36 +04:00
Evgeny Poberezkin
b6c578ca77
ios: fix missing profile image on the first received item in the group ( #483 )
2022-03-30 20:04:25 +01:00
JRoberts
f388512592
mobile: message delete ( #480 )
...
* mobile: message delete
* ios
* android api
* meta
* android
* new ios libs
* bug fixes
* adjust alert
* fix deleted item upsert
* change border color for ios
* format
* android - red button
* ios: deleted item design
* android: deleted item design
* android alert msg
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-03-30 20:37:47 +04:00
Evgeny Poberezkin
8574674c2d
android: notice about background service ( #481 )
...
* android: notice about background service
* update alert text
2022-03-30 12:33:31 +01:00
Evgeny Poberezkin
1b7cee9fcf
ios: update lib and build version 31 / 1.4
2022-03-30 09:02:45 +01:00
Evgeny Poberezkin
12ee82808e
ios: update lib and build version 31 / 1.4
2022-03-30 09:02:20 +01:00
Evgeny Poberezkin
5e964cf7e9
mobile: show group member images in the chat ( #473 )
...
* mobile: show group member images in the chat
* improve layout for group chat
* android: show member images in group chat
* do not repeat member name in group messages
2022-03-30 08:57:42 +01:00
Evgeny Poberezkin
8768d03e57
Merge branch 'stable'
2022-03-30 08:19:38 +01:00
Evgeny Poberezkin
75dfd725f4
android: build 19 (v1.4)
2022-03-30 08:18:08 +01:00
Evgeny Poberezkin
e0f4855d0d
android: version 1.5 (18) - includes foreground service
2022-03-27 12:16:05 +01:00
Evgeny Poberezkin
a11784c615
android: foreground service to receive messages ( #454 )
...
* android: foreground service to receive messages
* android: fix duplicate chat (caused by persistent state of the service)
* option to turn off background service
* fix: foreground service failing to start when the new user is created
* remove unused background manager
2022-03-26 16:49:08 +00:00
Evgeny Poberezkin
a316a95754
android: version 1.4 (17)
2022-03-26 13:25:01 +00:00
Evgeny Poberezkin
a81de493fe
ios: version 1.4 (30)
2022-03-26 12:23:14 +00:00
JRoberts
bdb3bc0bd7
mobile: hide edit button ( #474 )
2022-03-26 15:08:42 +04:00
Evgeny Poberezkin
013a7322d2
ios: fix chat scrolling crashing the app ( #472 )
2022-03-25 20:02:40 +00:00
JRoberts
0b45ddfc79
mobile: message update (restore #460 ) ( #469 )
2022-03-25 22:26:05 +04:00
JRoberts
26558dfaca
profile images (restore #423 ) ( #466 )
...
* 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>
* initial changes to show profile images
* simple set up complete
* add initial shape of image getting (needs work)
* redesign
* ios, android: configurable smp servers (only model and api for android) (#392 )
* example image picker placed in edit profile screen
* tidy up and allow encoding
* more tidying
* update bottom modal bar
* v0.1 UI for upload ready
* add api calls
* refactor edit profile screen
* complete the refactor with connection back to api
* linting
* update encoding for hs compat
* no line wrapping and resize image
* refactor and tidy up for cleanest compatability with haskell
* ios: UI for editing images
* crop image to square
* update profile edit layout
* fixing image preview orientation etc
* allow expandable image in profile view
* handle case where user exits camera rather than take image
* housekeeping on when to call apiUpdateProfileImage
* improve scaling of large image
* linting
* spacing
* fix padding
* revert whitespace change
* tidy up, one remaining issue
* refactor to get parsing working
* add missed change
* use custom modal in user profile
* fix image size after scaling
* scale image iteratively
* add filter
* update profile editing view
* ios: edit profile image (TODO aspect ratio)
* ios: UI to manage profile images
* ios: use new profile api
* android: use new api to update profile
* android: scroll profile view up when editing
* revert change
* reduce profile image resolution to 104px to fit in 12.5kb
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-03-25 22:13:01 +04:00
Evgeny Poberezkin
366b84d3fa
use simplexmq with TCP keep-alive instead of SMP PINGs ( #457 )
...
* use simplexmq with TCP keep-alive instead of SMP PINGs
* update simplexmq
* sha256nix
2022-03-21 17:15:25 +00:00
Evgeny Poberezkin
22dc68ff4e
ios: update dummy.m to work with x86 sim, upgrade libraries ( #458 )
...
* ios: update dummy.m to work with x86 sim
* add condition for CPU arch to dummy.m
2022-03-21 08:43:34 +00:00
Evgeny Poberezkin
f43c462907
ios: load chat from db synchronously to avoid occasional empty chats ( #453 )
2022-03-19 17:20:27 +00:00
Evgeny Poberezkin
0e73697ea4
mobile: show app version/build, update settings, update build number (16: android, 28: ios) ( #445 )
2022-03-18 09:23:01 +00:00
Evgeny Poberezkin
01994d8c6a
android: fix message entry size after sending emoji, build 15
2022-03-17 18:01:47 +00:00
Evgeny Poberezkin
31de7fd0ee
mobile: update version/build 1.3 (ios: 27, android 14)
2022-03-17 10:34:31 +00:00
Evgeny Poberezkin
744c451927
mobile: message actions (reply, share, copy) ( #431 )
...
* ios: add context menu to messages
* ios: UI for replies with quotes
* fix: scrolling crashing in chat
* ios: UI for message replies with quotes
* android: UI for message replies
* android: messages with quotes
* android: update imports
* android: refactor ChatItemView
* remove comments
2022-03-17 09:42:59 +00:00
Evgeny Poberezkin
d4765bcfec
Merge branch 'stable'
2022-03-14 21:04:05 +00:00
Evgeny Poberezkin
e4ea2035ff
android: fix app crashing on opening chats, build 12 ( #439 )
2022-03-14 21:03:36 +00:00
Mark Aleksander Hil
102fdf3b18
mobile: update copy, fix typo ( #440 )
...
* Updated copy and fixed typo
* Updated copy and fixed typo
2022-03-14 20:58:19 +00:00
Evgeny Poberezkin
1f539fc8be
hide secrets in notifications, closes #416 ( #424 )
...
* terminal: hide secrets in notifications #416
* ios: hide secrets in notifications
* android: hide secrets in notifications
2022-03-13 20:13:47 +00:00
Evgeny Poberezkin
b2650947a9
android: update build (11)
2022-03-12 17:24:29 +00:00
Evgeny Poberezkin
604bf0c485
android: smaller fonts, bigger line height ( #433 )
2022-03-12 16:57:30 +00:00
Evgeny Poberezkin
b7bf3678e5
fix: markdown and links interaction/copy in messages ( #432 )
2022-03-12 16:52:04 +00:00
Evgeny Poberezkin
b0430f7eee
android: update version 10 (1.2)
2022-03-11 19:11:52 +00:00
Evgeny Poberezkin
7d3e440a47
ios: update build (26)
2022-03-11 18:24:38 +00:00
Evgeny Poberezkin
6877261b9c
ios: fit smaller screens ( #429 )
...
* ios: fit smaller screens
* s/or/and/
2022-03-11 17:52:11 +00:00
Evgeny Poberezkin
eef45a6015
ios: update haskell lib, version 1.2 (25)
2022-03-11 11:32:57 +00:00
John Roberts
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
IanRDavies
38aea7c455
use relative sizing when scaling the QR code ( #417 )
...
* use relative sizing when scaling the QR code
* linting
* properly implement image scaling
* remove extra horizontal padding
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-03-10 10:36:21 +00:00
Evgeny Poberezkin
e272048f24
ios: date/time formatting now respects locale settings ( #420 )
2022-03-09 22:35:33 +00:00
IanRDavies
b749bf7b08
fix scrolling with keyboard
2022-03-09 18:54:19 +00:00
IanRDavies
ff3daed4c6
fix scrolling issue using save/load state
2022-03-09 16:30:47 +00:00
IanRDavies
e90e10bd26
add variable to monitor scrolling as scroll fix
2022-03-09 15:56:08 +00:00
Evgeny Poberezkin
29af079a8f
ios: update build number (24), app store 1.1 submission - fixing iPhone 7 etc.
2022-03-08 15:19:14 +00:00
Evgeny Poberezkin
ebdd78edea
remove iPad support, update build # (23)
2022-03-08 08:46:48 +00:00
Evgeny Poberezkin
44cd482695
android: update version/build 0.4.2 (9)
2022-03-06 08:59:43 +00:00
Evgeny Poberezkin
a801e0c5e9
ios: build 22, add iPad support
2022-03-05 22:33:44 +00:00
IanRDavies
fd28c939f5
android: disable create button when display name is not valid ( #396 )
2022-03-04 14:51:25 +00:00
Evgeny Poberezkin
1ab68172cb
ios: update version 1.1 (build 21)
2022-03-04 10:34:39 +00:00
Evgeny Poberezkin
87e9ae5a3e
mobile: update verion/build: ios 1.0/21, android 0.4.1/8
2022-03-04 10:30:47 +00:00
Evgeny Poberezkin
c47a7d78fe
support for unknown message content types ( #395 )
...
* android: parse/serialize unknown chat items
* ios: more resilient decoding of MsgContent
* core: preserve JSON of unknown message content type in MCUknown, so it can be parsed once it is supported by the client
2022-03-03 08:32:25 +00:00
Evgeny Poberezkin
b10b3a3434
ios: update libs
2022-03-02 20:15:22 +00:00
Evgeny Poberezkin
3a6eaa3ddd
android: update build number (7)
2022-03-02 15:57:21 +00:00
Evgeny Poberezkin
eb42d739cb
android: update version/build 0.4 (6)
2022-03-02 07:11:20 +00:00
Evgeny Poberezkin
e5d5bd5ec8
android: disable background loading
2022-03-01 21:39:37 +00:00
Evgeny Poberezkin
24166a4271
android: background loading
2022-03-01 21:26:47 +00:00
Evgeny Poberezkin
232149817e
ios: fix alerts, build 20 ( #390 )
2022-03-01 18:05:05 +00:00
Evgeny Poberezkin
c500616bb4
update privacy policy, build number ( #389 )
2022-03-01 08:45:54 +00:00
Evgeny Poberezkin
b19cf35d28
iOS: v1 AppStore release ( #386 )
...
* fix: disable create when display name is empty
* update version/build 1.0 (17)
* update build number (18)
* terms and privacy policy
2022-02-28 20:45:31 +00:00
Evgeny Poberezkin
4585c7b649
ios: update build version (16)
2022-02-28 14:31:55 +00:00
Evgeny Poberezkin
0b00c2ad76
android: receiving messages in background; ios: background task completion ( #382 )
...
* android: receiving messages in background; ios: background task completion
* complete receiving and sending messages in background
2022-02-28 10:44:48 +00:00
Evgeny Poberezkin
310f56a9b3
update version/build: ios 0.4 (15), android 0.3 (5)
2022-02-27 19:25:40 +00:00
Evgeny Poberezkin
0a94e740d2
android: refactor modal views without navigation controller ( #381 )
...
* android: refactor modal views without navigation controller
* refactor navigation
* make alert manager global
* disable CRPendingSubSummary in terminal, hamburger menu instead of gear
2022-02-27 18:16:38 +00:00
IanRDavies
3f3a503def
android: notifications ( #369 )
...
* minimal implementation of notifications and broken framework for background check for messages
* linting and need different id to have multiple messages
* working notification on new messages
* add autocancel to notifications
* add rudimentary linking to chat from notification
* group notifications from the same chat
* clarify comment
* revert to working version
* refactor
* minors
* two channels, silent and shouty
* rudimentary state control for notifications
* check if running in foreground
* more elegant solution to don't notify if in chat
* tidy up DisposableEffect use
* change message notification priority to high
* nuke opt-ins
* navigation via notification occasionally works with race condition (WIP)
* notification navigation is working; remove chat list/view from navigation; refactor ChatListNavLinkView
* group all simplex notifications, only show the latest message per chat, notification icons
* increase time to 30 sec
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-27 12:14:26 +00:00
Evgeny Poberezkin
0413865a3b
ios, core: fix add contact screen, add logging, additional chat events ( #380 )
...
* ios, core: fix add contact screen, add logging, additional chat events
* fix alert dialogues
* fix precedence parsing error
* update alert messages
2022-02-26 20:21:32 +00:00
Evgeny Poberezkin
1110a78e06
update versions/build #s: ios 0.4 (14), android 0.3 (4)
2022-02-26 13:10:47 +00:00
Evgeny Poberezkin
ad1612d84a
android: markdown help ( #376 )
2022-02-26 15:35:51 +04:00
Evgeny Poberezkin
0389a58f64
core: fix failing subscriptions when user address is missing ( #377 )
...
* core: fix failing subscriptions when user address is missing
* set concurrency limit on subscriptions
2022-02-26 10:04:25 +00:00
Evgeny Poberezkin
6ee2f334f6
update build number (12)
2022-02-26 08:24:58 +00:00
Evgeny Poberezkin
a5afdf4e91
ios: update version/build 0.4 (11)
2022-02-25 21:57:05 +00:00
Evgeny Poberezkin
ecaa570ff3
free C strings ( #375 )
2022-02-25 21:07:36 +00:00
Evgeny Poberezkin
1d2d1e6df7
process subscription summaries in ios/android ( #374 )
2022-02-25 20:26:56 +00:00
Evgeny Poberezkin
727c533f93
update build number to 0.2 (3)
2022-02-25 15:29:52 +00:00
Evgeny Poberezkin
bbab069bcd
android: replace while true loop with async recursion ( #371 )
2022-02-25 11:37:47 +00:00
Evgeny Poberezkin
1cf3b776d7
ios: use core markdown parser, also make messages in android selectable ( #372 )
...
* ios: use core markdown parser, also make messages in android selectable
* remove bold font from members in previews
* markdown help
* text selection
2022-02-25 07:16:19 +00:00
Evgeny Poberezkin
1aa2643c18
android: show member names in group messages ( #370 )
...
* android: show member names in group messages
* refactor
2022-02-24 18:02:59 +00:00
Evgeny Poberezkin
1150c04298
ios: process commands and messages asynchronously, on the background thread ( #367 )
...
* ios: process commands and messages asynchronously, on the background thread
* move model updates to main thread
2022-02-24 17:16:41 +00:00
Efim Poberezkin
9c57ab5221
android: user address; fix add and connect contact views dark mode; chat list view styling ( #359 )
2022-02-24 12:58:59 +04:00
IanRDavies
3e61b8c21a
ios: display name validation ( #364 )
...
* try to add warning text if display name has whitespace
* simplify
* layout/error icon
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-24 08:45:19 +00:00
IanRDavies
99bed645f3
android: more welcome styling ( #363 )
...
* spacing and size updates to welcome page
* spacing and allow space for keyboard
2022-02-24 08:01:41 +00:00
Evgeny Poberezkin
51f5982205
markdown: parse emails and phone numbers ( #365 )
...
* markdown: parse emails and phone numbers
* phone parsing
* refactor
2022-02-24 07:55:18 +00:00
Evgeny Poberezkin
b7a06dd0cf
show date on the same line as the message if space allows ( #362 )
2022-02-23 21:48:48 +04:00
IanRDavies
e071e4cdbf
add check for whitespace in display name ( #360 )
2022-02-23 12:40:50 +00:00
Evgeny Poberezkin
470b18786e
android: show markdown in messages ( #361 )
...
* android: show markdown in messages
* empty line
2022-02-23 12:30:48 +00:00
Evgeny Poberezkin
8f21453e82
fix markdown type for Colored, add types/parsing for formatted text to iOS/android ( #358 )
2022-02-23 08:45:49 +00:00
Evgeny Poberezkin
fb76917ec3
android: update version/build 0.2 (2)
2022-02-23 07:35:22 +00:00
Evgeny Poberezkin
c53500812c
android: fix bottom sheet delay and graying out the rest of the screen ( #356 )
2022-02-22 20:52:02 +00:00
Evgeny Poberezkin
5e6b9e578b
smaller size for unread count, show 1000s as Ks ( #355 )
2022-02-22 19:43:29 +00:00
Efim Poberezkin
f9c495a596
android: help view ( #351 )
...
* android: help view
* chats loaded
* remove comment
2022-02-22 19:38:47 +00:00
IanRDavies
e4ec8cccfd
android: theme welcome view page ( #354 )
...
* initial theming changes
* styling work round 1
2022-02-22 19:32:43 +00:00
IanRDavies
3be350786d
android: update logo ( #350 )
...
* add updated icon assets
* pure white splash
2022-02-22 19:31:38 +00:00
IanRDavies
efa22715d5
android: unread message counter ( #348 )
...
* add unread counter to chats
* run unread clear on message view for more than a second
* track minUnreadItemId
2022-02-22 15:07:55 +00:00
Efim Poberezkin
353e04bddd
android: settings drawer, dark mode user profile view, dark mode previews ( #347 )
2022-02-22 17:08:42 +04:00
Evgeny Poberezkin
0a6c03079c
android: use IconButton ( #346 )
2022-02-22 08:07:27 +00:00
Evgeny Poberezkin
a0a4549045
android: improve chat, chat info, console ( #344 )
...
* bigger fonts, text entry layout
* resize scroll area when keyboard appears; automatically scroll on new messages
* fix message entry in dark mode
* imporove console layout
* fix chat info with dark mode
* fix typo
* clean up
* remove unused time formatter
2022-02-22 07:46:42 +00:00
IanRDavies
69c79c5e0a
android: splash screen (to avoid showing welcome screen before the user is loaded) ( #345 )
...
* initial attempt -- not recomposing
* change to mutable state, still not working
* two state works, why not three?
* fix so we actually change state
* remove unnecessary brackets
* refactor
* using Boolean? for userCreated
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-22 07:29:41 +00:00
Efim Poberezkin
1edf60362e
android: UserProfileView ( #341 )
...
* android: update user profile view logic
* indentation
* format
* UserProfileView
* remove prints
* empty line
* undo format
* change by value
* separate layout
* layout
* unconditionally editProfile = false
* add header and close button to profile page, add links to "settings"
* use generic navigate in settings, remove terminal button from the list of chats
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-21 20:09:51 +00:00
Evgeny Poberezkin
c9cfead9bc
android: refactor sum types ( #342 )
2022-02-21 09:10:51 +00:00
Evgeny Poberezkin
d37f493c6a
android: add chat info page, delete contacts, show network connection status for contacts, improve error handling
2022-02-20 21:17:24 +00:00
Evgeny Poberezkin
b3153ae0fd
align time format with iOS app, use kotlix-datetime only ( #340 )
2022-02-20 16:33:02 +00:00
IanRDavies
7fc5b833aa
android: use deep links to connect ( #339 )
...
* simple case
* version almost working with true links
* show alerts in imperative way, like they were meant to
* connecting via links works
* add error handling to connections
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-20 15:47:24 +00:00
Evgeny Poberezkin
d48d4ed8f9
android app: connect via QR code ( #338 )
...
* connecting via QR code works
* add contact/scan qr code pages
* new chat sheet layout
* remove unused imports and some warnings
2022-02-19 22:22:07 +00:00
Efim Poberezkin
f57a7009a3
chat view layout ( #335 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-19 17:22:52 +04:00
Evgeny Poberezkin
6c4888d275
android app: API, add chat sheet and view with QR code ( #336 )
...
* add contact (WIP)
* basic UI to create new chat, finalize API classes and functions (TODO: process chatRecvMsg messages)
* add contact layout with QR code
* refactor NewChatSheet to split layout, refactor withApi
* add newlines
* Update apps/android/app/src/main/java/chat/simplex/app/views/helpers/SimpleButton.kt
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk>
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk>
2022-02-19 10:15:18 +00:00
IanRDavies
3820d08af8
chat list styling round 2 ( #334 )
...
* initial restyling:
* polish styling a little
* lint
* more linting
* add dependency
* add time to messages when they exist
* if no chat items show time from time chat created
* playing with colours
* rename shared colour
* flip title text colour in dark mode
2022-02-18 16:55:50 +00:00
Evgeny Poberezkin
bba2783aa4
update model when messages arrive ( #333 )
...
* update model when messages arrive
* update chat in the list when message is added
* copy methods with optional parameters
* use data classes to have pre-defined copy methods
2022-02-18 14:33:55 +00:00
IanRDavies
f650308986
initial chat list styling ( #332 )
2022-02-18 13:10:24 +00:00
Evgeny Poberezkin
52f758c6e1
make chat model not nullable ( #328 )
...
* make chat model not nullable
* parse datetimes
* smart constructors for TerminalItem
2022-02-17 21:52:37 +00:00
Evgeny Poberezkin
290a88fd90
list of chats and chat messages ( #327 )
2022-02-17 20:30:21 +00:00
Evgeny Poberezkin
423f54e95d
chats in android app ( #324 )
...
* view placeholders for chats list and chat views
* classes for chats
* set the user to the model
* use Long for IDs
* chats/messages API (not working yet)
* android api works
* line breaks
2022-02-17 17:15:49 +00:00
IanRDavies
9e46b5117d
Id/conditional nav on launch ( #326 )
...
* add initial conditional routing -- create user not working
* only one nav controller
* user check on launch works (kind of)
* Apply suggestions from code review
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-17 17:07:58 +00:00
IanRDavies
e8ff6f509b
Id/android navigation edits ( #325 )
...
* add ids to terminalitems and work with these
* remove unnecessary logging
2022-02-17 10:52:56 +00:00
Evgeny Poberezkin
e7e777ec7b
2 spaces holy war ( #323 )
2022-02-17 09:15:54 +00:00
Evgeny Poberezkin
7fafb25821
rename file in android app
2022-02-17 08:22:16 +00:00
Evgeny Poberezkin
dd256be4ec
use tagged JSON on android, update tests ( #321 )
2022-02-16 23:24:48 +00:00
Evgeny Poberezkin
d743804b1d
update android api to call haskell off main thread ( #320 )
2022-02-16 21:31:22 +00:00
IanRDavies
7c8ad4aee4
Android compose navigation ( #316 )
...
* initial rough ideas
* refactor and put in high level navigation
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-16 18:00:59 +00:00
Evgeny Poberezkin
12b4325435
switch to the new API (does not work) ( #317 )
...
* switch to the new API (does not work)
* kind of works without parsing JSON
2022-02-16 17:36:49 +00:00
Evgeny Poberezkin
ce02c514cf
started android / compose app ( #301 )
...
* new compose project
* classes for chat command and response
* use val with get() for commands and responses
* chat model
* initial jetpack compose set up
* wire it up with chat
* first ability to send and receive messages
* refactor model/controller interface
* JSON samples
* terminal view with items
* playing around with json
* JSON serialization works
* parsing API responses in the terminal
* add subclass for contactSubscribed reponse
* remove android-poc
* remove JSON example
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk>
2022-02-16 12:49:47 +00:00
Evgeny Poberezkin
c81bb0f15d
iOS: show dates in older messages
2022-02-15 08:14:50 +00:00
Evgeny Poberezkin
b7fda194c8
update binaries in iOS app and build number (10)
2022-02-14 21:38:12 +00:00
Efim Poberezkin
fdf312d9e1
ios: add contactNotReady error type ( #304 )
2022-02-14 21:52:01 +04:00
Evgeny Poberezkin
8cf88019e5
ios public beta announcement ( #298 )
...
* ios public beta announcement
* update post
* corrections
* corrections
* update blog links
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
2022-02-14 13:48:21 +00:00
Evgeny Poberezkin
710971a0cd
show confirmation alert after the connection ( #299 )
...
* show confirmation alert after the connection
* update build number
2022-02-14 11:53:44 +00:00
Evgeny Poberezkin
7805bd1e45
show large unread numbers
2022-02-13 10:09:09 +00:00
Evgeny Poberezkin
8e34d2fbbc
fix swift
2022-02-13 09:13:06 +00:00
Evgeny Poberezkin
61afb64dd7
search chats, longer emojis ( #295 )
...
* search chats, longer emojis
* simplify
2022-02-13 08:45:08 +00:00
Evgeny Poberezkin
aa2bc545db
update build number (8)
2022-02-12 18:02:52 +00:00
Evgeny Poberezkin
067f122b05
iOS app version 0.3.1
2022-02-12 17:28:37 +00:00
Evgeny Poberezkin
9d9bb68d50
iOS: show message sent/unread status ( #293 )
...
* light github image for dark mode
* show message received status, remove chevrons in chat list
* show unread message status
* add message send error mark
* refactor alerts to use AlertManager
* show alert message on tapping undelivered message, simplify text-only alerts
2022-02-12 15:59:43 +00:00
Evgeny Poberezkin
98fc6c6adf
chat usage help and minor UI fixes ( #291 )
...
* chat usage help and minor UI fixes
* update version, build and binary
2022-02-11 07:42:00 +00:00
Evgeny Poberezkin
86c36f53e4
simplify and fix background loading ( #288 )
...
* simplify and fix background loading
* start receive loop in the main chat
2022-02-10 15:52:11 +00:00
Evgeny Poberezkin
516c8d79ad
receiving messages in the background and sending local notifications ( #284 )
...
* receiving messages in the background and sending local notifications
* show notifications in foreground and background
* presentation logic for notification options when app is in the foreground
* background refresh works
* remove async dispatch
2022-02-09 22:53:06 +00:00
Evgeny Poberezkin
b3a4c21c4b
updated text items ( #278 )
...
* updated text items
* update version
* fix JSON parsing in CIDirection, refactor data samples
* show group member in received messages and chat preview
* use profile displayName instead of localDisplayName, do not show fullName if it is the same as displayName
2022-02-08 09:19:25 +00:00
Efim Poberezkin
82d02e923a
ios: add CIStatus type ( #280 )
2022-02-08 11:20:41 +04:00
Efim Poberezkin
d11d66fa90
connection precedence logic in getDirectChatPreviews_; update item status in object ( #279 )
2022-02-07 18:34:54 +04:00
Evgeny Poberezkin
eeea33c7cb
fix loading chat, contact connection status info ( #277 )
2022-02-07 10:36:11 +00:00
Evgeny Poberezkin
7883ca7657
improve text message view ( #276 )
...
* show text and time on the same line
* convert emails and phones to links
2022-02-06 21:06:02 +00:00
Evgeny Poberezkin
8efb8b2f86
use simplified chat controller, fix keyboard removing on tap ( #275 )
2022-02-06 18:26:22 +00:00
Evgeny Poberezkin
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
5aabf87898
ios: highlight URLs in texts ( #272 )
...
* ios: highlight URLs in texts
* Apply suggestions from code review
2022-02-06 07:44:41 +00:00
Evgeny Poberezkin
67dbdcd257
contact and server connection info ( #271 )
2022-02-05 20:10:47 +00:00
Evgeny Poberezkin
3d137995d8
multiline message entry field ( #270 )
2022-02-05 14:24:23 +00:00
Evgeny Poberezkin
e424e9328b
large emojis, full contact names, contact createdAt, process profile updates, etc. ( #268 )
2022-02-04 22:13:52 +00:00
Evgeny Poberezkin
214ecf605b
minor UI improvements ( #267 )
2022-02-04 16:31:08 +00:00
Evgeny Poberezkin
08dd92b726
configure build for device/simulator
2022-02-03 18:22:05 +00:00
Evgeny Poberezkin
dca5dc4fce
iOS version 1.0.1
2022-02-03 07:18:17 +00:00
Evgeny Poberezkin
24f3637199
add animations ( #260 )
...
* add animations
* improve settings screen
* app icons
2022-02-03 07:16:29 +00:00
Evgeny Poberezkin
38424af48e
refactor files, auto-scrollback for messages ( #256 )
2022-02-02 16:46:05 +00:00
Evgeny Poberezkin
7ce305e16f
ios: fix message view updates (refactor model to make it shallow) ( #254 )
2022-02-02 12:51:39 +00:00
Evgeny Poberezkin
a68b591029
connect via link with simplex: protocol ( #251 )
2022-02-01 20:30:33 +00:00
Evgeny Poberezkin
711207743b
add support for user addresses ( #246 )
...
* add support for user addresses
* started processing contact requests
* update command syntax
* fix: make Profile Codable
* accept/reject contact requests
* update API, accept/reject contact requests
2022-02-01 17:34:06 +00:00
Evgeny Poberezkin
53040dbe1d
iOS: chats and messages layout ( #241 )
...
* iOS: chats and messages layout
* model update for updated API
* improve chat list view
* chat view layouts
* delete contacts
* larger headers, clean up, move message reception loop to ContentView
* settings: user profile
2022-01-31 21:28:07 +00:00
Evgeny Poberezkin
3b19aaf1d1
iOS: send/receive messages in chats, connect via QR code ( #238 )
...
* send messages from chats
* update API to use chat IDs
* send messages to groups
* generate invitation QR code
* connect via QR code
2022-01-30 18:27:20 +00:00
Evgeny Poberezkin
cb602dd377
show received messages in chat, send command on Enter, fix Date parsing ( #237 )
...
* refactor UI and API, send command on Enter, fix Date parsing
* UI sheets to create connection and groups
* show received messages
* readme
2022-01-29 23:37:02 +00:00
Efim Poberezkin
7e2f365c1c
ios: group chat preview ( #235 )
2022-01-29 20:35:20 +00:00
Efim Poberezkin
c0199a38fd
add readme for ios setup ( #234 )
2022-01-29 16:53:24 +04:00
Evgeny Poberezkin
7c36ee7955
swift API for chat, started chat UI ( #228 )
...
* started swift API for chat
* skeleton UI
* show all chat responses in Terminal view
* show chat list in UI
* refactor swift API
2022-01-29 11:10:04 +00:00
Evgeny Poberezkin
b86f034c0b
update C api to return JSON messages via chat_recv_msg ( #224 )
2022-01-24 22:52:55 +00:00
Evgeny Poberezkin
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
Evgeny Poberezkin
a5ad0b185c
use Haskell library ( #220 )
2022-01-22 17:54:22 +00:00
Evgeny Poberezkin
4f5e135992
test android app ( #219 )
2022-01-22 17:54:06 +00:00
Evgeny Poberezkin
64381be91d
export C interface, started mobile app ( #210 )
...
* initial mobile app design draft
* add proposals
* xcode project
* refactor function to send to view as parameter
* export C interface
* remove unused files
* run chat from chatInit
* split chatStart to a separate function
* replace file-embed with QQ
* add mobile views
* server using IP address
* pass dbFilePrefix as parameter to chatInit
* comment on enabling logging
* fix mobile db config
* update C API, make user non-optional in ChatController
* restore SMP server addresses
* revert the change in the tests
* flip dependency - now Controller depends on Terminal
* make ChatController independent of terminal package
* fix Main.hs
* add iOS .gitignore
* refactor Simplex.Chat.Terminal
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
2022-01-21 11:09:33 +00:00
Evgeny Poberezkin
5a74b8066f
prepare v1 release ( #189 )
...
* update servers
* update version
* update simplexmq version
* update database file names
* update server fingerprints and simlexmq
* update simplexmq commit
* fix port in tests
* update tls fixtures (#193 )
* add -v cli option; print update instructions on -v and /v (#194 )
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
2022-01-11 21:23:57 +00:00
Evgeny Poberezkin
1564424f0d
update readme and version in code ( #147 )
...
* update readme and version in code
* Update README.md
* Update README.md
Co-authored-by: Patryk Laurent <plaurent@me.com>
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
Co-authored-by: Patryk Laurent <plaurent@me.com>
2021-12-08 20:18:48 +00:00
Evgeny Poberezkin
800a4f90bf
add version command ( #123 )
...
* Add /version and /v flags
* Move version info from C Chat.Help to Chat.View
* Move version string, use it in Main startup
* use "SimpleX Chat" consistently
Co-authored-by: TheTaoOfSu <TheTaoOfSu@protonmail.com>
2021-11-07 21:57:05 +00:00
Efim Poberezkin
2bf6d08a16
update gifs for larger font; readme fixes ( #103 )
...
* update gifs for larger font; readme fixes
* return articles
* return articles
2021-09-12 14:20:13 +01:00
Efim Poberezkin
fe5769156c
correctly print both db files ( #100 )
2021-09-07 01:08:29 +10:00
Evgeny Poberezkin
b798342c61
group commands (remove member, leave group, delete group) ( #87 )
...
* remove group member
* leave group, fix remove member, tests for leave group/remove member
* delete group with test
* prevent contact deletion error when it is a group member
* support inviting the group member who left or was removed
* use small retry interval in the tests
* test multiline outputs
2021-08-02 20:10:24 +01:00
Evgeny Poberezkin
d21abbdec1
chat test with VirtualTerminal ( #72 )
...
* chat test with VirtualTerminal
* disable chat test
* fix intermittently failing test
* simplify test
2021-07-07 22:46:38 +01:00
Evgeny Poberezkin
85727bfbf1
move files to src folder (to allow testing) ( #70 )
2021-07-05 20:05:07 +01:00
Evgeny Poberezkin
58889be83d
establish connection using user profiles ( #69 )
...
* establish connection using user profiles (TODO: delete contact and send message)
* delete contact and send message with the updated schema
* comment
* refactor, remove old code
2021-07-05 19:54:44 +01:00
Evgeny Poberezkin
2f604d91ba
use chat protocol and contacts in chat commands/messages ( #66 )
...
* chat types, chat protocol syntax idea
* chat message syntax, raw message type
* chat message format and parsing
* raw chat message parsing test
* add message parsing tests
* interpret RawChatMessage
* use chat message format when sending messages
* save contacts and related connections to DB (WIP)
* use contacts in all chat commands (add, connect, send, delete)
* use contacts when receiving messages and notifications
* handle contact not found error
* automatically accept connection when CONF is received from the agent
2021-07-04 18:42:24 +01:00
Evgeny Poberezkin
c3d5797a0b
Merge branch 'master' into v4
2021-06-26 20:20:33 +01:00
Nikita Poberezkin
32d90580e7
desktop notifications ( #64 )
...
* send notifications
* support for linux notifications (draft)
* add support for linux, win (draft) and wsl (draft) notifications
* add support for windows/wsl notifications
* add unix to extra-deps
* add alternative linux notification method
* remove unused cpp conditions
* fix notification commands for win/lin
* remove dbus package and code
* remove fdo-notify from extra-deps
* move script running logic to common method + add lacking quotes
* remove unrelated workspace file
* corrections
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2021-06-26 19:48:08 +01:00
Evgeny Poberezkin
5a2ded775d
rename app folder ( #63 )
...
* rename app folder
* clean up package.yaml
2021-06-25 18:34:29 +01:00
Evgeny Poberezkin
eb2404c9ce
simplex-chat schema, refactor chat to use SMP agent functions ( #62 )
...
* chat messages namespace and types
* initial schema (WIP)
* schema for messages (WIP)
* fix schema, add migrations, remove broadcast
* simplex-chat spike (WIP)
* chat client design
* update chat schema
* more chat schema updates
* simplex-chat app structure
* chat app layout demo
* update schema
* refactor dog-food (WIP)
* refactor / simplify
* refactor output of sent message to avoid separate parsing
* refactor inputSubscriber
* remove unused simplex-chat code
* update simplexmq commit
* update schema
* remove ncurses
2021-06-25 18:18:24 +01:00
Evgeny Poberezkin
4232f73ed2
support ad-hoc groups (broadcasts) ( #61 )
...
* support ad-hoc groups (broadcasts)
* fake group chat
* use simplexmq latest
2021-06-10 20:34:52 +01:00
Evgeny Poberezkin
723c787edc
0.3.1 ( #57 )
2021-05-10 19:49:21 +01:00
Evgeny Poberezkin
8f69d176c7
move Markdown from simplexmq ( #56 )
...
* move Markdown from simplexmq
* update simplexmq
2021-05-09 10:53:18 +01:00
Evgeny Poberezkin
36a34eed4a
update for SMP agent protocol 0.3.1 - SMP servers are in agent config… ( #53 )
...
* update for SMP agent protocol 0.3.1 - SMP servers are in agent config, not in commands
* remove explicit server port
* update simplexmq
2021-05-09 07:56:44 +01:00
Efim Poberezkin
7c0cd342cc
show message timestamps ( #55 )
2021-05-08 14:49:17 +04:00
Efim Poberezkin
eb44fb24e8
print chat version on start ( #50 )
2021-05-04 21:20:17 +04:00
Evgeny Poberezkin
2b4399b57f
optionally show message integrity violations ( #49 )
...
* optionally show message integrity violations
* remove message integrity option
2021-05-04 06:37:30 +01:00
Evgeny Poberezkin
7ae6b64a99
change contact color ( #48 )
2021-05-03 21:44:50 +01:00
Evgeny Poberezkin
577d593f67
package.yaml, chat dependencies ( #45 )
2021-05-02 21:26:25 +01:00