Niko Lehto
c90245da25
Restore page name after disconnect
2019-09-04 15:05:14 +02:00
Pierre Ossman
6aed0b4dd2
Deprecate showDotCursor option for RFB constructor
...
It is not relevant for the connection stage so it should not have
been a constructor argument to begin with. Ship with a warning for
a release before we remove it.
2019-08-23 14:00:20 +02:00
Samuel Mannehed
897b465b87
Add missing parentheses for arrow func arg
...
Our lint tests expect this when an arrow functino has a body with
curly braces.
2019-07-23 16:12:22 +02:00
Juanjo Diaz
15c7b7a619
Add version number to UI
2019-07-23 10:25:59 +03:00
nnn1590
7ded517823
Add Japanese translation
2019-06-12 04:30:56 +09:00
Samuel Mannehed
32e081950c
Revert "Fullscreen from iframe ( #1236 )" ( #1247 )
...
This reverts commit 19cdc15aa3
.
2019-05-25 02:51:38 +02:00
Ján Jockusch
19cdc15aa3
Fullscreen from iframe ( #1236 )
...
* First attempt to make the fullscreen button work inside an iframe.
* Cleaner distinction between document element and document.
* Scoping corrections. Auto-detect correct iframe.
* Added comments to the relevant sections.
* IE issue fixed.
* Same source issue solved. fullscreenToggle now checks if it is permitted to inspect other iframes.
2019-05-13 15:06:32 +02:00
Samuel Mannehed
3ba5cefef2
Update generated JS files for translations
2019-04-09 16:22:16 +02:00
Samuel Mannehed
9a823732a0
Merge pull request #1204 from juanjoDiaz/small_improvements
...
Small improvements
2019-03-04 09:32:11 +01:00
Juanjo Diaz
1c9b904d1a
Remove callbacks from UI in favour of promises
2019-02-27 10:18:59 +02:00
Dmitriy Shweew
d917ccdaf7
Add Russian translation ( #1211 )
...
By Dmitriy Shweew (shweew)
2019-02-27 01:24:22 +01:00
Baw_Appie
823daa8002
Add Korean translation
2019-01-16 10:43:49 +01:00
Samuel Mannehed
ef64917a90
Only disable scrollbars on Android and iOS
...
Previously scrollbars were disabled on all touch devices. This meant
that they were disabled on Windows when touch was detected. Windows does
in fact have useful scrollbars even in touch mode. Fixes Issue #1172
2019-01-09 14:59:22 +01:00
Samuel Mannehed
47b3eac82b
Move UI.isSafari into core/util/browser.js
...
This is where the rest of these kinds of functions are.
2019-01-09 14:58:03 +01:00
Sebastian Safari
3e835a5d37
Add Windows Key Feature
2019-01-08 06:57:12 -08:00
Samuel Mannehed
cffb42ee8f
Dont reset touch mouse button state for view-only
...
Fixes bug introduced in 61f93180c8
.
2018-11-01 11:22:19 +01:00
Samuel Mannehed
7449170cc8
Fix chinese translation of "Connect"
...
Thanks to Lyon Hu (@chnhyg) for finding the issue.
2018-11-01 11:07:58 +01:00
Petr
56c82ecd35
Czech translation
2018-10-19 13:01:39 +02:00
Solly Ross
84586c0f17
Change copyright header ( #1138 )
...
* Change copyright header
This updates the copyright header to say "The noVNC Authors". People
who previously had copyright listings are now under the AUTHORS file.
2018-10-09 12:15:35 +02:00
Pierre Ossman
9881899e7b
Merge branch 'style' of https://github.com/CendioOssman/noVNC
2018-09-17 13:54:04 +02:00
Alexander E. Patrakov
4c38179d15
Show dot when there is no visible cursor
...
Disabled by default.
2018-09-14 20:31:59 +05:00
Pierre Ossman
2c5491e131
Enforce space after function name
2018-09-06 17:34:15 +02:00
Pierre Ossman
426a8c927b
Enforce curly braces for control statements
2018-09-06 17:22:40 +02:00
Pierre Ossman
4a16dc51a8
Enforce no trailing whitespace
2018-09-06 17:12:45 +02:00
Pierre Ossman
35068204f4
Enforce keyword spacing
2018-09-06 17:08:19 +02:00
Pierre Ossman
942a312779
Enforce object key spacing
2018-09-06 17:07:11 +02:00
Pierre Ossman
e777765320
Enforce function names
2018-09-06 16:53:40 +02:00
Pierre Ossman
6786fd8719
Enforce comma spacing
2018-09-06 16:43:31 +02:00
Pierre Ossman
7b536961b2
Enforce indentation
2018-09-06 16:37:38 +02:00
Pierre Ossman
a98881151f
Enforce brace style
2018-09-06 15:39:26 +02:00
Samuel Mannehed
e0d4e5a1c0
Move css rules for vnc_lite to the html
...
Easier to get an overview if it's all in one file.
2018-08-21 11:34:28 +02:00
Samuel Mannehed
c995c0863e
Revert "Handle if desktopName isn't set.."
...
This reverts commit 22000b93d5
. The
'desktopname' and the 'connect' events are dispatched by us in RFB and
are thus serial.
2018-08-16 15:52:21 +02:00
Samuel Mannehed
22000b93d5
Handle if desktopName isn't set when connected
...
We can't guarantee that the desktopName event has been fired before the
connect event.
2018-08-16 13:33:35 +02:00
Samuel Mannehed
a793df3d6d
Merge pull request #1118 from novnc/disabledragwhilescale
...
Turn off view drag when scaling
2018-08-16 10:31:09 +02:00
Samuel Mannehed
4ddcc7537f
Merge enableDisableViewClip and updateViewClip
...
Makes the code easier to follow and makes sure that viewDrag is
properly disabled when scaling. Fixes #1110 .
2018-08-16 10:29:01 +02:00
Samuel Mannehed
3b7c47417e
Move dragThreshold definition to util/
...
In order to avoid multiple declarations that has to be updated in the
case of future updates.
2018-08-10 11:24:09 +02:00
Samuel Mannehed
2bbd15ccaf
Remove setViewDrag function
...
Unnecessary function only used in the toggle function above.
2018-07-30 10:46:41 +02:00
Samuel Mannehed
0b903af296
Remove unnecessary code
...
The enableDisableViewClip call in the fullscreen code didn't have any
effect and should have been removed when the special case for clipping
in IE and Safari fullscreen was removed in b18ef81
.
The setViewDrag call claimed to disable view drag on UI state change.
The UI states are:
init, connecting, connected, reconnecting, disconnecting, disconnected
The only state where the called function didn't immediately return was
"connected" and that's the only state where enabling view drag is
possible. Thus it could never have been enabled when changing to the
"connected" state.
2018-07-30 10:29:35 +02:00
Juanjo Diaz
651c23ece3
Use fat arrow functions `const foo = () => { ... };` for callbacks
...
and any other function that is passed around and it's not a top level function
2018-07-12 19:06:57 +02:00
Juanjo Diaz
0e4808bf6f
Use ES6 classes
...
Always use the shorthand notation if the function is a method of an object or class `{ foo() { ... } }` or `class bar { foo() { ... } }`
unless it's a callback in which case you a fat arrow function should be used `{ cb: () => { ... } }`
2018-07-12 19:06:57 +02:00
Samuel Mannehed
11715f2092
Properly force clipping on touch
...
It shouldn't depend on what's saved in webstorage nor save the forced
value to webstorage.
Includes a revert of 0342e4f489
2018-06-07 15:58:31 +02:00
Samuel Mannehed
0342e4f489
Clipping should be enabled on touch
...
This was always the intention and the main use case of 'clipping'. It
seems like it got lost somewhere along the way.
2018-06-04 21:41:45 +02:00
Juanjo Diaz
2b5f94fa6a
Prefer const/let over var
2018-05-24 00:27:09 +03:00
Juanjo Diaz
8727f598c2
Add eslint and fix reported issues
2018-05-24 00:25:44 +03:00
Zhou Chaolin
024aca48e5
Update the noVNC translation part
...
fix the specification in zh_CN.po
2018-04-24 02:29:51 +08:00
CUI Wei
dcee7c5e91
Add translation in zh_CN
...
Signed-off-by: CUI Wei <ghostplant@qq.com>
2018-04-07 06:16:00 -04:00
Pierre Ossman
3328675b44
Clarify which Chinese translation we have
...
Chinese has several writing systems so we need to be clear which one
our translation covers. The one we currently have is for Traditional
Chinese so make sure it uses the matching language tag.
2018-04-03 14:51:12 +02:00
Pierre Ossman
7d60e97cc9
Only show error stack if it is not empty
...
Parsing errors will not have a stack, and we don't want an empty
box in those cases.
2018-03-21 15:33:14 +01:00
Samuel Mannehed
06309160ee
Only disable animation when element is displayed
...
The transitionend event will not fire when display=none. This can
prevent the initial animation for hiding the controlbar in some cases.
2018-03-08 16:52:53 +01:00
Andrew Webster
8ad8f15cf6
Move writeSetting from updateSetting to initSetting
...
initSetting was the only place that supplied a 'value' to
updateSetting. So move it to clean up updateSetting.
2018-02-13 10:22:36 -05:00