Commit Graph

122 Commits

Author SHA1 Message Date
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 7bf2e15009 Formatting 2022-02-14 11:03:28 -08: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 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
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
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
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 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 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
Dan Ballard 37700e1a78 move the CheckDownloadStatus to filemessage model and only do to init 2021-12-21 13:29:20 -05:00
erinn 09496713d9 merge trunk 2021-12-18 18:39:07 -08:00
Sarah Jamie Lewis 6f3d5b65cd preview 2021-12-17 16:54:30 -08:00
erinn 6e9fb6810e message previews 2021-12-16 17:04:29 -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 2d66e42624 support for server metrics 2021-12-14 10:29:19 -06:00
Dan Ballard 6180b88172 port to new cwtch storage API 2021-12-10 15:37:08 -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
Dan Ballard 1d5359e645 start of profile server manager 2021-12-10 14:41:48 -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
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 fb18a0e3b8 fix serverliststate add to handle readds (happens on saving global settings) 2021-11-04 11:49:03 -07:00
Dan Ballard 87f7c2c29b server delete functionality and minor cleanups 2021-11-03 21:31:03 -07:00
Dan Ballard 2c57499478 Merge pull request 'group_message_fixes' (#227) from group_message_fixes into trunk
Reviewed-on: cwtch.im/cwtch-ui#227
2021-11-03 19:33:09 +00:00
Sarah Jamie Lewis cae44cbd46 Ensure unique keys for messages 2021-11-02 13:47:52 -07:00
Dan Ballard 562c05183b 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 fe156108b5 Rely on Index from NewGroupMessage to sync Timelines 2021-11-01 15:07:09 -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
erinn 8fe577afd4 moar fileshare plz 2021-09-29 13:31:01 -07:00
erinn 78ea12dff3 filesharing wip 2021-09-21 14:57:40 -07:00
Dan Ballard 03fd76c598 add quality.sh and run 2021-07-14 15:07:29 -07:00
Dan Ballard cddf204695 quote message color fixes; disable swipe reply on desktop; message view alert color fix; card theme fix 2021-07-14 15:07:29 -07:00
Sarah Jamie Lewis d126cc6ebb Autohide messages from blocked contacts 2021-07-14 13:35:22 -07:00
Sarah Jamie Lewis 70c5325351 Fix exceptions when quoting with quotes + fix size of message row without toolbar 2021-07-13 14:50:27 -07:00
Dan Ballard 3f020472fa model contact uses authorization now; add tooltips to contact pics in chat; dual action: add or goto 2021-07-12 12:01:19 -07:00
Sarah Jamie Lewis 0c9da27363 const group handle length 2021-07-07 11:31:16 -07:00
Sarah Jamie Lewis 1c460b431e Remove print + add check for body in quote 2021-07-07 11:25:13 -07:00
Sarah Jamie Lewis e4046fb574 Addressing Dans comments + Marcia design 2021-07-07 11:11:09 -07:00
Sarah Jamie Lewis ddfc7fc43c Refactor Message/MessageState to make adding more Message Types simpler 2021-07-07 09:10:17 -07:00
Sarah Jamie Lewis 4c370007d9 Fresh Respository Commit - Cwtch Beta 2021-06-24 16:10:45 -07:00