Commit graph

686 commits

Author SHA1 Message Date
ligi
6756c849e7 Do not send null passes 2016-04-11 16:25:18 +02:00
ligi
054b7e69a5 Bump version to 3.0.4 2016-04-08 02:34:49 +02:00
ligi
cd86cea8d8 Use build-tools 23.0.3 2016-04-08 02:29:35 +02:00
ligi
7c0f55dd11 Bump version to 3.0.3 2016-04-08 00:10:01 +02:00
ligi
d38774cda0 Cleanup 2016-04-08 00:08:56 +02:00
ligi
aafcb755c7 Nice up code 2016-04-08 00:08:56 +02:00
ligi
8cb54e85dc Also discover espass files when scanning 2016-04-08 00:08:56 +02:00
ligi
9f21622409 Use build plugin 2.0.0 yay 2016-04-08 00:08:56 +02:00
ligi
7060c1d3e5 Improve logic to find next fragment
closes #65
2016-04-08 00:08:56 +02:00
ligi
d9a95770cc Inform the classifier about pass-removals 2016-04-08 00:08:56 +02:00
ligi
3defdde39b When we get one OOM when decoding images we try again with a System.gc before 2016-04-08 00:08:56 +02:00
ligi
6740001808 Add workaround to open eventbrite tickets
We have to pretend to be an iphone
2016-04-08 00:08:56 +02:00
ligi
f75af1dd13 Use srcCompat to also have fields working <lollipop 2016-04-08 00:08:56 +02:00
ligi
0490e91f6f Add UI-Tests for field editing 2016-04-08 00:08:55 +02:00
ligi
2a3bb7d8c1 Unify - consistently return File not String 2016-04-08 00:08:33 +02:00
ligi
58ef1f46fe Bump version to 3.0.2 2016-04-07 00:31:19 +02:00
ligi
7f3bf59c60 Use build plugin 2.0.0-rc3 2016-04-07 00:19:13 +02:00
ligi
d9773f15ef Cleanup 2016-04-07 00:19:13 +02:00
ligi
c68da8b787 Import as image
When the import is detected to be no passbook or espass - then it is checked if it is an image
If it is an image we create a new passbook that includes this image
2016-04-07 00:19:13 +02:00
ligi
c13cda89b5 Change scope of type_json 2016-04-06 17:08:06 +02:00
ligi
439cce583e Correct unit-test and modify Jenkinsfile so they run on jenkins too 2016-04-06 02:30:23 +02:00
ligi
f375d2ba80 Fix Indentation 2016-04-06 02:16:07 +02:00
ligi
249d35de3c Add tools:ignore="ContentDescription" for the BarCode images 2016-04-06 02:15:40 +02:00
ligi
4a876ba5e0 Extract strings 2016-04-06 01:12:07 +02:00
ligi
4d19d149db Bump version to 3.0.1 2016-04-06 00:59:09 +02:00
ligi
6b6a30c0b8 Increase minSDK 9->11 :-(
context on why and plan to revert here:
https://github.com/ligi/PassAndroid/issues/66
2016-04-06 00:59:09 +02:00
ligi
d229caee99 Decouple Zxing Barcode from our PassBarcode 2016-04-06 00:59:09 +02:00
ligi
6a608e878c Protect Pass model from proguard & fix a bug when creating pass when there is no pass yet 2016-04-05 18:04:08 +02:00
ligi
9a54758065 Improve code by leveraging the power of Kotlin 2016-04-05 17:39:30 +02:00
ligi
c7d03a1d0f WIP 2016-04-05 16:41:49 +02:00
ligi
82df39eff1 Bump version to 3.0.0 2016-04-05 16:08:37 +02:00
ligi
ca31d0b56a Use build-plugin 2.0.0-rc2 2016-04-05 05:33:29 +02:00
ligi
ac3f25f34b Move the test-passes 2016-04-05 05:33:29 +02:00
ligi
94ac5499c6 Initial field-list editing 2016-04-05 05:33:29 +02:00
ligi
7db0de06c6 Implement syncPassStoreWithClassifier() and code improvements 2016-04-05 05:33:29 +02:00
ligi
e9fc7a5278 Otto->EventBus ( mainly for threadMode ) 2016-04-04 15:16:59 +02:00
ligi
e63d94e18a Migrate code to Kotlin, esPass support, Use moshi for JSON 2016-04-04 15:16:54 +02:00
ligi
f258804191 Also set default-value in preferences xml
closes #63
2016-04-02 16:51:12 +02:00
ligi
30049af1d9 Bump version to 2.8.0 2016-03-22 22:21:34 +01:00
ligi
715b9f81c7 Only append fields when they are not null 2016-03-22 22:21:08 +01:00
ligi
505e94fe6e Bump version to 2.7.9 2016-03-22 14:06:05 +01:00
ligi
6cf51d24d1 Change timing 2016-03-22 14:04:47 +01:00
ligi
5701a718b8 Bump version to 2.7.8 2016-03-22 13:44:52 +01:00
ligi
d4770ab792 Add proguard config for otto 2016-03-22 13:44:00 +01:00
ligi
5c07e48db8 Bump version to 2.7.7 2016-03-22 13:24:54 +01:00
ligi
5ecced9656 Improve UX when pressing on scan 2016-03-22 12:38:32 +01:00
ligi
b0bdeddfe2 Ability to sort by date Ascending and Descending 2016-03-20 05:17:25 +01:00
ligi
2484bd29b4 Bump version to 2.7.6 2016-03-18 09:31:16 +01:00
ligi
b95324873b Fix a FC when scanning with devices <5.0
The problem was using a vector-drawable - you cannot even use it wrapped - going back to png for this
2016-03-18 09:19:07 +01:00
ligi
ef2b193ab7 Use build-plugin 2.0.0-beta7 2016-03-18 09:19:07 +01:00
ligi
d7ad8daa13 Use dagger 2.1 2016-03-18 09:19:07 +01:00
ligi
f3d9bd4c2a Make tests resilliant against devices with different language 2016-03-18 09:19:07 +01:00
ligi
59a20d119c Bump version 2.7.5 2016-03-15 18:54:11 +01:00
ligi
b6fb51eaa4 Make sure dateOrExtraText is gone when no content 2016-03-15 18:40:48 +01:00
ligi
3180de4de3 Use TextView with ListTagHandler instead of WebView for help
this looks much nicer and removes a problem with german umlauts
2016-03-15 18:40:48 +01:00
ligi
d127e98815 Use support 23.2.1 2016-03-15 07:20:53 +01:00
ligi
84388b58b0 Bump version to 2.7.4 2016-03-14 05:55:04 +01:00
ligi
1c39950ef9 Sync with transifex 2016-03-13 14:44:24 +01:00
ligi
fecf5cfda5 Externalize strings 2016-03-13 14:19:44 +01:00
ligi
47067c14ac Cleanup and bring back sorting through new settings 2016-03-13 14:19:44 +01:00
ligi
92953acfbd Bump version to 2.7.3 2016-03-09 14:30:18 +01:00
ligi
46fbe69f5e Use okhttp 2.7.5 2016-03-09 08:48:13 +01:00
ligi
3338619680 Add Settings / new NavDrawer / Condensed Mode / Auto-Light / Migrate to Vector-Drawables 2016-03-09 07:17:16 +01:00
ligi
8c400abf8b Use the latest spoon-plugin 2016-03-02 10:28:30 +01:00
ligi
47c507c343 Bump version to 2.7.2 2016-03-02 05:31:23 +01:00
ligi
f7f61eacde Do not use DayNight yet 2016-03-01 08:57:17 +01:00
ligi
0b6f356d6d When id already exist - go to this pass instead of failing
closes #54
2016-03-01 08:49:58 +01:00
ligi
2e461cfe18 Improve the move code 2016-03-01 08:34:02 +01:00
ligi
b2ca768dc6 Behave correctly when move dialog is canceled 2016-03-01 06:17:48 +01:00
ligi
67b792794a Euse 2.2.2 from espresso libs 2016-03-01 04:22:31 +01:00
ligi
f07114fdab Declare final 2016-03-01 02:09:57 +01:00
ligi
2296a3acf0 Use build-plugin 2.0.0-beta6 2016-02-29 05:40:30 +01:00
ligi
d845a7e025 Get the bound pass from the PassViewHolder 2016-02-29 05:38:21 +01:00
ligi
8ae2246406 Do not FC on OOM 2016-02-26 04:52:08 +01:00
ligi
d1f6bf0cba Merge branch 'master' into dev 2016-02-22 08:51:20 +01:00
ligi
4a081cd6ef Do not FC on OOM 2016-02-21 09:05:38 +01:00
ligi
02042dc995 Extract SUPPORT_VERSION to variable for dedup 2016-02-19 07:35:43 +01:00
ligi
f84fa42a84 Use net.i2p.android.ext:floatingactionbutton:1.10.1 2016-02-19 07:31:27 +01:00
ligi
861dc75262 Bump version to 2.7.1 2016-02-18 22:18:40 +01:00
ligi
5fbe1a1a51 Include android proguard config to prevent proguard from stripping to much 2016-02-18 22:18:16 +01:00
ligi
39f953eb3d Bump version to 2.7.0 2016-02-17 23:39:23 +01:00
ligi
62fa6a8941 Simplify the PassClassifier 2016-02-17 23:14:35 +01:00
ligi
6206bcbb23 Notify the PassClassifier on delete 2016-02-17 23:14:35 +01:00
ligi
f5e30794ce Use play-services 8.4 2016-02-17 23:14:35 +01:00
ligi
ff2378f41e Cleanup and use more popping accent color 2016-02-17 23:14:35 +01:00
ligi
ce3cb10008 Remove unused 2016-02-17 23:14:35 +01:00
ligi
03ea344a1c Introduce Topics/Classification and Swipe to move 2016-02-17 23:14:35 +01:00
ligi
3b8ecbc14e Toast -> SnackBar 2016-02-17 23:14:35 +01:00
ligi
6a94c8b403 Use com.android.tools.build:gradle:2.0.0-beta4 2016-02-17 23:14:35 +01:00
ligi
98073547d9 Use proguard 2016-02-17 23:14:35 +01:00
ligi
da9dfe1612 Catch Throwable instead of Exception to also catch VerifyException as seen on Emulator
Also track this event to probe if this is a problem in the wild
2016-02-17 23:14:35 +01:00
ligi
2adb813ffc Use spoon-client 1.3.1 2016-02-17 23:14:35 +01:00
ligi
c0579326cd Use okhttp 2.7.2 2016-02-17 23:14:35 +01:00
ligi
59e5825118 Use mockito 2.0.39-beta 2016-02-17 23:14:35 +01:00
ligi
a981272328 Use version plugin 0.12 2016-02-17 23:14:35 +01:00
ligi
021412dd2d Use build-plugin 2.0.0-alpha6 2016-02-17 23:14:35 +01:00
ligi
75b4301f3c invalidateOptionsMenu() -> supportInvalidateOptionsMenu() 2016-02-17 23:14:35 +01:00
ligi
5cd34e60dd Add warning when we are adding a expiry date to Calendar
closes #47
2016-02-17 23:14:35 +01:00
ligi
1934d8d7ba Extract calendar action ( prepare #47 ) 2016-02-17 23:14:35 +01:00
ligi
8d52675560 Simplify around sort order 2016-02-17 23:14:35 +01:00
ligi
2318afdc70 Toast -> SnackBar 2016-02-17 23:14:35 +01:00
ligi
9674bb1f17 Remove unused Field 2016-02-17 23:14:35 +01:00
ligi
390fe69959 Slim down PassStore 2016-02-17 23:14:35 +01:00
ligi
7fdc74d87f Remove flakyness from test 2016-02-17 23:14:35 +01:00
ligi
d74d6d72bd Use mockito 2.0.26 2016-02-17 23:14:35 +01:00
ligi
20c1492fd5 Use okhttp 2.7.1 2016-02-17 23:14:35 +01:00
ligi
9d40828b71 Use spoon 1.3.0 2016-02-17 23:14:35 +01:00
ligi
592bed657f Cleanup 2016-02-17 23:14:35 +01:00
ligi
a6c6041aed Use spacing better fitting material design 2016-02-17 23:14:35 +01:00
ligi
a26a62d4ec Use AXT here 2016-02-17 23:14:35 +01:00
ligi
ce9cb4b78b Simplify 2016-02-17 23:14:35 +01:00
ligi
cba67855b7 Remove unused layout 2016-02-17 23:14:35 +01:00
ligi
509a42c125 Extract CountedType and PassSortOrder 2016-02-17 23:14:35 +01:00
ligi
5b33bec2ae Use a TreeSet here to Sort while inserting 2016-02-17 23:14:35 +01:00
ligi
36c8e29be0 Pass -> FiledPass 2016-02-17 23:14:35 +01:00
ligi
9a5ae2f576 Move paths to settings-module 2016-02-17 23:14:35 +01:00
ligi
214003af52 Add missing escaping of ' 2016-01-05 01:09:02 +01:00
ligi
3fc50e42c7 Merge pull request #45 from guerda/patch-1
Add FAQ section in English help screen
2016-01-05 00:49:05 +01:00
ligi
7d962e8733 Bump version to 2.6.5 2015-12-30 14:16:50 +01:00
ligi
cdac8cd715 Remove the 32C3 special 2015-12-30 14:15:59 +01:00
ligi
c93b3fb17e Bump version to 2.6.4 2015-12-28 03:18:46 +01:00
ligi
80dcfe5ddb Force Full brightness for 32C3 Passes 2015-12-28 03:18:33 +01:00
Philip Gillißen
6874421b3f Add second FAQ in English 2015-12-27 16:47:49 +01:00
Philip Gillißen
3f320e44cb Add FAQ in English translation
This fixes #11 and must be done in source code, as transifex only lets you translate other languages.
2015-12-27 16:45:22 +01:00
ligi
fd40b8269e Use new german translations 2015-12-24 20:43:48 +01:00
ligi
d272c78b81 Bump version to 2.6.3 2015-12-20 21:29:39 +01:00
ligi
6201b147e0 Handle the case that no calendar app is installed
closes #44
2015-12-20 20:59:27 +01:00
ligi
2d84b01239 Cleanup 2015-12-17 19:45:19 +01:00
ligi
7b1ba30319 Track which BarcodeFormats are used 2015-12-15 01:52:23 +01:00
ligi
300618db04 Bump version to 2.6.2 2015-12-15 01:43:41 +01:00
ligi
889497c704 Use okhttp 2.7.0 2015-12-15 01:42:48 +01:00
ligi
130e337f4b Use com.android.tools.build:gradle:2.0.0-alpha3 2015-12-15 01:41:36 +01:00
ligi
2e1e8ffa97 Cleanup 2015-12-15 00:46:28 +01:00
ligi
865091d163 Catch a problem when OPEN_DOCUMENT is not available 2015-12-15 00:26:41 +01:00
ligi
cfeaedbdc5 Add support for Code39 and tests for Code39 and Code128 2015-12-15 00:26:12 +01:00
ligi
fb384906db Create useful image for 1D BarCodes 2015-12-14 22:40:23 +01:00
ligi
3171cac4a5 Fix a problem with Quadratic BarCodes on 4.2
closes #39
2015-12-14 16:55:38 +01:00
ligi
c5c8da7647 Detect Code128 2015-12-14 16:22:50 +01:00
ligi
b526d1ec78 When sorting by type and the types are equal -> sort by time second 2015-12-14 14:51:22 +01:00
ligi
108c3844db Bump version 2015-12-10 18:08:39 +01:00
ligi
4c3010b8ec Use joda-time 2.6.1 and okhttp 2.6.0 2015-12-10 18:01:45 +01:00
ligi
5eb3c620ae Decouple SharedPreferences - so that flaky test gets unflaky 2015-12-10 17:33:46 +01:00
ligi
9429579015 Gson is not used anymore 2015-12-10 00:09:33 +01:00
ligi
0012be65b0 Add new spanish translations 2015-12-08 22:13:31 +01:00
ligi
921214cfb3 Use build-plugin 2.0.0-alpha2 2015-12-08 22:13:31 +01:00
ligi
3cf4400b0c Improve BarCode editing closes #40 closes #41 2015-12-08 22:11:22 +01:00
ligi
b48319d502 Increase size for footer logo ( mainly for TSA ) 2015-12-04 15:16:49 +01:00
ligi
b554fed65d Cleanup 2015-12-04 14:54:03 +01:00
ligi
cc50ba3dd3 Bump version to 2.6.0 2015-11-23 00:49:27 +01:00
ligi
8f964c369e Care for the new server-structure of Air-Canada
Thanks to tom little for making me aware of this
2015-11-23 00:34:58 +01:00
ligi
ee4050ca2d Cleanup 2015-11-22 02:42:27 +01:00
ligi
df515048fe Hide zoom controls when there is no BarCode 2015-11-22 02:21:06 +01:00
ligi
27979d23f9 Tracker via dagger 2015-11-22 01:43:53 +01:00
ligi
bd9b4937ae Use spoon-plugin 2.6.1 to work in AS
context: https://github.com/x2on/gradle-spoon-plugin/issues/14
2015-11-17 15:35:51 +01:00
ligi
a1396e426b Now that the spoon-issue with 1.5.0 is solved we can use it
context: https://github.com/x2on/gradle-spoon-plugin/issues/13
2015-11-17 13:50:40 +01:00
ligi
178e098dbd Use dagger for settings and bus 2015-11-17 04:28:23 +01:00
ligi
e5423c0224 Remove assert that is not needed anymore 2015-11-17 01:56:40 +01:00
ligi
4ea103d38b Use newer version of some libs 2015-11-16 23:37:14 +01:00
ligi
d9b661a5b6 Reenable some tests 2015-11-16 21:15:25 +01:00
ligi
8ab9fee090 @MockitoAnnotations.Mock -> @Mock 2015-11-16 21:15:25 +01:00
ligi
fbb7400bf3 Use support 23.1.1 / add version-check plugin / change spoon plugin 2015-11-16 21:15:02 +01:00
ligi
f6a9c6c69e Use Dagger2.0 2015-11-15 20:03:48 +01:00
ligi
4ff581ae5a Correct package-path 2015-11-13 00:03:27 +01:00
ligi
2dc7f39c87 Bump version to 2.5.9 2015-11-12 22:25:02 +01:00
ligi
57a160217f Add tests for the URLRewriteController 2015-11-12 22:06:18 +01:00
ligi
08b40ebb35 Move logic to controller 2015-11-12 16:21:10 +01:00
ligi
ea6f29f146 Rewrite URL for Brussels Airlines 2015-11-12 16:13:37 +01:00
ligi
7022e3aa5e Improve barcode handling 2015-11-11 23:41:27 +01:00
ligi
7712044547 Add function to zoom in and out the barcode 2015-11-10 22:50:19 +01:00
ligi
3efed3e588 Nicer access of PassFormat 2015-11-09 19:34:58 +01:00
ligi
de2ec23ac2 Setting the Title is done in apply 2015-11-09 19:18:17 +01:00
ligi
7de5846278 Same conditions for showing update icon and precondition 2015-11-09 15:13:05 +01:00
ligi
dff33c029d Extract update string 2015-11-09 14:49:31 +01:00
ligi
042ec58dc0 Use buildToolsVersion "23.0.2" 2015-11-06 18:18:23 +01:00
ligi
fad3c88bda Use Joda-Android 2.9.0 2015-11-05 23:56:53 +01:00
ligi
24e027e695 Close the body 2015-11-04 10:54:37 +01:00
ligi
292b295f3f Use assertj 1.1.1 2015-10-23 19:32:05 +02:00
ligi
877f7846c5 We also need to exclude guava for spoon-runner 2015-10-23 18:32:20 +02:00
ligi
96037a6ec6 Use Espresso 2.2.1 2015-10-19 01:02:56 +02:00
ligi
d31150f411 Bump version to 2.5.8 2015-10-18 23:49:08 +02:00
ligi
2e2bc0b87f Bump to JSR305 3.0.1 2015-10-18 23:41:11 +02:00
ligi
ac70e14e3c Use gson 2.4 2015-10-18 23:28:16 +02:00
ligi
4fa9bd1126 Use load-toast 1.0.9 2015-10-18 23:24:46 +02:00
ligi
9e6ea6b843 Let all pathPatterns start with / 2015-10-18 20:40:57 +02:00
ligi
e4d0f1fa94 Workaround spoon issue:
https://github.com/stanfy/spoon-gradle-plugin/issues/74
2015-10-18 14:36:03 +02:00
ligi
6a15f20965 Move android from root to child 2015-10-17 23:07:22 +02:00