Commit Graph

387 Commits

Author SHA1 Message Date
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