Commit graph

652 commits

Author SHA1 Message Date
ligi
e476be2011
Shorten code 2016-12-02 22:26:10 +01:00
ligi
de281b6f15
Update ( shorten ) russian string 2016-12-02 22:21:56 +01:00
ligi
2a37166d4c
Fix a NPE when only a valid-timespan to is given - closes #122
Also add tests to cover this path
2016-12-02 22:19:54 +01:00
ligi
deaff19be7
Use lateinit instead of nullable value 2016-12-02 22:19:54 +01:00
ligi
89e1512163
Shorten code 2016-12-02 22:19:54 +01:00
ligi
512049ea54
Update russian translations 2016-12-02 22:19:54 +01:00
ligi
7b38bdb40d
Migrate more code to Kotlin 2016-12-02 22:19:54 +01:00
ligi
b72d8d42c8
Correct the name 2016-11-30 03:36:32 +01:00
ligi
07d505dc89
Use isNotEmpty 2016-11-30 03:31:55 +01:00
ligi
b30af764fb
AddToCalendar as TopLevel Function 2016-11-30 03:31:38 +01:00
ligi
bf00ea895a
Extract string 2016-11-30 03:21:57 +01:00
ligi
b92041b13a
Remove survival-manual promo 2016-11-30 03:16:51 +01:00
ligi
5953756578
We can use ActivityTestRule here 2016-11-30 03:05:54 +01:00
ligi
6a2fccbb16
Bump version to 3.3.1 2016-11-28 17:46:34 +01:00
ligi
4dfaac8af7
Cleanup 2016-11-28 17:27:30 +01:00
ligi
520b66aab7
Use trulesk 0.9 which now activates testbuttler
This removes a ugly emulator flakyness I had currently
"launcher3 has crashed" ..-(
2016-11-28 16:44:46 +01:00
ligi
c4d23e366d
Use a better symbol for translate 2016-11-27 18:03:00 +01:00
ligi
9c109c9efc
Also Linkify front-fields 2016-11-27 17:17:48 +01:00
ligi
b496d0e477
Give MORE/LESS a ripple 2016-11-27 17:13:15 +01:00
ligi
582a1519bf
Replace clickable_bg and Improve TimeAndNavBar 2016-11-27 16:51:54 +01:00
ligi
9348ad8f15
Convert more to kotlin 2016-11-27 11:58:34 +01:00
ligi
45a436a3b2
Make code shorter with new KAXT extension 2016-11-27 11:54:48 +01:00
ligi
c313553b13
Add ability to cancel a scan - closes #115 2016-11-27 11:43:48 +01:00
ligi
a4794ee587
Convert more code to kotlin & cleanup 2016-11-27 10:49:34 +01:00
ligi
c604fca0ac
Improve wording 2016-11-26 21:12:51 +01:00
ligi
b87094a544
Fix the link for samples in help 2016-11-26 21:12:50 +01:00
ligi
8ac7969093
Convert more code to kotlin 2016-11-26 21:12:50 +01:00
ligi
39c10520d3
Convert the rest of unit-tests to Kotlin and cleanup 2016-11-26 12:49:03 +01:00
ligi
e869a61a33
Improve tests 2016-11-26 12:49:03 +01:00
ligi
28a806fd52
Cleanup - we do not use lombok anymore 2016-11-25 06:05:06 +01:00
ligi
2ad3cb5402
Convert test to kotlin 2016-11-25 04:48:25 +01:00
ligi
67727e9159
Use the screenShot method from the rule 2016-11-25 04:47:58 +01:00
ligi
3b83081419
Use material rythm 2016-11-25 02:46:04 +01:00
ligi
fda0afd2e3
Correct the colors for the zoom in night mode 2016-11-25 02:40:39 +01:00
ligi
15a9743769
Bump version to 3.3.0 2016-11-25 00:04:26 +01:00
ligi
6e9df603e8
Add intent-filters for PDF - closes #114 2016-11-25 00:01:37 +01:00
ligi
2bb0342ed2
Cleanup 2016-11-25 00:01:37 +01:00
ligi
9f0b9a37c5
Use trulesk / update KAXT to 0.4 / Cleanup 2016-11-25 00:01:37 +01:00
ligi
7cc2d83825
Nice up code 2016-11-24 12:46:45 +01:00
ligi
1f19a2c6c7
Use build-tools 25.0.1 2016-11-24 12:46:35 +01:00
ligi
9310188f6b
Update translations 2016-11-20 22:18:39 +01:00
ligi
5fcdd516c8
Update german translations 2016-11-20 16:38:29 +01:00
ligi
f4feb0c3ca
Update russian translations 2016-11-20 16:36:57 +01:00
ligi
511e749ca2
Deduplicate returns 2016-11-19 19:41:02 +01:00
ligi
6389046047
Bump version to 3.2.9 2016-11-17 11:58:24 +01:00
ligi
4f655a4d05
Add russian translations 2016-11-17 11:39:54 +01:00
ligi
df5e987683
Initial Shortcut feature - closes #112 2016-11-17 11:39:54 +01:00
ligi
001326c40d
Replace AXT with KAXT or native kotlin code & cleanup 2016-11-17 11:38:43 +01:00
ligi
8bca0eb83a
Bump version to 3.2.8 2016-11-15 18:48:46 +01:00
ligi
eabd7d4d7d
Use okhttp 3.4.2 2016-11-15 18:29:57 +01:00
ligi
8d89438905
Support TimeSpan when adding to calendar
closes #72
2016-11-15 18:29:56 +01:00
ligi
a7a42420f8
Simplify / leverage kotlin more 2016-11-15 18:29:56 +01:00
ligi
c19357000e
Use isEmpty and isNotEmpty as suggested by lint 2016-11-15 18:29:56 +01:00
ligi
7299e74d58
Simplify 2016-11-15 18:29:56 +01:00
ligi
7638a95791
Fix indent and layout 2016-11-15 18:29:56 +01:00
ligi
1cf27c4737
Only show snack for SurvivalManual when english locale and utm track 2016-11-15 18:29:56 +01:00
ligi
4444d21d0f
Cleanup 2016-11-15 18:29:55 +01:00
ligi
deb6fe8e95
Improve the order 2016-11-15 18:29:55 +01:00
ligi
1f8cac4d98
Assert -> AssertThat 2016-11-15 18:29:55 +01:00
ligi
bfb9c03dfe
Add new approach to the bar with time and nav below the pass ( no more wrapped drawables ) 2016-11-15 18:29:55 +01:00
ligi
6652b5166c
Cleanup 2016-10-29 20:44:29 +02:00
ligi
b814c21ec1
Bump version to 3.2.7 2016-10-29 20:16:54 +02:00
ligi
2ec15648ce
Update languages 2016-10-29 20:11:56 +02:00
ligi
227cba6667
Add root build.gradle 2016-10-29 20:10:57 +02:00
ligi
7273da05cb
Add tests for navitgation-drawer 2016-10-29 19:50:05 +02:00
ligi
6a7c45e8ae
Add new action in NavDrawer to send people to transifex and improve navigation-code 2016-10-29 18:42:19 +02:00
ligi
78a2d63be3
Improve NavigationDrawer
- extract strings
- correct color
- replace g+ symbol
2016-10-29 18:11:38 +02:00
ligi
572da6eafe
Add a back-field advice 2016-10-29 17:50:04 +02:00
ligi
5c2a1e743e
No more use of butterknife 2016-10-29 17:18:35 +02:00
ligi
6f969f4217
Convert ViewHolder Code to kotlin 2016-10-29 17:18:35 +02:00
ligi
74d4fbe409
DeDuplicate 2016-10-29 17:18:35 +02:00
ligi
098e6bcc9f
Add missing test 2016-10-29 17:18:35 +02:00
ligi
949e312a0f
Do the same but more the kotlin way 2016-10-29 17:18:35 +02:00
ligi
3a11b6ae4e
Cleanup 2016-10-29 17:18:35 +02:00
ligi
cc02abf014
Replace mkdir with mkdirs so it will not fail importing when parent path is not yet there 2016-10-29 17:18:34 +02:00
ligi
7c461160d3
Extract strings and distinguish between image and PDF import 2016-10-29 17:18:34 +02:00
ligi
b1e3bbd241
Shorten code 2016-10-29 17:18:34 +02:00
ligi
42242cdaf5
Convert class to kotlin 2016-10-29 17:18:34 +02:00
ligi
10d13bbd32
Use HtmlCompat 2016-10-29 17:18:34 +02:00
ligi
05b44cadd3
Convert PassViewActivity to Kotlin 2016-10-29 17:18:34 +02:00
ligi
cc8b3fb61f
Add ability to click on large images to zoom in
This was needed after the PDF import for usability
2016-10-29 17:08:51 +02:00
ligi
b307fe61df
Use onResumeFragments instead of onResume 2016-10-29 17:08:51 +02:00
ligi
4e3ccc6c16
Adapt to renaming of version from google-play 2016-10-29 17:08:51 +02:00
ligi
09a34451ff
Cleanup 2016-10-29 17:08:51 +02:00
ligi
3c377a4683
Convert pdf into image when importing - closes #81 2016-10-29 17:08:50 +02:00
ligi
a129422401
Replace deprecated methods 2016-10-29 17:08:50 +02:00
ligi
15786c8a78
Convert event to kotlin 2016-10-29 17:08:50 +02:00
ligi
89297a2736
Improve test code 2016-10-29 17:08:50 +02:00
ligi
13586cc08a
Convert more code to Kotlin 2016-10-24 17:52:53 +02:00
ligi
296d9211b2
Improve the layout for the fullscreen-barcode and make sure alternative-text is displayed in night 2016-10-24 15:57:00 +02:00
ligi
eae71f6d47
Convert FullscreenBarCodeActivity to kotlin 2016-10-24 15:50:57 +02:00
ligi
43bbfcc4b0
Improve editing code 2016-10-24 15:28:19 +02:00
ligi
beb20e782e
Use SnackEngage 0.9 2016-10-24 15:07:21 +02:00
ligi
a479539911
Cleanup 2016-10-23 17:43:41 +02:00
ligi
e4e49f89c4
Improve help code 2016-10-23 17:43:41 +02:00
ligi
f76430f474
Cleanup 2016-10-23 17:43:40 +02:00
ligi
64add36331
Add missing annotations 2016-10-23 17:43:40 +02:00
ligi
ab0d316fd3
Improve settings code and cover with tests 2016-10-23 17:43:40 +02:00
ligi
883bd14309
Extract strings 2016-10-23 16:18:53 +02:00
ligi
7deec6c3b2
Add missing @TargetAPI and NonNull annotations 2016-10-23 16:06:06 +02:00
ligi
0e8550989c
Import MODE_NIGHT_AUTO from the right package 2016-10-23 15:37:00 +02:00
ligi
945a85c76c
Use play-services 9.8.00 2016-10-23 15:05:20 +02:00
ligi
d15c64d19e
Use SDK 25 and build-plugin 2.2.2 2016-10-21 03:20:52 +02:00
ligi
1382c6a57d Bump version to 3.2.6 2016-10-08 16:58:11 +02:00
ligi
775cfc3a1e Improve code-readability 2016-10-08 15:04:06 +02:00
ligi
d52bf8053a Replace last from AXT with last from kotlin 2016-10-08 14:59:43 +02:00
ligi
59e7a9dc03 Fix a nullability problem 2016-10-08 14:50:54 +02:00
ligi
b937f437c4 We can make this value private 2016-10-08 14:50:04 +02:00
ligi
38bf44ef72 Use build-plugin 2.2.1 2016-10-08 13:44:19 +02:00
ligi
8197658926 Bump version to 3.2.5 2016-10-05 21:23:37 +02:00
ligi
3bda1fb0fd Improve code readability 2016-10-05 21:07:40 +02:00
Andrew Lord
fb4e744838 Improve default topic categorisation of passes (#106)
Improved the calculation for the default topic to assign a pass to. If a pass is in the past or has expired then assign to "Archive" otherwise to "New".  Fixes #75.
2016-10-05 19:21:37 +02:00
ligi
8107306457 Use SnackEngage 0.8 2016-10-04 13:52:48 +02:00
ligi
ac5357a24c Cleanup & Override title and action text for survival snack 2016-09-29 16:31:21 +02:00
ligi
72ea0f13c4 Use SnackEngage 0.7 2016-09-29 16:30:37 +02:00
ligi
24e7f92676 Fix indent and color of text in night mode 2016-09-29 14:55:31 +02:00
ligi
152947e015 Use lines="1" instead of singleLine to make lint happy 2016-09-29 14:55:31 +02:00
ligi
ec180ad0fa Bump Version to 3.2.4 2016-09-28 16:52:39 +02:00
ligi
350784f600 Request location permission when user selects auto for day/night on 23+ - closes #101 2016-09-28 16:43:39 +02:00
ligi
48ecad07c5 Add a snack to inform users about my new project Survival-Manual
would love some more eyes on this - currently it is not really exposed and visible but could be helpful for users
2016-09-28 15:49:47 +02:00
ligi
c6ad69c099 Use play-services 9.6.1 2016-09-27 03:05:54 +02:00
ligi
75c2cd8182 Use permissionsdispatcher 2.2.0 2016-09-27 03:05:54 +02:00
ligi
4513e0b218 Use spoon-client 1.7.0 2016-09-27 03:05:54 +02:00
ligi
b8288e19df Use build-plugin 2.2.0, Kotlin 1.0.4, kapt2, build-tools 24.0.2 2016-09-27 03:05:26 +02:00
ligi
f2e22fb698 Use dagger 2.7.0 2016-09-15 15:06:19 +02:00
ligi
380f667065 Use support libs 24.2.1 2016-09-15 14:38:07 +02:00
ligi
ca57efba1d Cleanup 2016-09-14 19:10:07 +02:00
ligi
cd96f61356 Use leak-canary 1.4 2016-09-12 11:15:18 +02:00
ligi
2594cf1ac3 Bump version to 3.2.3 2016-09-11 16:17:04 +02:00
ligi
f785a87aa8 Add a mime-type variation that was seen in the wild - closes #100 2016-09-11 16:14:20 +02:00
ligi
d549c8efb6 Improve sorting of passes & add usage of expiration date
closes #102
2016-09-11 16:07:32 +02:00
ligi
38a6a343f6 Improve toString for PassImpl 2016-09-11 04:34:38 +02:00
ligi
9813c9b1d9 Add tests to cover pass sorting / comparators 2016-09-11 04:33:41 +02:00
ligi
338a65d359 We do not need to deal with null values as type is never null 2016-09-11 04:33:41 +02:00
ligi
d81a7feaf9 Use falcon-spoon-compat 1.0.3 2016-09-11 04:33:41 +02:00
ligi
e07e692234 Reduce visibility 2016-09-11 04:33:41 +02:00
ligi
64d59035e9 Use KotPref 1.4.1 2016-09-11 04:33:41 +02:00
ligi
7049247155 Update to Dagger 2.6.1 2016-09-11 04:33:17 +02:00
ligi
7f664d88d0 Update to threetenabp 1.0.4 2016-09-11 04:33:17 +02:00
ligi
24585ad846 Use latest translations from transifex 2016-09-11 04:33:17 +02:00
ligi
ca770e1ad1 Use ButterKnife 8.4.0 2016-09-11 04:33:14 +02:00
ligi
c6f8a07f96 Bump Version to 3.2.2 2016-08-21 19:23:53 +02:00
ligi
a6a23834d9 Improve HelpActivity TestSetup & add test for #98 2016-08-21 19:23:24 +02:00
ligi
3f5ffb18ea Show version as subtitle in HelpActivity
closes #98
2016-08-21 19:07:22 +02:00
ligi
d63aba3cd7 Fix indent 2016-08-21 15:28:51 +02:00
ligi
924c372395 Add feature to print tickets
closes #99
2016-08-21 14:35:17 +02:00
ligi
cd5d4c7527 Cleanup 2016-08-21 14:34:57 +02:00
ligi
5440d5facd Lifecycle corrections
closes #96
2016-08-21 14:34:57 +02:00
ligi
6d9fd3b13e Improve code around PassLocation 2016-08-21 14:34:03 +02:00
ligi
13af2cce7e Improve map-handling 2016-08-21 14:34:03 +02:00
ligi
9566f777d2 Enable incremental dexing 2016-08-21 14:33:28 +02:00
ligi
621c47c865 Cleanup - no need to inflate a menu here 2016-08-20 10:09:42 +02:00
ligi
dd970addae Use spoon-client 2.6.4 2016-08-19 16:50:12 +02:00
ligi
feaabcded4 Use support 24.2.0 and remove support-v4 so that split can be used 2016-08-19 16:12:38 +02:00
ligi
f6fb1ec8c6 Cleanup 2016-08-08 23:32:02 +02:00
ligi
87972e8bf3 Do not click() into EditText anymore to prevent SpellChecker from popping up 2016-08-08 17:40:12 +02:00
ligi
fbf96abbd3 Update how we check for play availability to not use deprecated method anymore 2016-08-05 17:08:08 +02:00
ligi
a84cb85c03 NotifyChange after processing 2016-08-05 16:28:39 +02:00
ligi
e5ddeccfa7 Improve naming 2016-08-05 16:25:05 +02:00
ligi
f6b654b629 Use play-services 9.4.0 2016-08-04 20:38:51 +02:00
ligi
2b63c45d9e Bring back tests for swiping in the PassList 2016-08-04 20:38:51 +02:00
ligi
dfaaf10eef Also accept application/vnd.espass-espass+zip as requested at IANA as mime-type 2016-08-04 12:45:47 +02:00
ligi
965824a0d0 Improve tests and use more kotlin there 2016-08-04 12:36:55 +02:00
ligi
fec48c5888 Use dagger 2.6 2016-08-03 13:44:09 +02:00
ligi
ebebfaebb6 Cleanup 2016-07-31 21:06:57 +02:00
ligi
44b7332806 Use spoon-client 1.6.2 2016-07-27 12:21:09 +02:00
ligi
9819e9efcc Use falcon-spoon-compat 1.0.2 2016-07-27 12:20:25 +02:00
ligi
386670f98e Use support 24.1.1 2016-07-27 12:19:56 +02:00
ligi
5f1366764b Lower minSDK to 9 2016-07-27 11:26:27 +02:00
ligi
1881618024 Set AntiAlias for BitmapDrawable to false
this is an attempt to fix #94 - documentation states that this value should be false by default - but maybe not on this particular device ..
2016-07-27 11:17:27 +02:00
ligi
3b45db5f41 Bump version to 3.2.1 2016-07-20 00:22:01 +02:00
ligi
8c2497b0dc Migrate 2 tests to Junit4 2016-07-19 21:54:20 +02:00
ligi
02ae09b7a7 Use support 24.1.0 2016-07-19 08:39:15 +02:00
ligi
67f56c7446 Different way to display barcode zoom icons 2016-07-19 08:23:50 +02:00
ligi
656b0599fb Add feature of day and night mode
closes #33
2016-07-19 06:56:51 +02:00
ligi
33c0f0ca27 Use falcon to make error screenshots 2016-07-19 06:50:03 +02:00
ligi
b9930e6dad Improve UI around CategoryIndicator
Now it contains the icon so we get more space and the
Icon gets a colored background - win-win

closes #86
2016-07-18 04:15:59 +02:00
ligi
8180c851ce Request permission when needed
In fact more often than needed - but most users will not care anyway ..
2016-07-18 02:16:49 +02:00
ligi
6bd7723550 Allow replacing of images 2016-07-18 00:30:57 +02:00
ligi
2de59aed2e Improve readability by using plusHours(1) instead of custom calc with ms 2016-07-18 00:30:43 +02:00
ligi
67b546773d Use the new package android.support.test.filters instead of android.test.suitebuilder.annotation 2016-07-17 07:10:31 +02:00
ligi
5b9c574c14 Improve code & convert to kotlin 2016-07-17 07:10:31 +02:00
ligi
b89aed0151 Use play-services 9.2.1 2016-07-16 18:58:29 +02:00
ligi
a36c3202b2 Format the json when when BuildConfig.DEBUG and close buffer then 2016-07-16 18:58:12 +02:00
ligi
d58e3bf86e Use spoon-client 1.6.1 2016-07-16 18:51:58 +02:00
ligi
04802a05ce Use okhttp 3.4.1 2016-07-16 18:48:09 +02:00
ligi
f0bcf29e67 Add documentation 2016-07-16 18:46:43 +02:00
ligi
0fa073c9fd Extract String 2016-07-15 13:19:14 +02:00
ligi
8bbecb76ca Use ButterKnife 8.2.1 2016-07-15 13:17:08 +02:00
ligi
bb82986d7b Bump version to 3.2.0 2016-07-11 13:31:05 +02:00
ligi
044ad480e7 Use support 24 / compileSDK 24 and targetSDK 24 2016-07-11 13:31:05 +02:00
ligi
0da5af57cd Extract date from fields
closes #92
2016-07-11 13:31:05 +02:00
ligi
6ee0438be3 Add a field with the type when importing pkpass
closes #89
2016-07-11 13:31:05 +02:00
ligi
5823650917 Cleanup 2016-07-11 13:31:05 +02:00
ligi
93dd9ee9c8 Use okhttp 3.4.0 2016-07-10 18:01:46 +02:00
ligi
e0efcccbb4 Use spoon-client 1.5.7 2016-07-10 13:42:12 +02:00
ligi
629d455992 Use kotlin 1.0.3 2016-07-09 17:00:57 +02:00
ligi
aac121e8c2 Use play-services 9.2.0 2016-07-09 17:00:23 +02:00
ligi
5df92308a5 Lower minSDK to 9 2016-07-05 22:20:33 +02:00
ligi
1832858a28 Improve test 2016-07-05 22:19:56 +02:00