Commit graph

380 commits

Author SHA1 Message Date
ligi
61d2cfc1e9 Bump version to 3.0.9 2016-04-18 03:18:32 +02:00
ligi
5e5c1c092f Deal with invalid main.json 2016-04-18 02:52:03 +02:00
ligi
d4e2a11fb4 Display error when message is invalid 2016-04-18 02:19:07 +02:00
ligi
5a1c1145de Improve naming 2016-04-18 02:08:45 +02:00
ligi
a5cf371d9d Ability to generate random EAN13 2016-04-18 02:08:45 +02:00
ligi
e0ff222563 Add EAN_13 support
closes #76
2016-04-18 02:08:23 +02:00
ligi
618b2a652f Refactor RadioButton creation for BarCode edit
this is preparation to implement #76
2016-04-18 01:06:22 +02:00
ligi
aa82b80e8c Remember the last selected tab
closes #74
2016-04-17 23:59:00 +02:00
ligi
6c3ced9fb8 Externalize string 2016-04-17 20:44:27 +02:00
ligi
d399f2c2c9 Change topic suggestion
closes #73
2016-04-17 20:42:01 +02:00
ligi
ce226d432d Externalize strings 2016-04-17 18:02:14 +02:00
ligi
fdc545095a Fix indentation 2016-04-17 17:36:50 +02:00
ligi
d6df268ea5 Adapt to server-side changes of Virgin-Australia 2016-04-17 16:15:33 +02:00
ligi
31cbea7d7b Bump version to 3.0.8 2016-04-16 22:49:02 +02:00
ligi
8cc062c451 Revert "Convert Events to Kotlin"
converting these classes produces problems with proguard
This reverts commit 1a50ed877c.
2016-04-16 22:47:52 +02:00
ligi
cc314a5849 Bump version to 3.0.7 2016-04-14 21:33:06 +02:00
ligi
2929b904f1 Fix a proguarding issue 2016-04-14 21:32:17 +02:00
ligi
30246edd2c Cleanup 2016-04-14 21:08:21 +02:00
ligi
dd88642ca3 Bump version to 3.0.6 2016-04-14 20:36:35 +02:00
ligi
7b602eceb0 Autosave 2016-04-14 20:18:06 +02:00
ligi
3c18259dfe Copy ic_launcher into new pass as icon
closes #70
2016-04-14 19:42:53 +02:00
ligi
86f6aab7bc Extract strings 2016-04-14 18:58:07 +02:00
ligi
1a50ed877c Convert Events to Kotlin 2016-04-14 18:48:23 +02:00
ligi
8c1847009b Cleanup 2016-04-14 18:48:23 +02:00
ligi
34c28d2d4f Give a more meaningful name 2016-04-14 18:48:23 +02:00
ligi
5fa4ea72a5 Bump verstion to 3.0.5 2016-04-14 08:00:52 +02:00
ligi
f0a21c09f3 Adapt to new AirCanada URLs 2016-04-14 07:42:40 +02:00
ligi
1ed4370a6d Change Editing UX
closes #69 and closes #48
2016-04-14 07:21:02 +02:00
ligi
d0eb67790c This check is not needed anymore 2016-04-12 16:28:50 +02:00
ligi
f9e8cbbca1 Code style 2016-04-12 15:53:10 +02:00
ligi
5e10f04e24 Add missing annotation 2016-04-12 15:46:34 +02:00
ligi
d601db06ea optionalPass -> currentPass as it is not optional anymore 2016-04-12 15:46:02 +02:00
ligi
4defb2d369 Add missing annotation 2016-04-12 15:44:12 +02:00
ligi
f5304d8913 Improve code style 2016-04-12 15:16:44 +02:00
ligi
c7b1ae769d Cleanup 2016-04-12 14:47:25 +02:00
ligi
6414bc81f9 Extract image extraction logic to AXT 2016-04-11 21:17:58 +02:00
ligi
5d598f5d64 Use the map of the classifier and not of the store to determine empty state
closes #67
2016-04-11 20:11:17 +02:00
ligi
70fa97af00 Add extra proguard rules for kotlin 2016-04-11 19:51:22 +02:00
ligi
a0a6b76cad Notify after syncing 2016-04-11 19:51:06 +02:00
ligi
cc90780a45 Revert "Convert AndroidSettings to Kotlin"
This reverts commit 638484c112.
2016-04-11 18:06:10 +02:00
ligi
8f4705594c Revert "Convert class to Kotlin ( 22LOC -> 1LOC :)"
This reverts commit 80aff8ff33.
2016-04-11 18:03:35 +02:00
ligi
638484c112 Convert AndroidSettings to Kotlin 2016-04-11 16:57:56 +02:00
ligi
80aff8ff33 Convert class to Kotlin ( 22LOC -> 1LOC :) 2016-04-11 16:53:18 +02:00
ligi
ec5f1ea675 Cleanup 2016-04-11 16:26:35 +02:00
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