summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/main.html
Commit message (Collapse)AuthorAgeFilesLines
* Get Chromoting client working in Apps V2jamiewalch@chromium.org2013-01-291-2/+3
| | | | | | | | | | | | | | | This involves the following: 1. Removing chrome extension API calls from wcs.js and wcs_loader.js. 2. Moving those files into a separate <iframe> sandbox. 3. Adding a postMessage-based API to communicate with the rest of the code. 4. Working around miscellaneous sandbox restrictions. BUG=134213 Review URL: https://chromiumcodereview.appspot.com/12021029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179413 0039d316-1c4b-4281-b951-d872f2087c98
* PIN dialog clean-ups.jamiewalch@chromium.org2013-01-291-12/+12
| | | | | | | | | | | | | * Move the "Why is this safe?" link up so that it's clear it refers to the PIN, not to the usage stats consent checkbox. * Move the PIN error message above the usage stats consent checkbox. BUG=171596 Review URL: https://chromiumcodereview.appspot.com/12041079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179227 0039d316-1c4b-4281-b951-d872f2087c98
* Allow resize-to-client to be enabled by the user.jamiewalch@chromium.org2013-01-171-3/+5
| | | | | | | | | | | Off by default (on all platforms) but saved between connections. BUG=157254 Review URL: https://chromiumcodereview.appspot.com/11886007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177306 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed PIN safety URL.jamiewalch@google.com2013-01-101-1/+1
| | | | | | | | BUG=169074 Review URL: https://codereview.chromium.org/11819040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176191 0039d316-1c4b-4281-b951-d872f2087c98
* Apps v2 identity integration.jamiewalch@google.com2013-01-091-20/+25
| | | | | | | | | | | | | | | This CL adds support for Chrome's identity API, part of the Apps v2 migration effort: * Add identity.js, wrapping chrome.experimental.identity and handling user consent UI automatically. * Since the consent UI is now shown on-demand, it's better handled as an explicit overlay rather than as a AppMode, so remove home.auth. * Move access token and email address functionality out of oauth2.js into identiry.js. * Add stub code to simplify the transition to using the new code. * Add patch to enable Apps v2 work-in-progress. BUG=134213 Review URL: https://codereview.chromium.org/11769002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175930 0039d316-1c4b-4281-b951-d872f2087c98
* Mock chrome.storage (https://developer.chrome.com/extensions/storage.html) ↵jamiewalch@google.com2012-12-201-0/+1
| | | | | | | | | | | | API in preparation for Apps v2 migration. I haven't changed oauth2.js, since that's going to need to be completely rewritten to make it Apps-v2-compatible. BUG=134213 Review URL: https://codereview.chromium.org/11638031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174195 0039d316-1c4b-4281-b951-d872f2087c98
* Add Print Screen option to Send Keys menu.rmsousa@chromium.org2012-08-311-0/+1
| | | | | | | | | | BUG=144550 TEST=Manual: linux-(linux, mac) me2me, linux-linux it2me. Review URL: https://chromiumcodereview.appspot.com/10908026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154534 0039d316-1c4b-4281-b951-d872f2087c98
* Add CSP restricting script and object sources to Chromoting manifest.wez@chromium.org2012-08-241-1/+1
| | | | | | | | | | | | | | This CL also: * Moves inline script out of oauth2_callback.html. * Fixes loading of the font CSS to use https. * Fixed download of the Mac host installer to use https. BUG=142957 Review URL: https://chromiumcodereview.appspot.com/10879047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153317 0039d316-1c4b-4281-b951-d872f2087c98
* Don't apply opacity to focus borders.jamiewalch@google.com2012-08-211-4/+7
| | | | | | | | BUG=127667 Review URL: https://chromiumcodereview.appspot.com/10832402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152627 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for suppressing error logging, and don't log errors due to ↵jamiewalch@chromium.org2012-08-041-0/+1
| | | | | | | | | | | cached host information or client device suspend. BUG=139389 Review URL: https://chromiumcodereview.appspot.com/10825187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150004 0039d316-1c4b-4281-b951-d872f2087c98
* This CL cleans up error handling when fetching the user's email address. We ↵jamiewalch@google.com2012-07-201-2/+6
| | | | | | | | | | | | | | do this once per login, immediately after getting the OAuth2 refresh token, so failures should be rare, but we've had at least one report of problems, and the current failure mode is to tell the user that the service is unavailable. Specifically, this CL: * Adds an onError callback so that the caller can be notified of exactly what went wrong. * Makes sure that a valid email address exists before allowing the user to interact with the app (the alternative is to make accessing the email address asynchronous everywhere, which gets messy very quickly). BUG=137713 TEST= Review URL: https://chromiumcodereview.appspot.com/10807026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147588 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 'Enable' button on unsupported platforms. Added 'No hosts' message.jamiewalch@google.com2012-06-301-0/+12
| | | | | | | | | BUG=131403 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10703034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145045 0039d316-1c4b-4281-b951-d872f2087c98
* Increase PIN minimum length to six digits.jamiewalch@google.com2012-06-291-1/+4
| | | | | | | | | BUG=134525 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10676009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144844 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up <input> CSS and simplified user consent mark-up.jamiewalch@google.com2012-06-271-11/+12
| | | | | | | | | BUG=134063 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10661009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144513 0039d316-1c4b-4281-b951-d872f2087c98
* Pass OAuth token refresh errors back to the caller.jamiewalch@google.com2012-06-251-3/+27
| | | | | | | | | | | | | | | | | | This allows the app to advise the user to sign back in to Chromoting only when we believe it will actually help. As a bonus, the unhelpfully-named ERROR_GENERIC is now gone--apart from OAuth refresh failures, it was being used for edge-cases where we don't expect anything to go wrong (these now use the more suitably-named ERROR_UNEXPECTED). As part of fixing this, I have cleaned up some OAuth call points that were written before callWithToken existed, and which weren't using it. BUG=122899,130794 TEST=Corrupt the oauth2-refresh-token value in HTML Local Storage Review URL: https://chromiumcodereview.appspot.com/10579012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144059 0039d316-1c4b-4281-b951-d872f2087c98
* The user's consent to crash dumps reporting can now be set via the UI ↵alexeypa@chromium.org2012-06-221-0/+9
| | | | | | | | | | (Windows only). The checkbox is presented on the Start/Change PIN dialog. The user's selection is then written to usagestats under ClientStateMedium key. BUG=130678 Review URL: https://chromiumcodereview.appspot.com/10537182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143504 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Chromoting web-app client plugin V1 wrapperswez@chromium.org2012-05-311-1/+0
| | | | | | | | | | BUG=130335 TEST=Manual verification of web-app client functionality, and PyAuto tests. Review URL: https://chromiumcodereview.appspot.com/10441105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139843 0039d316-1c4b-4281-b951-d872f2087c98
* Make local host edit control keyboard-accessible.jamiewalch@google.com2012-05-101-1/+2
| | | | | | | | | BUG=126200 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10389081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136401 0039d316-1c4b-4281-b951-d872f2087c98
* Improve keyboard navigation.jamiewalch@google.com2012-05-081-1/+1
| | | | | | | | | | | | | * Ensure all hyperlinks are selectable (have hrefs). * Ensure that the selected element has a visual indicator. * Added keyboard navigation to the host list. BUG=126200 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10375057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135937 0039d316-1c4b-4281-b951-d872f2087c98
* Move the web-app description into the IT2Me section.jamiewalch@google.com2012-05-071-3/+3
| | | | | | | | | | | (and use a more sensible way of setting the colour). BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10388009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135719 0039d316-1c4b-4281-b951-d872f2087c98
* Handle errors when fetching email address.jamiewalch@google.com2012-05-071-1/+3
| | | | | | | | | BUG=126309 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10383026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135703 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed spacing, alignment and bidi for non-English versions.jamiewalch@google.com2012-05-041-34/+53
| | | | | | | | | BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10381022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135480 0039d316-1c4b-4281-b951-d872f2087c98
* Add autofocus to non-form OK buttons.jamiewalch@google.com2012-05-041-2/+10
| | | | | | | | | | | | This means they can be activated with Enter (forms already respond to Enter via the "submit" event). BUG=126191 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10375003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135247 0039d316-1c4b-4281-b951-d872f2087c98
* Capitalize waiting state messages that form the main content of their ↵jamiewalch@google.com2012-05-011-3/+6
| | | | | | | | | | | | | dialogs and make them more prominent. As requested by UX. BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10270036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134750 0039d316-1c4b-4281-b951-d872f2087c98
* Added extra text to 'host started' dialog.jamiewalch@google.com2012-05-011-1/+2
| | | | | | | | | BUG=125568 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10274022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134665 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Display long local host names correctly.simonmorris@chromium.org2012-04-191-6/+4
| | | | | | | | BUG=121512 Review URL: https://chromiumcodereview.appspot.com/10145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133067 0039d316-1c4b-4281-b951-d872f2087c98
* Web-app visual and string tweaks.jamiewalch@google.com2012-04-171-15/+12
| | | | | | | | | | | | | | | * Implemented waiting class using a background image like error-state. * Make waiting text line up with Cancel buttons. * Make tool-bar spacing i18n- and hostname-safe. * Updated strings after reviewer feedback. * Fixed vertical position of host setup transitional text. BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10103034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132601 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Clear all localStorage when the user signs out.simonmorris@chromium.org2012-04-091-1/+1
| | | | | | | | BUG=122091 Review URL: https://chromiumcodereview.appspot.com/10022001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131371 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up daemon DOM.jamiewalch@google.com2012-04-061-19/+19
| | | | | | | | | BUG=121148 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10005046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131159 0039d316-1c4b-4281-b951-d872f2087c98
* Rename DaemonPlugin class to HostController.sergeyu@chromium.org2012-04-051-1/+1
| | | | | | Review URL: http://codereview.chromium.org/9998003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130854 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting Me2Me installation flow for Mac.lambroslambrou@chromium.org2012-04-051-1/+20
| | | | | | | | | BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9979023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130800 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Compare the two daemon PINs specified by the user at daemon ↵simonmorris@chromium.org2012-04-041-0/+4
| | | | | | | | | | | | install time. This is a follow-up to codereview.chromium.org/9981008. BUG=121516 Review URL: https://chromiumcodereview.appspot.com/9982016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130748 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Improve the PIN entry part of the host setup dialog.simonmorris@chromium.org2012-04-041-2/+4
| | | | | | | | | | | | | | | - Sets focus to the first PIN text widget. - On ENTER, moves focus to the second PIN text widget. - Clears PIN text widgets before starting the flow. - Fixes a minor HTML typo. A follow-up CL will compare the values of the two PIN text widgets. BUG=121516 Review URL: https://chromiumcodereview.appspot.com/9981008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130679 0039d316-1c4b-4281-b951-d872f2087c98
* Add a button to the web-app to send Ctrl-Alt-Delete to the host.wez@chromium.org2012-04-041-0/+10
| | | | | | | | | | | | | The button will only be displayed if the client browser supports injectKey(). Detecting and handling Ctrl-Alt-Del in hosts will be implemented separately. BUG=120313 TEST=Manually verify (e.g. using xev on a Linux host) that using the button injects the correct events, or verify that using the button to a Windows host has the same effect it would locally (e.g. shows Task Manager or the Security screen). Review URL: https://chromiumcodereview.appspot.com/9963084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130669 0039d316-1c4b-4281-b951-d872f2087c98
* Disable daemon UI if unsupported.jamiewalch@google.com2012-04-041-1/+2
| | | | | | | | | BUG=120805 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9950132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130653 0039d316-1c4b-4281-b951-d872f2087c98
* Add ref to client_plugin.js file in main.html.garykac@chromium.org2012-04-031-0/+1
| | | | | | | | | | | This is needed to pick up the remoting.ClientPlugin definitions. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9950106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130499 0039d316-1c4b-4281-b951-d872f2087c98
* Added 'why is this safe?' linkjamiewalch@google.com2012-04-031-0/+4
| | | | | | | | | | | Note that the link is not yet live. BUG=119093 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9958123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130486 0039d316-1c4b-4281-b951-d872f2087c98
* Filter the local host id from the list.jamiewalch@google.com2012-04-031-6/+13
| | | | | | | | | BUG=121151 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9956092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130420 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up daemon control UI:jamiewalch@google.com2012-03-301-47/+59
| | | | | | | | | | | | | * Improve spacing of top-level UI. * Add a Cancel button to the PIN dialog (UI still needs work). * Add an OK button to the "finished" and "error" dialogs. BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129797 0039d316-1c4b-4281-b951-d872f2087c98
* Remove intro border and em dash.jamiewalch@google.com2012-03-291-4/+3
| | | | | | | | | BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9923024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129704 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Me2Me setup flow.sergeyu@chromium.org2012-03-291-8/+18
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9921001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129692 0039d316-1c4b-4281-b951-d872f2087c98
* Added first-run infographic screens for IT2Me and Me2Me.jamiewalch@google.com2012-03-291-59/+84
| | | | | | | | | BUG=120184 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9903008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129643 0039d316-1c4b-4281-b951-d872f2087c98
* Added screen options menu.jamiewalch@google.com2012-03-291-3/+14
| | | | | | | | | BUG=119092 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9884001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129535 0039d316-1c4b-4281-b951-d872f2087c98
* Shorter prompt string.jamiewalch@chromium.org2012-03-241-2/+2
| | | | | | | | | | | | The old string was deemed too long. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/9733021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128649 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Improve the text on the buttons in the connection-failed dialog.simonmorris@chromium.org2012-03-221-4/+4
| | | | | | | | | BUG=117300 Review URL: http://codereview.chromium.org/9827002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128269 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Adds a button that cancels PIN entry.simonmorris@chromium.org2012-03-201-0/+4
| | | | | | | | BUG=116813 Review URL: https://chromiumcodereview.appspot.com/9731014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127705 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed auth dialog spacing.jamiewalch@chromium.org2012-03-161-1/+1
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/9702046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127079 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Let the webapp detect new clipboard text items when it gets focus.simonmorris@chromium.org2012-03-151-0/+1
| | | | | | | | | BUG=117473 Review URL: http://codereview.chromium.org/9703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126974 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed button centering.jamiewalch@chromium.org2012-03-151-1/+1
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/9700029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126811 0039d316-1c4b-4281-b951-d872f2087c98
* Hide daemon UI initially.jamiewalch@google.com2012-03-121-2/+2
| | | | | | | | | BUG=117555 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9664013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126208 0039d316-1c4b-4281-b951-d872f2087c98