Commit Graph

204 Commits

Author SHA1 Message Date
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
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
670735a4e9 Typescript download manager unit test (#579)
* adding enzyme

* download manager unit test
2019-04-02 10:57:26 +05:30
Vishwas Shashidhar
68efbfa0e8 added more tests to increase coverage to 100 for protocol handler 2019-04-02 10:57:26 +05:30
Kiran Niranjan
7ee09ab787 Typescript - Remove unwanted checks in protocol handler and add test cases 2019-04-02 10:57:26 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
05b52380ed protocol handle unit test (#576) 2019-04-02 10:57:26 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
44a96e12c5 config unit test (#566) 2019-04-02 10:57:26 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
7de0f1f529 typescript: activityDetection unit test (#560) 2019-04-02 10:57:26 +05:30
Victor R. Braga de Sales Mascarenhas
a0a3d77ca0 typescript: logger unit test 2019-04-02 10:57:26 +05:30