Commit graph

334 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
715b9f81c7 Only append fields when they are not null 2016-03-22 22:21:08 +01:00
ligi
6cf51d24d1 Change timing 2016-03-22 14:04:47 +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
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
f3d9bd4c2a Make tests resilliant against devices with different language 2016-03-18 09:19:07 +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
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
3338619680 Add Settings / new NavDrawer / Condensed Mode / Auto-Light / Migrate to Vector-Drawables 2016-03-09 07:17:16 +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
f07114fdab Declare final 2016-03-01 02:09:57 +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
4a081cd6ef Do not FC on OOM 2016-02-21 09:05:38 +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
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
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
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
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
cdac8cd715 Remove the 32C3 special 2015-12-30 14:15:59 +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
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
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
5eb3c620ae Decouple SharedPreferences - so that flaky test gets unflaky 2015-12-10 17:33:46 +01:00
ligi
0012be65b0 Add new spanish translations 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
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
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
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
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
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
24e027e695 Close the body 2015-11-04 10:54:37 +01:00
ligi
9e6ea6b843 Let all pathPatterns start with / 2015-10-18 20:40:57 +02:00
ligi
6a15f20965 Move android from root to child 2015-10-17 23:07:22 +02:00