Commits

Show all
Author Commit Message Labels Comments Date
Ville Saalo
Tests for the encode(String) method. We still need to work out whether plus-signs really need to be replaced with %20 or not. It seems to me at least that unlike the API documentation says, spaces are already encoded as %20 and not as plus-signs.
Ville Saalo
Initialize the mode variable to something, otherwise the switch statement may get null as its parameter.
Juha Kuitunen
update issue comments after issue has been updated
Ville Saalo
Ville Saalo
Tests for the Helper.isImage(String) method.
Ville Saalo
Lots of minor refactorings, including these:
Ville Saalo
Ville Saalo
Moved a helper method from the IssueActivity class to the Helper class, wrote a test for it, and refactored some duplicate strings (URLs) in the IssueActivity.
Tobias Duehr
Fixed #44
Tobias Duehr
Some cleanup on IssueActivity, NewIssueActivity and UpdateIssueActivity
Tobias Duehr
Issue description and comment count was missing from IssueActivity. Removed imports.
Ville Saalo
Initializing the LinearLayout header of the ListView in the onCreate method does not crash the app, unlike doing it in the asyncLoaderDone method.
Ville Saalo
String.trim().isEmpty() replaced with a new Helper.isEmpty(String) method, as the String.isEmpty() has apperently only been there since API 9, and API 8 is the minimum for this project. Also created unit tests for the new Helper.isEmpty(String) method.
Ville Saalo
Refactored AsyncLoader and AsyncImageLoader from being protected inner classes of MyActivity into their own files with a common super class, AbstractAsyncLoader. (My original goal this evening was to just write some more unit tests but I realized that there's lots of critical functionality related to asyncloaders and that testing all that would be more difficult without this refactoring, so...)
Ville Saalo
Some refactoring: making toasts, a switch-case statement, and a couple of hard-coded strings moved to strings.xml.
Ville Saalo
Changing the test suite so that MarkupHelperTest is ran instead of MyActivityTest, which now contains no tests.
Tobias Duehr
Unit tests for MarkupHelper, moved from MyActivityTest
Tobias Duehr
Forgot to add the new Helper classes in last commit
Tobias Duehr
Moved functions from MyActivity to helper classes
Tobias Duehr
Added support for .txt in source.html
Tobias Duehr
Pulled request #10 manually.
Tobias Duehr
Further cleanup of UpdateIssueActivity, disabled caching for all but GET requests in MyActivity
Tobias Duehr
Changed the icons for 'view code' and 'log out'
Ville Saalo
Refactored the Bitbeaker key-value -cache to work with a regular LinkedHashMap, solving the problem of updating existing keys.
Ville Saalo
Test setKV purging oldest values.
Ville Saalo
Created unit tests for the KeyValueCache features of the Bitbeaker class.
Ville Saalo
Separated the logic from the handleMarkup method into a new private method called handleMarkupAsString and wrote a unit test for that using reflection.
Ville Saalo
Created unit tests for the decorate(...) method of the MyActivityClass. Currently only the test_decorate_not_messing_up_email_addresses() test fails, as it turns the hostname of an email address into a hyperlink.
Juha Kuitunen
links from bare urls can now be in the beginning of message
Juha Kuitunen
fixed crash when link has no protocol defined
  1. Prev
  2. Next