Commit Graph

77 Commits

Author SHA1 Message Date
Vishwas Shashidhar
45acfc27fe SDA-1955: refactor method names appropriately
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-05-05 11:39:45 +05:30
Vishwas Shashidhar
8f518e3936
feat: SDA-1995: implement download manager for Mana (#982)
* SDA-1995: add download handler functionality for Mana

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

* SDA-1995: add unit tests

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

* SDA-1995: fix unit tests on Windows

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

* SDA-1955: address PR comments

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-05-01 13:20:07 +05:30
Vishwas Shashidhar
a240621a17
feat: SDA-1983: implement simplified installer window on SDA (#977)
* SDA-1983: create the new welcome window

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

* SDA-1983: add logic to validate pod url and open welcome page on startup conditionally

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

* SDA-1983: add unit tests and finish the full logic implementation

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

* SDA-1983: minor fixes

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

* SDA-1983: fix sso double slash

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

* SDA-1983: fix deleting url from global config object

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

* SDA-1983: simplify setting user config

Co-Authored-By: Kiran Niranjan <kiranleo1992@gmail.com>

* SDA-1983: delete unused variable

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

* SDA-1983: add japanese and french translations

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

Co-authored-by: Kiran Niranjan <kiranleo1992@gmail.com>
2020-04-27 15:05:25 +05:30
Kiran Niranjan
5338649aaf
SDA-1924 - Add new fields for about-app window (#958) 2020-03-31 17:28:51 +05:30
Kiran Niranjan
d61473febe
fix: SDA-1890 (Fix auto launch on startup for cloud config) (#934)
* SDA-1890 - Fix auto launch on start up for cloud config

* SDA-1890 - Fix unit tests
2020-03-20 10:38:38 +05:30
Kiran Niranjan
996bd858a7
SDA-1880 & SDA-1882 - Fix background throttling issue (#925) 2020-03-18 19:50:27 +05:30
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
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
Kiran Niranjan
3b94161e59
feat: SDA-1814 (Redesign about Symphony window) (#880)
* SDA-1814 - Redesign about symphony window

* SDA-1814 - text align right

* SDA-1748 - Update design changes

* SDA-1748 - Update window height
2020-03-03 11:53:32 +05:30
Kiran Niranjan
45cfbbdd6b
feat: SDA-1748 (Add support for Cloud Config) (#878)
* SDA-1748 - Initial Cloud config

* SDA-1748 - Read menu items enabled values from filtered cloud config

* SDA-1748 - Fix unit tests

* SDA-1748 - Fix issues with custom title bar and devtools

* SDA-1748 - Fix unit tests
2020-03-03 11:15:27 +05:30
Kiran Niranjan
21b7e20e9e SDA-1395 - Disable context menu for action buttons (#858) 2020-01-27 11:15:20 +05:30
Kiran Niranjan
a9fc026df9 SDA-1651 - Temporarily disable AOT when screen snippet is open (#842) 2020-01-08 17:18:03 +05:30
Kiran Niranjan
5c32143856 fix: SDA-1546 (Update SDA Icons) (#840)
* SDA-1546 - Update app icons

* SDA-1546 - fix unit tests

* SDA-1546 - Fix icns file for MacOS
2020-01-04 14:18:02 +05:30
Johan Kwarnmark
d2e825601f Show SFE version in about-window 2019-11-06 14:49:23 +01:00
Johan Kwarnmark
9845cf3dc1 Merge remote-tracking branch 'upstream/master' 2019-10-30 16:40:08 +01:00
Kiran Niranjan
0431a9f5ad fix: Upgrade master to 6.x (#795)
* Upgrade Electron version to 6.x

* fix: SDA-1347 (Group multiple processes into a single task bar icon) (#778)

* update mac build script

* update mac packager

* feat: ELECTRON-1462 (Combine more information into about app window) (#777)

* ELECTRON-1462 - Merge more info window in to about app window

* ELECTRON-1462 - Adjust window size

* ELECTRON-1462 - Add line space

* ELECTRON-1462 - Resize for windows

* ELECTRON-1462 - Add translation for swift search

* ELECTRON-1462 - Adjust width for Windows OS

* ELECTRON-1462 - Add about app snapshots file

* SDA-1347 - Group multiple processes into single task bar icon

* Change dependency from gulp-tsc to gulp-typescript

* 6.x Update activity detection api

* 6.x Update aip file to remove unwanted spellchecker files

* 6.x Update electron version to 6.1.2

* 6.x Update SDA version and change spellchecker base

* 6.x Update electron-builder version to support 6.x

* 6.x fix escape char for window build command

* 6.x Optimize log path set and get methods

* 6.x Change yml to json

* 6.x Make Window local path as default user data path
2019-10-30 20:58:25 +05:30
Johan Kwarnmark
0d97cf2890 Add new layout of screen sharing indicator + update test 2019-10-30 12:55:25 +01:00
Vishwas Shashidhar
67553d7b46
fix: SDA-1526: remove support for opening non http(s) links (#786)
* SDA-1526: add logic to ignore non http or https urls

* SDA-1526: update unit test
2019-09-27 12:01:05 +05:30
Kiran Niranjan
073450ab7f feat: ELECTRON-1462 (Combine more information into about app window) (#777)
* ELECTRON-1462 - Merge more info window in to about app window

* ELECTRON-1462 - Adjust window size

* ELECTRON-1462 - Add line space

* ELECTRON-1462 - Resize for windows

* ELECTRON-1462 - Add translation for swift search

* ELECTRON-1462 - Adjust width for Windows OS

* ELECTRON-1462 - Add about app snapshots file
2019-09-04 17:58:43 +05:30
Vishwas Shashidhar
c09eabbc8b
feat: ELECTRON-1463: support linux build (#770)
* ELECTRON-1463: support linux build

* ELECTRON-1463: add scripts for linux build

* ELECTRON-1463: fix unit tests

* ELECTRON-1463: fix logger issue

* ELECTRON-1463: fix menu not showing up

* ELECTRON-1463: add screen-snippet functionality for linux

* ELECTRON-1463: fix log path for linux

* ELECTRON-1463: fix config path for linux

* ELECTRON-1463: fix config path for linux

* ELECTRON-1463: fix path in spellchecker

* ELECTRON-1463: fix log path issues

* ELECTRON-1463: remove unneeded dependencies and support rpm
2019-08-20 14:30:13 +05:30
Kiran Niranjan
f24498699a fix: ELECTRON-1171 (Sets font-family dynamically based on locale) (#765)
* ELECTRON-1171 - Apply font-family dynamically based on locale

* ELECTRON-1171 - Reset font family for network error
2019-08-16 12:12:01 +05:30
Kiran Niranjan
b872370418 ELECTRON-1464 - Update custom title bar's title correctly (#755) 2019-08-01 21:25:50 +05:30
Kiran Niranjan
d5d59d3861 fix: ELECTRON-1426 (Update custom title bar icon and fix Symphony icons) (#749)
* ELECTRON-1426 - Update custom title bar icon and fix Symphony icons

* ELECTRON-1426 - Bump screen snippet version to 1.0.7 to support new icon
2019-07-24 00:18:49 +05:30
Kiran Niranjan
d54b5b2ae7 ELECTRON-1409 - Identify screens based on name instead of display_id for Windows (#745) 2019-07-19 22:22:11 +05:30
Vishwas Shashidhar
e1f7fa53d0
fix: ELECTRON-1431: add logic to update pod version dynamically (#743)
* ELECTRON-1431: add logic to update pod version dynamically

* ELECTRON-1431: refactor the code to keep version handler simple

* ELECTRON-1431: add safety check for setting about panel on macOS

* Merge branch 'master' into ELECTRON-1431

# Conflicts:
#	src/app/window-handler.ts
2019-07-19 18:48:01 +05:30
Kiran Niranjan
abfda29141 ELECTRON-1368 - Fix SnackBar & DownloadManager in pop-out (#740) 2019-07-19 14:30:07 +05:30
Kiran Niranjan
7a1ded34b2 fix: ELECTRON-1380 (Show pop-up menu only on main window) (#732)
* ELECTRON-1380 - Show pop-up menu only on main window

* ELECTRON-1380 - Fix unit tests
2019-07-16 10:59:50 +05:30
Kiran Niranjan
486d345dc4
fix: ELECTRON-1382 (Fix notification z-index when alwaysOnTop is enabled) (#727)
* ELECTRON-1382 - Fix notification z-index when alwaysOnTop is enabled
2019-07-12 21:25:48 +05:30
Vishwas Shashidhar
36a68ec01b
fix: ELECTRON-1379: fix localisation for "Version" string (#726)
* ELECTRON-1379: fix localisation for "Version" string

* ELECTRON-1379: update jest snapshot
2019-07-12 16:34:20 +05:30
Kiran Niranjan
15bd87613c fix: ELECTRON-1371 (Fix Custom title bar title margin issue) (#715)
* ELECTRON-1371 - Fix title bar title margin issue

* ELECTRON-1371 - Fix spec for Windows title bar
2019-07-11 15:46:12 +05:30
Kiran Niranjan
b0bd60fa6d fix: ELECTRON-1365 & ELECTRON-1350 (fix issues with logo) (#711)
* ELECTRON-1365 - Fix logo in the custom title bar

* ELECTRON-1350 - Fix about app text color

* ELECTRON-1365 - Remove png file

* ELECTRON-1365 - Update windows title bar snapshot
2019-07-09 19:20:44 +05:30
Vishwas Shashidhar
5faa766f07
fix: ELECTRON-1338: fix download manager issues (#707)
* ELECTRON-1338: add electron-dl logic to handle automatic file downloading

* ELECTRON-1338: fix download count issue

* ELECTRON-1338: group import statements
2019-07-09 11:34:22 +05:30
Vishwas Shashidhar
11f69f47ac
feat: ELECTRON-1357: show version info from pod (#703)
* ELECTRON-1357: implement getting dynamic version

* ELECTRON-1357: add support for more info window

* ELECTRON-1357: add unit tests for version handler

* ELECTRON-1357: delete unwanted files

* Delete .gulp-tsc-tmp-11966-41547-768xt5.masn2.ts

* Delete .gulp-tsc-tmp-11966-10574-1bhy8kw.k21y.ts

* ELECTRON-1357: caching server data

* ELECTRON-1357: refactor code to remove event emitter and use net module

* ELECTRON-1357: set version info asynchronously

* ELECTRON-1357: add checks for failed requests
2019-07-08 20:35:57 +05:30
Kiran Niranjan
5402d90ac9 feat: ELECTRON-1331 (Add new performance settings and add support for BI APIs) (#695)
* ELECTRON-1331 - Add new performance settings and add support for BI APIs

* ELECTRON-1331 - Resolve conflicts

* ELECTRON-1331 - Fix unit test cases

* ELECTRON-1331 - Fix unit test cases and typo
2019-07-04 12:11:29 +05:30
Vishwas Shashidhar
918c5741a6
fix: ELECTRON-1243: fix chrome flags tests (#696)
* ELECTRON-1243: add support to control throttling

* ELECTRON-1243: fix chrome flags tests

* ELECTRON-1243: refactor code and address PR comments
2019-07-02 16:24:17 +05:30
Kiran Niranjan
2bddbc56ec fix: Typescript (Fix issues with notification, menu & logger modules) (#682)
* Typescript - Fix issues with notification, menu & logger

* Typescript - Update unit test case and fix logger circular import

* Typescript - Fix the notification argument issue
2019-06-14 15:32:32 -04:00
Kiran Niranjan
1e953b0092 fix: ELECTRON-1022 (Fix issues with notification and origin) (#673)
* ELECTRON-1022 - Fix issues with notification and origin

* Typescript - Add Notification APIs to window.ssf object

* Typescript - Fix unit test

* Typescript - Fix notification bg color issue
2019-06-10 22:14:44 +05:30
Kiran Niranjan
10d3d49c44 fix: Typescript (Fix throttle issue and update stats logs) (#671)
* Typescript - Fix throttle issue and update stats logs

* Typescript - Fix unit tests
2019-06-10 22:13:59 +05:30
Vishwas Shashidhar
7a94ad31f8
feat: ELECTRON-1204 - add support for ttl (#668)
* ELECTRON-1204: implement ttl logic

* ELECTRON-1204: rebase with master

* ELECTRON-1204: remove redundant comma
2019-06-03 14:19:05 +05:30
Kiran Niranjan
cc451cb46f Typescript - Change network error logic and remove loading screen (#666) 2019-05-31 17:52:18 +05:30
Kiran Niranjan
a084735ce5 ELECTRON-771 (Fix custom title bar button titles & localization) (#651)
* ELECTRON-771 - Fix custom title bar button titles

* ELECTRON-771 - Update unit test cases
2019-05-17 16:14:44 +05:30
Kiran Niranjan
a053faedda Typescript (Change title-bar from className to id ) (ELECTRON-748) (#647)
* ELECTRON-748 - Change title-bar from className to id
Fix linter issues

* ELECTRON-748 - Fix unit tests cases
2019-05-15 18:21:52 +05:30
Vishwas Shashidhar
5adc162b2e fix auto launch controller failing test 2019-05-07 14:16:59 +05:30
Vishwas Shashidhar
9e347bab77 refactor code and remove old JS code 2019-05-07 13:26:57 +05:30
Kiran Niranjan
9b202bb95e Typescript (Fix localization and custom title bar) (#631)
* Typescript - Fix localization for screen picker & spellchecker modules

* Typescript - Fix custom title bar menu item

* Typescript - Updated screen picker unit tests

* Typescript - Update appName place holder

* Typescript - Add backward compatibility support for screen snippet

* Typescript - Optimize and refactor code
2019-05-02 17:43:50 +05:30
Kiran Niranjan
6aca522a1e Typescript (Optimize loading styles & register global shortcuts) (#629)
* Typescript - Optimize loading styles and register global shortcuts

* Typescript - Update version info logic to support BC

* Typescript - Implement memory refresh logic

* Typescript - Optimize memory refresh, devtools & appBridge code

* Typescript - Mock window-handler to fix unit tests

* Typescript - Change logic to remove if else and early exit
2019-04-12 16:11:04 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
b9bc65008d mocking updateUserConfig on autoLaunchController unit test (#630) 2019-04-08 21:21:55 +05:30
Kiran Niranjan
f65fa74057 Typescript (Fix bound changes and update child window security) (#628)
* Typescript - Update child window security and permissions

* Typescript - Update bound change logic

* Typescript - Update unit tests

* Typescript - Update aip files and package.json

* Typescript - Fix unit tests for child window handler
2019-04-08 13:05:14 +05:30
Kiran Niranjan
1b10648d6b Typescript (Added logic to clean up child windows) (#627)
* Typescript - Fix string formatter function and update snack bar style

* Typescript - Update string formatter unit test

* Typescript - Fix screen snippet

* Typescript - Add logic to clean up child windows on before unload

* Typescript - Add logic to check for screen sharing media permissions

* Typescript - Fix display selecting option in notification settings
2019-04-05 10:50:54 +05:30
Kiran Niranjan
efe15967b5 Typescript (Fix spellchecker issue and bump electron version) (#626)
* Typescript - Fix spellchecker issues and bump electron version to 5.x

* Typescript - Update unit test cases
2019-04-03 18:25:27 +05:30