Commit Graph

394 Commits

Author SHA1 Message Date
Dan Ballard 1cffea5c1a port most gomobile FlwtchWorker calls to lcg to MainActivity; sendmessage sets lastSeen time 2022-04-05 18:38:59 -07:00
Dan Ballard e08114881c store last seen time in lcg and handle unread counts 2022-04-04 15:02:37 -07:00
Dan Ballard f64559191b only send message on Enter Up event 2022-03-24 16:25:08 -07:00
Dan Ballard 9812111041 comments, organizing logic 2022-03-24 12:04:09 -07:00
Dan Ballard ecc9a3a48c comments, fix new messages marker logic 2022-03-23 18:02:26 -07:00
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 0857d46809 Renable Network Status Updates, Display Status in Contacts View 2022-03-23 14:23:23 -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 8a3867b5b3 Import / Export for Android 2022-03-11 12:26:23 -08:00
Sarah Jamie Lewis 6237032716 Import and Export Profile 2022-03-11 12:26:21 -08:00
Dan Ballard 915cf1a6d8 Merge pull request 'splash on shutdown; android stability: check if lcg started' (#399) from splashExit into trunk
Reviewed-on: cwtch.im/cwtch-ui#399
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2022-03-11 00:45:45 +00:00
Dan Ballard c4ebed0a71 splash on shutdown; android stability: check if lcg started 2022-03-10 16:45:18 -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 7cfa9432c8 unbreak notifications on android ([Pp]ictures) + asset dup; fix sync progres resume logic 2022-03-04 13:15:08 -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 0a26a1899b Finidh up Danish translation 2022-03-03 10:19:42 -08:00
Sarah Jamie Lewis f3f5f65e22 Merge branch 'trunk' into danish-localization 2022-03-03 17:56:26 +00:00
Sarah Jamie Lewis 0894fc577b Spanish and Welsh complete 2022-03-02 15:00:34 -08:00
Sarah Jamie Lewis b70de4052d Support Welsh, Update Translations for other Languages 2022-03-02 11:28:43 -08:00
Allan Christoffersen 453558f034 Full Danish localization 2022-03-02 15:32:47 +01:00
Allan Christoffersen 481890b55f Initial commit of Danish localization 2022-03-02 14:30:53 +01:00
Sarah Jamie Lewis c4c693144d Move messageDate format handling to MessageBubbleDecoration 2022-02-28 22:35:09 -08:00
Sarah Jamie Lewis a559b0caf8 Update No with clobbered 2022-02-28 16:01:10 -08:00
Sarah Jamie Lewis 054e5fca84 harmonize translations from lokalize 2022-02-28 15:43:33 -08:00
Sarah Jamie Lewis 2c55f78913 Small updates 2022-02-28 15:19:25 -08:00
Henrik Austad f1cfd2c30f Norwegian localization 2022-02-28 15:18:39 -08:00
Sarah Jamie Lewis b36e76b818 remove norwya to add better 2022-02-28 15:18:21 -08:00
Sarah Jamie Lewis 385f86be02 Complete German Translation 2022-02-28 12:29:20 -08:00
Sarah Jamie Lewis 193a9d6f89 Add support for many prospective new languages 2022-02-28 12:05:22 -08:00
Sarah Jamie Lewis 12a0fc1059 Update French 2022-02-27 12:02:17 -08:00
Sarah Jamie Lewis 82542664ad Merge branch 'trunk' into ro 2022-02-27 19:37:49 +00:00
Sarah Jamie Lewis 670d8bc343 Initial support for Romanian localization 2022-02-27 11:36:51 -08:00
Dan Ballard 5b4778dd78 Merge branch 'trunk' into macNotifications 2022-02-23 19:33:29 +00:00
Dan Ballard 152f5fbc96 garuntee no notifications while using app for nix 2022-02-23 11:27:15 -08:00
Dan Ballard 5e7272b15a nix notification manager only use title, body is unsafe 2022-02-23 11:13:03 -08:00
Sarah Jamie Lewis 4fd8075497 Merge branch 'trunk' into fix297 2022-02-22 19:14:25 +00: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
Dan Ballard 1a4dccf44a disable sound until we make it a setting 2022-02-20 09:53:15 -08:00
Dan Ballard 7509c20a62 make NixNotificationManager using flutter_local_notification 2022-02-18 15:50:34 -08:00
Sarah Jamie Lewis 705b6e02c9 Fix overlap in debug settings 2022-02-16 13:49:29 -08:00
Sarah Jamie Lewis dab09c6acb Fix #314 - Numpad enter should send message 2022-02-14 12:20:25 -08:00
Sarah Jamie Lewis 7bf2e15009 Formatting 2022-02-14 11:03:28 -08:00
Sarah Jamie Lewis 02407c5abe Fix #371
Fix #368
Fix #16
2022-02-14 11:01:58 -08:00
Sarah Jamie Lewis 953971980f Allow cwtch: prefix 2022-02-09 13:58:40 -08:00
Dan Ballard 8ba54469eb comment/format fix 2022-02-08 18:21:06 -05:00
Dan Ballard 706d1da518 new lcg version 2022-02-08 17:50:32 -05:00
Dan Ballard b5511ae723 Merge branch 'trunk' into notificationSettings 2022-02-08 17:11:29 -05:00
Dan Ballard 4c47198977 notification policy work, translations, even for notifications 2022-02-08 17:07:39 -05: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
Dan Ballard ddefcb8ff2 rejig notification policy globally and conversationally 2022-02-08 11:40:15 -05:00
Dan Ballard b382c3d349 desktop support for notification settings 2022-02-08 11:34:05 -05:00
Dan Ballard c550437aa5 settings pane headers, and notification settings options 2022-02-08 11:34:05 -05:00
Sarah Jamie Lewis 62bca86c19 Update Goldens 2022-02-07 15:35:01 -08:00
Sarah Jamie Lewis bf4cfde7df Fixup Context Listen 2022-02-07 15:16:02 -08:00
Sarah Jamie Lewis 403454d6b8 Add Edit Badge 2022-02-07 15:12:36 -08:00
Sarah Jamie Lewis d902ba5cce Rename Constant 2022-02-07 14:59:09 -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 2a2d808b60 Disable image previews when file sharing is disables 2022-02-07 12:23:26 -08:00
Sarah Jamie Lewis d158d7d619 Select Profile Image tooltip + restrict selection only when image previews are enabled 2022-02-07 12:20:54 -08:00
Sarah Jamie Lewis c6192ef736 Factor out showFilePicker into a generic controller 2022-02-07 11:30:17 -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
Sarah Jamie Lewis ab9d6929be Merge branch 'trunk' into profileNotify 2022-02-04 02:01:30 +00:00
Dan Ballard 19a202a04c formating, and moving active=true up to be better 2022-02-03 13:58:51 -08: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 715b2c6876 windows notifications: switch from desktoats to win_toats 2022-02-02 12:27:42 -08:00
Dan Ballard 0853832a38 Merge branch 'trunk' into serverProgress 2022-02-02 18:05:40 +00: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
Sarah Jamie Lewis d84850af49 Fixup Length Display so it counts Bytes not Chars 2022-01-27 13:02:18 -08: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 35ae5773f7 Merge branch 'trunk' into winFocus 2022-01-26 21:41:30 +00:00
Sarah Jamie Lewis 5c76628578 Upgrade Cwtch and Display Message Limits 2022-01-26 12:28:50 -08:00
Dan Ballard dc587f95f0 remove prints, add comments 2022-01-26 08:48:35 -08:00
Dan Ballard c3bc961a47 add window_manager plug in to get desktop active state to gate windows notifications; also add spam prevention to windows notifications 2022-01-26 08:31:07 -08:00
Dan Ballard c838176e3b add desktoasts windows notifications 2022-01-25 04:03:05 -08:00
Sarah Jamie Lewis def222a8ab upgrade flutter file picker 2022-01-21 13:40:23 -08:00
Sarah Jamie Lewis 748326e13f Fix #330 - Multiple file browser windows are opened. 2022-01-21 13:19:00 -08:00
Sarah Jamie Lewis d27cc0e64e More notify listeners 2022-01-21 12:09:58 -08:00
Sarah Jamie Lewis e359afbdab notify listeners 2022-01-21 12:08:23 -08: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 13c1a52442 Only allow path override for senders 2022-01-20 14:42:45 -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 889d398343 add notifyListen to newMessage in contact; format 2022-01-20 13:37:09 -05:00
Dan Ballard 589bc4c36c new lcg; cleanup 2022-01-20 13:05:11 -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
Dan Ballard d5cb37ed9c stub of new cache 2022-01-20 09:24:06 -05:00
Dan Ballard e7b9f5bb96 move all classes in model.dart to their own models/X.dart 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 ca44fd798c Show tooltip for links 2022-01-18 15:03:54 -08:00