Commit Graph

157 Commits

Author SHA1 Message Date
psjostrom
3f08517ee2 SDA-2571 Updated event variable name 2020-12-18 14:11:15 +01:00
psjostrom
4d9f3fc9ee SDA-2751 Fixed UTs 2020-12-10 13:18:23 +01:00
Kiran Niranjan
698036d7af
feat: SDA-2614 (Implement native electron notifications) (#1135)
* feat: SDA-2614 - Implement native electron notifications

* feat: SDA-2614 - Refactor and fix unit tests

* feat: SDA-2614 - Rename extraData to notificationData
2020-12-09 11:45:29 +05:30
psjostrom
2d80e41695 SDA-2571 Added correct BI events to screen annotate 2020-12-03 17:22:06 +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
psjostrom
55f68fc225 SDA-2571 SDA-2721 Add annotate BI and fix window size on windows 2020-11-27 17:07:46 +01:00
psjostrom
e18b431c98 feat: SDA-2705 Add possibility for panning 2020-11-26 10:27:18 +01:00
psjostrom
94eb41719b SDA-2533 Add clear, erase and done functionality. Further optimizations of logic. 2020-11-24 10:46:41 +01:00
Kiran Niranjan
eb94467220 fix: SDA-2644 - Resolve conflicts and add new changes 2020-11-24 10:45:11 +01:00
psjostrom
237341d805 SDA-2533 Fixes after code review 2020-11-20 09:27:52 +01:00
psjostrom
064b9b53b2 SDA-2533 Add clear, erase and done functionality. Further optimizations of logic. 2020-11-20 09:16:17 +01:00
Kiran Niranjan
6811683e29
fix: SDA-2644 (Fix snippet window resize issue based on screen size) (#1115)
* fix: SDA-2644 - Fix snippet window resize issue based on screen size

* fix: SDA-2644 - Resolve conflicts and add new changes

* fix: SDA-2644 - fix background for min width

* fix: SDA-2644 - Limit snippet window size base on screen size
2020-11-19 19:04:08 +05:30
psjostrom
794334ef90
Merge branch 'master' into SDA-2533-Add-Annotate-To-Screenshot 2020-11-17 09:26:06 +01:00
Kiran Niranjan
33ed6f709c
feat: SDA-2652 - add new API to set if running in mana client (#1113) 2020-11-17 11:51:31 +05:30
psjostrom
5545f051f0
Merge branch 'master' into SDA-2533-Add-Annotate-To-Screenshot 2020-11-13 14:47:53 +01:00
psjostrom
31e77cb2d2 SDA-2533 Adding annotate to screen shot. 2020-11-13 14:41:20 +01:00
Johan Kwarnmark
5f927e5d57 sda-2270 update the test 2020-11-10 16:51:41 +01:00
psjostrom
153973862a SDA-2402 Updated snapshot test 2020-11-09 09:15:07 +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
bf6e783885
fix: SDA-2559: Delete app cache on Install (#1097)
* SDA-2559: Delete app cache on Install

- Only remove a select set of directories related to cache

* SDA-2559: fix failing tests
2020-10-20 17:22:47 +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
42edc38413 mock electron log in all tests 2020-09-25 15:16:33 +05:30
Vishwas Shashidhar
9c4adee1cf
Revert "feat: SDA-2315: add chrome flag for network in process" 2020-08-12 18:51:19 +05:30
Vishwas Shashidhar
f7cc49674a SDA-2315: add chrome flag for network in process 2020-08-11 12:50:25 +05:30
Johan Kwarnmark
9de8d38695 fixed the snap test case for about dialog 2020-08-06 17:38:34 +02:00
Johan Kwarnmark
b7292aa84e Update unit test regarding chrome flags to match the new flag added 2020-07-29 10:06:49 +02:00
Vishwas Shashidhar
6940d78068
feat: SDA-2056: update welcome screen url to [POD].symphony.com (#1009)
* 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

* SDA-2056: set [POD] as the placeholder for default pod url

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

* SDA-2056: fix unit tests

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

* SDA-2056: remove post install script.

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

Co-authored-by: Kiran Niranjan <kiran.niranjan@symphony.com>
2020-06-02 13:00:30 +05:30
Johan Kwarnmark
354867b764 Add mock for setFullScreenable 2020-05-27 09:15:37 +02:00
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
Kiran Niranjan
e8cb240b92 Typescript (Fix issues and add support for BC) (Bring to front & More Info) (#625)
* Typescript - Bring to front - Fix issue with bring to front

* Typescript - Remove memory refresh from app menu

* Typescript - Add icons for loading screen network issue

* Typescript - Update and fix more info view

* Typescript - Update unit test to remove memory refresh
2019-04-02 10:58:41 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
0340cf18e2 main api handler unit test (#624) 2019-04-02 10:58:41 +05:30
Kiran Niranjan
8adabfebda Typescript (Fix issues and add support for BC) (#617)
* Typescript - Fix Auto launch, first time launch, pick safety checks

* Typescript - Fix basic auth issue

* Typescript - Add demo content for desktop capturer

* Typescript - Add BC support for Desktop capturer

* Typescript - Update code documentation

* Typescript - Add whitelisting logic and certificate verifying proxy

* Typescript - Fix console log and safety checks

* Typescript - Add screens to display loading failure and bugs fixes

* Typescript - Update unit test case for loading screen and app menu

* Typescript - Rename isCustomTitleBarAndWindowOS to isCustomTitleBar

* Typescript - Downloader Manager - Fix flashing issue and add demo
2019-04-02 10:58:41 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
4316d82931 dialog handler unit test (#623) 2019-04-02 10:58:40 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
1276f066f4 Typescript chromeflags unittest (#612)
* fixing electron mock

* chrome flags unit test
2019-04-02 10:58:40 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
bb9d547ae3 child window handle unit test (#610) 2019-04-02 10:58:40 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
de6502035b Typescript autolaunch unittest (#608)
* mocking electron-log

* auto launch controller unit test
2019-04-02 10:58:40 +05:30
Kiran Niranjan
82b57abaa7 Typescript (About app for Windows) (#611)
* Typescript - Complete about app screen for Windows

* Typescript - Fix unit test for about app component

* Typescript - Add safety checks for window validation
2019-04-02 10:58:40 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
f565f394b4 app menu unit test (#607) 2019-04-02 10:58:40 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
b04aee5b9e app cache handler unit test (#604) 2019-04-02 10:58:09 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
49a96d5e9f utils unit test (#603) 2019-04-02 10:58:09 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
9dfe055045 windows title bar unit test (#597) 2019-04-02 10:58:09 +05:30
Kiran Niranjan
13e82bac00 Merge TS context isolation branch onto Typescript master branch (#598)
* Typescript 🎉

* Typescript 🎉 (logger, get-guid, string-format and throttle)

* Refactor typescript code

* consolidate all the utility functions to one file

* refactor protocol handler feature

* Typescript:

Add code documentation
Add pre-commit hooks

* Typescript: Fix logger formatting

* Typescript: Add support for react

* Typescript: Completed about app

* Typescript: Completed about app

* Typescript: Completed about app

* Typescript - Fix issues with about-app and add login to convert less to css

* Typescript - Fix loading screen

* Typescript - Add custom title bar

* Typescript - Add method to get locale

* Typescript - Add logic to clean up old logs

* Typescript - Add set badge count api

* Typescript - Complete application menu

* Typescript - Add logic to translate menu items

* Typescript - freeze window.ssf api

* Typescript - Handle popup menu on alt key press

* Typescript - Completed activity detection

* Typescript - Completed screen snippet

* Typescript - Add login to close screen snippet

* Typescript - Completed window actions & snackbar, Updated i18n module

* Typescript - Completed native crypto implementation & fixed bugs

* Typescript - Completed Desktop capturer & screen picker implementation

* Typescript - Optimize window actions

* Typescript - Add support for child window

* Typescript - fix pop url validation issue & browserify preload

* Typescript - Completed context menu implementation and fixed screen snippet

* Typescript - Completed screen sharing indicator and fixed i18n usage issue

* Typescript - Fix i18n locale setting issue

* Typescript - Completed download manager

* Typescript - Completed Basic auth

* Typescript - Network connectivity dialog

* Typescript - Handle certificate error

* Typescript - Add translation for certificate error dialog buttons

* Typescript - Add gulp tasks to compile less, typescript and copy files

* Typescript - Fix some issues with custom title bar, loading screen & screen snippet

* Typescript - Remove ES2015 lib

* :typescript: - Do not inject custom title bar for mac

* :typescript: - Fix screen sharing indicator text and format string

* Typescript - Fix esc to full screen

* Typescript - handle multiple/single instance of the client and add safety checks

* Typescript - Refactor code base

* Typescript - Optimize window validation and fix screen picker issue

* Typescript - Optimize protocol handler

* typescript: logger unit test

* typescript: activityDetection unit test (#560)

* ELECTRON-1022 - Create app bridge that communicates between renderer and preload via postMessage

* ELECTRON-1024 - Add support for screen share and screen sharing indicator

* config unit test (#566)

* ELECTRON-1024 - Fix screen sharing indicator close issue

* ELECTRON-1022 - Bump Symphony version to 5.0.0 (1.55)

* fixing jest coverage output report (#575)

* protocol handle unit test (#576)

* Typescript - Remove unwanted checks in protocol handler and add test cases

* added more tests to increase coverage to 100 for protocol handler

* Typescript download manager unit test (#579)

* adding enzyme

* download manager unit test

* Typescript - Completed notification workflow

* about app unit test

* Typescript - Fix notification styles

* fixing Compiler error: Generic type ReactElement<P, T> (#583)

* fix app path on windows (#580)

* basic auth unit test (#582)

* screen picker unit test (#587)

* screen picker unit test

* screen sharing indicator unit test

* loading screen unit test (#588)

* improving snapshot using snapshotSerializers to remove unnecessary things (#596)

* Typescript - Enforce braces for if/for/do/while statements.

* Typescript - Fix Lint issues and Unit test

* Typescript - Enable eofline (Ensure the file ends with a newline.)

* Typescript - Update logger logic and format

* Typescript - Provide option for user to set custom log path

* Typescript - Fix eofline in css files

* Typescript - ignore spec from compiling and remove unwanted rebuild command
2019-04-02 10:58:09 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
e3f4830c4a snack bar unit test (#594) 2019-04-02 10:57:27 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
e352363848 improving snapshot using snapshotSerializers to remove unnecessary things (#596) 2019-04-02 10:57:27 +05:30
Victor R. Braga de Sales Mascarenhasm
600da210cd about app unit test 2019-04-02 10:57:26 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
663b512dc3 loading screen unit test (#588) 2019-04-02 10:57:26 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
e950a39a48 screen picker unit test (#587)
* screen picker unit test

* screen sharing indicator unit test
2019-04-02 10:57:26 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
8d2fa4f049 basic auth unit test (#582) 2019-04-02 10:57:26 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
e2dbf4087d fix app path on windows (#580) 2019-04-02 10:57:26 +05:30