Commit Graph

630 Commits

Author SHA1 Message Date
Matthew Chen
2278cdd589 Modify cells to show quoted messages. 2018-04-04 10:12:07 -04:00
Matthew Chen
7cf169012c Elaborate conversation view items around quoted replies. 2018-04-04 10:12:07 -04:00
Matthew Chen
c36297a9ad Elaborate 'quoted reply' variations in the Debug UI. 2018-04-03 13:42:21 -04:00
Matthew Chen
4240b517d0 Respond to CR. 2018-04-02 16:17:46 -04:00
Matthew Chen
4915c127cb Rework quoted reply debug UI. 2018-04-02 16:17:46 -04:00
Matthew Chen
8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
2018-04-02 16:17:46 -04:00
Matthew Chen
9dfc955ee5 Fix flush of registration connections. 2018-04-02 12:20:30 -04:00
Matthew Chen
684614013e Revert "Fix flush of registration connections."
This reverts commit 52b238c499.
2018-04-02 12:20:05 -04:00
Matthew Chen
52b238c499 Fix flush of registration connections. 2018-04-02 11:32:24 -04:00
Matthew Chen
31f062ed11 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen
8d74c68f9d Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen
4a4e9d1ce2 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen
75177ef00f Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen
c2e31540d7 Elaborate debug UI for messages. 2018-04-02 10:06:45 -04:00
Matthew Chen
4602ad9014 Respond to CR. 2018-04-02 09:39:13 -04:00
Matthew Chen
8254052bb2 Lazy restore attachments. 2018-04-02 09:28:12 -04:00
Matthew Chen
1dced463cb Lazy restore attachments. 2018-04-02 09:28:12 -04:00
Matthew Chen
b2ac8f10e2 Lazy restore attachments. 2018-04-02 09:28:12 -04:00
Matthew Chen
3406d1562e Add local cache of backup fragment metadata. 2018-04-02 09:27:34 -04:00
Matthew Chen
61dc2c0249 Add local cache of backup fragment metadata. 2018-04-02 09:27:34 -04:00
Matthew Chen
e88f5643f7 Add local cache of backup fragment metadata. 2018-04-02 09:27:34 -04:00
Matthew Chen
d0c691bb7f Lazy attachment restores. 2018-04-02 09:27:34 -04:00
Michael Kirk
875321cecc Reflector configuration supports per-country code
Also update reflector hosts/policy

// FREEBIE
2018-03-28 17:39:45 -04:00
Matthew Chen
ef34cd5d58 Fix 'invalid auth can hang on launch' issue. 2018-03-26 17:07:20 -04:00
Michael Kirk
394cc6637c Backport comments from translations
// FREEBIE
2018-03-26 10:12:04 -04:00
Matthew Chen
bb596dba98 Add screen lock feature. 2018-03-22 15:49:57 -04:00
Matthew Chen
2d6d375e82 Add screen lock feature. 2018-03-22 15:49:31 -04:00
Matthew Chen
cf0e6fce09 Add screen lock feature. 2018-03-22 15:49:31 -04:00
Matthew Chen
1612642c26 Add screen lock feature. 2018-03-22 15:49:31 -04:00
Matthew Chen
b067d81017 Don't log message send errors. 2018-03-22 15:47:57 -04:00
Matthew Chen
8d689ec090 Properly cleanup content. 2018-03-22 09:34:47 -04:00
Michael Kirk
9c57a1f7e1 Don't generate thumbnail until attachment has been saved
// FREEBIE
2018-03-20 12:16:36 -04:00
Matthew Chen
ab720a3100 Move backup protos to their own proto schema. 2018-03-20 11:23:56 -04:00
Matthew Chen
08ba7c85ed Clean up ahead of PR. 2018-03-20 11:23:56 -04:00
Matthew Chen
610bbacd21 Clean up ahead of PR. 2018-03-20 11:23:56 -04:00
Matthew Chen
0c81d5656f Rework database snapshot representation, encryption, etc. 2018-03-20 11:23:56 -04:00
Matthew Chen
ca7c75a081 Rework database snapshot representation, encryption, etc. 2018-03-20 11:23:56 -04:00
Matthew Chen
1bbd41f725 Improve perf of database snapshots. 2018-03-20 11:23:56 -04:00
Michael Kirk
267e85915a Avoid overflow
// FREEBIE
2018-03-20 11:19:07 -04:00
Michael Kirk
2465d6df00 CR: ensure image is safe before generating thumbnail
// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk
32bf9d52a1 CR: Delete thumbnail with directory
// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk
8e9eb6d212 CR: Use a less-likely-to-collide thumbnail name for legacy attachments
If you had a legacy file foo.jpg and a file foo-thumbnail.jpg, we'd use
the foo-thumbnail.jpg as the thumbnail for foo.

This isn't a problem with modern attachments as each is in it's own
directory.

// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk
d9a2effff6 CR: remove "k" from non constant
// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk
a0bd2c2324 OrphanDataCleaner shouldn't delete active thumbnails
// FREEBIE
2018-03-19 14:22:03 -04:00
Michael Kirk
4aeff7ba67 Thumbnail generation
// FREEBIE
2018-03-19 14:22:03 -04:00
Michael Kirk
dfd628250d Gallery performance
- [x] share uiDatabaseConnection to share cache
- [x] increase cache size
- [x] load less initially
- [x] lazy loading
  - [x] slider view
  - [x] tile view

// FREEBIE
2018-03-19 14:22:03 -04:00
Michael Kirk
985af76d0b WIP: All Media view
TODO

- [ ] label video/gif
- [ ] reasonable load perf
- [ ] reasonable scroll perf
- [ ] select / delete
- [ ] cancel share action from media details returns signal style

NICE TO HAVE

- [ ] fancy in/out animation from All Media <-> tiles
- [ ] label video thumbnail with duration stamp
- [ ] Other perf?
- [ ] dbModified?
- [ ] select / send
- [ ] darken section header a shade once it's "active"

DONE

- [x] tap to refocus on new media
- [x] generate test data
- [x] section headers
- [x] equal spacing around cells

// FREEBIE

WIP WIP extract datasouce to GalleryViewController

- [x] swipe through is broken
- [x] present animation
- [x] dismiss animation

// FREEBIE
2018-03-19 14:22:03 -04:00
Michael Kirk
e5b1c0c9b4 Fake media send
// FREEBIE
2018-03-19 14:22:03 -04:00
Matthew Chen
0ba47808a8 Clean up ahead of PR. 2018-03-17 09:18:01 -03:00
Matthew Chen
cf13a780e9 Retry backup failures. 2018-03-17 09:18:01 -03:00