Commit Graph

46 Commits

Author SHA1 Message Date
Kiran Niranjan
996bd858a7
SDA-1880 & SDA-1882 - Fix background throttling issue (#925) 2020-03-18 19:50:27 +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
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
Vishwas Shashidhar
6af430fc97
Update Symphony.config (#862) 2020-01-27 16:15:17 +05:30
Kiran Niranjan
627ea097e1 Enable context isolation feature by default (#791) 2019-10-23 12:28:32 +05:30
Vishwas Shashidhar
6a628f5251
SDA-1525: add support for pod whitelisting (#787)
Currently, any url passed via command line is not validated, and, SDA essentially acts as a browser. To counter this, we add a "podWhitelist" parameter in the config file that allows admins to configure what pod urls can be passed via command line. And, only those URLs will be supported to be loaded via command line
2019-10-08 13:19:48 +05:30
Vishwas Shashidhar
14e6975590 build scripts
- create build script for macOS
- create build script for linux
- create build script for windows
- create build script for windows x86
2019-08-27 16:38:26 +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
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
2e80c599fc feat: ELECTRON-1332 (Make Context Isolation configurable) (#691)
* ELECTRON-1332 - Make Context Isolation configurable

* ELECTRON-1332 - Abstract opts constructors functions
2019-06-25 10:26:01 +05:30
Kiran Niranjan
355110cf72 fix: ELECTRON-1264 (Fix ATS for localhost and update TLS version to 1.2) (#689)
* ELECTRON-1264 - Fix ATS for localhost and update tls version to 1.2

* ELECTRON-1264 - Remove extendInfo field from package.json
2019-06-21 13:29:07 -04:00
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
Kiran Niranjan
a923da3667 Typescript - Fix some issues with custom title bar, loading screen & screen snippet 2019-04-02 10:57:26 +05:30
Kiran Niranjan
f8044051df ELECTRON-925 (Add support for customizing Windows title bar styles) (#529)
* ELECTRON-925 - Add support for customizing Windows title bar styles

* ELECTRON-925 - Fix file path

* ELECTRON-925 - Validate if the file exists, if not use the default styles
2018-11-29 09:54:23 -08:00
Kiran Niranjan
274f4811f0 ELECTRON-635 (Custom auto launch implementation)[Windows] (#484)
* ELECTRON-635: add support for auto launch custom path

* ELECTRON-635 - autolaunch aip testing

* ELECTRON-635 - Add quot

* ELECTRON-635 - Escape quot

* ELECTRON-635 - Escape quot

* ELECTRON-635 - Fix escape auto launch path

* ELECTRON-635 - Fix escape auto launch path

* ELECTRON-635 - Fix escape auto launch path

* ELECTRON-635 - add empty property to the AUTO_LAUNCH_PATH property

* ELECTRON-635 - final fix for auto launch

* ELECTRON-635 - Fix auto launch issue

* ELECTRON-635 - Fix path escape

* ELECTRON-635 - Fix first time launch

* ELECTRON-635 - Mock app.getVersion

* ELECTRON-635 - Fix per user app path
2018-08-30 22:58:07 +05:30
Vishwas Shashidhar
1898c36508
ELECTRON-505: add dev tools administration control (#435)
* ELECTRON-505: enable / disable dev tools

implement logic to disable / enable dev tools with installer and configuration file

* ELECTRON-505: fix mac installer issues

* ELECTRON-505: add dev tools option to the windows installers

* ELECTRON-505: enable signing in the installers

* ELECTRON-505: update mac installer dev tools label text

* ELECTRON-505: remove dev tools from configuration windows
2018-07-20 16:23:08 +05:30
Vishwas Shashidhar
4ba0db73f5
ELECTRON-453: add functionality to ignore cert transparency checks (#373)
- add functionality to ignore cert transparency checks for specific urls
- fix reading config file as per PR comments
2018-05-21 17:04:24 +05:30
Vishwas Shashidhar
16051e5c04 Remove stale config 2018-05-01 15:28:43 +05:30
Vishwas Shashidhar
9a11bf90e1
Electron 385: add support for custom tlds (#347)
- add logic setting ntlm on default session
- add logic to include custom tlds
- fix failing tests
2018-04-30 17:32:10 +05:30
Kiran Niranjan
2de86c8003 Electron-136 (Optimize memory by reloading the app when the user is idle) (#335)
- Refresh app when memory exceeds the threshold and if user is inactive
- Add logic to reload app when memory exceeds threshold and if user is inactive
- Add reload threshold
- Fix unit test
2018-04-11 18:36:46 +05:30
Vishwas Shashidhar
07c5672385
change default values for the permissions in config file 2018-03-20 23:06:01 +05:30
Vishwas Shashidhar
217299bcf8
Electron 323: allow admins to set permissions to peripherals (#329)
- implement permissions settings for electron
- add "Yes" / "No" as user visible text in the windows installer confirmation screen
- add "Yes" / "No" as user visible text in the windows installer for settings screen
- fix windows installer conflicts
2018-03-20 17:49:27 +05:30
Kiran Niranjan
9991690a7e Electron-266 (Custom title bar for Windows 10) (#311)
1. Implemented new title bar style for Windows
2. Updated design
3. Updated design and added some safety checks
4. Added title bar double click event
5. Added API to update DOM element
6. Updated style as per the design spec
7. Refactored code and handled full screen scenario
8. Added borders to window
9. Added z-index to make sure border is always on top
10. Updated logic to check Windows 10 version
11. Setting frame property as true for pop-out windows
12. Optimized the code to initiate Windows title bar only after injecting CSS
13. Removed API to update content height
14. Added a global config field to enable or disable custom title bar
15. Reading `isCustomTitleBar` before creating main window
16. Fixed shortcut suggestion in menu items
17. Added two more missing shortcut suggestion in menu items
18. Updated menu template to dynamically assign accelerators
19. Changed the func name closeButtonClick to closeWindow
20. Converted all HEX color code to rgba
2018-03-09 16:16:47 +05:30
Vishwas Shashidhar
3c4ae0615e ELECTRON-261: removed extra attributes
removed extra attributes in the config file as per PR suggestion.
2018-02-06 17:35:06 +05:30
Vishwas Shashidhar
d3b95f70e9 ELECTRON-261: add logic to get gpu related flags from config file 2018-01-25 22:59:25 +05:30
Kiran Niranjan
5ef535d88e Electron-249 - Implemented a new feature that brings electron wrapper when a user receives a notification 2018-01-05 17:42:43 +05:30
Kiran Niranjan
78c466516c Electron-217
Updated the PR as per the review comments
2017-12-21 13:52:05 +05:30
Kiran Niranjan
84cb11e629 Electron-217
* Implemented basic logic on whitelisting urls
* Removed a space in PULL_REQUEST_TEMPLATE.md
2017-12-11 22:41:34 +05:30
Vishwas Shashidhar
db154ea7d5 electron-214: changed the default value for minimize on close in the global config file 2017-11-16 15:32:16 +05:30
Vishwas Shashidhar
6f28edc5bb electron-194: adds support to set chrome flags 2017-10-26 16:53:15 +05:30
Vishwas Shashidhar
547d8e530c electron-17: disabled crash report upload to server 2017-10-05 22:54:54 +05:30
Vishwas Shashidhar
f83cfb9a44 electron-17: refactored code to read data from the config file and added pod url to the extras object 2017-10-05 22:18:52 +05:30
Vishwas Shashidhar
605c725a08 electron-17: removed config that was not needed 2017-09-19 12:04:57 +05:30
Vishwas Shashidhar
9f7bc10287 electron-17: added support to get crash directory info for users amongst other minor changes 2017-09-14 21:08:42 +05:30
Vishwas Shashidhar
40f0cdcdf9 Merge branch 'master' into electron-17
# Conflicts:
#	js/main.js
#	js/windowMgr.js
2017-09-13 16:13:49 +05:30
Vishwas Shashidhar
cc1c50945e changed the default url for the crash server 2017-07-14 09:43:03 +05:30
Kiran Niranjan
8d0f9423a9 Electron-93
1. Implemented Robotjs for windows
2. Implemented a method to copy config for both windows and mac
3. Removed a conflict in config file
2017-07-10 20:30:24 +05:30
Vishwas Shashidhar
981df664a9 electron-17: merged master onto electron-17 and resolved conflicts 2017-07-05 15:45:46 +05:30
Kiran Niranjan
2b6ec2aeb8 Electron-43 (Configure Notification Position) (#142)
* ELECTRON-43 - Implemented Alert settings functionality

* ELECTRON-43
1. Added multiple monitor support for notifications in windows
2. Implemented a settings window to change notification position
3. Completed implementing configure alert position window

* ELECTRON-43 - Refactored code and changed config data

* ELECTRON-43
1. Refactored the code
2. Added modal property to browser window

* ELECTRON-43
1. Resolved conflicts
2. Made config default display value to null
3. Renamed api method from 'showAlertSettings' to 'showNotificationSettings' for consistency
4. Fixed some bugs
2017-06-16 15:29:56 -07:00
Kiran Niranjan
b72e95fd37 Electron-56 (Always on top) (#127)
* ELECTRON-56 - Implemented always on top feature

* ELECTRON-56 - Made some code refactoring

* ELECTRON-56 - Also fetching the alwaysOnTop prop from the event emitter

* ELECTRON-56 - Refactored code

* ELECTRON-56 - Exported only the required methods in event emitter
2017-06-15 10:11:29 -07:00
Vishwas Shashidhar
3f9167b3d6 electron-69: sets minimize on close to false by default in the mac installer and the config file (#126) 2017-06-05 09:23:20 -07:00
Vikas Shashidhar
abdd8da1fa 1. Crash Details such as Company Name and Crashpad URL are now being fetched from the global config file. 2017-06-05 16:09:31 +05:30
Vikas Shashidhar
65b08f0952 Electron-17: Crash Reporter
1. Implemented crash reporter for both main and renderer processes
2. Fetch crash log details from Symphony.config
3. Send reports to a break pad server
2017-05-24 19:02:49 +05:30
rbarros-daitan
c0908e64ef Auto Launch (#75)
* Auto Launch

* Applying comments

* fix app.quit
2017-05-09 14:44:14 -07:00
Lynn
8f1e1e388a Installer config (#19)
* update installer to read pod url from config

* update to installer aip

* fix in undefined in getConfig
2017-02-22 15:34:16 -08:00
Lynn
50ca154a7e Read config (#18)
* read config file

* remove homepage from package.json
2017-02-20 10:24:46 -08:00