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
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
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
Matthew Chen
4746948dfe
Respond to CR.
2018-03-14 10:02:44 -03:00
Matthew Chen
d6f4db1523
Rename TSStorageManager to OWSPrimaryStorage.
2018-03-06 17:12:13 -03:00
Matthew Chen
c17a819366
Elaborate request factory.
2018-03-02 15:05:14 -05:00
Matthew Chen
47a6d844c9
Refine handling of unsafe filename characters.
2018-02-27 09:43:26 -05:00
Matthew Chen
706006539f
Improve the robustness of the migration logic.
2018-02-20 20:16:12 -05:00
Matthew Chen
d91507d897
Improve the robustness of the migration logic.
2018-02-20 17:37:14 -05:00
Matthew Chen
90b8ee4849
Merge remote-tracking branch 'origin/hotfix/2.19.7'
2018-02-16 11:37:29 -05:00
Matthew Chen
77bf0b66f5
Fix attachment MIME types.
2018-02-16 11:34:08 -05:00
Matthew Chen
d648a258d1
Merge branch 'hotfix/2.19.7'
2018-02-16 10:49:52 -05:00
Matthew Chen
abfd333a17
Address Indic script crash.
2018-02-16 10:19:47 -05:00
Matthew Chen
799949e546
Refine sync messages.
2018-02-02 10:56:16 -05:00
Matthew Chen
9ac2383a2c
Retain changes from session database branch.
2018-01-10 12:18:29 -05:00
Matthew Chen
245304116f
Respond to CR.
2017-12-20 11:19:09 -05:00
Matthew Chen
9a990b58e8
Respond to CR.
2017-12-19 11:38:25 -05:00
Matthew Chen
5dcf4b3bbc
Clean up ahead of PR.
2017-12-19 11:16:01 -05:00
Matthew Chen
f9ce34f553
Improve background task logic.
2017-12-19 11:05:17 -05:00
Matthew Chen
5adf98788d
Use background task during message processing.
2017-12-19 11:05:17 -05:00
Matthew Chen
df8ded90b8
Use background task during attachment downloads.
2017-12-19 11:05:17 -05:00
Michael Kirk
5e7ca89930
Proper function prototypes
...
// FREEBIE
2017-12-04 12:50:28 -05:00
Matthew Chen
bf21d0c0ed
Enable logging in SAE; rework log file management to include multiple log directories.
2017-12-01 12:55:47 -05:00
Matthew Chen
8d4e9b4565
Respond to CR.
2017-11-30 10:02:04 -05:00
Matthew Chen
edaf65223a
Migrate to shared data NSUserDefaults.
2017-11-30 09:49:01 -05:00
Matthew Chen
cd11ec5698
Add app group, share keychain. Take a first pass at file migration to shared data directory.
2017-11-30 09:49:01 -05:00
Michael Kirk
336aa13520
Avoid overzealous assert
...
// FREEBIE
2017-11-29 14:57:04 -08:00
Matthew Chen
d8ae5841d6
Respond to CR.
...
// FREEBIE
2017-11-20 14:50:43 -05:00
Matthew Chen
b3d17ea192
Improving handling of edge cases in conversation view.
2017-11-20 14:44:10 -05:00
Matthew Chen
45c7d80d97
Improving handling of edge cases in conversation view.
2017-11-20 14:44:10 -05:00
Matthew Chen
6d4a05bbea
Improving handling of edge cases in conversation view.
2017-11-20 14:44:10 -05:00
Matthew Chen
2d8a7b03d0
Respond to CR.
...
// FREEBIE
2017-11-16 10:12:47 -05:00
Matthew Chen
d7b0424c75
Don't back up profile pics, attachments or gifs.
...
// FREEBIE
2017-11-16 09:59:02 -05:00
Matthew Chen
6e840ff956
Fix build warnings from XCode 9.
2017-11-09 02:52:44 -05:00
Matthew Chen
8b6265f1b5
Respond to CR.
...
// FREEBIE
2017-11-03 15:24:22 -04:00
Matthew Chen
4d57402367
Ensure attachments always have a valid content type.
...
// FREEBIE
2017-11-03 15:03:17 -04:00
Matthew Chen
db8a381960
Merge remote-tracking branch 'origin/release/2.18.0'
2017-11-01 12:02:37 -04:00
Michael Kirk
cbbb376860
Handle receiving padded attachments
...
Don't send padded attachments yet.
// FREEBIE
2017-10-27 08:47:53 -07:00
Michael Kirk
259695a9fd
Attachments require digest or show explanatory error.
...
// FREEBIE
2017-10-27 08:42:54 -07:00
Michael Kirk
6eeb78157a
Include size in attachment pointer
...
// FREEBIE
2017-10-26 15:11:37 -07:00
Matthew Chen
fb408f980c
Remove JSQ.
...
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen
c3dca21a69
More thread safety fixes.
...
// FREEBIE
2017-09-29 10:16:42 -04:00
Matthew Chen
35a2470cb7
Post notifications asynchronously.
...
// FREEBIE
2017-09-21 17:03:57 -04:00
Matthew Chen
fa353259c3
Process messages in a single transaction (wherever possible).
...
// FREEBIE
2017-09-20 10:56:04 -04:00
Matthew Chen
6fce2c26b7
Process messages in a single transaction (wherever possible).
...
// FREEBIE
2017-09-20 09:40:46 -04:00
Matthew Chen
400f536e37
Respond to CR.
...
// FREEBIE
2017-09-19 09:30:01 -04:00
Matthew Chen
9dfebb2d4b
Apply OWSFail() in more places.
...
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen
b95b5f69de
Apply DataSource to message sender.
...
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen
bb1681f965
Respond to CR.
...
// FREEBIE
2017-08-30 12:53:02 -04:00