Michael Kirk
5671fd2520
Revert "Revert 'new sort id'."
...
This reverts commit ebae75af00
.
2018-12-19 15:16:36 -07:00
Matthew Chen
19a2bfeaad
More conversation viewmodel perf improvements.
2018-12-13 11:50:55 -05:00
Michael Kirk
c8c932033b
add proper nullability annotation
2018-12-12 09:05:27 -07:00
Michael Kirk
c0cb7df10a
rename hasEverHadMessage -> shouldThreadBeVisible
2018-12-12 08:46:15 -07:00
Michael Kirk
cb9aa6304c
find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
3a6aafc454
Swift Exception wrap NSData+keyVersionByte
2018-10-30 11:35:34 -06:00
Matthew Chen
f1d93d4472
Merge remote-tracking branch 'origin/release/2.30.2'
2018-10-12 16:00:42 -04:00
Michael Kirk
2b805e4eae
Constantize ConversationColorName, map previous incorrect values
2018-10-04 18:21:35 -06:00
Michael Kirk
d59e21e7f0
Nothing outside of TSThread should know about legacy colors
2018-10-04 17:07:50 -06:00
Michael Kirk
405cc31a38
Apply new colors to new conversation
2018-10-04 10:34:57 -06:00
Matthew Chen
3738155c81
Fix build breakage from SMK.
2018-10-01 09:08:02 -04:00
Matthew Chen
0125535d4d
Pull out SignalCoreKit.
2018-10-01 09:06:40 -04:00
Matthew Chen
ebae75af00
Revert 'new sort id'.
2018-09-27 19:40:51 -04:00
Michael Kirk
79add78d51
Merge branch 'release/2.30.1'
2018-09-27 13:03:35 -06:00
Matthew Chen
b3ad6e27dc
Rework conversation message bubble colors; add "conversation colors" class.
2018-09-27 09:07:47 -04:00
Michael Kirk
fe7d69e9c6
Update thread's sorting order based on whatever the currently last message is
2018-09-26 09:52:34 -06:00
Michael Kirk
b281b37637
replace thread.lastMessageDate/archivalDate -> thread.lastSortId, thread.archivedAsOfSortId
...
Update migration accordingly
Date shown on home view cell is message.receivedAt
2018-09-26 09:52:34 -06:00
Michael Kirk
ab55e85304
step 1: timestampForSorting audit, change signature
...
No change in functionality in this commit, I just broke the signature to have a
systematic audit of the callsites. Added TODO's with the plan for each call.
2018-09-26 09:52:33 -06:00
Michael Kirk
00d0d1e002
Remove legacy Error backdating - no changes in functionality
...
Historically we would backdate the SN change messages, but since adopting
non-blocking SN changes long ago, they're already sorted properly by creation
time, so backdating has been unnecessary for a while.
I also audited that all other error messages are saved directly after creation.
I applied deprecation attributes as appropriate as I audited.
2018-09-26 09:52:33 -06:00
Michael Kirk
c7662b5a86
Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
...
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Matthew Chen
f473f60111
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
cc5a480baa
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
3a50377902
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
713606271c
Rename fail macros in Obj-C.
2018-08-27 10:29:51 -04:00
Michael Kirk
c05700fd98
Log in OWSFail
...
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
2018-08-09 15:30:19 -06:00
Matthew Chen
4a4edc68e7
Clean up data.
2018-07-26 17:20:11 -06:00
Matthew Chen
5530b8d701
Respond to CR.
2018-07-23 17:13:01 -04:00
Matthew Chen
7a898f5e99
Fix NPE using mock for unknown database objects.
2018-07-23 16:53:02 -04:00
Matthew Chen
2c973782c4
Fix NPE using mock for unknown database objects.
2018-07-23 16:52:00 -04:00
Matthew Chen
723691400f
Fix NPE using mock for unknown database objects.
2018-07-23 16:50:12 -04:00
Michael Kirk
a66c88e3cf
Fix getter for contact threads, remove sneaky read transaction for DM config.
2018-07-10 13:25:38 -06:00
Michael Kirk
92705490a0
No write transaction needed for syncing colors
...
// FREEBIE
2018-07-10 13:25:38 -06:00
Matthew Chen
03d393553a
Tweak home view cells.
2018-07-10 09:28:11 -04:00
Michael Kirk
16df4f589e
conversation colors
...
// FREEBIE
2018-06-29 11:52:41 -06:00
Michael Kirk
0cf751d34f
Newly added group members should have expire time
...
Send expire timer with group info updates and in group updates that add a user.
2018-06-14 15:20:45 -04:00
Matthew Chen
9a08afae28
Fix build warnings.
2018-06-01 12:39:13 -04:00
Matthew Chen
caad6f796e
Clean up ahead of PR.
2018-05-30 15:05:02 -04:00
Michael Kirk
a10ae1835e
respond to code review
...
// FREEBIE
2018-05-07 12:51:55 -04:00
Michael Kirk
1f63ce02a0
Increase cache, remove dead code, add debug logging
...
// FREEBIE
2018-04-21 20:00:57 -04:00
Michael Kirk
5f2b38c50b
Introduce Thread view model
...
// FREEBIE
2018-04-21 19:21:18 -04:00
Michael Kirk
1fb1b5bbe2
WIP unjank home screen
...
verify `description` isn't used elsewhere (notifications? conversation
view?)
Probably want to remove overzealous asserts for now, but would be good
to work towards leaving them enabled.
// FREEBIE
2018-04-21 19:21:18 -04:00
Michael Kirk
754549adf1
Start timer for expiring message based on when read receipt was sent
...
// FREEBIE
2018-04-18 15:32:01 -04:00
Michael Kirk
dfb2a034af
Use explicit transactions.
...
- Start expiration within scope of existing transaction when we're
already in a transaction
// FREEBIE
2018-04-18 15:32:01 -04:00
Matthew Chen
4a4e9d1ce2
Bubble collapse.
2018-04-02 10:07:15 -04:00
Matthew Chen
8d689ec090
Properly cleanup content.
2018-03-22 09:34:47 -04:00
Matthew Chen
d6f4db1523
Rename TSStorageManager to OWSPrimaryStorage.
2018-03-06 17:12:13 -03:00
Matthew Chen
eb180ba5c4
Register all database views asynchronously.
2018-01-30 10:30:28 -05:00
Matthew Chen
245304116f
Respond to CR.
2017-12-20 11:19:09 -05:00
Matthew Chen
85686d3144
Continue TSStorageManager refactor.
2017-12-19 11:41:30 -05:00
Matthew Chen
9815bca825
Clean up ahead of PR.
2017-12-19 11:16:01 -05:00