Commit Graph

484 Commits

Author SHA1 Message Date
sbenmoussati
f056bac43e SDA-3646 Electron upgrade 2022-04-25 10:45:04 +02:00
sbenmoussati
7945630951 SDA-3646 Bugfix - Shared app remains in background 2022-04-25 10:45:04 +02:00
Salah Benmoussati
9bad945bbc
SDA-3642 Archiver upgrade due to vulnerability (#1386) 2022-04-12 14:16:43 +02:00
Kiran Niranjan
4869b62cea
SDA-3637 (Move away from third party electron-spellchecker module) (#1382)
* SDA-3637 - Move away from third party electron-spellchecker module

* SDA-3637 - update comment
2022-04-11 12:11:16 +05:30
Salah Benmoussati
e11097d258
bugfix/rtc-revert (#1377)
* Revert "SDA-3616 - Upgrade ffi-napi and ref-napi (#1364)"

This reverts commit 2fcd7cee60.

* Revert "Initial implementation (#1363)"

This reverts commit 08198aa86b.

* Revert "Initial implementation (#1362)"

This reverts commit 41f0ca4e7e.
2022-04-06 07:27:28 +05:30
Salah Benmoussati
23f9fadbfa
SDA-3626 Electron 17.3.0 upgrade (#1371) (#1373)
* SDA-3626 Electron 17.3.0 upgrade

* SDA-3626 Moving DesktopCapturer call to main process
2022-04-05 13:49:31 +02:00
Robin Westberg
2fcd7cee60
SDA-3616 - Upgrade ffi-napi and ref-napi (#1364)
* Remove duplicated ffi-napi and ref-napi packages

* Update matching types packages
2022-03-17 15:47:38 +01:00
Kiran Niranjan
1eb856b7de
SDA-3583 (Upgrade SDA version to 14.1.0) (#1346) 2022-02-15 13:54:27 +05:30
Salah Benmoussati
e028ac0efa
SDA-3565 Citrix media redirection presence update (#1339) 2022-02-03 09:10:09 +01:00
Salah Benmoussati
64c87ad8c5
Revert "SDA-3565 - Allow C2 / extensions to determine the presence of Citrix media redirection (#1331)" (#1335)
This reverts commit 179e953497.
2022-02-01 17:57:30 +01:00
Robin Westberg
179e953497
SDA-3565 - Allow C2 / extensions to determine the presence of Citrix media redirection (#1331)
* Initial implementation
2022-01-31 10:05:31 +01:00
Salah Benmoussati
53db596e7e
SDA-3568 Bump spellchecker version to 2.3.6 (#1333) 2022-01-27 13:49:45 +01:00
Salah Benmoussati
f847469a43
SDA-3568 Bump spellchecker version to 2.3.5 to fix json-schema vulnerability (#1328) 2022-01-25 17:42:44 +01:00
Kiran Niranjan
b34a6b3f90
SDA-3489 - bump electron spellchecker version to 2.3.4 which removes copy image URL context menu (#1323) 2022-01-18 09:01:44 +01:00
Kiran Niranjan
11af9b3eac
SDA-3489 - Update repo url (#1320) 2022-01-07 09:28:02 +05:30
Kiran Niranjan
6b2f6a93f4
SDA-3489 - Bump electron spellcheck version to 2.3.3 (#1314) 2022-01-06 13:57:59 +05:30
Salah Benmoussati
a1ac758e9b
SDA API calls logging (#1295)
* API calls logging improvement

* Electron update
2021-11-16 10:50:17 +01:00
Johan Kwarnmark
c892c96374 Use the same version as 9.2.2 2021-10-25 13:00:29 +02:00
Kiran Niranjan
e7f4470d9c
SDA-2547 (Upgrade electron version to 14.0.1) (#1267)
* SDA-2547 - Upgrade electron version to 14.0.1

* SDA-2547 - refactor and fix unit tests

* SDA-2555 - Move custom title bar away from remote module

* SDA-2555 - Update API new-window to setWindowOpenHandler and fix issues

* SDA-2555 - Arrange imports

* SDA-2555 - Fix unit tests

* SDA-3387 - Fixed reload, native notification issues & finally removed the SFE CSS injection 🎉

* SDA-2547 - Fix fullscreen state on Windows

* SDA-2552 - Update version info

* SDA-2548 - Fix media permission

* SDA-2547 - Get app name from package.json
2021-10-20 13:10:58 +05:30
Kiran Niranjan
eb8833109d
SDA-3362 (Upgrade SDA version to 14.0.0) (#1265)
* SDA-3362 - Upgrade SDA version to 14.0.0
2021-09-28 22:25:25 +05:30
Mattias Gustavsson
64c92eadf4 SDA-3203 Removed leftover delete which caused a crash on some Windows versions 2021-06-11 12:40:51 +02:00
Mattias Gustavsson
799d167c59 SDA-3175 Unicode support for commandline in screen snippet tool 2021-05-25 13:23:35 +02:00
Johan Kwarnmark
f21bb324d0 Use the handmade swift-search with all libs 2021-05-21 11:44:33 +02:00
Mattias Gustavsson
4d47e58c43 SDA-3167 Added version check to not use built in snipping tool when /clip flag is not available 2021-05-12 14:00:39 +02:00
Johan Kwarnmark
0594d1ca69 Make the build green, with a broken swift-search 2021-05-06 08:48:05 +02:00
Johan Kwarnmark
dc4035297f Move to old swift-search as optional 2021-05-05 14:17:53 +02:00
Johan Kwarnmark
69b718c880 ScreenShareIndicator does not exist for linux that is why it needs to be optional 2021-05-05 14:14:08 +02:00
Johan Kwarnmark
5d0da7807d go back to swift-search 2.0.2 2021-05-05 11:41:13 +02:00
Johan Kwarnmark
105702d24a try to get swift-search 2021-04-30 17:47:16 +02:00
Mattias Gustavsson
26c4eeb473 SDA-3079 Use built-in screen snippet tool on windows if available 2021-04-13 09:28:17 +02:00
mattias-symphony
c2afb5c5b3
Merge branch 'main' into SDA-3024 2021-03-25 09:12:19 +01:00
Mattias Gustavsson
d4476d6ef0 SDA-3024 Initial code setup for auto update 2021-03-25 08:34:34 +01:00
Johan Kwarnmark
96dd72db96 update electron spellchecker 2021-03-23 13:28:00 +01:00
Vishwas Shashidhar
bfbc49ff98
SDA-2977: fix copying email address on context menu (#1195) 2021-03-04 16:40:51 +05:30
Vishwas Shashidhar
7eb67f7b48 downgrade fs-extra 2021-03-03 13:01:14 +05:30
Vishwas Shashidhar
84cb4ce0f6 add fs-extra type explicitly 2021-03-03 12:29:47 +05:30
Vishwas Shashidhar
5feba1b84b Update node types 2021-03-03 12:09:18 +05:30
Mattias Gustavsson
505877542e SDA-2999 Bumped version number to 9.3.0 2021-02-17 08:36:40 +01:00
Vishwas Shashidhar
adf13cc100 chore: fix few more linting issues 2021-01-29 13:39:26 +05:30
Vishwas Shashidhar
396dc4e950 chore: format the problematic files 2021-01-29 13:10:30 +05:30
Vishwas Shashidhar
91dba95cbd add husky for prettier 2021-01-29 11:41:05 +05:30
Vishwas Shashidhar
f1a0c840ec add prettier configuration 2021-01-29 11:36:48 +05:30
Vishwas Shashidhar
99e09a4255
SDA-2934: Upgrade electron to 9.4.1 (#1178) 2021-01-28 03:40:41 +05:30
Vishwas Shashidhar
bbf73a06c2 SDA-2815: fix archive name for legacy installer 2020-12-22 19:25:50 +05:30
psjostrom
0e906c5a63 SDA-2769, SDA-2789, SDA-2790 Fixing scaling bug, removing unneccessary dependency etc 2020-12-17 09:58:23 +01:00
Vishwas Shashidhar
170681750e
Merge branch 'master' into SDA-2533-Annotate-P5 2020-12-02 11:18:24 +05:30
psjostrom
a0b2a22ae2 SDA-2710 Fix broken image icon bug on windows 2020-12-01 17:11:00 +01:00
Johan Kwarnmark
fabb8fb860 sda-2700 show 1.5/SFE 2.0/SFE-lite 2020-11-30 12:14:09 +01:00
Vishwas Shashidhar
eb80e42463
SDA-2694: add logic to delete app cache before app initialization (#1126) 2020-11-30 16:02:53 +05:30
psjostrom
87de146c07 SDA-2402 Work on state for annotate and adding color picker 2020-11-06 17:17:48 +01:00
Vishwas Shashidhar
198d891c94
feat: SDA-2456: add screen annotate tool (#1103)
* SDA-2456: snipping tool component

- Create a react component
- Stylise the component
- Add functionality to open a new window
- Add event against the `Done` button and upload snippet

* SDA-2456: snipping annotate tool

- Added icons for undo, redo & clear
- Made the snipping tool window & the image container dynamic

* SDA-2456: make image dynamic

* SDA-2456: add snapshot tests

* SDA-2456: add the height & width properties to the image container

* SDA-2456: update snipping tool snapshot

* SDA-2456: add support for button selected border

* SDA-2456: close existing annotate window

* SDA-2456 Changed from class to functional component

* SDA-2456: remove outdated tests

* SDA-2456: fix image dimension issue

* SDA-2456: address PR comments by Kiran

Co-authored-by: psjostrom <per.sjostrom@symphony.com>
2020-11-06 12:13:29 +05:30
Vishwas Shashidhar
e3720c22f6
feat: SDA-2559: clean app cache on install & crash (#1091)
* SDA-2559: clean app cache on install

- Clean app cache on a fresh install of SDA to avoid upgradation problems
- Clean app cache and restart SDA when it crashes or is unresponsive

* SDA-2559: fix failing unit test

* SDA-2559: add dialog before restarting the app

* SDA-2559: add translations

* SDA-2559: fix failing unit tests and refactor code
2020-10-14 17:28:28 +05:30
Vishwas Shashidhar
983f489edc
upgrade electron to 9.3.2 (#1088) 2020-10-09 12:59:18 +05:30
mattias-symphony
585787741a
SDA-2171 Fix for screen snippet offset on windows 7 (#1090) 2020-10-09 12:48:00 +05:30
mattias-symphony
43b9f4b5eb
SDA-2476 Handling user having swapped left/right mouse buttons (#1086) 2020-10-07 14:21:15 +05:30
Vishwas Shashidhar
1a77cb0e90 add types dependency for cheerio and upgrade enzyme dependencies 2020-09-25 14:23:35 +05:30
Vishwas Shashidhar
b72b67cba9
SDA-2418: remove capturing all stats (#1074) 2020-09-18 12:02:23 +05:30
Johan Kwarnmark
90ac1bb119 sda-2268 address security risk pointed out by Snyk 2020-08-27 10:22:42 +02:00
Vishwas Shashidhar
839ea4f150
upgrade electron to 9.2.1 (#1055) 2020-08-19 10:29:32 +05:30
Kiran Niranjan
7910a14971
chore: SDA-2345 - Bump SDA version to 9.2.0 (#1045)
Co-authored-by: Vishwas Shashidhar <VishwasShashidhar@users.noreply.github.com>
2020-08-05 13:44:27 +05:30
Johan Kwarnmark
0c07e17d05
Update package.json
Co-authored-by: Kiran Niranjan <kiranleo1992@gmail.com>
2020-07-29 09:57:04 +02:00
Johan Kwarnmark
2329b76e7d Move electron forward to 9.1.1 2020-07-28 18:12:36 +02:00
Kiran Niranjan
589bc1f8e5
chore: Bump SDA version to 9.1.0 (#1033)
* Bump SDA version to 9.1.0

* Bump typescript version

* Fix lint issues
2020-07-22 05:26:44 +05:30
Kiran Niranjan
c00847b51d
Bump version to 9.0.1 (#1030) 2020-07-03 14:53:27 +05:30
Vishwas Shashidhar
7288e0c5e5 update screen share indicator frame to 1.4.10 2020-06-16 20:40:30 +05:30
Vishwas Shashidhar
d5c8b694d6 update spectron to support Electron 9.x 2020-06-15 13:15:44 +05:30
Vishwas Shashidhar
310186f2dd
fix: SDA-2068: show welcome screen per installation (#1020)
* SDA-2068: show welcome screen per installation - macOS

* SDA-2068: show welcome screen per installation - windows

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-2068: support welcome screen on install for Windows
2020-06-13 11:42:57 +05:30
Mattias Gustavsson
2cb21f2fbe SDA-2142 Adding DPI awareness to fix border aligment 2020-06-09 08:49:19 +02:00
Johan Kwarnmark
f3500afd89 Update to electron 9.0.2 2020-06-03 08:18:44 +02:00
Vishwas Shashidhar
b4a4b13246 update node types to support 9.x
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-06-02 12:31:15 +05:30
Vishwas Shashidhar
7d773abad3
feat: upgrade Electron to 9.x (#1008)
* add support for electron 8.x

* update node-abi to latest

* 8.x: fix unit tests

* upgrade to electron 9.x

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* rebase 9.x against master

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x: fix windows installer files

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* rebase 9.x against master and fix issues

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x - update aip file

* 9.x -> downgrade to electron 9.0.0-beta.22

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* bump up electron version to 9.0.0

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* upgrade node-abi to support electron 9

* update package-lock.json

* 9.x -> enable signing on aip

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x -> update package-lock.json

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x -> fix screen share indicator mac script issue

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-2080 - Target jss class name instead of dev defined

* SDA-2080: fix title bar issue with 9.x

* SDA-2080 - Make text notification black for 1.5 and update style template

* 9.x: add electron-osx-sign to fix 9.x build issues

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-2091 - Only pass required data via IPC

* SDA-2092 - prevent notifications from opening in fullscreen state in MacOS

* remove post build script and upgrade electron-builder to fix os x depth first signing issues

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

Co-authored-by: Kiran Niranjan <kiran.niranjan@symphony.com>
2020-06-01 18:08:01 +05:30
Mattias Gustavsson
e554205624 SDA-2022 Don't save snippet when annotation is aborted 2020-05-29 15:55:47 +02:00
Mattias Gustavsson
748ab8a4f8 SDA-1970 Correct alignment when window is maximized 2020-05-13 14:36:51 +02:00
Mattias Gustavsson
02c9da4b2c SDA-1970 Changed API call for getting window bounds 2020-05-06 15:48:29 +02:00
Johan Kwarnmark
f5a7b31ac7 sda-2020 move to Electron 8.2.5 that has fix for enumerateDevices 2020-05-05 10:33:55 +02:00
mattias-symphony
0921cca4b1
fix: SDA-2008: Invoke screen snippet tool with --no-annotate when running mana (#980)
* Invoke screen snippet tool with --no-annotate when running mana

* Update window-handler.ts

Co-authored-by: Vishwas Shashidhar <VishwasShashidhar@users.noreply.github.com>
2020-05-01 13:09:49 +05:30
Vishwas Shashidhar
f097490c40
SDA-1818: simplify mac installer (#973)
- Remove the pod settings plugin
- Set defaults in postinstall.sh
- Set default url to my.symphony.com in postinstall.sh

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-04-27 16:34:56 +05:30
Vishwas Shashidhar
ea15d48688
feat: SDA-1062: warn users before closing running app (windows) (#974)
* SDA-1062: warn users before closing running app

- On Windows, currently, when trying to install new version of SDA, we simply kill the app before asking user if they'd like to quit and proceed.
- This fixes the issue and provides a better user experience.

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1062: warn users before closing running app

- remove x86 support for Windows

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-04-21 17:31:38 +05:30
mattias-symphony
62f9790f31
Merge pull request #970
* SDA-1951 Added version and product info to ScreenShareIndicatorFrame and ScreenSnippet
2020-04-14 16:16:23 +05:30
Vishwas Shashidhar
523fe40538 add source maps for ts compilation
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-31 21:29:07 +05:30
Vishwas Shashidhar
cb7aedaf11
fix: SDA-1929: fix vulnerable dependencies (#957)
* SDA-1929: upgrade vulnerable dependencies

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1929: upgrade vulnerable dev dependencies

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1929: upgrade vulnerable dev dependencies

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1929: upgrade vulnerable dev dependencies

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1929: upgrade vulnerable dev dependencies

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1929: upgrade vulnerable dev dependencies

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-31 16:10:04 +05:30
Snyk bot
adb41b16c4
fix: upgrade systeminformation from 4.22.5 to 4.23.0 (#955)
Snyk has created this PR to upgrade systeminformation from 4.22.5 to 4.23.0.

See this package in NPM:
https://www.npmjs.com/package/systeminformation

See this project in Snyk:
https://app.snyk.io/org/symphony-njr/project/b79841fe-f841-44b4-980c-36ac32d1c8d9?utm_source=github&utm_medium=upgrade-pr
2020-03-31 10:44:46 +05:30
Vishwas Shashidhar
edf52a65ca
SDA-1922: upgrade electron-dl dependency to 3.0.0 (#950)
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-27 20:13:18 +05:30
Mattias Gustavsson
9bc537abc8 SDA-1841 Fixing fullscreen issue on Mac 2020-03-25 08:11:12 +01:00
Mattias Gustavsson
c0ed502d3d SDA-1841 Making a custm build to verify 2020-03-24 14:08:09 +01:00
Kiran Niranjan
59986f0818 SDA-1877 - Fix Spectron tests 2020-03-23 18:56:03 +05:30
Kiran Niranjan
873badf389
test: Spectron (Initial commit) (#838)
* Spectron - Initial commit

* Spectron - Only run unit tests on travis

* Spectron - Update npm script to copy config and refactor

* Spectron - Update readme

* Spectron - update test cases

* Spectron - Merge upstream Spectron

* Spectron - Update spectron to 10.0.0 and fix issues

* Spectron - rename travis file

* Spectron - install linux specific dependency

* Spectron - Fix indentation

* Spectron - Fix indentation

* Spectron - Remove unwanted script

* fix typo
2020-03-18 11:15:00 +05:30
mattias-symphony
9dbb468c0b
Update package.json 2020-03-10 12:05:25 +01:00
Mattias Gustavsson
3e2b31dd24 SDA-1841 Fixed misaligned indicator frame 2020-03-10 11:24:57 +01:00
Vishwas Shashidhar
82543debfb
feat: SDA-1838: upgrade electron framework to 8.x (#895)
* add support for electron 8.x

* update node-abi to latest

* 8.x: fix unit tests

* upgrade dependencies

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1838: removed unwanted console log

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1838: refactor code

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-06 14:37:18 +05:30
Mattias Gustavsson
07edfd2111 SDA-1836 Remove error logging when no error occured 2020-03-05 15:19:14 +01:00
Vishwas Shashidhar
ed2204f395 bump up version to 8.0.0
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-05 14:04:41 +05:30
Vishwas Shashidhar
5504a8e8ca
fix: [SDA-1567] add menu item for disable gpu (#884)
* SDA-1567: upgrade electron to 6.1.7

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: add menu item for managing gpu

* SDA-1567: add documentation for dialog-handler.ts

* SDA-1567: fix chrome flags unit test

* SDA-1567: update package-lock.json

* SDA-1567: add disable gpu menu item

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: fix unit tests and update dialog-handler.ts

- Fix unit tests
- Update dialog handler to write to config file regardless of user restarting the app immediately

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: revert electron upgrade

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: fix translations

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-04 17:49:43 +05:30
Mattias Gustavsson
675bc82ee6 Added osx min version to build script for screen share indicator frame app 2020-02-28 14:33:54 +01:00
Mattias Gustavsson
18a4929138 Testing another version for build 2020-02-28 13:16:22 +01:00
Mattias Gustavsson
897febcfe0 Added window tracking to screen share indicator frame for Mac 2020-02-28 08:29:21 +01:00
Mattias Gustavsson
f287c76549 Adding mac version of screen share indicator frame 2020-02-26 10:57:51 +01:00
Mattias Gustavsson
4e639039ac Adding external screen share indicator frame for Mac 2020-02-25 10:28:09 +01:00
Vishwas Shashidhar
284ec984e6
fix: SDA-1749: Enable code signing for third party binaries (#874)
* SDA-1749: add all binaries for signing

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: add hardened run time attribute

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: reformat package.json

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: add echo for copying libraries

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: codesign exec files manually

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: codesign exec files with hardened runtime

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: codesign exec files with hardened runtime

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-02-13 23:41:16 +05:30
Mattias Gustavsson
14d6b58ec1 SDA-1744 Correct rendering of dropdown menus 2020-02-11 11:28:55 +01:00