briar issueshttps://code.briarproject.org/groups/briar/-/issues2023-02-02T14:59:58Zhttps://code.briarproject.org/briar/briar-desktop/-/issues/13Forums2023-02-02T14:59:58ZMikolai GütschowForumsDesktop 0.4.0Torsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar-desktop/-/issues/11Private chats2022-01-18T09:16:38ZMikolai GütschowPrivate chatsDesktop 0.1.0SebastianSebastianhttps://code.briarproject.org/briar/briar-mailbox/-/issues/34Tor port2022-02-07T09:46:35ZSebastianTor portUse different tor port than briar itself to avoid problems should users install both briar and the mailbox app on a single deviceUse different tor port than briar itself to avoid problems should users install both briar and the mailbox app on a single deviceMailbox: TorTorsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar/-/issues/2164Design UI for unpairing the mailbox2022-07-07T11:32:57ZTorsten GroteDesign UI for unpairing the mailboxThe user should be able to remove a mailbox from their briar app. We need a design for that flow. It probably needs a generic entry point and one for when we notice that the connection isn't working anymore.
The ui could be as simple as...The user should be able to remove a mailbox from their briar app. We need a design for that flow. It probably needs a generic entry point and one for when we notice that the connection isn't working anymore.
The ui could be as simple as "Do you want to remove your mailbox? [Yes/No]"Mailbox: UnpairingElio Qoshielio@ura.designElio Qoshielio@ura.designhttps://code.briarproject.org/briar/briar/-/issues/2163Design status UI for mailbox connection2022-04-01T15:56:30ZTorsten GroteDesign status UI for mailbox connectionwould be nice to have a place in the briar app to show the current status of the mailbox connection (like we do for tor).
in case there's a permanent issue with the mailbox, we need to surface this in the UI and alert the user, so if t...would be nice to have a place in the briar app to show the current status of the mailbox connection (like we do for tor).
in case there's a permanent issue with the mailbox, we need to surface this in the UI and alert the user, so if the mailbox is lost, the user can fix it or let us tell all contacts to stop using it.
it *might* be interesting to know which contact supports/has a mailboxMailbox: Status UI for Briar appElio Qoshielio@ura.designElio Qoshielio@ura.designhttps://code.briarproject.org/briar/briar-mailbox/-/issues/33Design mailbox status screen2022-03-28T12:42:45ZTorsten GroteDesign mailbox status screenDesign a status screen showing whether the mailbox is running, whether it has internet access, whether it's connected to Tor (and optionally how much data is waiting to be downloaded by contacts and the owner).Design a status screen showing whether the mailbox is running, whether it has internet access, whether it's connected to Tor (and optionally how much data is waiting to be downloaded by contacts and the owner).Mailbox: Status UI for Mailbox appElio Qoshielio@ura.designElio Qoshielio@ura.designhttps://code.briarproject.org/briar/briar-mailbox/-/issues/32Implement UI for pairing mailbox with Briar2022-05-18T10:37:36ZTorsten GroteImplement UI for pairing mailbox with BriarImplement design done in #31.
Depends on #31, #48, #49.
Subtasks:
* [x] Implement four screens below with raw non-polished design, just minimum info and widgets to implement flow based on backend events including handover to current pl...Implement design done in #31.
Depends on #31, #48, #49.
Subtasks:
* [x] Implement four screens below with raw non-polished design, just minimum info and widgets to implement flow based on backend events including handover to current placeholder status screen
* [x] Test flow with briar app
* [x] Implement [setup progress screen](https://www.figma.com/file/bFoueGka5aTwlfL4Ap920v/Mailbox?node-id=1%3A9265) (#98)
* [x] Add and implement [error screen for when device is offline](https://www.figma.com/file/bFoueGka5aTwlfL4Ap920v/Mailbox?node-id=308%3A779) (#95)
* [x] Implement [QR-display screen](https://www.figma.com/file/bFoueGka5aTwlfL4Ap920v/Mailbox?node-id=1%3A9345)
* [x] Implement [Successful linking screen](https://www.figma.com/file/bFoueGka5aTwlfL4Ap920v/Mailbox?node-id=1%3A9648) (#99)
## Testing instructions:
@earthlingIB
In order to test repeatedly with the do-not-kill-me-fragment, it is required to enable battery optimizations for the mailbox app. The do-not-kill-fragment will disable the optimizations for us, and then to re-test the flow, it needs to be enabled again. This can be done by navigating to "System settings" → "Apps & Notifications" → "Advanced" → "Special app access" → "Battery optimization" → Wait for list of apps to load for ~5 seconds → Select Mailbox app → "Optimize".
That takes way too long to make it frequently, so here's an `adb` shortcut:
`adb shell dumpsys deviceidle whitelist -org.briarproject.mailbox`Mailbox: PairingSebastianSebastianhttps://code.briarproject.org/briar/briar-mailbox/-/issues/31Design UI for mailbox setup: pairing mailbox app with briar2022-03-28T12:42:26ZTorsten GroteDesign UI for mailbox setup: pairing mailbox app with briarThe Mailbox app can provide mailbox functionality to *one* Briar app to receive messages when it doesn't have an internet connection. There needs to be some sort of setup flow for the new app.
Possible flow:
1. onboarding
* This is...The Mailbox app can provide mailbox functionality to *one* Briar app to receive messages when it doesn't have an internet connection. There needs to be some sort of setup flow for the new app.
Possible flow:
1. onboarding
* This is a mailbox for briar
* Navigate to X in briar to use it
* press 'start' when ready
1. progress screen while we set up tor and connect to it
1. show single-use setup token to be entered into briar app
1. provide option to generate a new setup token (note that this can be needed even after setup appears to have completed)
1. show some sort of success/status screen when setup was complete (aka briar could connect and pair mailbox)Mailbox: PairingElio Qoshielio@ura.designElio Qoshielio@ura.designhttps://code.briarproject.org/briar/briar/-/issues/2162Implement UI for pairing Briar with mailbox2022-02-25T14:58:21ZTorsten GroteImplement UI for pairing Briar with mailboxImplement the UI designed in #2161. Depends on #2167.Implement the UI designed in #2161. Depends on #2167.Mailbox: PairingTorsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar/-/issues/2161Design UI for mailbox setup: pairing briar with mailbox app2022-07-07T11:34:17ZTorsten GroteDesign UI for mailbox setup: pairing briar with mailbox appThe Briar app can use *one* mailbox to receive messages when it doesn't have an internet connection. There needs to be some sort of setup flow integrated into the existing app.
Possibly flow:
1. Feature Onboarding
* what is a mailb...The Briar app can use *one* mailbox to receive messages when it doesn't have an internet connection. There needs to be some sort of setup flow integrated into the existing app.
Possibly flow:
1. Feature Onboarding
* what is a mailbox
* how can it help me
* how do I set one up? where to find the mailbox app? link to app
1. Enter single-use setup token shown by mailbox
* could be a QR code
* or some `briar-mailbox://` type of link
1. ~~(optional)~~ Warn when single-use token was used already and prompt user to generate a new one in mailbox
1. Setup may take up to a minute, show waiting/progress indicatorMailbox: PairingElio Qoshielio@ura.designElio Qoshielio@ura.designhttps://code.briarproject.org/briar/tor-reproducer/-/issues/4Build Tor for macOS/ARM (M1?)2023-07-13T10:59:34ZNicoBuild Tor for macOS/ARM (M1?)Similar to https://code.briarproject.org/briar/tor-reproducer/-/issues/3, https://code.briarproject.org/briar/tor-reproducer/-/issues/2 and https://code.briarproject.org/briar/tor-reproducer/-/merge_requests/13.Similar to https://code.briarproject.org/briar/tor-reproducer/-/issues/3, https://code.briarproject.org/briar/tor-reproducer/-/issues/2 and https://code.briarproject.org/briar/tor-reproducer/-/merge_requests/13.SebastianSebastianhttps://code.briarproject.org/briar/tor-reproducer/-/issues/3Build Tor for macOS/x862023-07-13T10:59:06ZNicoBuild Tor for macOS/x86Similar to https://code.briarproject.org/briar/tor-reproducer/-/merge_requests/13 and https://code.briarproject.org/briar/tor-reproducer/-/issues/2.Similar to https://code.briarproject.org/briar/tor-reproducer/-/merge_requests/13 and https://code.briarproject.org/briar/tor-reproducer/-/issues/2.SebastianSebastianhttps://code.briarproject.org/briar/tor-reproducer/-/issues/2Build Tor for Windows/x862022-02-15T15:25:42ZNicoBuild Tor for Windows/x86Similar to https://code.briarproject.org/briar/tor-reproducer/-/merge_requests/13.Similar to https://code.briarproject.org/briar/tor-reproducer/-/merge_requests/13.NicoNicohttps://code.briarproject.org/briar/briar/-/issues/2160NPE when creating SettingsActivity2021-09-02T12:25:32ZakwizgranNPE when creating SettingsActivity* Android version: 11
* Phone model: Google Pixel 2 (walleye)
* Briar version: 1.3.6 debug (48292d2)
Stacktrace:
```
Unable to start activity ComponentInfo{org.briarproject.briar.android.debug/org.briarproject.briar.android.settings.Set...* Android version: 11
* Phone model: Google Pixel 2 (walleye)
* Briar version: 1.3.6 debug (48292d2)
Stacktrace:
```
Unable to start activity ComponentInfo{org.briarproject.briar.android.debug/org.briarproject.briar.android.settings.SettingsActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void androidx.appcompat.widget.DecorContentParent.setWindowCallback(android.view.Window$Callback)' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.briarproject.briar.android.debug/org.briarproject.briar.android.settings.SettingsActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void androidx.appcompat.widget.DecorContentParent.setWindowCallback(android.view.Window$Callback)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void androidx.appcompat.widget.DecorContentParent.setWindowCallback(android.view.Window$Callback)' on a null object reference
at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:900)
at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:806)
at androidx.appcompat.app.AppCompatDelegateImpl.initWindowDecorActionBar(AppCompatDelegateImpl.java:547)
at androidx.appcompat.app.AppCompatDelegateImpl.getSupportActionBar(AppCompatDelegateImpl.java:534)
at androidx.appcompat.app.AppCompatActivity.getSupportActionBar(AppCompatActivity.java:139)
at org.briarproject.briar.android.settings.SettingsActivity.onCreate(SettingsActivity.java:37)
at android.app.Activity.performCreate(Activity.java:8000)
at android.app.Activity.performCreate(Activity.java:7984)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
... 11 more
```
Edited log:
```
08-16 11:07:39.533 I/BaseActivity: Destroying SettingsActivity
08-16 11:07:39.549 I/BaseActivity: Destroying NavDrawerActivity
08-16 11:08:10.265 I/BaseActivity: Creating SettingsActivity
08-16 11:08:10.271 I/SettingsViewModel: Loading settings took 12 ms
```https://code.briarproject.org/briar/briar/-/issues/2159Power management setup instructions for Tecno phones2022-04-13T10:20:48ZakwizgranPower management setup instructions for Tecno phonesSome Tecno phones have a [padlock button in the recent apps list](https://code.briarproject.org/briar/briar/-/issues/1743#note_49393) that prevents apps from being [killed when the recent apps list is cleared](https://code.briarproject.o...Some Tecno phones have a [padlock button in the recent apps list](https://code.briarproject.org/briar/briar/-/issues/1743#note_49393) that prevents apps from being [killed when the recent apps list is cleared](https://code.briarproject.org/briar/briar/-/issues/992#note_44605). We should find out which phones have this feature and add setup instructions asking the user to lock Briar to the recent apps list.https://code.briarproject.org/briar/briar-mailbox/-/issues/30Basic database setup & migrations2022-02-07T09:46:36ZSebastianBasic database setup & migrations* Set up H2 database
* Create basic schema
* DAO code
* Skeleton for schema migrations* Set up H2 database
* Create basic schema
* DAO code
* Skeleton for schema migrationsMailbox: DatabaseSebastianSebastianhttps://code.briarproject.org/briar/briar/-/issues/2158Apps can't be locked to recent apps list in MIUI 12.52022-06-13T13:40:38ZakwizgranApps can't be locked to recent apps list in MIUI 12.5The Redmi Note 7 received an update from MIUI 12.0.1 to 12.5.1, and now the instructions for locking an app to the recent apps list no longer work. In MIUI 12.0, long-pressing an app in the recent apps list showed a set of actions, inclu...The Redmi Note 7 received an update from MIUI 12.0.1 to 12.5.1, and now the instructions for locking an app to the recent apps list no longer work. In MIUI 12.0, long-pressing an app in the recent apps list showed a set of actions, including a lock/unlock action. In MIUI 12.5, long-pressing shows the app info screen instead.
This means we don't have a way of protecting Briar against Xiaomi/Redmi's power management on MIUI 12.5, and the instructions we're showing during account creation can't be followed.Android 1.4akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/2157Power management instructions for Xiaomi/Redmi are wrong2022-06-13T13:40:52ZakwizgranPower management instructions for Xiaomi/Redmi are wrongThe power management setup instructions for Xiaomi/Redmi devices say "If the padlock is not locked, tap to lock it".
But the button shows the effect of the action (tap to lock) rather than the current state (locked). So if the padlock i...The power management setup instructions for Xiaomi/Redmi devices say "If the padlock is not locked, tap to lock it".
But the button shows the effect of the action (tap to lock) rather than the current state (locked). So if the padlock is **already** locked, the user should tap it.
New instructions:
1. Open the recent apps list (also called the app switcher)
2. If Briar has a small padlock next to its name then you don't need to do anything
3. If there's no padlock, press and hold the image of Briar until the padlock button appears, then tap it
We also need to check whether the instructions for MIUI < 10 need to be updated.Android 1.4akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/2156Upgrade OkHttp to 3.14.x2023-06-19T14:02:33ZakwizgranUpgrade OkHttp to 3.14.xhttps://square.github.io/okhttp/changelog_3x/#version-3130
OkHttp 3.12.x will receive critical bug fixes until the end of 2021. Newer versions drop support for Android 4, so when we upgrade we'll either need to drop support for Android ...https://square.github.io/okhttp/changelog_3x/#version-3130
OkHttp 3.12.x will receive critical bug fixes until the end of 2021. Newer versions drop support for Android 4, so when we upgrade we'll either need to drop support for Android 4 or restrict features that use HTTP (RSS feeds, mailbox) to Android 5+.
According to Google Play, 0.5% of devices running Briar use Android 4.
Depends on #2221.MailboxTorsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar/-/issues/2155Test whether showing a toast from the app context causes an error/warning on ...2021-08-20T12:38:38ZakwizgranTest whether showing a toast from the app context causes an error/warning on Android 12