Commit Graph

619 Commits

Author SHA1 Message Date
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
Matthew Chen
d2f2dd273a Fix edge cases in migrations. 2018-03-17 09:18:01 -03:00
Michael Kirk
4ac9a1019b Media page view controller
First pass at a swipe-through media view for conversations.

Future work could include

- title label per item
  - sender name
  - date/time
- photo rail
- include caption

// FREEBIE
2018-03-16 15:55:34 -04:00
Matthew Chen
4746948dfe Respond to CR. 2018-03-14 10:02:44 -03:00
Matthew Chen
68ba8976c5 Clean up ahead of PR. 2018-03-14 09:27:39 -03:00
Matthew Chen
76b4deffe4 Respond to CR. 2018-03-14 09:27:39 -03:00
Matthew Chen
3f822e8ce3 Complete minimal backup MVP. 2018-03-14 09:27:39 -03:00
Matthew Chen
5035cb040e Implement backup import logic. 2018-03-14 09:27:39 -03:00
Matthew Chen
aa546a02df Merge remote-tracking branch 'origin/release/2.22.0' 2018-03-14 09:19:15 -03:00
Matthew Chen
c1169ce240 Fix typo in background task. 2018-03-13 15:09:06 -04:00
Matthew Chen
0971bad4b2 Upload database and manifest files to CloudKit. 2018-03-12 16:40:07 -03:00
Matthew Chen
c84bf81cf3 Export database for backup. 2018-03-12 16:40:07 -03:00
Matthew Chen
b296cfb893 Sketch out incremental backup manager and settings view. 2018-03-12 16:40:07 -03:00
Matthew Chen
46a89e89f0 Sketch out OWSBackupStorage. 2018-03-12 16:40:06 -03:00
Matthew Chen
792be8018f Incremental backup. 2018-03-12 16:40:06 -03:00
Michael Kirk
a885fb5dee Fix first reminder too early, offset bugs.
Schedule first reminder date relative to now, handle overflow

// FREEBIE
2018-03-07 10:58:33 -05:00
Michael Kirk
a1de99f1f1 Merge tag '2.21.0.9' 2018-03-06 16:43:33 -05:00
Michael Kirk
39b87b702b Fix debuglogs.org integration
// FREEBIE
2018-03-06 16:07:08 -05:00
Matthew Chen
db430d6aa7 Revert unwanted changes. 2018-03-06 17:12:13 -03:00
Matthew Chen
692ef423be Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen
d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen
3435be5aba Preserve registration lock when updating account attributes. 2018-03-05 18:25:23 -03:00
Matthew Chen
0f7b852953 Persist registration lock PIN. 2018-03-05 18:25:23 -03:00