Commit graph

736 commits

Author SHA1 Message Date
Michael Kirk
16c8a1a76e replace SocketRocket with Starscream 2019-01-16 10:44:37 -07:00
Michael Kirk
eb71c49794 registration validator 2019-01-10 13:08:10 -07:00
Matthew Chen
aefe0eabed Landscape orientation. 2019-01-09 15:14:36 -05:00
Matthew Chen
c0922fc2c0 Remove LockInteractionController. 2019-01-08 13:52:36 -05:00
Matthew Chen
c775dbcd66 Introduce conversation view mapping; rework conversation view scrolling. 2019-01-07 12:47:15 -05:00
Michael Kirk
3151e6e1a3 move string extensions up 2018-12-20 09:54:08 -07:00
Michael Kirk
df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
2018-12-20 09:54:08 -07:00
Michael Kirk
a0770c14c5 baseline perf test for migration 2018-12-19 15:19:02 -07:00
Michael Kirk
5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
2018-12-19 15:16:36 -07:00
Matthew Chen
bd40aacd53 Purge dynamic interactions from database. 2018-12-18 10:55:54 -05:00
Matthew Chen
794241963e Clean up ahead of PR. 2018-12-18 10:53:41 -05:00
Matthew Chen
639dac4e26 Add stroke drawing to the image editor. 2018-12-18 10:53:41 -05:00
Matthew Chen
4752cb94f5 Add ImageEditorView. 2018-12-18 10:53:41 -05:00
Matthew Chen
f95526bff7 Start sketching out image editor. 2018-12-18 10:53:41 -05:00
Matthew Chen
26a25f861b Start sketching out image editor. 2018-12-18 10:53:41 -05:00
Matthew Chen
f7842dd2aa Rework lazy attachment restore. 2018-12-03 22:06:38 -05:00
Matthew Chen
782fbe656c Add RegistrationController. 2018-11-29 15:45:17 -05:00
Michael Kirk
4b5c4fae11 extract script to external file for more readable version control 2018-11-28 17:14:49 -07:00
Matthew Chen
5010b027b1 Sketch out the backup restore view. 2018-11-27 09:21:44 -05:00
Matthew Chen
dae80ad4c6 Reorganize util code. 2018-11-19 15:52:23 -05:00
Michael Kirk
b87b2522e3 Merge tag '2.32.0.13' 2018-11-16 23:28:51 -06:00
Michael Kirk
12aa76855d dark theme typing splash 2018-11-15 15:07:59 -06:00
Michael Kirk
87bfdbb72c Sender Rail 2018-11-15 12:25:28 -06:00
Matthew Chen
ea080eda72 Sketch out the photo collection picker. 2018-11-15 13:14:55 -05:00
Michael Kirk
47a7114317 Gallery pager style changes 2018-11-15 10:16:51 -06:00
Michael Kirk
84879b991d Album rail in Gallery 2018-11-14 14:50:33 -06:00
Michael Kirk
dd9bd1c1b9 remove unused header for DatabaseConverter test 2018-11-11 11:13:05 -06:00
Michael Kirk
5da525ce2e Merge remote-tracking branch 'origin/release/2.31.0' 2018-11-09 15:49:53 -06:00
Matthew Chen
34b4ea377f Revise media progress views. 2018-11-09 13:49:32 -05:00
Matthew Chen
654325c6dc Add download progress indicators. 2018-11-08 15:35:14 -05:00
Michael Kirk
e096406e56 migrate existing attachments to album-compatible gallery schema 2018-11-08 12:52:09 -06:00
Matthew Chen
777e2b9251 Rename to media album. 2018-11-07 12:26:57 -05:00
Matthew Chen
2dfd4b2c0d Rename to media album. 2018-11-07 12:24:53 -05:00
Matthew Chen
60c5a84dd2 Fix issues in media gallery cells; Improve debug galleries. 2018-11-07 09:56:49 -05:00
Matthew Chen
0c76e1c02d Use ConversationMediaView to simplify media rendering in conversation view cells. 2018-11-06 15:23:09 -05:00
Matthew Chen
cf057e3af3 Modify MediaGalleryCellView to handle still images. 2018-11-06 15:23:09 -05:00
Michael Kirk
4c5d46e8f8 Custom photo picker, respects theme/call banner
- share GridViewCell
- Multiple image selection, with feature flag, cant currently approve multiple
2018-11-05 22:23:40 -06:00
Michael Kirk
18343e1af8 l10n tr_TR -> tr 2018-11-02 10:15:46 -06:00
Michael Kirk
3585e111b6 l10n th_TH -> th 2018-11-02 10:15:46 -06:00
Michael Kirk
a726fef89d l10n sv_SE -> sv 2018-11-02 10:15:46 -06:00
Michael Kirk
735331dc9f l10n ja_JP -> ja 2018-11-02 10:15:46 -06:00
Michael Kirk
6d052f1379 l10n it_IT -> it 2018-11-02 10:15:46 -06:00
Michael Kirk
c01475836e l10n el_GR -> el 2018-11-02 10:15:46 -06:00
Michael Kirk
f8207c6d2e l10n az_AZ -> az 2018-11-02 10:15:46 -06:00
Michael Kirk
3cfbc75f68 l10n ko_KR -> ko 2018-11-02 10:15:44 -06:00
Matthew Chen
7c65a98069 Fix breakage from typing indicators. 2018-11-01 17:11:59 -04:00
Matthew Chen
58f36fba47 Disable typing indicators by default for legacy users. 2018-11-01 16:52:31 -04:00
Matthew Chen
eedc9f9a26 Sketch out "typing indicators" interaction and cell. 2018-11-01 16:44:47 -04:00
Matthew Chen
50381cc94c Add typing indicators in home view. 2018-11-01 16:44:47 -04:00
Michael Kirk
d9a4c6e837 typing indicator upgrade screen 2018-11-01 14:31:25 -06:00
Matthew Chen
32d3eed7ba Add ConversationViewModel. 2018-11-01 14:51:47 -04:00
Matthew Chen
a98c82645c Start work on typing indicators.
* Update proto schema to reflect typing indicators.
* Sketch out OWSTypingIndicatorMessage.
* Add "online" to the service message params.
* Sketch out logic to send typing indicator messages.
* Sketch out OWSTypingIndicators class.
2018-10-31 12:11:29 -04:00
Matthew Chen
40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 2018-10-31 11:42:41 -04:00
Michael Kirk
af19405178 update carthage build path for tests 2018-10-29 12:19:57 -06:00
Michael Kirk
5632bd2d83 Use reference counting to disable proximity monitoring after audio message
Multiple overlapping activities require proximity monitoring (namely,
CallViewController and listening to audio messages).

These activities can overlap arbitrarily, so we use a reference counting
strategy to keep proximity monitoring on as long as one of these activities is
active.
2018-10-26 15:32:12 -06:00
Matthew Chen
bf1f9e706a Exclude date/time and Xcode version info in debug builds to avoid churn. 2018-10-26 15:17:37 -04:00
Matthew Chen
ed4fa2e8cb Respond to CR. 2018-10-26 14:44:53 -04:00
Matthew Chen
38f3321e9a Improve startup logging. 2018-10-26 14:44:53 -04:00
Michael Kirk
3560f3be5c Durable send operation
TODO
-[x] respect order of queue
-[x] replacements
  -[x] those w/o completion handler
  -[x] basic send+log operation persists
  -[x] send+ui completion
  -[x] share extension
  -[x] update state jobs
-[x] App Lifecyle
  -[x] settable
  -[x] Mark as ready on startup
  -[x] Fail appropriate jobs on startup

NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
  -[x] retry failed jobs on startup?
  -[ ] reachability

DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
2018-10-25 11:54:59 -06:00
Matthew Chen
8e1103c28f Log WebRTC version. 2018-10-24 16:58:45 -04:00
Michael Kirk
91eba4dbfc Move WebRTC to separate submodule 2018-10-22 14:48:45 -06:00
Matthew Chen
bbcbbafaab Sync local profile key after rotating it. 2018-10-18 16:47:18 -04:00
Matthew Chen
693b3e13a9 Revert "Sync local profile key after rotating it."
This reverts commit ddbd20e706.
2018-10-18 16:00:48 -04:00
Matthew Chen
ddbd20e706 Sync local profile key after rotating it. 2018-10-18 15:59:43 -04:00
Matthew Chen
7c1f1882d8 Sync "show UD indicators" setting. 2018-10-16 17:42:54 -04:00
Matthew Chen
d7e52367ff Create AppEnvironment. 2018-10-15 15:08:37 -04:00
Matthew Chen
c907721a18 Rotate profile key if blocklist intersects profile whitelist. 2018-10-11 13:02:02 -04:00
Matthew Chen
1d40cbfb41 Rework account attributes; persist manual message fetch; add "unrestricted UD" setting. 2018-10-03 08:59:55 -04:00
Matthew Chen
71da312336 Post-SMK ud changes. 2018-10-02 13:19:41 -04:00
Matthew Chen
8ae200ac21 Fix build breakage around SignalCoreKit. 2018-10-01 09:07:40 -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
95a6df6496 Generic SheetViewController 2018-09-27 13:34:23 -06:00
Michael Kirk
79add78d51 Merge branch 'release/2.30.1' 2018-09-27 13:03:35 -06:00
Matthew Chen
5a99cd347f Pull out OWSConversationColor to its own file. 2018-09-27 12:24:14 -04:00
Michael Kirk
6c5fbc6de5 Update existing contact offers in place
WIP: migration / autoincrement logic

TODO:

-[x] contact offer
-[ ] verify all paths that utilized timestampForSorting, e.g. make sure SN appear before the message they affect, etc.
-[x] Monotonic ID
-[x] New extension which sorts by id
-[x] Migration
  -[ ] batch migration?

fixup contact offers
2018-09-26 09:52:33 -06:00
Michael Kirk
a60d8eb161 WIP: migration / autoincrement logic
TODO:

-[ ] contact offer
-[ ] verify all paths that utilized timestampForSorting, e.g. make sure SN appear before the message they affect, etc.
-[x] Monotonic ID
-[x] New extension which sorts by id
-[x] Migration
  -[ ] batch migration?
2018-09-26 09:52:33 -06:00
Matthew Chen
ae84528dc3 Update avatar colors; add shaded conversation color constants, modify color picker to be color-name-based, not color-based, use shaded conversation colors, remove JSQ. 2018-09-25 16:11:37 -04:00
Matthew Chen
0b7d269017 Rename DebugContactsUtils. 2018-09-25 15:48:27 -04:00
Matthew Chen
bcee59f5e5 Add contact utils class. 2018-09-25 15:46:08 -04:00
Matthew Chen
98630cca50 Respond to CR; add db utility methods to test base classes. 2018-09-21 09:21:34 -04:00
Matthew Chen
e1db60c1c0 Rework creation of singletons. 2018-09-19 15:11:26 -04:00
Matthew Chen
0c6f6cdafd Fix compilation errors in Signal tests. 2018-09-19 13:53:57 -04:00
Michael Kirk
920a82564f Merge tag '2.29.3.3' 2018-09-15 09:17:08 -05:00
Matthew Chen
9b94580dae Update assertions.
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
2018-09-14 14:30:06 -04:00
Matthew Chen
6c8af5b541 Update cocoapods. 2018-09-14 14:23:44 -04:00
Matthew Chen
62c55c9cfb Fix broken tests. 2018-09-14 14:20:39 -04:00
Michael Kirk
0f9b0936df Use cached group details when rendering blocklist 2018-09-14 10:31:17 -05:00
Michael Kirk
448936d156 BlockListCache
block manager synchronizes on self for coherent read/writes to blocking state
across threads, but we want to be able to have performant reads on the main
thread.
2018-09-12 19:16:14 -05:00
Matthew Chen
3935b019f4 Add base class for tests. 2018-09-10 17:30:18 -05:00
Matthew Chen
ac4365e1c9 Add OWSThumbnailService. 2018-09-06 15:30:00 -04:00
Michael Kirk
3022f92925 Tweak tint for search bar icons in dark theme 2018-08-22 12:00:44 -06:00
Matthew Chen
a76d488e8b Fix QA issues in theme. 2018-08-15 17:09:59 -04:00
Michael Kirk
8829cdfb4b Toast view when tapped message doesn't exist, mark remotely sourced. 2018-08-10 16:55:54 -06:00
Matthew Chen
c91bc71ebd Cache sender name size. 2018-08-09 14:03:03 -04:00
Matthew Chen
acd7d094b1 Refine theme. 2018-08-08 15:04:23 -04:00
Michael Kirk
9662b3cb1e Wait a week before nagging when a new release comes out 2018-08-08 10:26:00 -06:00
Michael Kirk
e5b3cbd00c Use StoreKit for reviews 2018-08-07 15:56:52 -06:00
Matthew Chen
a5ffbdebb3 Remove Obj-c proto parser. 2018-08-07 15:10:48 -04:00
Matthew Chen
a4d24c78a4 Respond to CR. 2018-08-07 15:09:10 -04:00