Commit Graph

48 Commits (acb96b5d1ed6c5297a03ecf4f7a1452ccd50041c)

Author SHA1 Message Date
Andrew Gregory dd27b11eb8
Update app.js
Fix automatic font sizing.
2022-03-24 09:43:32 +08:00
Andrew Gregory 00ad2a1278
Update app.js
Define some constants.
Add RFC comments.
2022-03-23 22:24:14 +08:00
Andrew Gregory b3cc125a3f
Update app.js
Use let instead of var.
2022-03-23 16:36:42 +08:00
Andrew Gregory 05b75d2241
Update app.js
Fix missing break.
2022-03-23 16:30:24 +08:00
Andrew Gregory 47332eba50
Update app.js
Simplify.
2022-03-23 16:26:48 +08:00
Andrew Gregory bf30b35ac0
Update app.js
Fix progress bar drawing.
2022-03-23 16:18:21 +08:00
Andrew Gregory b26d341609
Update app.js
Refactoring
2022-03-23 16:13:57 +08:00
Andrew Gregory 94207739c0
Update app.js
Refactoring
2022-03-23 14:22:17 +08:00
Andrew Gregory 1d7c090c21
Update app.js
Update progress bar on Bangle1 button presses.
Clean up timer before exiting.
2022-03-22 23:26:50 +08:00
Andrew Gregory 9886125fbd
Update app.js
Refactoring and extra range checks.
2022-03-22 23:16:17 +08:00
Andrew Gregory ed36b7286e
Update app.js
Workaround Bangle1 issues
2022-03-20 23:11:18 +08:00
Andrew Gregory 1523a15b8e
Update app.js
Rewrite UI code and drawing
2022-03-20 17:36:34 +08:00
Andrew Gregory ebdea05bff
Update app.js
Improve code style
2022-03-09 21:53:24 +08:00
Andrew Gregory d7def5d5e1
Update app.js
Cache font size calculations
2022-03-08 21:52:57 +08:00
Andrew Gregory 7810dd2cfc
Update app.js
Bangle 2: Improve drag responsiveness and exit on button press
2022-03-07 23:33:23 +08:00
Andrew Gregory cb0aec47a4
Update app.js
Add language translation tags
2022-03-02 16:57:48 +08:00
Andrew Gregory 501c7e79cf
Update app.js
Support some invalid base32 characters.
2022-03-02 16:55:38 +08:00
Andrew Gregory 87cfd379e8
Update app.js
Fix #12
Optimize graphics calls a bit
2022-03-01 22:02:13 +08:00
Andrew Gregory 33dc4954c2
Update app.js
Precalculate overall token height.
Have Bangle1 list UI work more like a Pebble.
2022-02-19 17:20:09 +08:00
Andrew Gregory 7b6386ce5d
Update app.js
Use exitApp()
2021-12-31 15:56:39 +08:00
Andrew Gregory d1e7a7a220
Update app.js
Fix extra zeros out of b32decode()
2021-12-31 12:00:11 +08:00
Andrew Gregory 26079db909
Update app.js
Restore swipe to exit.
2021-12-31 11:39:22 +08:00
Andrew Gregory d9cb12bdf1
Shrink label to fit 2021-12-05 19:42:44 +08:00
Andrew Gregory 3adb3f1c2b
Make main digits height configurable 2021-12-05 19:27:50 +08:00
Andrew Gregory 77967c037e
Update app.js 2021-12-03 22:39:39 +08:00
Andrew Gregory 184a57ef42
Update app.js 2021-12-03 12:24:46 +08:00
Andrew Gregory 36ae60a81a
Update app.js 2021-12-03 12:15:44 +08:00
Andrew Gregory 517ff25fc2
Update app.js 2021-12-03 12:07:26 +08:00
Andrew Gregory a75b58df70
Rework idle timeout. 2021-12-03 12:02:31 +08:00
Andrew Gregory c537d5c5f7
Touch resets idle timeout 2021-12-03 00:06:30 +08:00
Andrew Gregory e7dcd59295
Exit to clock on inactivity 2021-12-02 23:55:46 +08:00
Andrew Gregory 5fe942446b
Update app.js 2021-12-02 21:54:53 +08:00
Andrew Gregory cb8ee70625
Update app.js 2021-12-02 16:05:36 +08:00
Andrew Gregory b848c45ce4
Improve token display
Limit label length. Reduce digits font size until it fits.
2021-12-01 23:42:17 +08:00
Andrew Gregory 60a8c487ad
Support updated settings file 2021-12-01 22:05:53 +08:00
Andrew Gregory dfd7a02e12
Show placeholder "Calculating"
Fixes #2
2021-12-01 21:26:41 +08:00
Andrew Gregory e1c67cf345
Save in new JSON format too 2021-12-01 00:22:23 +08:00
Andrew Gregory 989dc5ccd4
Use new JSON format. 2021-12-01 00:18:44 +08:00
Andrew Gregory d8ac7cfd57
Change Bangle1 BTN2 to show launcher. 2021-11-13 21:50:44 +08:00
Andrew Gregory d9733ebd57
Fix empty tokens handling 2021-11-13 19:06:37 +08:00
Andrew Gregory fe345a35ad
Implement Bangle1 support 2021-11-13 17:44:32 +08:00
Andrew Gregory 5f8fd7c808
Add counter swipe hint 2021-11-13 12:04:30 +08:00
Andrew Gregory 3ed953fcd2
Add HOTP support 2021-11-13 00:58:50 +08:00
Andrew Gregory 9022b2811a
Update app.js 2021-11-09 23:24:05 +08:00
Andrew Gregory a1cdbc1e2a
Update app.js
Use Bangle.appRect where appropriate.
2021-11-02 12:47:59 +08:00
Andrew Gregory 36afdad86b
Update app.js
Add widget support. Add custom font for digits.
2021-10-31 22:15:25 +08:00
Andrew Gregory 9b2d8f8cc4
Update app.js 2021-10-29 22:10:43 +08:00
Andrew Gregory 7747ec8a9e
Create app.js 2021-10-29 21:37:38 +08:00