Commit Graph

186 Commits

Author SHA1 Message Date
Dan Ballard ff3e60a750 message cache allows index locking, rework messageHandler to use bulk fetching, sendMessage flow with no sleep; move some core getMessages/SendMessage handlers from FlwtchWorker to MainActivity 2022-03-23 18:01:43 -07:00
Sarah Jamie Lewis 65d5e9777d Fix: 344 - Folder Selection on Settings can be Opened Multiple times 2022-03-21 10:49:53 -07:00
Sarah Jamie Lewis f48b6af3dd Localizations + Allow Editing 2022-03-21 09:23:16 -07:00
Sarah Jamie Lewis 6237032716 Import and Export Profile 2022-03-11 12:26:21 -08:00
Sarah Jamie Lewis c3661d4caa Using build context instead of inherited context when building file bubble popout
Fix: #394
2022-03-08 10:56:20 -08:00
Dan Ballard 1d0cb785c1 fix android segfault in flwtch worker; try/catch to catch future bugs in flwtch worker; resume servers load sync status from cwtch; add bg color to sync progress bar; showdown now synchronous so completes 2022-03-04 13:15:08 -08:00
Sarah Jamie Lewis 6cc5146744 Readd-widget key cache 2022-03-04 12:14:43 -08:00
Sarah Jamie Lewis 1fea540f9d Stop using key-based lookups for messages, use the message cache instead.
Always update alignment to allow for message row objects to be reused
2022-03-04 12:14:43 -08:00
Sarah Jamie Lewis b70de4052d Support Welsh, Update Translations for other Languages 2022-03-02 11:28:43 -08:00
Sarah Jamie Lewis c4c693144d Move messageDate format handling to MessageBubbleDecoration 2022-02-28 22:35:09 -08:00
Sarah Jamie Lewis 70eb160abc Add Message Status Widget to File Bubble
Also fix bug in peer settings
2022-02-22 11:09:44 -08:00
Sarah Jamie Lewis 2a07ba8ed7 revert message row image size change 2022-02-08 14:05:23 -08:00
Sarah Jamie Lewis 2e5ee796fa Add Profile Image Preview to Peer Settings + other UI Profile Image Fixups 2022-02-08 14:05:09 -08:00
Sarah Jamie Lewis 403454d6b8 Add Edit Badge 2022-02-07 15:12:36 -08:00
Sarah Jamie Lewis 5b5fe586e8 Update Lib Cwtch, Allow Deleting P2P contacts, Formatting 2022-02-07 14:53:33 -08:00
Sarah Jamie Lewis b280765631 Fallback to Default Profile Images when Image Previews are Disabled 2022-02-07 14:26:14 -08:00
Sarah Jamie Lewis 3d85883f8e Profile Images 2022-02-04 16:57:31 -08:00
erinn e22db92dc1 add gherkin tests (#353)
* not all tests are complete
* language and theme tests fail due to upstream issue with dropdown boxes
* not yet autorun or reported by drone

Co-authored-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
Reviewed-on: cwtch.im/cwtch-ui#353
Co-authored-by: erinn <erinn@openprivacy.ca>
Co-committed-by: erinn <erinn@openprivacy.ca>
2022-02-05 00:37:25 +00:00
Dan Ballard 8a9ee402bf recalculate unrad count incases some not read 2022-02-03 08:43:02 -05:00
Dan Ballard a82ade8663 profile level unread notifications and in profile other profile unread notifications 2022-02-02 19:20:28 -05:00
Dan Ballard f818d4f2f8 remove syncProgress from contact and wire contact row to search server's list 2022-01-27 18:41:17 -05:00
Dan Ballard a4ce168aec calculate server progress based on last message, nowtime, and message flow; display progress on group contact and remote server 2022-01-26 20:17:13 -05:00
Sarah Jamie Lewis 92374ad112 Only override path for Sender, not any other attributes.
For auto-downloads both the sender and receiver set the path before
the UI can set download state. As such we need to be careful about how
we let the sender know about the filekey/path.
2022-01-21 10:16:30 -08:00
Sarah Jamie Lewis 9931521910 Clean up sender side image preview 2022-01-20 14:52:31 -08:00
Sarah Jamie Lewis d095971cb3 Sender side previews - fixing up PR comments 2022-01-20 14:19:06 -08:00
Sarah Jamie Lewis 797279d6d7 Enable Sender Side Image Previews 2022-01-20 14:00:15 -08:00
Dan Ballard ccdd7d0e27 remove byType bools and replace with interface and structs for type safety 2022-01-20 15:58:14 -05:00
Dan Ballard 793b6e2e1a message cache expansion: stores all messages fetched, indexed by hash and id where possible 2022-01-20 09:24:06 -05:00
Sarah Jamie Lewis 2495814869 Fixup Widths on Small Screens 2022-01-19 14:09:19 -08:00
Sarah Jamie Lewis 19f73eb075 Formatting 2022-01-19 13:59:04 -08:00
Dan Ballard 706c1fb354 move all classes in model.dart to their own models/X.dart 2022-01-18 18:32:00 -05:00
Sarah Jamie Lewis cd1bf07fba Responding to @errorinn PR Comments 2022-01-18 14:32:45 -08:00
Sarah Jamie Lewis c6e64a3a5f Allow Tor Caching + Our Own Linkify 2022-01-18 13:17:52 -08:00
Sarah Jamie Lewis ae6f0dd456 Update Translations + notifylisteners 2022-01-17 12:24:48 -08:00
Sarah Jamie Lewis ed671d32bc Padding / Margin Changes + Tor Circuit Info 2022-01-14 14:24:41 -08:00
Sarah Jamie Lewis bee3ae6e7b Fix Debug Layout Issue in AddContact 2022-01-12 15:28:51 -08:00
Sarah Jamie Lewis 26f32a0790 Update Translations + Error Reporting 2022-01-12 15:15:58 -08:00
Sarah Jamie Lewis 92422de98e Support Custom Tor Configuration
Fixes: #19
2022-01-12 14:43:26 -08:00
Sarah Jamie Lewis 306a9c4de5 Fix #295 - Clicking on an Avatar in P2P Chat should not result in an action 2022-01-10 12:27:56 -08:00
Dan Ballard 5e485b6327 Rework accept/block data flow to map to new storage; fix add group server list falls back to onion when no description 2022-01-06 18:06:06 -05:00
Dan Ballard 37700e1a78 move the CheckDownloadStatus to filemessage model and only do to init 2021-12-21 13:29:20 -05:00
Dan Ballard adc6c0491b comment out CheckDownloadStatus loop in filebubble 2021-12-21 10:13:43 -05:00
Dan Ballard da9d093a13 theme fixes; scroollbar for addContact; messageRow space optimization for android 2021-12-21 00:07:16 -05:00
Dan Ballard 513035789d add mouse icon over file previews to trigger dialog; add exit button to image preview dialoge; spacing 2021-12-20 16:34:51 -05:00
Sarah Jamie Lewis b0cf3d2021 Merge branch 'trunk' into ipreview 2021-12-19 20:04:30 +00:00
Dan Ballard d4b614f2c4 remove RightShiftFixer for winodws, flutter should be better now; rm tri[lecolview, unused half a year 2021-12-19 14:04:58 -05:00
erinn 09496713d9 merge trunk 2021-12-18 18:39:07 -08:00
erinn 6390cb55a4 l10n 2021-12-18 18:09:18 -08:00
Sarah Jamie Lewis 78265b7f85 Merge branch 'ipreview' of git.openprivacy.ca:cwtch.im/cwtch-ui into ipreview 2021-12-17 17:05:59 -08:00
Sarah Jamie Lewis 845ce3b546 Scaling + Android ChangePassword 2021-12-17 17:02:24 -08:00
Sarah Jamie Lewis 6f3d5b65cd preview 2021-12-17 16:54:30 -08:00
erinn c78dbf0ac3 fileshare confirmations and contact-add-gating 2021-12-17 16:32:22 -08:00
erinn 9cb6eb857d Merge branch 'ipreview' of git.openprivacy.ca:cwtch.im/cwtch-ui into ipreview 2021-12-16 17:04:35 -08:00
erinn 6e9fb6810e message previews 2021-12-16 17:04:29 -08:00
Sarah Jamie Lewis df3617c5a1 Fixup Preview Dialog 2021-12-16 16:54:53 -08:00
Dan Ballard abf4d79e80 flutter format 2021-12-15 17:29:27 -05:00
Sarah Jamie Lewis a4cb5051b5 Fixing Duplicate Key Issues + FileBubble SetState Builder Issues 2021-12-15 13:45:33 -08:00
Dan Ballard e599768643 update with new PRs rebase, update goldens for slight variance 2021-12-15 15:22:17 -05:00
Dan Ballard dc550daaa1 migrate to new libcwtch changes; add vampire and witch; tweak switch button coloring 2021-12-15 15:22:17 -05:00
Dan Ballard 53e79f5b9d refactor themes from methods to get fields; add theme selector; add neon1 2021-12-15 15:22:17 -05:00
Dan Ballard 194ade9aa6 refactor light and dark onto existing new color scheme; fix message editor top strip color; tweak color field semantics 2021-12-15 15:22:17 -05:00
Dan Ballard f6a4d5c3fa removing unused theme definitions 2021-12-15 15:22:17 -05:00
erinn c16800bc0c image previews merge 2021-12-14 17:13:04 -08:00
erinn 8c4a5aee90 wip image previews 2021-12-14 15:50:08 -08:00
Sarah Jamie Lewis 8be0fa3957 File Bubble Design 2021-12-14 15:37:27 -08:00
erinn 63fc1fe772 Merge branch 'trunk' of git.openprivacy.ca:cwtch.im/cwtch-ui into ipreview 2021-12-14 13:37:48 -08:00
erinn 33a8a30170 wip image previews 2021-12-14 13:33:30 -08:00
Sarah Jamie Lewis 816425cd4d Fix #255 - clicking Open now causes popup to close.
Also importing new translatable strings + a few nicer URL options
2021-12-13 15:42:42 -08:00
Dan Ballard 3f5428eff8 complete profile level server managment 2021-12-10 14:49:38 -08:00
Dan Ballard 0c797faf05 profile level server list and editor start 2021-12-10 14:45:13 -08:00
Sarah Jamie Lewis 066b4d4dec Erinn Comment Fixups 2021-12-10 11:51:19 -08:00
Sarah Jamie Lewis c5c0f21829 Fix New Marker. Add Placeholder for Import Handling 2021-12-08 16:41:01 -08:00
Sarah Jamie Lewis 30fa788b84 Combine update cache and total messages increase. Remove CachedMessage 2021-12-08 14:39:14 -08:00
Sarah Jamie Lewis 995282fa04 Fixup Acks / Message Keys 2021-12-06 13:42:40 -08:00
Sarah Jamie Lewis c9319d32d0 Much improved message caching 2021-12-06 12:26:02 -08:00
Sarah Jamie Lewis c42be6224d Porting Android over to new API 2021-12-03 11:28:10 -08:00
Sarah Jamie Lewis d6839c62e3 Move Attribute Updates / File Downloading / Contact Requests / Invites to new API 2021-12-01 04:17:48 -08:00
Sarah Jamie Lewis c00bfbb48b Quoted Message Fixes / New Message Label Offet Fixes 2021-11-26 14:25:21 -08:00
Sarah Jamie Lewis 880c1c107b UI Updates to new Cwtch API 2021-11-25 15:59:54 -08:00
Sarah Jamie Lewis 1d6b533df3 New Cwtch Library Integration 2021-11-18 15:44:54 -08:00
Sarah Jamie Lewis 4dea1e1dd4 Merge branch 'trunk' into nima/clickable-links 2021-11-11 00:22:53 +00:00
erinn 6d261c999b use l10n str 2021-11-10 16:19:18 -08:00
erinn 946d7accb2 Merge branch 'trunk' of git.openprivacy.ca:cwtch.im/cwtch-ui into scrollfixes 2021-11-10 15:52:42 -08:00
erinn 996cad4ece autoscroll fixes 2021-11-10 15:52:34 -08:00
Nima Boscarino 1c03fdf1db Add link styling, using main text colour 2021-11-08 12:57:55 -08:00
Nima Boscarino 35dcc24e66 Remove resolved TODO statements, and destroy modal
after copying link
2021-11-06 10:53:42 -07:00
Nima Boscarino b8d50f234a Merge branch 'trunk' into nima/clickable-links 2021-11-05 22:39:51 -07:00
Nima Boscarino ec1dd05ba1 WIP: add experimental clickable links with dialog
(copy / open). Bug remaining for selectable text
2021-11-05 22:38:45 -07:00
Dan Ballard 44b77f0a90 libcwtch go bump (fix create server on mac), copy keys text fix 2021-11-05 13:45:50 -07:00
erinn 626aa386d0 update lcg version 2021-11-04 16:31:01 -07:00
erinn d581718d36 Merge branch 'trunk' of git.openprivacy.ca:cwtch.im/cwtch-ui into filefix2 2021-11-04 15:31:56 -07:00
erinn e55d9301e4 file resumption support 2021-11-04 15:31:50 -07:00
Dan Ballard 87f7c2c29b server delete functionality and minor cleanups 2021-11-03 21:31:03 -07:00
Dan Ballard 82294eb6af proper tooltips 2021-11-02 15:19:16 -07:00
Dan Ballard e9407ae426 fixing as per PR 2021-11-02 14:48:52 -07:00
Dan Ballard c304e2ec2a server list, add edit 2021-11-01 19:45:27 -07:00
Dan Ballard 9789a42e94 server manager 2021-11-01 19:45:27 -07:00
Sarah Jamie Lewis efbf7f5bff Small file sharing cleanup 2021-09-30 10:53:32 -07:00
Sarah Jamie Lewis bf31a2b062 Filesharing UI Updates 2021-09-29 17:29:14 -07:00
erinn 01d816209b flutter format 2021-09-29 17:20:35 -07:00