aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/org/connectbot/util/HostDatabase.java
Commit message (Collapse)AuthorAgeFilesLines
* Make sure new known hosts are inserted and deletedKenny Root2016-03-111-11/+14
| | | | | | | | The host keys were not being inserted because it was using the old update code, so fix that up and make sure that known host entries are deleted when hosts are deleted. This fixes issue #380.
* Support multiple known keys per hostKenny Root2016-02-211-34/+147
| | | | | This will allow hosts we originally saw with a certain hostkey algorithm to continue to use those keys without warning us.
* Integrate the EditHostActivity into the rest of the app.Kyle Horimoto2015-10-081-1/+1
|
* Add a bit more debugging for saving a known hostKenny Root2015-09-141-4/+6
|
* Wrap saving a known host in a transactionKenny Root2015-09-141-3/+9
|
* Call saveHost instead of specialized updateFontSizeKenny Root2015-09-111-26/+7
|
* Add interfaces for HostStorage and ColorStorageKenny Root2015-09-111-1/+3
| | | | An attempt to help with testing.
* Change colors list to primitive arrayKenny Root2015-09-111-2/+2
|
* Revert "Never cache instances of the HostDatabase"Kenny Root2015-09-111-0/+2
| | | | | | | This reverts commit 57afa9bdc5b269a48bd27fc8455cab4cb956d02a. This won't work with injection and makes testing a bit harder, so revert it.
* Add back table reset for testingKenny Root2015-09-111-3/+19
| | | | This seems to be more reliable than other methods.
* Never cache instances of the HostDatabaseKenny Root2015-09-071-2/+0
|
* Remove dbLock from HostDatabaseKenny Root2015-09-071-191/+148
|
* Use member database handle in HostDatabaseKenny Root2015-09-071-76/+54
|
* Use in-memory database for instrumentation testingKenny Root2015-09-071-8/+9
|
* Make database constructors privateKenny Root2015-09-071-1/+1
|
* Create singleton accessors of HostDatabase and PubkeyDatabaseKenny Root2015-09-071-0/+15
|
* Never close the databaseKenny Root2015-09-071-3/+0
|
* Remove unnecessary nulling of parameterKenny Root2015-09-071-1/+0
|
* Wrap all HostDatabase writes in a transactionKenny Root2015-09-071-39/+92
|
* Add test for local connectionsKenny Root2015-08-271-0/+16
| | | | | | This tests the basic functionality of creating a local terminal, making sure ConsoleActivity shows up, and being able to disconnect from the host.
* Use Integer.valueOf(...) to save memoryKenny Root2015-08-201-1/+1
| | | | This allows the pooling of Integer instances.
* Rename logtag values to fit in 23 charactersKenny Root2015-07-161-1/+1
|
* Return empty port forward list if host arg is nullKenny Root2015-03-291-1/+4
| | | | | There would be a NullPointerException if the host passed in was null, so just preclude it by checking.
* Merge branch 'master' into gradle-conversionKenny Root2015-03-271-19/+21
|
* Merge branch 'master' into gradle-conversionKenny Root2015-03-271-4/+10
|
* Add some whitespace rules and fixes for themKenny Root2015-03-231-1/+1
|
* Convert to gradle build systemKenny Root2014-10-011-0/+766