| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2021-04-21 | Ensure `ListenerReady` handler is registered first | Janito Vaqueiro Ferreira Filho | 2 | -11/+13 | |
| Previously there could be a race condition because the `ServiceConnection` constructor would register itself as an event listener on the service without registering a handler for the `ListenerReady` event sent after the registration is complete. The `MainActivity` would then register the handler, and things would work because the service would send multiple events before sending the `ListenerReady`, giving time for the handler to be registered before the event is received. This commit changes that in order to avoid the race condition. Now the `ServiceConnection` constructor must receive a callback as a parameter, and this callback will be used when registering for the `ListenerReady` event. This allows the constructor to enforce that the handler for the event is configured before the request for registration is sent. | |||||
| 2021-04-21 | Don't use daemon in `PreferencesFragment` | Janito Vaqueiro Ferreira Filho | 1 | -4/+4 | |
| 2021-04-21 | Allow setting Auto-Connect through connection | Janito Vaqueiro Ferreira Filho | 3 | -0/+13 | |
| 2021-04-21 | Allow setting Allow LAN through service connection | Janito Vaqueiro Ferreira Filho | 3 | -0/+13 | |
| 2021-04-21 | Change `SelectLocationFragment` to not use daemon | Janito Vaqueiro Ferreira Filho | 1 | -12/+1 | |
| 2021-04-21 | Allow sending updated relay location from UI | Janito Vaqueiro Ferreira Filho | 2 | -1/+16 | |
| 2021-04-21 | Set relay location using `RelayListListener` | Janito Vaqueiro Ferreira Filho | 1 | -1/+50 | |
| 2021-04-21 | Add `SetRelayLocation` request variant | Janito Vaqueiro Ferreira Filho | 1 | -0/+4 | |
| 2021-04-21 | Send requests to set WireGuard MTU | Janito Vaqueiro Ferreira Filho | 2 | -5/+5 | |
| 2021-04-21 | Allow to set WireGuard MTU with `SettingsListener` | Janito Vaqueiro Ferreira Filho | 1 | -0/+31 | |
| 2021-04-21 | Create request variant for setting WireGuard MTU | Janito Vaqueiro Ferreira Filho | 1 | -0/+3 | |
| 2021-04-21 | Allow setting account with a request from UI side | Janito Vaqueiro Ferreira Filho | 4 | -2/+19 | |
| 2021-04-20 | Send `null` `LoginStatus` event if login fails | Janito Vaqueiro Ferreira Filho | 1 | -7/+16 | |
| 2021-04-20 | Don't ignore login request for current account | Janito Vaqueiro Ferreira Filho | 1 | -4/+0 | |
| This was an optimization, but it meant that no event would be sent back to the UI, which could lead to unexpected bugs. | |||||
| 2021-04-20 | Cancel jobs when destroying `NotificationBanner` | Janito Vaqueiro Ferreira Filho | 1 | -0/+1 | |
| 2021-04-20 | Use `AuthTokenCache` in `UrlButton` | Janito Vaqueiro Ferreira Filho | 5 | -10/+10 | |
| 2021-04-20 | Use `AuthTokenCache` in in-app notifications | Janito Vaqueiro Ferreira Filho | 4 | -11/+11 | |
| 2021-04-20 | Make `AuthTokenCache` available to fragments | Janito Vaqueiro Ferreira Filho | 2 | -0/+7 | |
| 2021-04-20 | Create UI side `AuthTokenCache` helper class | Janito Vaqueiro Ferreira Filho | 1 | -0/+42 | |
| 2021-04-20 | Use service side `AuthTokenCache` | Janito Vaqueiro Ferreira Filho | 2 | -21/+27 | |
| 2021-04-20 | Create service side `AuthTokenCache` helper class | Janito Vaqueiro Ferreira Filho | 1 | -0/+46 | |
| 2021-04-20 | Implement auth. token IPC messages | Janito Vaqueiro Ferreira Filho | 2 | -0/+6 | |
| 2021-04-19 | Refactor SplitTunneling Fragment, add tests. | Aleksandr Granin | 14 | -392/+293 | |
| 2021-04-16 | Handle new relay list events in the UI side | Janito Vaqueiro Ferreira Filho | 2 | -31/+13 | |
| 2021-04-16 | Remove callback in `RelayListListener.onDestroy` | Janito Vaqueiro Ferreira Filho | 1 | -0/+1 | |
| 2021-04-16 | Change UI side `RelayListListener` package | Janito Vaqueiro Ferreira Filho | 3 | -4/+2 | |
| 2021-04-16 | Send relay list update messages | Janito Vaqueiro Ferreira Filho | 3 | -1/+12 | |
| 2021-04-16 | Make `RelayList` parcelable | Janito Vaqueiro Ferreira Filho | 6 | -6/+35 | |
| 2021-04-16 | Create new service side `RelayListListener` | Janito Vaqueiro Ferreira Filho | 1 | -0/+38 | |
| 2021-04-16 | Remove old shared preferences clean-up code | Janito Vaqueiro Ferreira Filho | 2 | -12/+2 | |
| On versions 2019.8-beta1 and older, the app stored the application version information as shared preferences. On 2019.9-beta1 that changed so that the information was handled by the Rust daemon, and some code was added to clear those shared preferences so that users that update from the old versions don't have any left over data. This commit removes that migration code, because it's been more than a year since that change has happened and none of those versions are supported anymore. A user that updates from one of the old versions before 2019.9-beta1 to a version from this commit onwards will have some extra data stored in shared preferences (which should be less than 1 KiB) that won't be ever used. The only way to remove that data is to manually clear the app storage, reinstall the app, or to upgrade to a version from 2020 before updating to future versions. | |||||
| 2021-04-16 | Refactor to improve readability | Janito Vaqueiro Ferreira Filho | 1 | -13/+25 | |
| 2021-04-16 | Move version cache migration from UI to service | Janito Vaqueiro Ferreira Filho | 5 | -21/+15 | |
| 2021-04-16 | Refactor to use observable property | Janito Vaqueiro Ferreira Filho | 1 | -18/+12 | |
| 2021-04-16 | Handle version events in UI `AppVersionInfoCache` | Janito Vaqueiro Ferreira Filho | 2 | -28/+14 | |
| 2021-04-16 | Remove callback in `AppVersionInfoCache.onDestroy` | Janito Vaqueiro Ferreira Filho | 1 | -0/+1 | |
| 2021-04-16 | Change UI side `AppVersionInfoCache` package | Janito Vaqueiro Ferreira Filho | 5 | -6/+4 | |
| 2021-04-16 | Use service side `AppVersionInfoCache` | Janito Vaqueiro Ferreira Filho | 1 | -10/+4 | |
| 2021-04-16 | Create new service side `AppVersionInfoCache` | Janito Vaqueiro Ferreira Filho | 1 | -0/+44 | |
| 2021-04-16 | Add `AppVersionInfo` event variant | Janito Vaqueiro Ferreira Filho | 1 | -0/+4 | |
| 2021-04-16 | Make `AppVersionInfo` parcelable | Janito Vaqueiro Ferreira Filho | 1 | -1/+5 | |
| 2021-04-16 | Send current version through the message channel | Janito Vaqueiro Ferreira Filho | 2 | -0/+13 | |
| 2021-04-15 | Fix koin dependencies. | Aleksandr Granin | 4 | -26/+23 | |
| 2021-04-15 | Fix `AccountCache` only handled first request | Janito Vaqueiro Ferreira Filho | 1 | -6/+6 | |
| The app would previously crash when the UI side `AccountCache` class sent a second request message to the service side `AccountCache` class. The simplest way to reproduce this was to log out and log in again. This was happening because the service side `AccountCache` actor implementation was only handling one request and then stopping. This is now fixed by having the actor run a loop to handle all incoming requests. | |||||
| 2021-04-15 | Restore hard-coded dialog message | Janito Vaqueiro Ferreira Filho | 3 | -11/+5 | |
| 2021-04-15 | Remove obsoleted message | Janito Vaqueiro Ferreira Filho | 21 | -22/+1 | |
| 2021-04-15 | Don't show dialog for local DNS server addresses | Janito Vaqueiro Ferreira Filho | 1 | -6/+4 | |
| 2021-04-14 | Use `LoginStatus` in `AccountExpiryNotification` | Janito Vaqueiro Ferreira Filho | 1 | -9/+11 | |
| 2021-04-14 | Use an intermittent daemon in expiry notification | Janito Vaqueiro Ferreira Filho | 2 | -15/+13 | |
| 2021-04-14 | Fix return value of `CustomDns.addServer` method | Janito Vaqueiro Ferreira Filho | 1 | -2/+2 | |
| The UI side method returns a boolean flag indicating if the DNS server was successfully added, which is basically a check if the DNS server address wasn't already added to the list. Unfortunately, there was a bug in the method that returned the negated value. This led to a weird bug where adding a new DNS server caused it to fail first, but succeed on the second attempt. | |||||
| 2021-04-14 | Added the source icon and updated readme | Aleksandr Granin | 1 | -1/+1 | |
