Briar Mailbox merge requestshttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests2021-08-02T15:21:15Zhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/1Basic project setup2021-08-02T15:21:15ZSebastianBasic project setupI created the basic app and:
* added a launcher icon, nothing to take too seriously, I just thought it's nice to have an icon prototype right from the start and easily identifiable among the set of apps installed on the device,
* added a...I created the basic app and:
* added a launcher icon, nothing to take too seriously, I just thought it's nice to have an icon prototype right from the start and easily identifiable among the set of apps installed on the device,
* added a foreground service which gets launched at application startup and displays a dummy notification,
* configured dagger and added a component and some view model to see that it's workingMailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/2Add Hilt and inject new MailboxNotificationManager2021-08-04T12:09:32ZTorsten GroteAdd Hilt and inject new MailboxNotificationManagerThis also adds support for saving ViewModel state.
Closes #13This also adds support for saving ViewModel state.
Closes #13Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/3Add CI config with code-style checking2021-08-04T12:16:02ZTorsten GroteAdd CI config with code-style checkingMailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/4Add Ktor embedded webserver2021-08-04T15:20:25ZTorsten GroteAdd Ktor embedded webserverPart of #11Part of #11Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/5Rename mailbox module; add core and cli modules2021-08-05T12:00:19ZSebastianRename mailbox module; add core and cli modulesCloses #21Closes #21Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/7Move Ktor to core2021-08-09T10:20:40ZTorsten GroteMove Ktor to coreMailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/8Latest CI is now running buster with Java 112021-08-11T11:44:57ZTorsten GroteLatest CI is now running buster with Java 11https://code.briarproject.org/briar/briar-mailbox/-/merge_requests/6Add LifecycleManager2021-08-12T11:33:25ZSebastianAdd LifecycleManagerCopy `LifecycleManager` from briar
* Copy everything that the `LifecycleManager` interface depends on
* From `LifecycleManager#startServices()` the parameter `SecretKey` has been
removed
* `DatabaseComponent` got most of its methods re...Copy `LifecycleManager` from briar
* Copy everything that the `LifecycleManager` interface depends on
* From `LifecycleManager#startServices()` the parameter `SecretKey` has been
removed
* `DatabaseComponent` got most of its methods removed in order not to have
to copy too much
* Class `Service` is migrated to Kotlin, all other files are still Java
Copy `LifecycleManagerImpl` from briar
* Removed code that removes temporary messages after opening the
database because the `DatabaseComponent` does not know anything about
messages at the moment
Copy all required dependencies for `MailboxService` and `LifecycleManagerImpl`
and add modules for dependency injection.
Closes #22Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/9Add TorPlugin from Briar2021-08-19T11:18:42ZTorsten GroteAdd TorPlugin from BriarCloses #24Closes #24Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/10Apply ktlint checks to all modules2021-08-19T12:01:14ZTorsten GroteApply ktlint checks to all modulesalso upgrade ktlint
Closes #25, #20also upgrade ktlint
Closes #25, #20Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/13First integration test2021-08-20T12:08:53ZSebastianFirst integration testCloses #17Closes #17Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/12Add button to start/stop mailbox lifecycle2021-08-25T08:41:03ZTorsten GroteAdd button to start/stop mailbox lifecycleThis prevents us from having to manually kill the mailbox app during testing and will help us later when we want to automatically start the mailbox after initial setup.This prevents us from having to manually kill the mailbox app during testing and will help us later when we want to automatically start the mailbox after initial setup.Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/15Copy extras needed for TorPlugin from Briar2021-11-04T10:29:57ZTorsten GroteCopy extras needed for TorPlugin from Briar* location for circumvention
* react to network connectivity changes
Closes #28* location for circumvention
* react to network connectivity changes
Closes #28Mailboxhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/16Basic database setup2021-09-20T13:52:04ZSebastianBasic database setup* Add H2 database implementation, based on JdbcDatabase
* Create settings table
* Skeleton for schema migrations (none implemented yet)
Closes #30* Add H2 database implementation, based on JdbcDatabase
* Create settings table
* Skeleton for schema migrations (none implemented yet)
Closes #30MailboxTorsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/18Provide the typical dir for storing data2021-10-01T09:30:00ZDaniel LublinProvide the typical dir for storing dataCloses #36Closes #36Mailbox: Manage app lifecyclehttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/22Create DB dir in subdirectory of mailbox data dir2021-10-01T09:59:41ZTorsten GroteCreate DB dir in subdirectory of mailbox data dirWe do this in Briar and will otherwise log lots of unrelated directories.We do this in Briar and will otherwise log lots of unrelated directories.Mailbox: Databasehttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/20Remove DatabaseComponent and use Database directly2021-10-07T09:15:46ZSebastianRemove DatabaseComponent and use Database directlyCloses #63Closes #63https://code.briarproject.org/briar/briar-mailbox/-/merge_requests/21Store private key of hidden service2021-10-13T18:21:54ZTorsten GroteStore private key of hidden serviceCloses #46Closes #46Mailbox: DatabaseSebastianSebastianhttps://code.briarproject.org/briar/briar-mailbox/-/merge_requests/23Some code cleanup2021-10-14T11:28:57ZSebastianSome code cleanupI found a bunch of small issues in the code base that must have slipped in before.I found a bunch of small issues in the code base that must have slipped in before.https://code.briarproject.org/briar/briar-mailbox/-/merge_requests/25Add a simple RandomIdManager to generate and validate random IDs2021-10-14T14:23:55ZTorsten GroteAdd a simple RandomIdManager to generate and validate random IDsCloses #44Closes #44Mailbox: DatabaseSebastianSebastian