Commit Graph

1047 Commits

Author SHA1 Message Date
Simo Kinnunen
1896d81bcf Fix unchanging rotated canvas size. 2014-09-11 21:28:33 +09:00
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
a9213e0659 Angular gettext is broken in 1.1.0. Reverting to 1.0.1. 2014-09-11 20:59:07 +09:00
Simo Kinnunen
0ee9e5fe53 Add browser icons to the device list. 2014-09-11 20:49:27 +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
Gunther Brunner
f0d52bf2c6 Added Xperia Z2 Tablet support.
Removed update-notifier, buggy for now.
2014-09-10 21:16:55 +09:00
Gunther Brunner
edd0d2578c Add prepublish script.
Needs to be executed as "npm run prepub" because default "npm prepublish" runs on every npm install.
2014-09-10 20:38:50 +09:00
Simo Kinnunen
265287382a Press home when user leaves so that we don't leave a game running 24/7 killing the device. 2014-09-10 19:29:22 +09:00
Gunther Brunner
76f5f14ace gulp-clean is deprecated now. Switching to gulp-rimraf. 2014-09-10 18:33:04 +09:00
Gunther Brunner
843e5f65e1 Tidying. 2014-09-10 16:02:25 +09:00
Gunther Brunner
2dcd98486e Merge remote-tracking branch 'origin/feature/update-notify' into develop
Conflicts:
	package.json
2014-09-09 16:30:03 +09:00
Gunther Brunner
2445b179ee Added JSCS style checking.
However, there are thousands of errors: it may need some rule relaxing.
Still needs to check for JSHint overlap.

Heated rules left out:
"disallowAnonymousFunctions": true,
"disallowCommaBeforeLineBreak": true
"requireCommaBeforeLineBreak": true,
"disallowKeywordsOnNewLine": true,
"requireKeywordsOnNewLine": true
2014-09-09 16:28:00 +09:00
Gunther Brunner
883fce71ea Updated dependencies. 2014-09-09 16:21:22 +09:00
Gunther Brunner
639d6c2394 Updated most external dependencies. 2014-09-08 19:54:24 +09:00
Gunther Brunner
70ced9ac38 Preliminary Appium support. 2014-09-08 18:11:12 +09:00
Simo Kinnunen
633b1764df Launch remote binaries with exec so that we don't leave the shell behind unnecessarily. 2014-09-08 15:24:00 +09:00
Simo Kinnunen
6e567941ca Fix a fairly bad memory leak in the remote screen API endpoint. 2014-09-05 22:42:43 +09:00
Simo Kinnunen
9dcd327420 Attempt to relaunch agent/service instead of dying instantly. 2014-09-05 19:51:30 +09:00
Simo Kinnunen
869f1ed7ac Make product names clickable links in the device list. Remove the ugly button from the model column. 2014-09-05 18:12:19 +09:00
Simo Kinnunen
a5d8e7c86b Slightly improve fugly code. 2014-09-05 17:49:14 +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
484f868094 Remove installation code from control-panes-controller until we find a way to reuse InstallController there or find some other way to make them work together. 2014-09-05 16:05:21 +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
254994ce3b Add space between installation warning "title" and content. 2014-09-05 13:32:43 +09:00
Simo Kinnunen
eb73140465 Don't expose install() to scope directly because it shouldn't be called. 2014-09-05 13:27:55 +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
Gunther Brunner
f91bf901fa Show progress bar after 2nd upload. 2014-09-04 18:03:45 +09:00
Gunther Brunner
22d44dcc27 However, downgrade Angular to 1.3.0-beta.18 because borderlayout breaks. 2014-09-04 17:20:26 +09:00
Gunther Brunner
f7dbdf8f8e Make html compatible with Angular new base href requirements. 2014-09-04 17:20:26 +09:00
Simo Kinnunen
2174de0eee Rename dashboard/upload to dashboard/install. 2014-09-04 17:17:54 +09:00
Simo Kinnunen
fdfcdf913d Move install response codes to the filter. 2014-09-04 16:51:43 +09:00
Simo Kinnunen
59f1aebc87 Fix response code JSON. 2014-09-04 16:32:58 +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
7ea5dd2777 Show installation error code. 2014-09-04 12:07:10 +09:00
Simo Kinnunen
e5983d5271 No need to log errors when we get a valid error code for installation failure. But it's still interesting so let's log it at a lower level. 2014-09-04 12:05:19 +09:00
Simo Kinnunen
f4d0071cc4 Fix uninstallable STFService due to testOnly flag. 2014-09-04 11:53:04 +09:00
Simo Kinnunen
b40f411631 Be more specific about app install failures. Also increase timeouts to deal with larger apps. 2014-09-04 11:37:14 +09:00
Simo Kinnunen
9b0f1e1dca Update STFService to 0.7.22 to hopefully reduce service deaths. 2014-09-03 20:39:08 +09:00
Gunther Brunner
314caaee34 Make clear tooltip for rotation button. 2014-09-03 19:40:41 +09:00
Gunther Brunner
b38972eeeb Fix gulp jade so it doesn't complain on undefined locals. 2014-09-03 19:39:28 +09:00
Gunther Brunner
fe7452e9f7 Add reason of why device and control are undefined sometimes. 2014-09-02 18:20:27 +09:00
Gunther Brunner
ce604d8211 All JSHint trough webpack passes now. 2014-09-02 17:25:22 +09:00
Gunther Brunner
176bd002da Merge remote-tracking branch 'origin/develop' into develop 2014-09-02 16:27:46 +09:00