Commit graph

2127 commits

Author SHA1 Message Date
Niels Andriesse 243a9e906d Fix TTL usage 2019-05-07 14:00:38 +10:00
Niels Andriesse d05b4aa2bf Make Mikunj happy 2019-05-07 13:53:31 +10:00
Niels Andriesse f0566d2b05
Merge pull request #9 from loki-project/messaging-refactor
Minor Refactoring
2019-05-07 13:17:37 +10:00
Niels Andriesse a3c92d98c0 Create JSON type 2019-05-07 13:15:48 +10:00
Mikunj 19491ccbc4 Minor fix when generating messages to send. 2019-05-07 12:02:57 +10:00
Niels Andriesse 72cc345734 Hook up new messaging API 2019-05-07 11:56:00 +10:00
Niels Andriesse 1c4c47ab33 Merge branch 'master' of github.com:loki-project/loki-messenger-ios into messaging-refactor 2019-05-07 11:35:07 +10:00
Niels Andriesse 294d8b5c11 WIP 2019-05-07 11:34:35 +10:00
Niels Andriesse e6bfd56487 Make POW related fields optional 2019-05-07 11:27:33 +10:00
Mikunj cb53acf138 Disable web sockets. 2019-05-07 11:19:12 +10:00
Niels Andriesse 5541e2c2c3 Clean 2019-05-07 10:29:44 +10:00
Niels Andriesse 78adfabf0c Implement new messaging API 2019-05-07 10:10:15 +10:00
Mikunj Varsani 512b71a9d4
Merge branch 'master' into proof-of-work-ui 2019-05-06 17:01:43 +10:00
Mikunj bee85caa14 Improved naming. 2019-05-06 16:14:51 +10:00
Niels Andriesse ee2361b5cc Hook up Loki messaging API 2019-05-06 16:13:32 +10:00
Niels Andriesse b9d39f8758 Fix public key validation bug 2019-05-06 16:12:49 +10:00
Mikunj f8cccd8967 Show spinning cog if we are calculating the proof of work. 2019-05-06 16:12:14 +10:00
Mikunj 598226d58e Fix incorrect function signature. 2019-05-06 14:58:03 +10:00
Niels Andriesse ca820494dd Merge branch 'message-proof-of-work' of github.com:loki-project/loki-messenger-ios into message-proof-of-work 2019-05-06 14:28:17 +10:00
Niels Andriesse dd18e65e3e Fix minor code style issues 2019-05-06 14:23:44 +10:00
Mikunj e4d612a58e Only send message to the primary device.
Fail send if sending message to self.

We do this because loki doesn't support multi-device sending at the moment.
2019-05-06 14:22:34 +10:00
Niels Andriesse 177d9f7b87 Merge branch 'master' of github.com:loki-project/loki-messenger-ios into message-proof-of-work 2019-05-06 14:09:35 +10:00
Mikunj 0c711d549a Added small note. 2019-05-06 13:58:35 +10:00
Mikunj ad0fc7944e Made ProofOfWork work in objective c.
Added proof of work calculation when sending message.
2019-05-06 13:53:39 +10:00
Niels Andriesse 4ce9228afd WIP 2019-05-06 11:50:24 +10:00
Niels Andriesse 19a0d85afd Implement public key checking logic 2019-05-06 11:32:11 +10:00
Niels Andriesse a91c636dda Document things more 2019-05-06 11:17:52 +10:00
Niels Andriesse 4e8e5a4a74 Add documentation 2019-05-06 11:10:23 +10:00
Mikunj de01731316 Removed LokiKit.
Moved all files back into SignalServiceKit.
2019-05-06 10:50:47 +10:00
Niels Andriesse c1e121b271 Create LokiKit 2019-05-01 15:04:46 +10:00
Niels Andriesse 2cb1ddbdad Implement mnemonic based key pair restoration 2019-05-01 13:16:43 +10:00
Niels Andriesse 5eddb9274b Fix incorrect key pair usage 2019-04-30 15:12:15 +10:00
Niels Andriesse dc80c17261 Skip onboarding permissions step 2019-04-30 14:35:16 +10:00
Niels Andriesse 011d4e1465 Implement basic snode interaction 2019-04-30 14:27:39 +10:00
Niels Andriesse 9d64b76af6 Clean & fix bad merge 2019-04-30 09:34:14 +10:00
Niels Andriesse c429bebaba Fix phone number parsing crash 2019-04-29 11:34:11 +10:00
Niels Andriesse 384353086b Fix bundle ID issue 2019-04-26 15:15:09 +10:00
Matthew Chen 4060bf0ca4 Add Pinterest link previews. 2019-04-22 16:37:09 -04:00
Michael Walker 11af22432d Add pinterest domain and asset domains for link preview support 2019-04-22 16:36:44 -04:00
Matthew Chen 415526fc9b Refine request padding. 2019-04-22 15:02:20 -04:00
Michael Kirk b55e0e45f5 Avoid deadlock
There are multiple methods which synchronize(self) in TSAccountMessage and also
multiple ones which can occur within a read-write transaction.
2019-04-12 15:05:51 -06:00
Michael Kirk 21cffdfb5e always specify default when accessing bool preference 2019-04-10 14:32:53 -06:00
Michael Kirk 39d3219238 Add option to manually disable circumvention. 2019-04-10 10:13:11 -06:00
Matthew Chen 79eb3fb3cb Suppress overzealous assert. 2019-04-10 07:14:54 -06:00
Michael Kirk b1e1020eb3 swift5: void promise must take void argument vs no argument 2019-04-04 13:44:42 -06:00
Michael Kirk 30266bf65e autoformatted 2019-04-04 13:44:42 -06:00
Michael Kirk 64a0c4bfaa auto-migrate to Swift5 2019-04-04 13:44:42 -06:00
Michael Kirk 501e2c761f Merge tag '2.38.1.2' 2019-04-04 13:42:07 -06:00
Michael Kirk 3fb8b02b3b update front 2019-04-02 19:57:38 -06:00
Michael Kirk a7bd372147 Fix tests by removing side effect in getter
While setting up the test CurrentAppContect, we use OWSTemporaryDirectory which in turn
recursively references CurrentAppContext, which crashes.

Clearing temp directories on every activation is sufficient.
2019-04-01 14:05:58 -06:00
Michael Kirk 07e88009e4 Merge tag '2.38.0.11' 2019-04-01 14:04:43 -06:00
Michael Kirk e69494450b put conversation search behind feature flag 2019-04-01 13:56:27 -06:00
Michael Kirk 2242dd240f Fix "blank notification text" for oversize messages 2019-03-29 13:31:27 -06:00
Michael Kirk 05d8846f6c match highlight behavior with search behavior 2019-03-29 12:38:01 -06:00
Michael Kirk 5ed16355d7 iOS9 needs a different assertion 2019-03-29 12:36:33 -06:00
Michael Kirk 048f19c6b8 specify yyyy date format 2019-03-29 10:33:32 -06:00
Michael Kirk 5e52d66b05 bump feedback endpoint 2019-03-29 10:33:32 -06:00
Michael Kirk 0d822597a1 specify locale when timestamp parsing 2019-03-29 10:33:32 -06:00
Michael Kirk 7dbb9517af Centralize attachment state in nav controller 2019-03-28 10:30:47 -06:00
Matthew Chen dd54b40bed Respond to CR. 2019-03-27 13:15:26 -04:00
Matthew Chen 987726df6c Temp files. 2019-03-27 12:37:22 -04:00
Matthew Chen 81e3dfc3cf Respond to CR. 2019-03-27 12:36:39 -04:00
Matthew Chen bb1921afe6 Simplify link preview cache. 2019-03-27 12:35:47 -04:00
Matthew Chen 04b60677a6 Simplify link preview cache. 2019-03-27 12:35:47 -04:00
Matthew Chen ae5cee2167 Clean up the link preview cache. 2019-03-27 12:35:47 -04:00
Matthew Chen 9b34e4ac61 Respond to CR. 2019-03-25 15:58:27 -04:00
Matthew Chen c5a87c4d20 Add asserts around CDS feedback errors. 2019-03-25 15:58:27 -04:00
Michael Kirk aa46113b4a disable custom capture flow for now 2019-03-19 12:08:40 -07:00
Michael Kirk 0b638f4831 link checks 2019-03-18 15:21:19 -07:00
Michael Kirk 78ce3583ed fix rotation issue 2019-03-18 15:17:13 -07:00
Matthew Chen df4cf5c09e Respond to CR. 2019-03-18 14:24:33 -04:00
Matthew Chen fed4899c8d Handle incoming attachments with missing MIME type. 2019-03-18 14:14:20 -04:00
Matthew Chen c180d20dcd Store media size from attachment pointer protos. 2019-03-18 14:14:20 -04:00
Matthew Chen c37f425d5f Reduce logging. 2019-03-15 16:27:08 -04:00
Michael Kirk 284357137f Photo/Movie Capture 2019-03-14 12:20:21 -07:00
Michael Kirk 91ec9ebf9d Fix overzealous assert 2019-03-13 09:47:56 -07:00
Matthew Chen 863c96c62a Merge tag '2.37.1.0' 2019-03-12 16:38:25 -04:00
Matthew Chen 10383783e3 Respond to CR. 2019-03-11 23:33:25 -04:00
Matthew Chen d84e0eead9 Respond to TIOLI feedback from https://trello.com/c/ntO5hBbl/4161-prs-for-michael-to-review 2019-03-11 23:29:55 -04:00
Michael Kirk 2a151dbf6d update settings key 2019-03-11 19:53:04 -07:00
Michael Kirk b36a0061e1 contact picker perf for contact with many phone numbers
Only consider first n phone numbers for a contact.

Some users have a "Spam" contact created by external apps which have thousands
of known telemarkers/scammers phone numbers, this pathological case causes a
slowdown in the presentation of the compose picker.
2019-03-11 13:11:09 -07:00
Carola Nitz 117411009b Add public keyword to fix compilation for framework integration 2019-02-26 17:42:28 -07:00
Michael Kirk 870caaa84a simplify completion checking - make nonnull 2019-02-26 10:06:52 -07:00
Matthew Chen fff93f8bb2 Use content proxy to configure all proxied content requests. 2019-02-26 10:54:35 -05:00
Matthew Chen ad90a8e0c4 Use content proxy to configure all proxied content requests. 2019-02-26 10:54:35 -05:00
Matthew Chen 5eaeeff838 Use content proxy to configure all proxied content requests. 2019-02-26 10:54:35 -05:00
Michael Kirk 7e5256856c render media+longText message 2019-02-25 13:27:49 -07:00
Michael Kirk b7989e9384 feature flag approval sending 2019-02-25 13:27:49 -07:00
Michael Kirk bc4260b444 Send long-text with other attachments 2019-02-25 13:27:49 -07:00
Matthew Chen 0f98d63365 Tweak name of proxied request padding header. 2019-02-25 09:48:23 -05:00
Michael Kirk 645a26cbdf use connection pool for reads 2019-02-21 16:20:57 -07:00
Michael Kirk fabd3996c2 pop view if message is deleted
- use global ui database connection
2019-02-21 16:18:14 -07:00
Matthew Chen 20d22f6395 Add user agent for proxied requests. 2019-02-21 16:28:11 -05:00
Matthew Chen 5f0de5c36d Respond to CR. 2019-02-21 15:21:00 -05:00
Matthew Chen 6ef65ad9d6 Send and process 'recipient update' sync messages. 2019-02-21 15:13:31 -05:00
Matthew Chen bb7d328267 Send and process 'recipient update' sync messages. 2019-02-21 15:13:31 -05:00
Matthew Chen e27e27cc3a Send and process 'recipient update' sync messages. 2019-02-21 15:13:31 -05:00
Matthew Chen 01b1df5375 Add 'is update' flag to 'sent message' transcript proto schema. 2019-02-21 15:13:31 -05:00
Matthew Chen f19915fb75 Add 'is update' flag to 'sent message' transcript proto schema. 2019-02-21 15:13:31 -05:00
Matthew Chen 4f19d03bdc Send 'sent update' sync messages. 2019-02-21 15:13:31 -05:00
Matthew Chen 6ce84e7f9b Process 'sent update' transcripts. 2019-02-21 15:13:31 -05:00
Matthew Chen ccc1bd3331 Process 'sent update' transcripts. 2019-02-21 15:13:31 -05:00
Matthew Chen 304c285540 Add 'sent update' transcripts to proto schema. 2019-02-21 15:13:31 -05:00
Matthew Chen b53243da31 Add 'sent update' transcripts to proto schema. 2019-02-21 15:13:31 -05:00
Matthew Chen 907159f3f4 Process 'sent update' transcripts. 2019-02-21 15:13:31 -05:00
Matthew Chen f36373e3ca Add 'sent update' transcripts to proto schema. 2019-02-21 15:13:31 -05:00
Matthew Chen 32965a0c14 Respond to CR. 2019-02-21 14:47:42 -05:00
Matthew Chen 40768825c8 Pad proxied request sizes. 2019-02-21 14:37:56 -05:00
Matthew Chen a47930f613 Skip HEAD for proxied content downloads. 2019-02-21 14:19:34 -05:00
Matthew Chen f006972c39 Skip HEAD for proxied content downloads. 2019-02-21 14:19:34 -05:00
Matthew Chen 089eec4136 Skip HEAD for proxied content downloads. 2019-02-21 14:19:34 -05:00
Matthew Chen 9402e088b2 Apply design feedback from Myles. 2019-02-21 14:16:31 -05:00
Michael Kirk cdb8663c81 fix up selecting after url case 2019-02-20 09:38:52 -07:00
Michael Kirk 6d6d076c08 Use correct cache for LinkPreviewDraft, add stricter typing to help avoid similar issues. 2019-02-20 09:38:52 -07:00
Michael Kirk 467dde2bc9 Try to avoid generating link previews while user is actively editing the URL 2019-02-20 09:38:52 -07:00
Michael Kirk 34585bdeb3 Increase message retries 2019-02-19 18:13:24 -07:00
Michael Kirk a01cb04d85 FIX: Onboarding controller sets phoneNumberAwaitingForVerification 2019-02-19 13:38:44 -07:00
Michael Kirk d26c095fe7 Merge remote-tracking branch 'origin/release/2.36.0' 2019-02-19 12:50:00 -07:00
Matthew Chen e3946e5779 Sketch out the 'onboarding code verification' view. 2019-02-18 09:53:20 -05:00
Matthew Chen e1dc534fe6 Respond to CR. 2019-02-18 09:52:09 -05:00
Michael Kirk 6c08f98fbb replying to notification marks thread as read 2019-02-15 17:14:26 -07:00
Matthew Chen efe5513c4e Sketch out the 'onboarding code verification' view. 2019-02-15 14:56:32 -05:00
Matthew Chen 1f922aa478 Sketch out the 'onboarding code verification' view. 2019-02-15 14:19:12 -05:00
Matthew Chen 91834454a9 Respond to CR. 2019-02-14 15:53:06 -05:00
Matthew Chen b9d94e77f6 Respond to CR. 2019-02-14 15:23:34 -05:00
Matthew Chen 58abf76244 Sketch out CAPTCHA onboarding view. 2019-02-14 12:41:48 -05:00
Matthew Chen 57394f0015 Respond to CR. 2019-02-14 09:23:50 -05:00
Matthew Chen 2a4b9426c3 Sketch out the 'onboarding phone number' view. 2019-02-14 08:54:27 -05:00
Matthew Chen 618a3b1d47 Sketch out crop tool. 2019-02-13 16:43:41 -05:00
Matthew Chen 0807325190 First draft of image editor's text tool. 2019-02-13 16:43:00 -05:00
Michael Kirk af475aa1e4 update registration state on main thread 2019-02-12 16:07:13 -07:00
Michael Kirk a1b412c704 Fix "missed calls" not sorting threads
Ensure we touch thread after saving *any* interaction
2019-02-12 15:51:20 -07:00
Michael Kirk 0d5d5c6932 limit reason length 2019-02-12 10:04:56 -07:00
Michael Kirk 1de0ede52d Specific CDS feedback 2019-02-07 13:26:45 -07:00
Matthew Chen ea547fa46a Merge tag '2.35.0.12' 2019-02-04 13:15:30 -05:00
Matthew Chen f575c0f100 Add fbcdn.net to link previews media whitelist. 2019-02-04 12:36:03 -05:00
Michael Kirk d88ffc4775 Notification titles for iOS10+ 2019-02-04 10:35:17 -07:00
Matthew Chen 1dbb9849c5 Remove 'message receipt ordering' logging. 2019-02-04 10:43:25 -05:00
Matthew Chen bb46720898 Add logging around socket ordering. 2019-02-04 09:39:09 -05:00
Matthew Chen 2cdb7bb0ed Respond to CR. 2019-02-04 09:27:11 -05:00
Matthew Chen 928b0a1630 Add session manager pools. 2019-02-04 09:12:24 -05:00
Matthew Chen e2b92ed42b Add session manager pools. 2019-02-04 09:12:23 -05:00
Matthew Chen 280b9378b5 Add session manager pools. 2019-02-04 09:12:23 -05:00
Michael Kirk c2aee429b1 move ContactsManager to local dependency 2019-02-01 17:44:14 -07:00
Michael Kirk 1bfe691895 In app notifications for iOS10+
Extract shared notification presention/response

Implement adapters which use that logic for modern UNUserNotification and
legacy UINotifications
2019-02-01 17:44:13 -07:00
Michael Kirk c01284f848 beef up notifications DebugUI 2019-02-01 17:44:13 -07:00
Matthew Chen 501e883cc4 Merge tag '2.35.0.10' 2019-02-01 17:35:40 -05:00
Matthew Chen 63a5de1852 Add logging around socket ordering. 2019-02-01 17:33:09 -05:00
Michael Kirk 5f59623254 fix CDS for iOS9 2019-02-01 13:44:36 -07:00
Matthew Chen 229450bc47 Enable 'note to self' feature flag. 2019-01-31 17:08:14 -05:00
Matthew Chen 867efb62ff Respond to CR. 2019-01-31 15:48:50 -05:00
Matthew Chen 6b3fe04537 Use connection property for errors in message receiver. 2019-01-31 15:48:50 -05:00
Matthew Chen 70185dd872 Batch outgoing ICE updates. 2019-01-31 15:48:50 -05:00
Matthew Chen 6b5952abda Move work off main thread. 2019-01-31 15:48:50 -05:00
Matthew Chen 4feb0011d7 Reduce logging. 2019-01-31 15:48:50 -05:00
Matthew Chen 77396e11fd Send sync messages with link previews preference. 2019-01-29 16:27:39 -05:00
Matthew Chen b1cce5ef71 Add link previews preference to configuration protos. 2019-01-29 16:27:39 -05:00
Matthew Chen ef62bcd004 Disable 'Note to Self.' 2019-01-29 12:42:15 -05:00
Matthew Chen 6d967cb31d Fix 'link preview prefs taint cache' issue. 2019-01-29 10:43:09 -05:00
Matthew Chen f2d580cae6 Update user agent for proxied content downloads. 2019-01-29 10:01:48 -05:00
Matthew Chen 3c0235d57e Enable 'note to self' feature flag. 2019-01-28 10:44:13 -05:00
Matthew Chen b0704074b9 Rework quoted attachments. 2019-01-28 10:28:26 -05:00
Matthew Chen bba679eaef Add user-agent for media downloads. 2019-01-25 15:57:48 -05:00
Matthew Chen 0ce9d1a858 Always re-encode link preview images as JPEG even if they don't need to be resized. 2019-01-25 15:33:58 -05:00
Matthew Chen c68eee5bfe Accept newlines in link preview titles. 2019-01-25 12:57:17 -05:00
Matthew Chen 957a733838 Yet more link preview refinements. 2019-01-25 11:33:09 -05:00
Matthew Chen b48d5fbcf0 Revise link preview domain whitelists. 2019-01-25 09:46:25 -05:00
Matthew Chen f174d5be62 Clean up link previews. 2019-01-24 17:26:39 -05:00
Matthew Chen e7b9f7da99 Flush multi-process writes more aggressively. 2019-01-24 17:03:49 -05:00
Matthew Chen 4c5b9001c3 Elaborate the link preview tests. 2019-01-24 16:51:39 -05:00
Matthew Chen 2e9f2e6154 Elaborate the link preview tests. 2019-01-24 16:17:31 -05:00
Matthew Chen 090dd1f523 Use NSDataDetector to extract URLs for link previews. 2019-01-24 16:01:00 -05:00
Matthew Chen 744d3074ac Fix link preview tests. 2019-01-24 14:34:31 -05:00
Matthew Chen e4d5926b30 Resize link preview images if necessary. 2019-01-24 13:30:54 -05:00
Matthew Chen 9149282e94 Resize link preview images if necessary. 2019-01-24 13:28:54 -05:00
Matthew Chen 9b33d70d7b Constrain max size of link preview image. 2019-01-24 13:06:22 -05:00
Matthew Chen c4274d63c8 Fix build warnings in fake profile manager. 2019-01-24 10:22:46 -05:00
Matthew Chen e172eeff0e Link preview preference should only affect outgoing link previews. 2019-01-24 08:54:07 -05:00
Matthew Chen 23980152fc Segment proxied content downloads. 2019-01-24 08:51:25 -05:00
Matthew Chen db15ff9a26 Segment proxied content downloads. 2019-01-24 08:51:25 -05:00
Matthew Chen 4e7dbc486d Segment proxied content downloads. 2019-01-24 08:51:25 -05:00
Matthew Chen 635b5740ac Add missing domain to link preview whitelist. 2019-01-23 13:17:23 -05:00
Matthew Chen e2747dc702 Fix glitch in link loading. 2019-01-23 13:17:23 -05:00
Matthew Chen b002c0c9e1 Refine link parsing and validation logic. 2019-01-23 13:17:23 -05:00
Matthew Chen a7d848ef7c Add missing nullability annotations. 2019-01-23 13:12:43 -05:00
Matthew Chen becd72329b Fix build warnings about nullability. 2019-01-23 13:12:43 -05:00
Matthew Chen 7e9c3b2dac Clean up all message attachments. 2019-01-23 10:01:16 -05:00
Matthew Chen 7d4e89daac Discard link previews if incoming message has attachments. 2019-01-23 09:59:48 -05:00
Matthew Chen 3d757b492a Add link previews to conversation message bubbles. 2019-01-23 09:32:30 -05:00
Matthew Chen 0569ed3f59 Respond to CR. 2019-01-23 09:24:30 -05:00
Matthew Chen f73f100717 Link preview temp files. 2019-01-23 09:22:16 -05:00
Matthew Chen c57b0d98cb Add link previews setting. 2019-01-23 09:17:13 -05:00
Matthew Chen 977ee9ffe9 Merge remote-tracking branch 'private/release/2.34.0' 2019-01-22 11:10:04 -05:00
Matthew Chen f37aacca85 Respond to CR. 2019-01-22 10:17:11 -05:00
Matthew Chen 2dcc79fbca Fix issues around link previews. 2019-01-22 10:15:50 -05:00
Matthew Chen 6e044675ac Respond to CR. 2019-01-22 09:42:25 -05:00
Matthew Chen 8e44bf554c Respond to CR. 2019-01-22 09:42:25 -05:00
Matthew Chen d775a70a89 Build link previews. 2019-01-22 09:42:25 -05:00
Matthew Chen 31ea64bdaf Build link previews. 2019-01-22 09:42:25 -05:00
Matthew Chen 7878c0fac8 Add feature flag for 'note to self'. 2019-01-18 17:22:12 -05:00
Matthew Chen 343c7d8ece Remove timer queue. 2019-01-17 14:45:43 -05:00
Michael Kirk 323249baa0 NSRunLoop methods should only be accessed on it's corresponding thread. 2019-01-17 14:43:18 -05:00
Michael Kirk 64cdaae02e schedule retry timer on main run loop 2019-01-17 14:43:18 -05:00
Michael Kirk 1d24fa7c50 Fixup WebSocket 2019-01-16 10:58:50 -07:00
Michael Kirk 16c8a1a76e replace SocketRocket with Starscream 2019-01-16 10:44:37 -07:00
Matthew Chen f13c1de738 Respond to Cr. 2019-01-15 10:36:21 -05:00
Matthew Chen 55376975f5 Add link preview parsing and validation logic. 2019-01-14 17:06:47 -05:00
Matthew Chen 45b93cc4b4 Respond to CR. 2019-01-14 16:44:18 -05:00
Matthew Chen a477e01a4a Apply LinkPreview model. 2019-01-14 16:20:54 -05:00
Matthew Chen 4eb05e369d Add LinkPreview model. 2019-01-14 16:20:54 -05:00
Matthew Chen aa916965d0 Update protos to reflect link previews. 2019-01-14 16:19:42 -05:00
Matthew Chen 5a529567aa Update protos to reflect link previews. 2019-01-14 16:19:42 -05:00
Matthew Chen 76f410b2b7 Update protos to reflect link previews. 2019-01-14 16:19:42 -05:00
Michael Kirk 119f309787 Fixup database conversion vis a vis SQLCipher4 2019-01-14 09:48:49 -05:00
Michael Kirk 371ff08d45 remove legal terms feature flag 2019-01-11 11:25:34 -07:00
Michael Kirk eb71c49794 registration validator 2019-01-10 13:08:10 -07:00
Michael Kirk 5708754d30 update to sqlcipher4 2019-01-10 12:48:59 -05:00
Michael Kirk 60f816c747 Area code inference for US and Brazil 2019-01-10 12:43:57 -05:00
Michael Kirk 5d9e03ba40 convert to guard statements for readability 2019-01-10 12:43:57 -05:00
Michael Kirk ea76ea9492 fix phone number parsing test 2019-01-10 12:43:57 -05:00
Matthew Chen 63260ee94d Fix registration. 2019-01-08 15:38:08 -05:00
Michael Kirk b95dcd4ae3 fix broken test 2019-01-07 12:51:35 -07:00
Matthew Chen 46b0cdb872 Caution around group avatars. 2019-01-07 12:47:15 -05:00
Matthew Chen 951f0dab22 Respond to CR. 2019-01-07 09:02:39 -05:00
Matthew Chen ed25f4748d Deprecate 'signaling key'. 2019-01-07 09:02:39 -05:00
Matthew Chen 78d0685cba Discard transient messages if there is no session. 2019-01-07 08:49:31 -05:00
Matthew Chen 1934b5d589 Tweak unseen database view accessor. 2019-01-07 08:48:52 -05:00
Matthew Chen 9ab8bec2b1 Fix searching for 'note to self'. 2019-01-07 08:45:42 -05:00
Michael Kirk 432af13b63 Fix timer update message.
This was broken in 5671fd252 while resolving merge conflicts from applying the
sortId changes.
2019-01-04 10:57:13 -07:00
Matthew Chen 449633e0dc Respond to CR. 2019-01-04 09:19:41 -05:00
Matthew Chen a7909c9c2e Note to Self. 2019-01-03 18:06:56 -05:00
Matthew Chen 1d13a02927 Note to Self. 2019-01-03 18:06:56 -05:00
Matthew Chen 17c3ba0580 Image editor fixes. 2019-01-03 16:56:24 -05:00
Matthew Chen dc6dadad43 Respond to CR. 2019-01-03 16:43:52 -05:00
Matthew Chen 1260e7459d Add asserts around attachment crash. 2019-01-03 16:43:52 -05:00
Michael Kirk 38d5db9658 remove unnecessary logging 2018-12-21 12:12:52 -07:00
Michael Kirk 260002b02f move extension methods to SCK 2018-12-20 09:54:08 -07:00
Michael Kirk 3151e6e1a3 move string extensions up 2018-12-20 09:54:08 -07:00
Michael Kirk e735916388 move all possible methods into String+OWS in SCK 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
Matthew Chen 1d905119ac Fix issues from integration testing. 2018-12-19 18:26:15 -05:00
Matthew Chen bf2edf2486 Update comments. 2018-12-19 18:26:15 -05:00
Matthew Chen 2d3314751b Clean up ahead of PR. 2018-12-19 18:26:15 -05:00
Matthew Chen 0005a33d37 Decrypt device names in linked devices views. 2018-12-19 18:26:15 -05:00
Matthew Chen d59e2bb613 Add decryption to DeviceNames. 2018-12-19 18:26:15 -05:00
Matthew Chen 0d20ebc62b Add encryption to DeviceNames. 2018-12-19 18:26:15 -05:00
Matthew Chen 79375e20b2 Update proto schema. 2018-12-19 18:26:15 -05:00
Michael Kirk 7bc5357397 [PERF] optimize search normalization saves 2.5% on large migration 2018-12-19 15:19:02 -07:00
Michael Kirk 0cb702b37f [PERF] save 2% on large migrations 2018-12-19 15:19:02 -07:00
Michael Kirk ca5b3c8ec9 make factory methods public 2018-12-19 15:19:02 -07:00