Commit Graph
53 Commits
Author SHA1 Message Date
Sebastian Kürten 419247074f Make more use of DbViewModel#handleException() 2021-04-15 17:53:53 +02:00
Sebastian Kürten 10d9d78ca8 Broadcast ContactAliasChangedEvent to update contact list 2021-04-14 07:43:50 +02:00
Sebastian KürtenandTorsten Grote 9e4d8ecddf Make introducees send auto-declines even if reponse already received 2021-04-13 08:49:04 -03:00
Sebastian KürtenandTorsten Grote 1dffbfd8dc Add two tests for auto-declines happening after response already received 2021-04-13 08:49:04 -03:00
Sebastian KürtenandTorsten Grote 950db5a87a Assert that IntroductionManager return true for canIntroduce() 2021-04-13 08:49:04 -03:00
Sebastian KürtenandTorsten Grote 21348d5557 IntroductionManager: don't throw IllegalArgumentException when deleting invisible msgs 2021-04-13 08:49:03 -03:00
Sebastian KürtenandTorsten Grote eb1a089437 Revert changes to AbstractProtocolEngine
This reverts parts of commit 5d143f8b33adc07d990627036b806a2becea7074.
2021-04-13 08:49:03 -03:00
Sebastian KürtenandTorsten Grote 17fc81ab7a Re-add integration test that goes through two full introduction cycles 2021-04-13 08:49:03 -03:00
Sebastian KürtenandTorsten Grote 263bce38cd Create new test that reproduces #1975 2021-04-13 08:49:02 -03:00
Sebastian KürtenandTorsten Grote a923c1151c Move setReadFlag() from ConversationClient to ConversationManager 2021-04-13 08:49:02 -03:00
Sebastian KürtenandTorsten Grote 0bf10a827f Implement auto-declining for self-destructed introductions 2021-04-13 08:49:01 -03:00
Sebastian KürtenandTorsten Grote e10b6334f5 Introduce conversation settings screen 2021-04-13 08:46:06 -03:00
Sebastian Kürten 64f682146d Integrate merge request feedback 2021-04-12 13:04:42 +02:00
Sebastian Kürten ce47bfe018 Write tests for the dirty flag 2021-04-08 12:24:23 +02:00
Sebastian Kürten e99df2b69e Log dirty flag when opening database 2021-04-06 20:19:28 +02:00
Sebastian Kürten db84d07c38 Store a dirty flag in the database 2021-04-06 19:45:26 +02:00
Sebastian Kürten 400d259a60 Remove redundant type args in briar-headless/build.gradle
The TreeMap<> doesn't need to repeat <String, JarEntry> from
Map<String, JarEntry>.
2021-03-23 07:44:02 +01:00
Sebastian Kürten 46b4204805 Introduce view model for IntroductionActivity 2021-03-16 19:34:09 +01:00
Sebastian Kürten e5bd43469e Add Javados to Localizer#setLocale() 2021-02-15 14:54:20 +01:00
Sebastian Kürten 73d2c964d4 Make language switching for robust 2021-02-15 12:31:51 +01:00
Sebastian Kürten bb964101b3 Add a custom dictionary
This reduces the amount of words highlighted by the spell checker and
helps focussing on words that are really misspelled.
2021-02-08 14:35:14 +01:00
Sebastian Kürten e4a66615a7 Fix remark in dialog for confirming profile picture 2021-02-04 18:43:32 +01:00
Sebastian KürtenandTorsten Grote cae53a9fcc Reorganize MediaModule and AttachmentModule 2021-01-21 10:13:29 -03:00
Sebastian KürtenandTorsten Grote 6660625ba6 Update avatar in contact list when changed while list is open 2021-01-21 10:13:29 -03:00
Sebastian KürtenandTorsten Grote bf9ba13b68 Update app bar in ConversationActivity with received avatar 2021-01-21 09:33:56 -03:00
Sebastian KürtenandTorsten Grote a52c97ecf7 Format touched xml layouts 2021-01-21 09:33:56 -03:00
Sebastian KürtenandTorsten Grote a2174e7677 SettingsViewModel: use LiveEvent instead of LiveData 2021-01-21 09:33:55 -03:00
Sebastian KürtenandTorsten Grote d3cf3d680e Display error message toast when updating profile picture fails 2021-01-21 09:33:55 -03:00
Sebastian KürtenandTorsten Grote cbb87aa00c Move compression of image to IoExecutor 2021-01-21 09:33:55 -03:00
Sebastian KürtenandTorsten Grote 53d985161f Remove layout_gravity without any effect 2021-01-21 09:33:54 -03:00
Sebastian KürtenandTorsten Grote 86002b0402 Move some findViewById() out of a lambda 2021-01-21 09:33:54 -03:00
Sebastian KürtenandTorsten Grote f75e789493 Improve dialog for avatar confirmation 2021-01-21 09:33:54 -03:00
Sebastian KürtenandTorsten Grote b22f302fdd Statically import Level.WARNING 2021-01-21 09:33:53 -03:00
Sebastian KürtenandTorsten Grote c4a42760c8 Use BriarDialogTheme for avatar confirmation 2021-01-21 09:33:53 -03:00
Sebastian KürtenandTorsten Grote 8d92f36522 Remove some useless tools:text 2021-01-21 09:33:53 -03:00
Sebastian KürtenandTorsten Grote 6c86873ea7 Reduce margin verbosity in SettingsActivity 2021-01-21 09:33:52 -03:00
Sebastian KürtenandTorsten Grote 4fa9d654b5 Eliminate NestedScrollView from SettingsActivity 2021-01-21 09:33:52 -03:00
Sebastian KürtenandTorsten Grote 3d303ccad5 Natural order of views in SettingsActivity 2021-01-21 09:33:52 -03:00
Sebastian KürtenandTorsten Grote b0d99a9f33 Avoid staircase indent 2021-01-21 09:33:51 -03:00
Sebastian KürtenandTorsten Grote 1a5e789bec Call loadOwnIdentityInfo() in SettingsViewModel's constructor 2021-01-21 09:33:51 -03:00
Sebastian KürtenandTorsten Grote 97040c6299 Remove a useless method call 2021-01-21 09:33:51 -03:00
Sebastian KürtenandTorsten Grote 301085c685 Move findViewById() out of callback 2021-01-21 09:33:50 -03:00
Sebastian KürtenandTorsten Grote 946c79d918 Be consequent with AlertDialog.Builder method usage 2021-01-21 09:33:50 -03:00
Sebastian KürtenandTorsten Grote 20418cfc7f Rename inflater variable 2021-01-21 09:33:50 -03:00
Sebastian KürtenandTorsten Grote 7b09f0f98d Rename a string 2021-01-21 09:33:49 -03:00
Sebastian KürtenandTorsten Grote 97a7c8824b Replace usage of UnsupportedMimeTypeException from jsoup with own type 2021-01-21 09:33:49 -03:00
Sebastian KürtenandTorsten Grote 423684a14f Reduce visibility of SettingsViewModel 2021-01-21 09:33:48 -03:00
Sebastian KürtenandTorsten Grote 09d91b522f Fix a warning in SettingsActvitiy 2021-01-21 09:33:48 -03:00
Sebastian KürtenandTorsten Grote 64c0e9e9e4 Fix a few warnings in ConfirmAvatarDialogFragment 2021-01-21 09:33:48 -03:00
Sebastian KürtenandTorsten Grote 15021bffef Inline getAttachmentFileIntent() 2021-01-21 09:33:48 -03:00
Sebastian KürtenandTorsten Grote 43c6ae4258 Implement UI for setting profile pictures 2021-01-21 09:33:47 -03:00
Sebastian KürtenandTorsten Grote f819930570 Create ImageCompressor amd ImageCompressorImpl
* Methods from AttachmentCreationTask have been moved into them:
  * compressImage()
  * createBitmap()
* ImageCompressor is availabe via AttachmentModule
2021-01-21 09:33:47 -03:00
Sebastian Kürten dd6d72ed30 Introduce ViewModel for ContactListFragment 2021-01-18 14:01:48 +01:00