Commit Graph

  • d84603bce2 Check group counts in AutoDeleteIntegrationTest. akwizgran 2021-02-26 13:41:35 +00:00
  • b128370299 Include legacy messages when recalculating group count. akwizgran 2021-02-26 13:05:16 +00:00
  • 240e619248 Delete private messages when their timers expire (needs UI support). akwizgran 2021-02-25 15:56:29 +00:00
  • c89bde08db Move ConversationManagerImpl to conversation package. akwizgran 2021-02-25 16:00:49 +00:00
  • 3ecd1c62b8 Set default timer duration to 1 minute for testing. akwizgran 2021-02-25 15:58:28 +00:00
  • e3c5497283 Update javadoc to explain that a new timer can be set. akwizgran 2021-02-26 13:48:39 +00:00
  • 4bd8ee8ccf Pass message IDs to cleanup hooks in batches. akwizgran 2021-02-26 12:49:35 +00:00
  • 43b437af92 Group messages by group ID when fetching them from database. akwizgran 2021-02-26 12:45:26 +00:00
  • 56e0d62597 Throw an exception if no cleanup hook was registered. akwizgran 2021-02-26 11:49:54 +00:00
  • d10e5f025d Remove copypasta. akwizgran 2021-02-26 11:27:50 +00:00
  • b1a80691db Add comment to explain that starting timer may be a no-op. akwizgran 2021-02-26 11:27:10 +00:00
  • 049aa61e85 Stop the timer if no hook has been registered. akwizgran 2021-02-26 11:14:40 +00:00
  • 7026361234 Add javadocs for CleanupManager and CleanupHook. akwizgran 2021-02-26 11:13:29 +00:00
  • 5e30dc5bf4 Simplify deadline comparison logic. akwizgran 2021-02-25 17:34:03 +00:00
  • 024bfc8ec8 Stop the cleanup timer if the hook returns false. akwizgran 2021-02-25 17:21:17 +00:00
  • 04e5e8e4d0 Add cleanup manager. akwizgran 2021-02-25 15:40:52 +00:00
  • 7c5d47733f Query message IDs rather than metadata when only IDs are needed. akwizgran 2021-02-25 11:01:33 +00:00
  • b24f2a1818 Add support for showing auto-delete timers in minutes Torsten Grote 2021-02-22 09:57:18 -03:00
  • ee6664ce9d Show actual auto-delete timer duration in UI Torsten Grote 2021-02-11 12:27:09 -03:00
  • ab434946b5 Show outgoing message status icon in same color as time Torsten Grote 2021-02-04 17:12:25 -03:00
  • 35e431eb99 Fix bomb icon color Torsten Grote 2021-02-04 16:43:46 -03:00
  • aa8cddf509 Get rid of SENDING state and publish new live data in order on UiThread Torsten Grote 2021-02-05 10:04:02 -03:00
  • c9ede0bfc1 Return LiveData when sending message Torsten Grote 2021-01-13 12:45:34 -03:00
  • 6ec9a0f2b2 Show warning dialog when auto-delete timer has changed since starting to compose message Torsten Grote 2021-01-04 14:54:42 -03:00
  • 2f86112801 Add "Tap to learn more" to message bubbles for timer changes Torsten Grote 2021-01-14 10:17:53 -03:00
  • c032befe6f Provide clock for UI tests. akwizgran 2021-01-20 14:34:53 +00:00
  • 55eccde031 Add some comments. akwizgran 2021-01-20 14:00:15 +00:00
  • 5716820439 Sync acks for initial messages when setting up integration tests. akwizgran 2021-01-20 12:01:51 +00:00
  • 17d433dd9b Allow time travel in integration tests. akwizgran 2021-01-20 11:57:52 +00:00
  • 000812bf6d Inject DefaultTaskSchedulerModule.EagerSingletons at startup in headless app. akwizgran 2021-01-19 14:32:15 +00:00
  • 5e2187a877 Refactor integration tests to allow clock to be replaced. akwizgran 2021-01-19 12:44:07 +00:00
  • e10b6334f5 Introduce conversation settings screen Sebastian Kürten 2021-01-21 19:21:10 +01:00
  • baa0341727 Create group invitation with read-write transaction Torsten Grote 2021-01-11 09:51:47 -03:00
  • 814b2b2582 Make view state of text send UI easier to reason about Torsten Grote 2020-12-16 12:22:03 -03:00
  • 56705bde74 Show bomb badge in same style as send button Torsten Grote 2020-12-16 11:21:24 -03:00
  • dceb38b777 Show a bomb badge on the send button when disappearing messages is active Torsten Grote 2020-12-15 17:23:08 -03:00
  • 9947a6aa1b Use a different hint in conversation when message will disappear Torsten Grote 2020-12-15 16:20:12 -03:00
  • 7a3be374c8 Broadcast event when auto delete timer is mirrored Torsten Grote 2020-12-15 15:23:29 -03:00
  • 4ea3ce0e3c Remove mirrored timer texts Torsten Grote 2020-12-15 14:29:37 -03:00
  • 923185b3f4 Show timer change notices in private conversations Torsten Grote 2020-12-05 09:52:08 -03:00
  • d91e6c6c1a Allow setting a self-destruct timer Torsten Grote 2020-12-04 13:52:27 -03:00
  • 1c93a79448 Use Collections.sort() to satisfy Animal Sniffer. akwizgran 2020-12-04 12:16:58 +00:00
  • e12ad0cd79 Add integration tests for timer mirroring. akwizgran 2020-12-04 12:10:43 +00:00
  • 8d6bd29b93 Add method for UI and tests to get current timer. akwizgran 2020-12-04 12:10:10 +00:00
  • f941a73999 Update integration tests. akwizgran 2020-12-03 18:00:31 +00:00
  • c3057141d8 Don't receive auto-delete timer from remote accept message as introducee. akwizgran 2020-12-03 16:55:18 +00:00
  • 49080cb64c Hook up incoming messages to the auto-delete manager. akwizgran 2020-12-03 12:44:28 +00:00
  • 27dbe23914 Mirror the remote auto-delete timer. akwizgran 2020-12-02 15:00:45 +00:00
  • d7a2de5817 Add integration tests for auto-delete timer. akwizgran 2020-12-03 17:58:10 +00:00
  • 0328aa0630 Forwarded accept messages aren't visible to the introducee. akwizgran 2020-12-03 17:12:52 +00:00
  • b6cf302131 Only use conversation timestamp for messages that will be visible in conversation. akwizgran 2020-12-03 16:33:55 +00:00
  • e2a894acd3 Get timestamp for abort message in same way as other messages. akwizgran 2020-12-02 11:55:52 +00:00
  • 00ed6d9bb8 Look up auto-delete timer when creating private group invitation. akwizgran 2020-12-02 11:30:54 +00:00
  • c9a9734368 Use the right timestamp when signing private group invitation. akwizgran 2020-12-02 11:08:58 +00:00
  • efc56a8724 Provide TransactionManager. akwizgran 2020-12-01 17:38:49 +00:00
  • 6e6923b108 Look up conversation timestamp when creating group invitation messages. akwizgran 2020-12-01 17:21:09 +00:00
  • f459beccdb Move lookup of latest conversation timestamp to core for blog and forum sharing. akwizgran 2020-12-01 16:21:06 +00:00
  • 751c5a3245 Move lookup of latest conversation timestamp to core. akwizgran 2020-12-01 15:55:37 +00:00
  • 8488499da6 Add transactional variant of getGroupCount(). akwizgran 2020-11-30 09:48:37 +00:00
  • 96a7e3c425 Send current minor version of messaging client to contacts. akwizgran 2020-12-03 14:15:12 +00:00
  • 0dcf510466 Show bomb icon for messages with auto-destruct timer Torsten Grote 2020-12-03 10:21:08 -03:00
  • 0427b12d52 Check that timer argument is legal before storing. akwizgran 2020-11-26 13:45:58 +00:00
  • 9256c66fcc Add unit tests for AutoDeleteManagerImpl. akwizgran 2020-11-26 13:45:41 +00:00
  • 706f4e1c4c Implement AutoDeleteManager. akwizgran 2020-11-26 13:15:01 +00:00
  • 96debcd616 Add dummy implementation of AutoDeleteManager. akwizgran 2020-11-26 12:16:34 +00:00
  • 07f20e1e0d Refactor auto-delete code from Bramble to Briar. akwizgran 2020-11-26 11:20:31 +00:00
  • fee2e503bd Rewrap lines. akwizgran 2020-11-24 10:51:19 +00:00
  • f9f260bbc1 Factor out methods for storing and retrieving contact ID. akwizgran 2020-11-23 17:15:57 +00:00
  • 61718192ee Factor out method for validating auto-delete timers. akwizgran 2020-11-23 16:42:45 +00:00
  • 27893f9cdd Update comments. akwizgran 2020-11-23 16:29:06 +00:00
  • 9b0b80ef04 Add unit tests for validating auto-delete timer. akwizgran 2020-11-23 16:12:48 +00:00
  • 3e1c2df4b1 Update private group invitation client to include self-destruct timers. akwizgran 2020-11-23 15:42:39 +00:00
  • fa745410cc Update blog and forum sharing clients to include self-destruct timers. akwizgran 2020-11-20 17:08:55 +00:00
  • a427624e8d Update message parsing and encoding to include auto-delete timer. akwizgran 2020-11-19 17:26:52 +00:00
  • 3798ca1e17 Update introduction validator to support auto-delete timers. akwizgran 2020-11-19 15:35:13 +00:00
  • 113120b3ab Add constant for NO_AUTO_DELETE_TIMER, address review comments. akwizgran 2020-11-19 15:58:33 +00:00
  • b10ca5b77f Add unit tests for private message validation. akwizgran 2020-11-19 13:40:51 +00:00
  • f10e3d756a Fix comments in PrivateMessageValidator. akwizgran 2020-11-19 13:29:57 +00:00
  • 9608b974ec Add integration test for auto-delete timer in private messages. akwizgran 2020-11-19 13:12:02 +00:00
  • 3b6cc9c633 Add auto-deletion timer to private messages. akwizgran 2020-11-19 12:57:07 +00:00
  • 4da20a2412 add timeout to client ameba23 2021-04-13 12:29:33 +02:00
  • 1bf9f57ad9 secret owner listens, and custodian connects ameba23 2021-04-13 12:20:17 +02:00
  • cd1ac43b7d get the actual ip address on local wifi and add it to qr code ameba23 2021-04-13 11:56:52 +02:00
  • df37a39cb4 Qr code payload contains socket address and public key ameba23 2021-04-13 11:13:28 +02:00
  • f7e40657ee Temporary - allow us to jump to the custodian return shard activity directly from the settings menu, even if we dont hold any shards ameba23 2021-04-13 09:20:37 +02:00
  • d6608fd8cb add a CustodianReturnShardModule which provides the view model ameba23 2021-04-13 09:19:42 +02:00
  • dba4cc278c dummy ip address for local socket ameba23 2021-04-13 08:53:27 +02:00
  • 01bcc6d491 ensure that qr code is ready when start button is pressed ameba23 2021-04-13 08:52:42 +02:00
  • e106166cfe provide SecretOwnerTask ameba23 2021-04-12 16:18:23 +02:00
  • 5fd0d0d2d3 OwnerReturnShard activity and view model now running ameba23 2021-04-12 16:17:22 +02:00
  • e006e22616 rename ReturnShardModule, it is now only used by secret owner ameba23 2021-04-12 16:15:52 +02:00
  • c0827eda77 use the new OwnerReturnShardActivity ameba23 2021-04-12 15:57:15 +02:00
  • 5305dd62d1 Merge branch '1872-key-agreement' into 'master' akwizgran 2021-04-12 13:19:51 +00:00
  • a066190c60 Merge branch '57-detect-db-durability-failures' into 'master' akwizgran 2021-04-12 13:17:28 +00:00
  • cdae8b35f5 Another small refactoring to make control flow easier to understand. akwizgran 2021-04-09 11:09:54 +01:00
  • 6ee57315dd Prevent NPE when onQrCodeDecoded() is called after we stop to listen Torsten Grote 2021-04-12 08:18:54 -03:00
  • b55ae1ce18 Changes to implementation for SecertOwnerTask ameba23 2021-04-12 15:03:50 +02:00
  • d925f3be0b Secret owner return shard - activity, view model and fragment - qr code generation ameba23 2021-04-12 15:03:15 +02:00
  • 71c327112c Implement SecretOwnerTask ameba23 2021-04-12 15:02:26 +02:00
  • 64f682146d Integrate merge request feedback Sebastian Kürten 2021-04-12 12:23:15 +02:00