1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 19:42:01 +02:00
Commit graph

392 commits

Author SHA1 Message Date
Gunther Brunner
f73cac8b24 Revert "Fix canvas rotation being off on devices which are naturally landscape."
Regressions:
1) Flicker badly in Chrome
2) Image gets very blurry because the image is uploaded to the GPU and there are rounding errors
3) Resizing is not smooth again

This needs another way of fixing.

This reverts commit 9fc1a9c7939b9f464c87a2f99cb06000f5aedcbc.
2014-09-11 20:59:17 +09:00
Gunther Brunner
5a52b57e74 Add some translation. 2014-09-11 20:32:32 +09:00
Gunther Brunner
d0cd86b263 Fixed all nav-menu's current active highlighting. 2014-09-11 19:30:13 +09:00
Valverde Antonio
b709887e22 Fix broken promise chain in transaction service. 2014-09-11 19:16:51 +09:00
Gunther Brunner
dbfbe53b37 Finally Control button is implemented.
Also the route /control tries to use the last used device.
2014-09-11 18:15:16 +09:00
Simo Kinnunen
6714ba8d24 Move most installation functionality to InstallService. This makes it easier to have multiple drop areas while keeping them in sync. 2014-09-05 17:28:01 +09:00
Simo Kinnunen
cc403ee553 Update bluebird because the deprecated features are still available. Use same bluebird in browser. 2014-09-05 15:32:21 +09:00
Simo Kinnunen
77261ffd43 Remove unused errors and make STF error codes match Android error codes better. 2014-09-05 14:00:51 +09:00
Simo Kinnunen
ede65d518c Fix canvas rotation being off on devices which are naturally landscape. 2014-09-05 12:00:27 +09:00
Simo Kinnunen
c5a4727ae3 Refactor installation to work out a few bugs and to make it cleaner. Transactions now reject on fail-responses, still need to update other places. 2014-09-05 12:00:27 +09:00
Simo Kinnunen
fdfcdf913d Move install response codes to the filter. 2014-09-04 16:51:43 +09:00
Simo Kinnunen
73c8e52bce Include an error description for failed installations. 2014-09-04 16:23:25 +09:00
Gunther Brunner
02fb1f9add Unit tests now pass. 2014-09-04 16:19:58 +09:00
Gunther Brunner
2f172c2fda Add upload and installation errors. 2014-09-04 16:10:42 +09:00
Gunther Brunner
ce604d8211 All JSHint trough webpack passes now. 2014-09-02 17:25:22 +09:00
Gunther Brunner
7b77412edd Add webpack JSHint loader. 2014-09-02 16:27:36 +09:00
Gunther Brunner
a0e0d2228a JSHint. 2014-09-02 12:24:07 +09:00
Gunther Brunner
d8bf7449d1 Added Auto-route language support for documentation. 2014-09-01 16:19:23 +09:00
Gunther Brunner
a08d9e26f0 - Refactored e2e tests in separated test suites.
- `gulp protractor` now accepts a `--suite name` flag.
- Removed warning bug in ChromeDriver.
- ControlPage test now kicks the device.
2014-08-26 16:00:02 +09:00
Gunther Brunner
019a2499e9 Refactored keycodes to its own module. 2014-08-25 12:32:23 +09:00
Gunther Brunner
a0efad0ecf All dependency/unit test passes now.
Added karma loader for IE/Firefox/Safari/Opera.
2014-08-22 15:48:00 +09:00
Gunther Brunner
aad3db8828 Fixed most of the dependencies by unit testing.
Refactored TransactionService and StorageService.
2014-08-22 15:32:09 +09:00
Gunther Brunner
e27e17d699 APPSTATE refactoring:
- Make index.html cacheable by being stateless
- Improve compression (base64 doesn't gzip well)
- Remove base64 encoding/decoding step
- Make AppState injectable so it can be unit tested
- Ready to remove the global leakage
2014-08-22 15:04:16 +09:00
Gunther Brunner
743f8becd6 - Finally, most of the unit tests now passes (resolving dependencies also).
- Shims now exports angular module name, however some of them clash with the original.
2014-08-21 22:04:19 +09:00
Gunther Brunner
e78c7572e1 Added first working karma unit test. 2014-08-21 17:48:57 +09:00
Gunther Brunner
14ddd14b47 Added karma.conf.js
Removed unused vs-repeat.
2014-08-19 20:21:26 +09:00
Gunther Brunner
7e887b7fb3 Moved messages to ng-bind for performance. 2014-08-19 20:20:56 +09:00
Valverde Antonio
d7d80c4327 Implement get ringer mode. 2014-08-15 18:49:37 +09:00
Gunther Brunner
b150c5fc02 Added list of accounts for the store. 2014-08-04 21:34:37 +09:00
Gunther Brunner
4edcb387d4 Added favicon resolving to URL input.
Added blur event after entering URL.
Focus screen after entering URL.
2014-07-31 20:30:43 +09:00
Gunther Brunner
8696f833c2 Added native auto-fill support for URL input in Chrome. 2014-07-31 16:54:28 +09:00
Valverde Antonio
2e61911f8c Implement account check (if it's already added). 2014-07-30 19:25:09 +09:00
Valverde Antonio
4c5ca95396 Implement get account names function. 2014-07-30 16:05:17 +09:00
Valverde Antonio
1386b438c0 A bit of refactoring and new functionality for removeAccount method. 2014-07-29 16:23:04 +09:00
Gunther Brunner
fde5c98db8 Added Japanese translation. 2014-07-25 20:31:38 +09:00
Gunther Brunner
6c8b6bb5d4 Adding device unusable reasons in the UI (a bit rust). 2014-07-23 20:50:32 +09:00
Valverde Antonio
dab1ab9bd9 Implement get SD card status (if it's mounted or not). 2014-07-23 14:04:44 +09:00
Gunther Brunner
91239d22f8 Changed hotkeys to more sensible shortcuts.
Shortcuts can be used even from the remote control.
2014-07-22 17:02:42 +09:00
Gunther Brunner
a0ed5f93ad Stub for native-autocomplete directive with history. 2014-07-17 18:50:29 +09:00
Gunther Brunner
444a940fbb JSHint fixes. 2014-07-17 18:29:08 +09:00
Gunther Brunner
f5fb0a1317 Space key was being recognized as a change charset key. 2014-07-17 18:21:30 +09:00
Gunther Brunner
321e61db64 Added stub for refactoring screen to screen-keyboard and screen-touch. 2014-07-17 18:20:10 +09:00
Gunther Brunner
a06782ffb8 Added TODO for IE9. 2014-07-16 23:17:11 +09:00
Gunther Brunner
da40f061b4 Implemented change charset with the native PC charset keys.
Hacking was needed:
- Textarea changed to Input type "password", so that Alphanumeric keyboard is forced all the time.
- All the key input events are heavily browser/platform/keyboard dependent.
2014-07-16 22:57:50 +09:00
Gunther Brunner
8d165bc7a3 Changed default screen timeout to 3 seconds. 2014-07-16 21:10:12 +09:00
Gunther Brunner
700c320257 Added tabindex and accesskeys for common input controls. 2014-07-16 20:05:34 +09:00
Gunther Brunner
0f0cc56c41 Started adding a badge-icon directive. 2014-07-16 18:20:54 +09:00
Gunther Brunner
dd5b04998d Tried to fix the counting for zero,
but the real problem relies in that the device counting takes time and
we don't know before-hand how many devices we have.
Also the scope is not shared between the device list and the remote control.
2014-07-16 18:20:54 +09:00
Simo Kinnunen
7f9153788d Fix error when removing a device from a tracker. 2014-07-16 16:16:20 +09:00
Gunther Brunner
fa71aae56a Added admin-mode.
For now it shows/hides columns in the Device List and adds kicking behaviour.
Using $rootScope.adminMode for convenience.
2014-07-14 20:23:32 +09:00